# Google Cloud Video Live Stream V1 Client - Class PreprocessingConfig (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 PreprocessingConfig.

Preprocessing configurations.

Generated from protobuf message `google.cloud.video.livestream.v1.PreprocessingConfig`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ audio` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Audio` Audio preprocessing configuration. |
| `↳ crop` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Crop` Specify the video cropping configuration. |
| `↳ pad` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Pad` Specify the video pad filter configuration. |

### getAudio

Audio preprocessing configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Audio|null` |   |

### hasAudio

### clearAudio

### setAudio

Audio preprocessing configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Audio` |

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

### getCrop

Specify the video cropping configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Crop|null` |   |

### hasCrop

### clearCrop

### setCrop

Specify the video cropping configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Crop` |

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

### getPad

Specify the video pad filter configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Pad|null` |   |

### hasPad

### clearPad

### setPad

Specify the video pad filter configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.PreprocessingConfig.Pad` |

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