Class: Gcloud::Pubsub::Credentials

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

Overview

Represents the OAuth 2.0 signing logic for Pub/Sub.

Constant Summary collapse

SCOPE =

:nodoc:

["https://www.googleapis.com/auth/pubsub",
"https://www.googleapis.com/auth/cloud-platform"]
PATH_ENV_VARS =
%w(PUBSUB_KEYFILE GOOGLE_CLOUD_KEYFILE)
JSON_ENV_VARS =
%w(PUBSUB_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