Class: Google::Cloud::Scheduler::V1beta1::OAuthToken

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/scheduler/v1beta1/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

#scope::String

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:



350
351
352
353
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 350

class OAuthToken
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_account_email::String

Returns 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.



350
351
352
353
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 350

class OAuthToken
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end