View Source GoogleApi.Translate.V3.Model.TranslateDocumentResponse (google_api_translate v0.21.0)
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_config
used 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/nmt
thenmodel
here would be normalized toprojects/{project-number}/locations/{location-id}/models/general/nmt
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type 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 }
Functions
Unwrap a decoded JSON object into its complex fields.