# Google Cloud Video Transcoder V1 Client - Class MpegCommonEncryption (1.4.0)

1.4.0 (latest) 1.3.2 1.2.0 1.1.0 1.0.3 0.10.5 0.9.1 0.8.2 0.7.1 0.6.0 0.5.3 Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class MpegCommonEncryption.

Configuration for MPEG Common Encryption (MPEG-CENC).

Generated from protobuf message `google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption`

## Namespace

Google \\ Cloud \\ Video \\ Transcoder \\ V1 \\ Encryption

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ scheme` | `string` Required. Specify the encryption scheme. Supported encryption schemes: - `cenc` - `cbcs` |

### getScheme

Required. Specify the encryption scheme.

Supported encryption schemes:

- `cenc`
- `cbcs`

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

### setScheme

Required. Specify the encryption scheme.

Supported encryption schemes:

- `cenc`
- `cbcs`

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

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