Class: Google::Apis::ScriptV1::ScriptExecutionResult

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 result of an execution Based on ScriptExecutionResult at: google3/apps/maestro/api/frontend_execution_common.proto?q=message%5c% 20ScriptExecutionResult

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

Returns a new instance of ScriptExecutionResult.



1013
1014
1015
# File 'generated/google/apis/script_v1/classes.rb', line 1013

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

Instance Attribute Details

#return_valueGoogle::Apis::ScriptV1::Value

Value represents a dynamically typed value which is the outcome of an executed script Based on Value at: google3/apps/maestro/api/struct.proto?q=message%5c%20Value Corresponds to the JSON property returnValue



1011
1012
1013
# File 'generated/google/apis/script_v1/classes.rb', line 1011

def return_value
  @return_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1018
1019
1020
# File 'generated/google/apis/script_v1/classes.rb', line 1018

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