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

An AdaptiveMtTranslate response.

Attributes

  • glossaryTranslations (type: list(GoogleApi.Translate.V3.Model.AdaptiveMtTranslation.t), default: nil) - Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
  • languageCode (type: String.t, default: nil) - Output only. The translation's language code.
  • translations (type: list(GoogleApi.Translate.V3.Model.AdaptiveMtTranslation.t), default: nil) - Output only. The translation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.AdaptiveMtTranslateResponse{
  glossaryTranslations:
    [GoogleApi.Translate.V3.Model.AdaptiveMtTranslation.t()] | nil,
  languageCode: String.t() | nil,
  translations: [GoogleApi.Translate.V3.Model.AdaptiveMtTranslation.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.