Google Cloud Dialogflow V2 Client - Class OauthGrantType (2.3.0)

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 \ OAuthConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

OAUTH_GRANT_TYPE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum OAUTH_GRANT_TYPE_UNSPECIFIED = 0;

CLIENT_CREDENTIAL

Value: 1

Represents the client credential flow.

Generated from protobuf enum CLIENT_CREDENTIAL = 1;