Batch V1 API - Class Google::Cloud::Batch::V1::ServiceAccount (v0.5.0)

Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::ServiceAccount.

Carries information about a Google Cloud service account.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#email

def email() -> ::String
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.

#email=

def email=(value) -> ::String
Parameter
  • value (::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.
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.