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

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.

#email=

def email=(value) -> ::String
Parameter
  • value (::String) — Email address of the service account.
Returns
  • (::String) — Email address of the service account.

#scopes

def scopes() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of scopes to be enabled for this service account.

#scopes=

def scopes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of scopes to be enabled for this service account.
Returns
  • (::Array<::String>) — List of scopes to be enabled for this service account.