3.11.0 (latest) 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

    public sealed class InputConfig : IMessage<InputConfig>, IEquatable<InputConfig>, IDeepCloneable<InputConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Translation v3 API class InputConfig.

Input configuration for BatchTranslateText request.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[InputConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.InputConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[InputConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.InputConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[InputConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.InputConfig.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.Translate.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.md.txt)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### InputConfig()

    public InputConfig()

### InputConfig(InputConfig)

    public InputConfig(InputConfig other)

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

## Properties

### GcsSource

    public GcsSource GcsSource { get; set; }

Required. Google Cloud Storage location for the source input.
This can be a single file (for example,
`gs://translation-test/input.tsv`) or a wildcard (for example,
`gs://translation-test/*`). If a file extension is `.tsv`, it can
contain either one or two columns. The first column (optional) is the id
of the text request. If the first column is missing, we use the row
number (0-based) from the input file as the ID in the output file. The
second column is the actual text to be
translated. We recommend each row be \<= 10K Unicode codepoints,
otherwise an error might be returned.
Note that the input tsv must be RFC 4180 compliant.

You could use <https://github.com/Clever/csvlint> to check potential
formatting errors in your tsv file.
csvlint --delimiter='\\t' your_input_file.tsv

The other supported file extensions are `.txt` or `.html`, which is
treated as a single large chunk of text.

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

### MimeType

    public string MimeType { get; set; }

Optional. Can be "text/plain" or "text/html".
For `.tsv`, "text/html" is used if mime_type is missing.
For `.html`, this field must be "text/html" or empty.
For `.txt`, this field must be "text/plain" or empty.

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

### SourceCase

    public InputConfig.SourceOneofCase SourceCase { get; }

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