Class: Google::Cloud::Datastore::Credentials
- Inherits:
-
Credentials
- Object
- Credentials
- Google::Cloud::Datastore::Credentials
- Defined in:
- lib/google/cloud/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 GOOGLE_CLOUD_KEYFILE GCLOUD_KEYFILE)
- JSON_ENV_VARS =
%w(DATASTORE_KEYFILE_JSON GOOGLE_CLOUD_KEYFILE_JSON GCLOUD_KEYFILE_JSON)