google_api_translate v0.1.0 GoogleApi.Translate.V2.Model.TranslationsResource View Source

Attributes

  • detectedSourceLanguage (String.t): The source language of the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language will not occur and this field will be empty. Defaults to: null.
  • model (String.t): The `model` type used for this translation. Valid values are listed in public documentation. Can be different from requested `model`. Present only if specific model type was explicitly requested. Defaults to: null.
  • translatedText (String.t): Text translated into the target language. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Translate.V2.Model.TranslationsResource{
  detectedSourceLanguage: any(),
  model: any(),
  translatedText: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.