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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ExecuteStreamResponse

Returns a new instance of ExecuteStreamResponse.



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

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

Instance Attribute Details

#resultGoogle::Apis::ScriptV1::ScriptExecutionResult

The result of an execution Based on ScriptExecutionResult at: google3/apps/maestro/api/frontend_execution_common.proto?q=message%5c% 20ScriptExecutionResult Corresponds to the JSON property result



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

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



227
228
229
# File 'generated/google/apis/script_v1/classes.rb', line 227

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