Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class OauthGrantType.
OAuth grant types. Only client credential grant is supported.
Protobuf type google.cloud.dialogflow.v2.Tool.Authentication.OAuthConfig.OauthGrantType
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Tool \ Authentication \ OAuthConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
OAUTH_GRANT_TYPE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum OAUTH_GRANT_TYPE_UNSPECIFIED = 0;
CLIENT_CREDENTIAL
Value: 1Represents the client credential flow.
Generated from protobuf enum CLIENT_CREDENTIAL = 1;