Translate API v2, gRPC: TranslationService.ListLanguages
Статья создана
Обновлена 13 января 2025 г.
Retrieves the list of supported languages.
gRPC request
rpc ListLanguages (ListLanguagesRequest) returns (ListLanguagesResponse)
ListLanguagesRequest
{
"folder_id": "string"
}
Field |
Description |
folder_id |
string ID of the folder to which you have access. |
ListLanguagesResponse
{
"languages": [
{
"code": "string",
"name": "string"
}
]
}
Field |
Description |
languages[] |
List of supported languages. |
Language
Field |
Description |
code |
string The language code. |
name |
string The name of the language (for example, |