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

A single supported language response corresponds to information related
to one supported language.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Human-readable name of the language localized in the display language specified in the request.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Human-readable name of the language localized in the display language specified in the request.
**Returns**

- (::String) --- Human-readable name of the language localized in the display language specified in the request.

### #language_code

    def language_code() -> ::String

**Returns**

- (::String) --- Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').

### #language_code=

    def language_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').
**Returns**

- (::String) --- Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').

### #support_source

    def support_source() -> ::Boolean

**Returns**

- (::Boolean) --- Can be used as a source language.

### #support_source=

    def support_source=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Can be used as a source language.
**Returns**

- (::Boolean) --- Can be used as a source language.

### #support_target

    def support_target() -> ::Boolean

**Returns**

- (::Boolean) --- Can be used as a target language.

### #support_target=

    def support_target=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Can be used as a target language.
**Returns**

- (::Boolean) --- Can be used as a target language.