class Google::Apis::TranslateV3::SupportedLanguages
The response message for discovering supported languages.
Attributes
languages[RW]
A list of supported language responses. This list contains an entry for each language the Translation
API supports. Corresponds to the JSON property `languages` @return [Array<Google::Apis::TranslateV3::SupportedLanguage>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/translate_v3/classes.rb, line 708 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/translate_v3/classes.rb, line 713 def update!(**args) @languages = args[:languages] if args.key?(:languages) end