Class OAuthConfig (1.32.1)

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

Config for authentication with OAuth.

Attributes

NameDescription
oauth_grant_type google.cloud.dialogflowcx_v3beta1.types.Tool.Authentication.OAuthConfig.OauthGrantType
Required. OAuth grant types.
client_id str
Required. The client ID from the OAuth provider.
client_secret str
Required. The client secret from the OAuth provider.
token_endpoint str
Required. The token endpoint in the OAuth provider to exchange for an access token.

Classes

OauthGrantType

OauthGrantType(value)

OAuth grant types. Only client credential grant <https://oauth.net/2/grant-types/client-credentials>__ is supported.

Values: OAUTH_GRANT_TYPE_UNSPECIFIED (0): Default value. This value is unused. CLIENT_CREDENTIAL (1): Represents the client credential flow <https://oauth.net/2/grant-types/client-credentials>__.