Class ServiceAccountAuthConfig (0.3.0)

ServiceAccountAuthConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configurations for authentication using a custom service account.

Attributes

Name Description
service_account str
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-.
scopes MutableSequence[str]
Optional. The OAuth scopes to grant. If not specified, the default scope https://www.googleapis.com/auth/cloud-platform is used.