# Google Cloud Dialogflow Cx V3 Client - Class OauthGrantType (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class OauthGrantType.

OAuth grant types. Only [client credential
grant](https://oauth.net/2/grant-types/client-credentials) is
supported.

Protobuf type `google.cloud.dialogflow.cx.v3.Tool.Authentication.OAuthConfig.OauthGrantType`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ 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](https://oauth.net/2/grant-types/client-credentials).

Generated from protobuf enum `CLIENT_CREDENTIAL = 1;`