# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::TranslateTextGlossaryConfig (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.3 0.6.0 0.5.2 0.4.2 Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::TranslateTextGlossaryConfig.

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

**Returns**

- (::Boolean) --- Optional. If set to true, the glossary will be used for contextual translation.

### #contextual_translation_enabled=

    def contextual_translation_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, the glossary will be used for contextual translation.
**Returns**

- (::Boolean) --- Optional. If set to true, the glossary will be used for contextual translation.

### #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.