Class TranslateDocumentResponse
A translated document response message.
Implements
Inherited Members
Namespace: Google.Apis.Translate.v3.Data
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class TranslateDocumentResponse : IDirectResponseSchema
Properties
DocumentTranslation
Translated document.
Declaration
[JsonProperty("documentTranslation")]
public virtual DocumentTranslation DocumentTranslation { get; set; }
Property Value
Type | Description |
---|---|
DocumentTranslation |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GlossaryConfig
The glossary_config
used for this translation.
Declaration
[JsonProperty("glossaryConfig")]
public virtual TranslateTextGlossaryConfig GlossaryConfig { get; set; }
Property Value
Type | Description |
---|---|
TranslateTextGlossaryConfig |
GlossaryDocumentTranslation
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.
Declaration
[JsonProperty("glossaryDocumentTranslation")]
public virtual DocumentTranslation GlossaryDocumentTranslation { get; set; }
Property Value
Type | Description |
---|---|
DocumentTranslation |
Model
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
.
Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type | Description |
---|---|
string |