class Google::Apis::TranslateV2::ListTranslationsResponse
Attributes
translations[RW]
Translations contains list of translation results of given text Corresponds to the JSON property `translations` @return [Array<Google::Apis::TranslateV2::TranslationsResource>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/translate_v2/classes.rb, line 132 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 137 def update!(**args) @translations = args[:translations] if args.key?(:translations) end