public sealed class DocumentInputConfig : IMessage<DocumentInputConfig>, IEquatable<DocumentInputConfig>, IDeepCloneable<DocumentInputConfig>, IBufferMessage, IMessage
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\u003eThis webpage details the \u003ccode\u003eDocumentInputConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Translate.V3\u003c/code\u003e namespace, which is used for configuring input for document translation requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentInputConfig\u003c/code\u003e class is part of the Google Cloud Translate API, specifically for .NET, and it supports various versions, with 3.9.0 being the latest and the content provided showing version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, indicating its role in handling structured data.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDocumentInputConfig\u003c/code\u003e include \u003ccode\u003eContent\u003c/code\u003e (for byte stream document data), \u003ccode\u003eGcsSource\u003c/code\u003e (for specifying a Google Cloud Storage file), and \u003ccode\u003eMimeType\u003c/code\u003e (for indicating the document's file type, like PDF or DOCX).\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and another that accepts a \u003ccode\u003eDocumentInputConfig\u003c/code\u003e object as a parameter for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]