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

Specs

t() :: %GoogleApi.Translate.V3.Model.LanguageCodePair{
  sourceLanguageCode: String.t() | nil,
  targetLanguageCode: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.