# Google Cloud Video Live Stream V1 Client - Class UpdateEncryptionsTask (1.4.0)

1.4.0 (latest) 1.3.2 1.2.1 1.1.3 1.0.0 0.7.5 0.6.2 0.5.0 0.4.2 0.3.2 0.2.6 Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class UpdateEncryptionsTask.

Update encryption settings.

Generated from protobuf message `google.cloud.video.livestream.v1.Event.UpdateEncryptionsTask`

## Namespace

Google \\ Cloud \\ Video \\ LiveStream \\ V1 \\ Event

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ encryptions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.EncryptionUpdate>` Required. A list of [EncryptionUpdate](https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.EncryptionUpdate)s that updates the existing encryption settings. |

### getEncryptions

Required. A list of
[EncryptionUpdate](https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.EncryptionUpdate)s
that updates the existing encryption settings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.EncryptionUpdate>` |   |

### setEncryptions

Required. A list of
[EncryptionUpdate](https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.EncryptionUpdate)s
that updates the existing encryption settings.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.EncryptionUpdate>` |

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