Class: Google::Cloud::Batch::V1::ServiceAccount

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/batch/v1/job.rb

Overview

Carries information about a Google Cloud service account.

Instance Attribute Summary collapse

Instance Attribute Details

#email::String

Returns Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.

Returns:

  • (::String)

    Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.



659
660
661
662
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 659

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

#scopes::Array<::String>

Returns List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.

Returns:

  • (::Array<::String>)

    List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.



659
660
661
662
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 659

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