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

Request message for `TranscoderService.CreateJob`.

Generated from protobuf message `google.cloud.video.transcoder.v1.CreateJobRequest`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent location to create and process this job. Format: `projects/{project}/locations/{location}` |
| `↳ job` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Job` Required. Parameters for creating transcoding job. |

### getParent

Required. The parent location to create and process this job.

Format: `projects/{project}/locations/{location}`

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

### setParent

Required. The parent location to create and process this job.

Format: `projects/{project}/locations/{location}`

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

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

### getJob

Required. Parameters for creating transcoding job.

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

### hasJob

### clearJob

### setJob

Required. Parameters for creating transcoding job.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent location to create and process this job. Format: `projects/{project}/locations/{location}` Please see TranscoderServiceClient::locationName() for help formatting this field. |
| `job` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Job` Required. Parameters for creating transcoding job. |

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