Represents configuration of OAuth client credential flow for
3rd party API authentication.
Attributes
Name
Description
client_id
str
Required. The client ID provided by the 3rd
party platform.
client_secret
str
Optional. The client secret provided by the
3rd party platform.
secret_version_for_client_secret
str
Optional. The name of the SecretManager secret version
resource storing the client secret. If this field is set,
the client_secret field will be ignored. Format:
projects/{project}/secrets/{secret}/versions/{version}
token_endpoint
str
Required. The token endpoint provided by the
3rd party platform to exchange an access token.
scopes
MutableSequence[str]
Optional. The OAuth scopes to grant.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]