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 source language.
-
#support_target ⇒ ::Boolean
Can be used as target language.
Instance Attribute Details
#display_name ⇒ ::String
Returns Human readable name of the language localized in the display language specified in the request.
318 319 320 321 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 318 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, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').
318 319 320 321 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 318 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#support_source ⇒ ::Boolean
Returns Can be used as source language.
318 319 320 321 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 318 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#support_target ⇒ ::Boolean
Returns Can be used as target language.
318 319 320 321 |
# File 'proto_docs/google/cloud/translate/v3/translation_service.rb', line 318 class SupportedLanguage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |