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
def contextual_translation_enabled() -> ::Boolean
- (::Boolean) — Optional. If set to true, the glossary will be used for contextual translation.
#contextual_translation_enabled=
def contextual_translation_enabled=(value) -> ::Boolean
- value (::Boolean) — Optional. If set to true, the glossary will be used for contextual translation.
- (::Boolean) — Optional. If set to true, the glossary will be used for contextual translation.
#glossary
def glossary() -> ::String
-
(::String) —
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}
- User-provided custom glossary:
#glossary=
def glossary=(value) -> ::String
-
value (::String) —
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}
- User-provided custom glossary:
-
(::String) —
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}
- User-provided custom glossary:
#ignore_case
def ignore_case() -> ::Boolean
-
(::Boolean) — Optional. Indicates match is case insensitive. The default value is
false
if missing.
#ignore_case=
def ignore_case=(value) -> ::Boolean
-
value (::Boolean) — Optional. Indicates match is case insensitive. The default value is
false
if missing.
-
(::Boolean) — Optional. Indicates match is case insensitive. The default value is
false
if missing.