Class: Google::Cloud::Translate::V3::TranslateTextGlossaryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::TranslateTextGlossaryConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
Configures which glossary is used for a specific target language and defines options for applying that glossary.
Instance Attribute Summary collapse
-
#contextual_translation_enabled ⇒ ::Boolean
Optional.
-
#glossary ⇒ ::String
Required.
-
#ignore_case ⇒ ::Boolean
Optional.
Instance Attribute Details
#contextual_translation_enabled ⇒ ::Boolean
Returns Optional. If set to true, the glossary will be used for contextual translation.
1629 1630 1631 1632 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1629 class TranslateTextGlossaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#glossary ⇒ ::String
Returns 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}
.
1629 1630 1631 1632 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1629 class TranslateTextGlossaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ignore_case ⇒ ::Boolean
Returns Optional. Indicates match is case insensitive. The default value is false
if missing.
1629 1630 1631 1632 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 1629 class TranslateTextGlossaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |