1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class TextStream.Types.TextMapping : IMessage<TextStream.Types.TextMapping>, IEquatable<TextStream.Types.TextMapping>, IDeepCloneable<TextStream.Types.TextMapping>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class TextStream.Types.TextMapping.

The mapping for the input streams and text tracks.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TextStream.Types.TextMapping

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[TextStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.Types.md.txt)[TextMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.Types.TextMapping.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TextStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.Types.md.txt)[TextMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.Types.TextMapping.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[TextStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.Types.md.txt)[TextMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.TextStream.Types.TextMapping.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.LiveStream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.md.txt)

## Assembly

Google.Cloud.Video.LiveStream.V1.dll

## Constructors

### TextMapping()

    public TextMapping()

### TextMapping(TextMapping)

    public TextMapping(TextStream.Types.TextMapping other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `TextStreamTypesTextMapping` |

## Properties

### FromLanguageCode

    public string FromLanguageCode { get; set; }

Optional. The BCP-47 source language code, such as `en-US` or `sr-Latn`.
If differ from the textStream's language code, enable translation. For
more information on BCP-47 language codes, see
<https://www.unicode.org/reports/tr35/#Unicode_locale_identifier>.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### InputCeaChannel

    public string InputCeaChannel { get; set; }

Optional. The channel of the closed caption in the input stream.
If this field is set, the output
\[codec\]\[google.cloud.video.livestream.v1.TextStream.codec\] must be
`webvtt`. Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the codec of
the input closed caption is `cea608`; Must be one between `SERVICE1` and
`SERVICE64`, if the codec of the input closed caption is `cea708`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### InputKey

    public string InputKey { get; set; }

Optional. The `Channel`
\[InputAttachment.key\]\[google.cloud.video.livestream.v1.InputAttachment.key\]
that identifies the input that this text mapping applies to.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### InputTrack

    public int InputTrack { get; set; }

Optional. The zero-based index of the track in the input stream.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |