public sealed class BatchDocumentInputConfig : IMessage<BatchDocumentInputConfig>, IEquatable<BatchDocumentInputConfig>, IDeepCloneable<BatchDocumentInputConfig>, IBufferMessage, IMessage
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\u003eThe latest version of the \u003ccode\u003eBatchDocumentInputConfig\u003c/code\u003e is 3.9.0, but version 2.3.0 is detailed on this specific page, and there are other versions available, ranging from 2.2.0 to 3.8.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchDocumentInputConfig\u003c/code\u003e serves as the input configuration for BatchTranslateDocument requests in the Google Cloud Translation API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, each with their own properties.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchDocumentInputConfig\u003c/code\u003e supports input from Google Cloud Storage (GCS), with file mime type determined by the file extension, and specifies the maximum supported file sizes for various file types, including pdf, docx, pptx, and xlsx.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsSource\u003c/code\u003e property is used for setting the Google Cloud Storage location of the input, while the \u003ccode\u003eSourceCase\u003c/code\u003e property returns the \u003ccode\u003eSourceOneofCase\u003c/code\u003e value.\u003c/p\u003e\n"]]],[],null,[]]