class Google::Auth::Credentials
def self.default options = {}
-
(Credentials)-
Parameters:
-
options(Hash) --
def self.default options = {} # First try to find keyfile file or json from environment variables. client = from_env_vars options # Second try to find keyfile file from known file paths. client ||= from_default_paths options # Finally get instantiated client from Google::Auth client ||= from_application_default options client end