Reference documentation and code samples for the Google Cloud Ces V1 Client class ServiceAccountAuthConfig.
Configurations for authentication using a custom service account.
Generated from protobuf message google.cloud.ces.v1.ServiceAccountAuthConfig
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ service_account
string
Required. The email address of the service account used for authentication. CES uses this service account to exchange an access token and the access token is then sent in the Authorization
header of the request. The service account must have the roles/iam.serviceAccountTokenCreator
role granted to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com
.
↳ scopes
array
Optional. The OAuth scopes to grant. If not specified, the default scope https://www.googleapis.com/auth/cloud-platform
is used.
getServiceAccount
Required. The email address of the service account used for authentication.
CES uses this service account to exchange an access token and the access
token is then sent in the Authorization
header of the request.
The service account must have the roles/iam.serviceAccountTokenCreator
role granted to the
CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com
.
string
setServiceAccount
Required. The email address of the service account used for authentication.
CES uses this service account to exchange an access token and the access
token is then sent in the Authorization
header of the request.
The service account must have the roles/iam.serviceAccountTokenCreator
role granted to the
CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com
.
var
string
$this
getScopes
Optional. The OAuth scopes to grant. If not specified, the default scope https://www.googleapis.com/auth/cloud-platform
is used.
setScopes
Optional. The OAuth scopes to grant. If not specified, the default scope https://www.googleapis.com/auth/cloud-platform
is used.
var
string[]
$this

