View Source GoogleApi.Translate.V3.Model.TranslateTextResponse (google_api_translate v0.21.0)

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.