# Google Cloud Video Stitcher V1 Client - Class TokenConfig (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class TokenConfig.

Configuration for a Media CDN token.

Generated from protobuf message `google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1 \\ MediaCdnKey

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ query_parameter` | `string` Optional. The query parameter in which to find the token. The name must be 1-64 characters long and match the regular expression `[a-zA-Z]([a-zA-Z0-9_-])*` which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Defaults to `edge-cache-token`. |

### getQueryParameter

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match
the regular expression `[a-zA-Z]([a-zA-Z0-9_-])*` which means the
first character must be a letter, and all following characters
must be a dash, underscore, letter or digit.
Defaults to `edge-cache-token`.

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

### setQueryParameter

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match
the regular expression `[a-zA-Z]([a-zA-Z0-9_-])*` which means the
first character must be a letter, and all following characters
must be a dash, underscore, letter or digit.
Defaults to `edge-cache-token`.

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

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