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 Oauth2AuthCodeConfig.

Oauth 2.0 Authorization Code authentication configuration.

Generated from protobuf message `google.cloud.ces.v1.EndUserAuthConfig.Oauth2AuthCodeConfig`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ EndUserAuthConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ oauth_token` | `string` Required. Oauth token parameter name to pass through. Must be in the format `$context.variables.<name_of_variable>`. |

### getOauthToken

Required. Oauth token parameter name to pass through.

Must be in the format `$context.variables.<name_of_variable>`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setOauthToken

Required. Oauth token parameter name to pass through.

Must be in the format `$context.variables.<name_of_variable>`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |