# Google Cloud Video Stitcher V1 Client - Class GoogleCdnKey (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 GoogleCdnKey.

Configuration for a Google Cloud CDN key.

Generated from protobuf message `google.cloud.video.stitcher.v1.GoogleCdnKey`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ private_key` | `string` Input only. Secret for this Google Cloud CDN key. |
| `↳ key_name` | `string` The public name of the Google Cloud CDN key. |

### getPrivateKey

Input only. Secret for this Google Cloud CDN key.

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

### setPrivateKey

Input only. Secret for this Google Cloud CDN key.

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

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

### getKeyName

The public name of the Google Cloud CDN key.

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

### setKeyName

The public name of the Google Cloud CDN key.

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

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