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

Request message for VideoStitcherService.updateCdnKey.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cdn_key` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.CdnKey` Required. The CDN key resource which replaces the resource on the server. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask> |

### getCdnKey

Required. The CDN key resource which replaces the resource on the server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.CdnKey|null` |   |

### hasCdnKey

### clearCdnKey

### setCdnKey

Required. The CDN key resource which replaces the resource on the server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.CdnKey` |

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

### getUpdateMask

Required. The update mask applies to the resource.

For the `FieldMask` definition, see
<https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. The update mask applies to the resource.

For the `FieldMask` definition, see
<https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `cdnKey` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.CdnKey` Required. The CDN key resource which replaces the resource on the server. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask> |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.UpdateCdnKeyRequest` |   |