Reference documentation and code samples for the Google Cloud Api Hub V1 Client class GoogleServiceAccountConfig.
Config for Google service account authentication.
Generated from protobuf message google.cloud.apihub.v1.GoogleServiceAccountConfig
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_account |
string
Required. The service account to be used for authenticating request. The |
getServiceAccount
Required. The service account to be used for authenticating request.
The iam.serviceAccounts.getAccessToken
permission should be granted on
this service account to the impersonator service account.
Returns | |
---|---|
Type | Description |
string |
setServiceAccount
Required. The service account to be used for authenticating request.
The iam.serviceAccounts.getAccessToken
permission should be granted on
this service account to the impersonator service account.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |