Cloud Scheduler V1beta1 API - Class Google::Cloud::Scheduler::V1beta1::OAuthToken (v0.4.5)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Cloud Scheduler V1beta1 API class Google::Cloud::Scheduler::V1beta1::OAuthToken.

Contains information needed for generating an OAuth token. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#scope

def scope() -> ::String
Returns
  • (::String) — OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.
Returns
  • (::String) — OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

#service_account_email

def service_account_email() -> ::String
Returns
  • (::String) — Service account email to be used for generating OAuth token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.

#service_account_email=

def service_account_email=(value) -> ::String
Parameter
  • value (::String) — Service account email to be used for generating OAuth token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.
Returns
  • (::String) — Service account email to be used for generating OAuth token. The service account must be within the same project as the job. The caller must have iam.serviceAccounts.actAs permission for the service account.