lib/google/cloud/video_intelligence/credentials.rb in google-cloud-video_intelligence-0.24.0 vs lib/google/cloud/video_intelligence/credentials.rb in google-cloud-video_intelligence-0.24.1

- old
+ new

@@ -19,11 +19,11 @@ module VideoIntelligence class Credentials < Google::Auth::Credentials SCOPE = [ "https://www.googleapis.com/auth/cloud-platform" ].freeze - PATH_ENV_VARS = %w(VIDEO_INTELLIGENCE_KEYFILE, GOOGLE_CLOUD_KEYFILE, GCLOUD_KEYFILE) - JSON_ENV_VARS = %w(VIDEO_INTELLIGENCE_KEYFILE_JSON, GOOGLE_CLOUD_KEYFILE_JSON, GCLOUD_KEYFILE_JSON) + PATH_ENV_VARS = %w(VIDEO_INTELLIGENCE_KEYFILE GOOGLE_CLOUD_KEYFILE GCLOUD_KEYFILE) + JSON_ENV_VARS = %w(VIDEO_INTELLIGENCE_KEYFILE_JSON GOOGLE_CLOUD_KEYFILE_JSON GCLOUD_KEYFILE_JSON) DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"] end end end end