Class TranslateTextGlossaryConfig (3.18.0)

TranslateTextGlossaryConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
glossary str
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}
ignore_case bool
Optional. Indicates match is case insensitive. The default value is false if missing.
contextual_translation_enabled bool
Optional. If set to true, the glossary will be used for contextual translation.