class Google::Apis::TranslateV2::GetSupportedLanguagesRequest

The request message for discovering supported languages.

Attributes

target[RW]

The language to use to return localized, human readable names of supported languages. Corresponds to the JSON property `target` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/translate_v2/classes.rb, line 106
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_v2/classes.rb, line 111
def update!(**args)
  @target = args[:target] if args.key?(:target)
end