The response message for discovering supported languages.

| JSON representation |
|---|
| ``` { "languages": [ { object (`https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rest/v3/SupportedLanguages#SupportedLanguage`) } ] } ``` |

| Fields ||
|---|---|
| `languages[]` | ``object (`https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/vertex-ai/translation/rest/v3/SupportedLanguages#SupportedLanguage`)`` A list of supported language responses. This list contains an entry for each language the Translation API supports. |

## SupportedLanguage

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

| JSON representation |
|---|
| ``` { "language_code": string, "display_name": string, "support_source": boolean, "support_target": boolean } ``` |

| Fields ||
|---|---|
| `language_code` | `string` Supported language code, generally consisting of its ISO 639-1 identifier, for example, `en`, `ja`. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, `zh-CN`). **Note:** When `getSupportedLanguages` or `detectLanguage` returns `zh-CN`, `jw`, or `tl`, use `zh`, `jv`, or `fil` in translation requests and glossaries. |
| `display_name` | `string` Human-readable name of the language localized in the display language specified in the request. |
| `support_source` | `boolean` Can be used as source language. |
| `support_target` | `boolean` Can be used as target language. |