View Source GoogleApi.Translate.V3.Model.AdaptiveMtTranslateRequest (google_api_translate v0.21.0)
The request for sending an AdaptiveMt translation query.
Attributes
-
content
(type:list(String.t)
, default:nil
) - Required. The content of the input in string format. -
dataset
(type:String.t
, default:nil
) - Required. The resource name for the dataset to use for adaptive MT.projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}
-
glossaryConfig
(type:GoogleApi.Translate.V3.Model.GlossaryConfig.t
, default:nil
) - Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned. -
referenceSentenceConfig
(type:GoogleApi.Translate.V3.Model.ReferenceSentenceConfig.t
, default:nil
) - Configuration for caller provided reference sentences.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Translate.V3.Model.AdaptiveMtTranslateRequest{ content: [String.t()] | nil, dataset: String.t() | nil, glossaryConfig: GoogleApi.Translate.V3.Model.GlossaryConfig.t() | nil, referenceSentenceConfig: GoogleApi.Translate.V3.Model.ReferenceSentenceConfig.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.