Class: Google::Apis::ScriptV1::ExecuteStreamResponse

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

Overview

The response for executing or debugging a function in an Apps Script project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecuteStreamResponse

Returns a new instance of ExecuteStreamResponse.



215
216
217
# File 'lib/google/apis/script_v1/classes.rb', line 215

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

Instance Attribute Details

#resultGoogle::Apis::ScriptV1::ScriptExecutionResult

The result of an execution. Corresponds to the JSON property result



213
214
215
# File 'lib/google/apis/script_v1/classes.rb', line 213

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



220
221
222
# File 'lib/google/apis/script_v1/classes.rb', line 220

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