class Google::Cloud::Storage::Credentials
Represents the authentication and authorization used to connect to the Storage
API.
@example
require "google/cloud/storage" keyfile = "/path/to/keyfile.json" creds = Google::Cloud::Storage::Credentials.new keyfile storage = Google::Cloud::Storage.new( project_id: "my-project", credentials: creds ) storage.project_id #=> "my-project"
Constants
- DEFAULT_PATHS
- JSON_ENV_VARS
- PATH_ENV_VARS
- SCOPE