# Google Cloud Translation v3 API - Class BatchDocumentInputConfig (3.11.0)

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 BatchDocumentInputConfig : IMessage<BatchDocumentInputConfig>, IEquatable<BatchDocumentInputConfig>, IDeepCloneable<BatchDocumentInputConfig>, IBufferMessage, IMessage

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

Input configuration for BatchTranslateDocument request.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchDocumentInputConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchDocumentInputConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchDocumentInputConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### BatchDocumentInputConfig()

    public BatchDocumentInputConfig()

### BatchDocumentInputConfig(BatchDocumentInputConfig)

    public BatchDocumentInputConfig(BatchDocumentInputConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig` |

## Properties

### GcsSource

    public GcsSource GcsSource { get; set; }

Google Cloud Storage location for the source input.
This can be a single file (for example,
`gs://translation-test/input.docx`) or a wildcard (for example,
`gs://translation-test/*`).

File mime type is determined based on extension. Supported mime type
includes:

- `pdf`, application/pdf
- `docx`, application/vnd.openxmlformats-officedocument.wordprocessingml.document
- `pptx`, application/vnd.openxmlformats-officedocument.presentationml.presentation
- `xlsx`, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.
The max file size to support for `.pdf` is 1GB and the max page limit is
1000 pages.
The max file size to support for all input documents is 1GB.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GcsSource` |   |

### SourceCase

    public BatchDocumentInputConfig.SourceOneofCase SourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig.SourceOneofCase` |   |