Class: Gcloud::Datastore::Credentials

Inherits:
Credentials show all
Defined in:
lib/gcloud/datastore/credentials.rb

Overview

Authentication credentials to Google Cloud. The most common way to create this object is to provide the path to the JSON keyfile downloaded from Google Cloud.

Constant Summary collapse

SCOPE =
["https://www.googleapis.com/auth/datastore"]
PATH_ENV_VARS =
%w(DATASTORE_KEYFILE GCLOUD_KEYFILE GOOGLE_CLOUD_KEYFILE)
JSON_ENV_VARS =
%w(DATASTORE_KEYFILE_JSON GCLOUD_KEYFILE_JSON
GOOGLE_CLOUD_KEYFILE_JSON)

Constants inherited from Credentials

Credentials::AUDIENCE, Credentials::DEFAULT_PATHS, Credentials::TOKEN_CREDENTIAL_URI

Instance Attribute Summary

Attributes inherited from Credentials

#client

Method Summary

Methods inherited from Credentials

default, #initialize

Constructor Details

This class inherits a constructor from Gcloud::Credentials