public sealed class TranslateDocumentResponse : IMessage<TranslateDocumentResponse>, IEquatable<TranslateDocumentResponse>, IDeepCloneable<TranslateDocumentResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class TranslateDocumentResponse.
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\u003eThis document provides reference information for the \u003ccode\u003eTranslateDocumentResponse\u003c/code\u003e class within the Google Cloud Translation v3 API, specifically for version 3.6.0, and links to other versions from 2.2.0 to 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslateDocumentResponse\u003c/code\u003e class is a response message representing a translated document, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several 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\u003eThe class contains properties such as \u003ccode\u003eDocumentTranslation\u003c/code\u003e, \u003ccode\u003eGlossaryConfig\u003c/code\u003e, \u003ccode\u003eGlossaryDocumentTranslation\u003c/code\u003e, and \u003ccode\u003eModel\u003c/code\u003e to access the translated document, glossary configuration, glossary translation, and model information respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides a list of all accessible versions of the service to navigate to.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eTranslateDocumentResponse\u003c/code\u003e class: a parameterless constructor and one that accepts another \u003ccode\u003eTranslateDocumentResponse\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]