Class: Google::Apis::ScriptV1::JoinAsyncRequest

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

A request to retrieve the results from a collection of requests, specified by the operation resource names.

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) ⇒ 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

#namesArray<String>

List of operation resource names that we want to join, as returned from a call to RunAsync. Corresponds to the JSON property names

Returns:

  • (Array<String>)


138
139
140
# File 'generated/google/apis/script_v1/classes.rb', line 138

def names
  @names
end

#script_idString

The script id which specifies the script which all processes in the names field must be from. Corresponds to the JSON property scriptId

Returns:

  • (String)


132
133
134
# File 'generated/google/apis/script_v1/classes.rb', line 132

def script_id
  @script_id
end

#timeoutString

Timeout for information retrieval in milliseconds. Corresponds to the JSON property timeout

Returns:

  • (String)


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