Class OAuthConfig (1.34.1)

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

Config for authentication with OAuth.

Attributes

Name Description
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.