Class SupportedLanguage (3.8.3)

SupportedLanguage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
language_code str
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-TW' and 'zh-CN')
display_name str
Human readable name of the language localized in the display language specified in the request.
support_source bool
Can be used as source language.
support_target bool
Can be used as target language.

Inheritance

builtins.object > proto.message.Message > SupportedLanguage