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

The mapping for the
[JobConfig.edit_list](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.JobConfig#_Google_Cloud_Video_Transcoder_V1_JobConfig__getEditList__)
atoms with text
[EditAtom.inputs](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.EditAtom#_Google_Cloud_Video_Transcoder_V1_EditAtom__getInputs__).

Generated from protobuf message `google.cloud.video.transcoder.v1.TextStream.TextMapping`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ atom_key` | `string` Required. The [EditAtom.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.EditAtom#_Google_Cloud_Video_Transcoder_V1_EditAtom__getKey__) that references atom with text inputs in the [JobConfig.edit_list](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.JobConfig#_Google_Cloud_Video_Transcoder_V1_JobConfig__getEditList__). |
| `↳ input_key` | `string` Required. The [Input.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Input#_Google_Cloud_Video_Transcoder_V1_Input__getKey__) that identifies the input file. |
| `↳ input_track` | `int` Required. The zero-based index of the track in the input file. |

### getAtomKey

Required. The
[EditAtom.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.EditAtom#_Google_Cloud_Video_Transcoder_V1_EditAtom__getKey__) that
references atom with text inputs in the
[JobConfig.edit_list](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.JobConfig#_Google_Cloud_Video_Transcoder_V1_JobConfig__getEditList__).

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

### setAtomKey

Required. The
[EditAtom.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.EditAtom#_Google_Cloud_Video_Transcoder_V1_EditAtom__getKey__) that
references atom with text inputs in the
[JobConfig.edit_list](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.JobConfig#_Google_Cloud_Video_Transcoder_V1_JobConfig__getEditList__).

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

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

### getInputKey

Required. The [Input.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Input#_Google_Cloud_Video_Transcoder_V1_Input__getKey__)
that identifies the input file.

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

### setInputKey

Required. The [Input.key](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.Input#_Google_Cloud_Video_Transcoder_V1_Input__getKey__)
that identifies the input file.

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

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

### getInputTrack

Required. The zero-based index of the track in the input file.

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

### setInputTrack

Required. The zero-based index of the track in the input file.

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

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