GoogleApi.Translate.V3.Model.TranslateDocumentResponse (google_api_translate v0.13.0) View Source
A translated document response message.
Attributes
-
documentTranslation(type:GoogleApi.Translate.V3.Model.DocumentTranslation.t, default:nil) - Translated document. -
glossaryConfig(type:GoogleApi.Translate.V3.Model.TranslateTextGlossaryConfig.t, default:nil) - Theglossary_configused for this translation. -
glossaryDocumentTranslation(type:GoogleApi.Translate.V3.Model.DocumentTranslation.t, default:nil) - 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. -
model(type:String.t, default:nil) - 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/nmtthenmodelhere would be normalized toprojects/{project-number}/locations/{location-id}/models/general/nmt.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Translate.V3.Model.TranslateDocumentResponse{
documentTranslation:
GoogleApi.Translate.V3.Model.DocumentTranslation.t() | nil,
glossaryConfig:
GoogleApi.Translate.V3.Model.TranslateTextGlossaryConfig.t() | nil,
glossaryDocumentTranslation:
GoogleApi.Translate.V3.Model.DocumentTranslation.t() | nil,
model: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.