Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/adaptive_mt.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.
210 211 212 213 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 210 class GlossaryConfig 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}
.
210 211 212 213 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 210 class GlossaryConfig 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.
210 211 212 213 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 210 class GlossaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |