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

Defines configuration for DRM systems in use.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ widevine` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Encryption.Widevine` Widevine configuration. |
| `↳ fairplay` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Encryption.Fairplay` Fairplay configuration. |
| `↳ playready` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Encryption.Playready` Playready configuration. |
| `↳ clearkey` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Encryption.Clearkey` Clearkey configuration. |

### getWidevine

Widevine configuration.

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

### hasWidevine

### clearWidevine

### setWidevine

Widevine configuration.

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

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

### getFairplay

Fairplay configuration.

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

### hasFairplay

### clearFairplay

### setFairplay

Fairplay configuration.

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

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

### getPlayready

Playready configuration.

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

### hasPlayready

### clearPlayready

### setPlayready

Playready configuration.

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

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

### getClearkey

Clearkey configuration.

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

### hasClearkey

### clearClearkey

### setClearkey

Clearkey configuration.

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

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