Class: Google::Apis::ScriptV1::JoinAsyncRequest
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::JoinAsyncRequest
- 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
A request to retrieve the results from a collection of requests, specified by the operation resource names.
Instance Attribute Summary collapse
-
#names ⇒ Array<String>
List of operation resource names that we want to join, as returned from a call to RunAsync.
-
#script_id ⇒ String
The script id which specifies the script which all processes in the names field must be from.
-
#timeout ⇒ String
Timeout for information retrieval in milliseconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JoinAsyncRequest
constructor
A new instance of JoinAsyncRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JoinAsyncRequest
Returns a new instance of JoinAsyncRequest
140 141 142 |
# File 'generated/google/apis/script_v1/classes.rb', line 140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#names ⇒ Array<String>
List of operation resource names that we want to join,
as returned from a call to RunAsync.
Corresponds to the JSON property names
138 139 140 |
# File 'generated/google/apis/script_v1/classes.rb', line 138 def names @names end |
#script_id ⇒ String
The script id which specifies the script which all processes in the names
field must be from.
Corresponds to the JSON property scriptId
132 133 134 |
# File 'generated/google/apis/script_v1/classes.rb', line 132 def script_id @script_id end |
#timeout ⇒ String
Timeout for information retrieval in milliseconds.
Corresponds to the JSON property timeout
126 127 128 |
# File 'generated/google/apis/script_v1/classes.rb', line 126 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 |
# File 'generated/google/apis/script_v1/classes.rb', line 145 def update!(**args) @timeout = args[:timeout] if args.key?(:timeout) @script_id = args[:script_id] if args.key?(:script_id) @names = args[:names] if args.key?(:names) end |