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

Properties of the video stream.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ index` | `int` Index of this video stream. |
| `↳ video_format` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.VideoFormat` Properties of the video format. |

### getIndex

Index of this video stream.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setIndex

Index of this video stream.

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

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

### getVideoFormat

Properties of the video format.

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

### hasVideoFormat

### clearVideoFormat

### setVideoFormat

Properties of the video format.

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

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