google_api_translate v0.9.0 GoogleApi.Translate.V3.Model.TranslateTextResponse View Source

Attributes

  • glossaryTranslations (type: list(GoogleApi.Translate.V3.Model.Translation.t), default: nil) - Text translation responses if a glossary is provided in the request. This can be the same as translations if no terms apply. This field has the same length as contents.
  • translations (type: list(GoogleApi.Translate.V3.Model.Translation.t), default: nil) - Text translation responses with no glossary applied. This field has the same length as contents.

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.V3.Model.TranslateTextResponse{
  glossaryTranslations: [GoogleApi.Translate.V3.Model.Translation.t()],
  translations: [GoogleApi.Translate.V3.Model.Translation.t()]
}

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.