# Google Cloud Video Stitcher V1 Client - Class CreateVodSessionRequest (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class CreateVodSessionRequest.

Request message for VideoStitcherService.createVodSession

Generated from protobuf message `google.cloud.video.stitcher.v1.CreateVodSessionRequest`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The project and location in which the VOD session should be created, in the form of `projects/{project_number}/locations/{location}`. |
| `↳ vod_session` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.VodSession` Required. Parameters for creating a session. |

### getParent

Required. The project and location in which the VOD session should be
created, in the form of `projects/{project_number}/locations/{location}`.

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

### setParent

Required. The project and location in which the VOD session should be
created, in the form of `projects/{project_number}/locations/{location}`.

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

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

### getVodSession

Required. Parameters for creating a session.

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

### hasVodSession

### clearVodSession

### setVodSession

Required. Parameters for creating a session.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The project and location in which the VOD session should be created, in the form of `projects/{project_number}/locations/{location}`. Please see VideoStitcherServiceClient::locationName() for help formatting this field. |
| `vodSession` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.VodSession` Required. Parameters for creating a session. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-stitcher/latest/V1.CreateVodSessionRequest` |   |