class Google::Apis::TranslateV2::ListLanguagesResponse

Attributes

languages[RW]

List of source/target languages supported by the translation API. If target parameter is unspecified, the list is sorted by the ASCII code point order of the language code. If target parameter is specified, the list is sorted by the collation order of the language name in the target language. Corresponds to the JSON property `languages` @return [Array<Google::Apis::TranslateV2::LanguagesResource>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/translate_v2/classes.rb, line 88
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/translate_v2/classes.rb, line 93
def update!(**args)
  @languages = args[:languages] if args.key?(:languages)
end