Cloud Translation V3 API - Class Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig (v1.1.0)

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

#glossary

def glossary() -> ::String
Returns
  • (::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}

#glossary=

def glossary=(value) -> ::String
Parameter
  • 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}
Returns
  • (::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}

#ignore_case

def ignore_case() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates match is case insensitive. The default value is false if missing.

#ignore_case=

def ignore_case=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates match is case insensitive. The default value is false if missing.
Returns
  • (::Boolean) — Optional. Indicates match is case insensitive. The default value is false if missing.