GoogleApi.Translate.V3.Model.TranslateTextResponse (google_api_translate v0.22.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.