0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class OauthGrantType.

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

Protobuf type `google.cloud.ces.v1.OAuthConfig.OauthGrantType`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ OAuthConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### OAUTH_GRANT_TYPE_UNSPECIFIED

```php
Value: 0
```
Unspecified. Defaults to CLIENT_CREDENTIAL.

Generated from protobuf enum `OAUTH_GRANT_TYPE_UNSPECIFIED = 0;`

### CLIENT_CREDENTIAL

```php
Value: 1
```
Represents the [client credential
flow](https://oauth.net/2/grant-types/client-credentials).

Generated from protobuf enum `CLIENT_CREDENTIAL = 1;`