Class OAuthCredential (3.12.0)

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

Represents an OAuth token of the account that authorized the Connection, and associated metadata.

Attributes

NameDescription
oauth_token_secret_version str
A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: projects/*/secrets/*/versions/*.
username str
Output only. The username associated to this token.