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.



985
986
987
# File 'lib/google/apis/script_v1/classes.rb', line 985

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



983
984
985
# File 'lib/google/apis/script_v1/classes.rb', line 983

def return_value
  @return_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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