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.
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:
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eBatchDocumentInputConfig\u003c/code\u003e class within the Google Cloud Translation v3 API, with the latest version being 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchDocumentInputConfig\u003c/code\u003e is used as the input configuration for batch document translation requests.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eGcsSource\u003c/code\u003e property that specifies the Google Cloud Storage location for the source input documents, supporting various file types like \u003ccode\u003e.pdf\u003c/code\u003e, \u003ccode\u003e.docx\u003c/code\u003e, \u003ccode\u003e.pptx\u003c/code\u003e, and \u003ccode\u003e.xlsx\u003c/code\u003e with specific file size limits.\u003c/p\u003e\n"],["\u003cp\u003eThere is also the property \u003ccode\u003eSourceCase\u003c/code\u003e which is to determine the type of source used.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Translation v3 API - Class BatchDocumentInputConfig (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.8.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.7.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.6.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.5.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.4.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.3.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.2.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.1.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.0.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.4.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.3.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.2.0/Google.Cloud.Translate.V3.BatchDocumentInputConfig) \n\n public sealed class BatchDocumentInputConfig : IMessage\u003cBatchDocumentInputConfig\u003e, IEquatable\u003cBatchDocumentInputConfig\u003e, IDeepCloneable\u003cBatchDocumentInputConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Translation v3 API class BatchDocumentInputConfig.\n\nInput configuration for BatchTranslateDocument request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchDocumentInputConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchDocumentInputConfig](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.BatchDocumentInputConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchDocumentInputConfig](/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](/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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Translate.V3](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Translate.V3.dll\n\nConstructors\n------------\n\n### BatchDocumentInputConfig()\n\n public BatchDocumentInputConfig()\n\n### BatchDocumentInputConfig(BatchDocumentInputConfig)\n\n public BatchDocumentInputConfig(BatchDocumentInputConfig other)\n\nProperties\n----------\n\n### GcsSource\n\n public GcsSource GcsSource { get; set; }\n\nGoogle Cloud Storage location for the source input.\nThis can be a single file (for example,\n`gs://translation-test/input.docx`) or a wildcard (for example,\n`gs://translation-test/*`).\n\nFile mime type is determined based on extension. Supported mime type\nincludes:\n\n- `pdf`, application/pdf\n- `docx`, application/vnd.openxmlformats-officedocument.wordprocessingml.document\n- `pptx`, application/vnd.openxmlformats-officedocument.presentationml.presentation\n- `xlsx`, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\n\nThe max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB.\nThe max file size to support for `.pdf` is 1GB and the max page limit is\n1000 pages.\nThe max file size to support for all input documents is 1GB.\n\n### SourceCase\n\n public BatchDocumentInputConfig.SourceOneofCase SourceCase { get; }"]]