Class OAuthToken (1.13.2)

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

Contains information needed for generating an OAuth token <https://developers.google.com/identity/protocols/OAuth2>__. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

Attributes

Name Description
service_account str
Required. Service account email used to generate the `OAuth token
scope str
Optional. OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used.