Google Cloud Life Sciences V2beta Client - Class ServiceAccount (0.3.5)

Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class ServiceAccount.

Carries information about a Google Cloud service account.

Generated from protobuf message google.cloud.lifesciences.v2beta.ServiceAccount

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ email string

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.

↳ scopes array

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.

getEmail

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.

Returns
TypeDescription
string

setEmail

Email address of the service account. If not specified, the default Compute Engine service account for the project will be used.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getScopes

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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setScopes

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this