Google Cloud Batch V1 Client - Class ServiceAccount (0.2.2)

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

Carries information about a Google Cloud service account.

Generated from protobuf message google.cloud.batch.v1.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. 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.

getEmail

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.

Generated from protobuf field string email = 1;

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. 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.

Generated from protobuf field string email = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this