public sealed class DocumentInputConfig : IMessage<DocumentInputConfig>, IEquatable<DocumentInputConfig>, IDeepCloneable<DocumentInputConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class DocumentInputConfig.
If not specified it will be determined using the file extension for
gcs_source provided files. For a file provided through bytes content the
mime_type must be provided.
Currently supported mime types are:
[[["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 \u003ccode\u003eDocumentInputConfig\u003c/code\u003e class is part of the Google Cloud Translation v3 API and is used to define the input configuration for document translation requests.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, indicating its role in handling message-based operations and data integrity.\u003c/p\u003e\n"],["\u003cp\u003eIt supports specifying the input document either directly via its \u003ccode\u003eContent\u003c/code\u003e property, which uses \u003ccode\u003eByteString\u003c/code\u003e to represent the document's byte stream, or indirectly via its \u003ccode\u003eGcsSource\u003c/code\u003e property, which indicates a file located in Google Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMimeType\u003c/code\u003e property allows specifying the document's MIME type, such as "application/pdf", and if a file extension is available, this value will be determined from the extension, otherwise it must be provided.\u003c/p\u003e\n"],["\u003cp\u003eThe documented version, version 3.6.0, has several available versions ranging from 2.2.0 to the latest, 3.9.0, which provides various documentation for different versions of the DocumentInputConfig.\u003c/p\u003e\n"]]],[],null,[]]