Class: Google::Cloud::Translate::V3::SupportedLanguage
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::SupportedLanguage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/translation_service.rb
Overview
A single supported language response corresponds to information related to one supported language.
Instance Attribute Summary collapse
-
#display_name ⇒ ::String
Human-readable name of the language localized in the display language specified in the request.
-
#language_code ⇒ ::String
Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'.
-
#support_source ⇒ ::Boolean
Can be used as a source language.
-
#support_target ⇒ ::Boolean
Can be used as a target language.
Instance Attribute Details
#display_name ⇒ ::String
Returns Human-readable name of the language localized in the display language specified in the request.
373 374 375 376 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 373 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_code ⇒ ::String
Returns 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').
373 374 375 376 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 373 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#support_source ⇒ ::Boolean
Returns Can be used as a source language.
373 374 375 376 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 373 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#support_target ⇒ ::Boolean
Returns Can be used as a target language.
373 374 375 376 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 373 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |