Cloud Life Sciences V2beta API - Class Google::Cloud::LifeSciences::V2beta::ServiceAccount (v0.7.2)

Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::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.

#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.
Returns
  • (::String) — Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.

#scopes

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

#scopes=

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