GoogleApi.Translate.V3.Model.TranslateTextResponse (google_api_translate v0.12.3) 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

Specs

t() :: %GoogleApi.Translate.V3.Model.TranslateTextResponse{
  glossaryTranslations: [GoogleApi.Translate.V3.Model.Translation.t()] | nil,
  translations: [GoogleApi.Translate.V3.Model.Translation.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.