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

Used with unidirectional glossaries.

Attributes

  • sourceLanguageCode (type: String.t, default: nil) - Required. The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
  • targetLanguageCode (type: String.t, default: nil) - Required. The BCP-47 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

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.LanguageCodePair{
  sourceLanguageCode: String.t(),
  targetLanguageCode: String.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.