# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::Glossary::LanguageCodePair (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::Glossary::LanguageCodePair.

Used with unidirectional glossaries.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #source_language_code

    def source_language_code() -> ::String

**Returns**

- (::String) --- Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

### #source_language_code=

    def source_language_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
**Returns**

- (::String) --- Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

### #target_language_code

    def target_language_code() -> ::String

**Returns**

- (::String) --- Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

### #target_language_code=

    def target_language_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
**Returns**

- (::String) --- Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.