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\u003eThis webpage provides reference documentation for the \u003ccode\u003eDocumentInputConfig\u003c/code\u003e class within the Google Cloud Translation v3 API for .NET, specifically version 3.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocumentInputConfig\u003c/code\u003e is a class used to configure the input for document translation requests, accepting either byte stream content or a Google Cloud Storage file.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the class's inheritance from \u003ccode\u003eobject\u003c/code\u003e and implementation of 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\u003eKey properties of the \u003ccode\u003eDocumentInputConfig\u003c/code\u003e class include \u003ccode\u003eContent\u003c/code\u003e (for document bytes), \u003ccode\u003eGcsSource\u003c/code\u003e (for Google Cloud Storage location), \u003ccode\u003eMimeType\u003c/code\u003e (for specifying the document's file type), \u003ccode\u003eHasContent\u003c/code\u003e, and \u003ccode\u003eSourceCase\u003c/code\u003e, with descriptions for each.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage details the available constructors, \u003ccode\u003eDocumentInputConfig()\u003c/code\u003e and \u003ccode\u003eDocumentInputConfig(DocumentInputConfig other)\u003c/code\u003e, along with the supported versions, ranging from 2.2.0 to 3.9.0, with 3.9.0 as the latest.\u003c/p\u003e\n"]]],[],null,[]]