public sealed class TranslateDocumentResponse : IMessage<TranslateDocumentResponse>, IEquatable<TranslateDocumentResponse>, IDeepCloneable<TranslateDocumentResponse>, IBufferMessage, IMessage
public DocumentTranslation GlossaryDocumentTranslation { get; set; }
The document's translation output if a glossary is provided in the request.
This can be the same as [TranslateDocumentResponse.document_translation]
if no glossary terms apply.
Only present when 'model' is present in the request.
'model' is normalized to have a project number.
For example:
If the 'model' field in TranslateDocumentRequest is:
projects/{project-id}/locations/{location-id}/models/general/nmt then
model here would be normalized to
projects/{project-number}/locations/{location-id}/models/general/nmt.
[[["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\u003eTranslateDocumentResponse\u003c/code\u003e class represents a translated document response message within the Google.Cloud.Translate.V3 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, ensuring compatibility and utility in various contexts.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eDocumentTranslation\u003c/code\u003e, \u003ccode\u003eGlossaryConfig\u003c/code\u003e, \u003ccode\u003eGlossaryDocumentTranslation\u003c/code\u003e, and \u003ccode\u003eModel\u003c/code\u003e, which provide information about the translated document, any glossary used, and the model employed for translation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is version 3.9.0, with various versions all the way down to version 2.2.0, all providing similar functionality for the TranslateDocumentResponse class.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, one being parameterless and the second one taking in another \u003ccode\u003eTranslateDocumentResponse\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]