Class: Google::Cloud::Tasks::V2beta3::OAuthToken

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/target.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#scopeString

Returns OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.

Returns:



381
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/target.rb', line 381

class OAuthToken; end

#service_account_emailString

Returns Service account email to be used for generating OAuth token. The service account must be within the same project as the queue. 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 queue. The caller must have iam.serviceAccounts.actAs permission for the service account.



381
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/target.rb', line 381

class OAuthToken; end