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

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 result of an execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScriptExecutionResult

Returns a new instance of ScriptExecutionResult.



991
992
993
# File 'lib/google/apis/script_v1/classes.rb', line 991

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. Corresponds to the JSON property returnValue



989
990
991
# File 'lib/google/apis/script_v1/classes.rb', line 989

def return_value
  @return_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



996
997
998
# File 'lib/google/apis/script_v1/classes.rb', line 996

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