Class: Google::Apis::ScriptV1::JoinAsyncResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/script_v1/classes.rb,
generated/google/apis/script_v1/representations.rb,
generated/google/apis/script_v1/representations.rb

Overview

An object that provides the return value for the JoinAsync method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ JoinAsyncResponse

Returns a new instance of JoinAsyncResponse



252
253
254
# File 'generated/google/apis/script_v1/classes.rb', line 252

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resultsHash<String,Google::Apis::ScriptV1::Operation>

The return values for each script function, in a map of operation resource names to the Operation containing the result of the process. The response will contain either an error or the result of the script function. Corresponds to the JSON property results

Returns:



250
251
252
# File 'generated/google/apis/script_v1/classes.rb', line 250

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



257
258
259
# File 'generated/google/apis/script_v1/classes.rb', line 257

def update!(**args)
  @results = args[:results] if args.key?(:results)
end