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

View Source

Configures which glossary is used for a specific target language and defines options for applying that glossary.

Attributes

  • contextualTranslationEnabled (type: boolean(), default: nil) - Optional. If set to true, the glossary will be used for contextual translation.
  • glossary (type: String.t, default: nil) - Required. The glossary to be applied for this translation. The format depends on the glossary: - User-provided custom glossary: projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}
  • ignoreCase (type: boolean(), default: nil) - Optional. Indicates match is case insensitive. The default value is false if missing.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Translate.V3.Model.TranslateTextGlossaryConfig{
  contextualTranslationEnabled: boolean() | nil,
  glossary: String.t() | nil,
  ignoreCase: boolean() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.