Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class GoogleServiceAccount.
Google service account
Generated from protobuf message google.storagetransfer.v1.GoogleServiceAccount
Namespace
Google \ Cloud \ StorageTransfer \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ account_email |
string
Email address of the service account. |
↳ subject_id |
string
Unique identifier for the service account. |
getAccountEmail
Email address of the service account.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccountEmail
Email address of the service account.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubjectId
Unique identifier for the service account.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubjectId
Unique identifier for the service account.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|