Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig.
Configures which glossary is used for a specific target language and
defines
options for applying that glossary.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#contextual_translation_enabled
defcontextual_translation_enabled()->::Boolean
Returns
(::Boolean) — Optional. If set to true, the glossary will be used for contextual
translation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig (v1.5.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.2 (latest)](/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [1.5.1](/ruby/docs/reference/google-cloud-translate-v3/1.5.1/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [1.4.1](/ruby/docs/reference/google-cloud-translate-v3/1.4.1/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-translate-v3/1.3.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-translate-v3/1.2.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [1.1.1](/ruby/docs/reference/google-cloud-translate-v3/1.1.1/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [1.0.0](/ruby/docs/reference/google-cloud-translate-v3/1.0.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.12.0](/ruby/docs/reference/google-cloud-translate-v3/0.12.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.11.2](/ruby/docs/reference/google-cloud-translate-v3/0.11.2/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-translate-v3/0.10.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.9.0](/ruby/docs/reference/google-cloud-translate-v3/0.9.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-translate-v3/0.8.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.7.3](/ruby/docs/reference/google-cloud-translate-v3/0.7.3/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-translate-v3/0.6.0/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.5.2](/ruby/docs/reference/google-cloud-translate-v3/0.5.2/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig)\n- [0.4.2](/ruby/docs/reference/google-cloud-translate-v3/0.4.2/Google-Cloud-Translate-V3-AdaptiveMtTranslateRequest-GlossaryConfig) \nReference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig.\n\nConfigures which glossary is used for a specific target language and\ndefines\noptions for applying that glossary. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #contextual_translation_enabled\n\n def contextual_translation_enabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. If set to true, the glossary will be used for contextual translation.\n\n### #contextual_translation_enabled=\n\n def contextual_translation_enabled=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. If set to true, the glossary will be used for contextual translation. \n**Returns**\n\n- (::Boolean) --- Optional. If set to true, the glossary will be used for contextual translation.\n\n### #glossary\n\n def glossary() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The `glossary` to be applied for this translation.\n\n The format depends on the glossary:\n - User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`\n\n### #glossary=\n\n def glossary=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The `glossary` to be applied for this translation.\n\n The format depends on the glossary:\n- User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}` \n**Returns**\n\n- (::String) --- Required. The `glossary` to be applied for this translation.\n\n The format depends on the glossary:\n - User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`\n\n### #ignore_case\n\n def ignore_case() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Indicates match is case insensitive. The default value is `false` if missing.\n\n### #ignore_case=\n\n def ignore_case=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Indicates match is case insensitive. The default value is `false` if missing. \n**Returns**\n\n- (::Boolean) --- Optional. Indicates match is case insensitive. The default value is `false` if missing."]]