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

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

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.



216
217
218
# File 'generated/google/apis/script_v1/classes.rb', line 216

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

Instance Attribute Details

#resultGoogle::Apis::ScriptV1::ScriptExecutionResult

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



214
215
216
# File 'generated/google/apis/script_v1/classes.rb', line 214

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



221
222
223
# File 'generated/google/apis/script_v1/classes.rb', line 221

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