View Source GoogleApi.Translate.V2.Model.TranslateTextRequest (google_api_translate v0.21.0)
The main translation request message for the Cloud Translation API.
Attributes
-
format
(type:String.t
, default:nil
) - The format of the source text, in either HTML (default) or plain-text. A value of "html" indicates HTML and a value of "text" indicates plain-text. -
model
(type:String.t
, default:nil
) - Themodel
type requested for this translation. Valid values are listed in public documentation. -
q
(type:list(String.t)
, default:nil
) - The input text to translate. Repeat this parameter to perform translation operations on multiple text inputs. -
source
(type:String.t
, default:nil
) - The language of the source text, set to one of the language codes listed in Language Support. If the source language is not specified, the API will attempt to identify the source language automatically and return it within the response. -
target
(type:String.t
, default:nil
) - The language to use for translation of the input text, set to one of the language codes listed in Language Support.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.