Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::SupportedLanguages.
The response message for discovering supported languages.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#languages
def languages() -> ::Array<::Google::Cloud::Translate::V3::SupportedLanguage>
Returns
- (::Array<::Google::Cloud::Translate::V3::SupportedLanguage>) — A list of supported language responses. This list contains an entry for each language the Translation API supports.
#languages=
def languages=(value) -> ::Array<::Google::Cloud::Translate::V3::SupportedLanguage>
Parameter
- value (::Array<::Google::Cloud::Translate::V3::SupportedLanguage>) — A list of supported language responses. This list contains an entry for each language the Translation API supports.
Returns
- (::Array<::Google::Cloud::Translate::V3::SupportedLanguage>) — A list of supported language responses. This list contains an entry for each language the Translation API supports.