Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::TranslateTextGlossaryConfig.
Configures which glossary should be 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
#glossary
def glossary() -> ::String
-
(::String) —
Required. The
glossary
to be applied for this translation.The format depends on 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 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 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. Default value is false if missing.
#ignore_case=
def ignore_case=(value) -> ::Boolean
- value (::Boolean) — Optional. Indicates match is case-insensitive. Default value is false if missing.
- (::Boolean) — Optional. Indicates match is case-insensitive. Default value is false if missing.