Google Cloud Backup Dr V1 Client - Class ServiceAccount (0.4.1)

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

A service account.

Generated from protobuf message google.cloud.backupdr.v1.ServiceAccount

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ email string

Optional. Email address of the service account.

↳ scopes array

Optional. The list of scopes to be made available for this service account.

getEmail

Optional. Email address of the service account.

Returns
Type Description
string

hasEmail

clearEmail

setEmail

Optional. Email address of the service account.

Parameter
Name Description
var string
Returns
Type Description
$this

getScopes

Optional. The list of scopes to be made available for this service account.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setScopes

Optional. The list of scopes to be made available for this service account.

Parameter
Name Description
var string[]
Returns
Type Description
$this