Reference documentation and code samples for the Google Cloud Tpu V2 Client class ServiceAccount.
A service account.
Generated from protobuf message google.cloud.tpu.v2.ServiceAccount
Namespace
Google \ Cloud \ Tpu \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ email
string
Email address of the service account. If empty, default Compute service account will be used.
↳ scope
array
The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
getEmail
Email address of the service account. If empty, default Compute service account will be used.
string
setEmail
Email address of the service account. If empty, default Compute service account will be used.
var
string
$this
getScope
The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
setScope
The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.
var
string[]
$this