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

Transcoding job template resource.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The resource name of the job template. Format: `projects/{project_number}/locations/{location}/jobTemplates/{job_template}` |
| `↳ config` | `https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.JobConfig` The configuration for this template. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` The labels associated with this job template. You can use these to organize and group your job templates. |

### getName

The resource name of the job template.

Format:
`projects/{project_number}/locations/{location}/jobTemplates/{job_template}`

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

### setName

The resource name of the job template.

Format:
`projects/{project_number}/locations/{location}/jobTemplates/{job_template}`

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

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

### getConfig

The configuration for this template.

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

### hasConfig

### clearConfig

### setConfig

The configuration for this template.

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

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

### getLabels

The labels associated with this job template. You can use these to organize
and group your job templates.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

The labels associated with this job template. You can use these to organize
and group your job templates.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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