class Google::Apis::ScriptV1::ExecutionResponse
An object that provides the return value of a function executed through the Apps Script Execution API. If an `run` call succeeds and the script function returns successfully, the response body's `response` field will contain this ` ExecutionResponse` object.
Attributes
result[RW]
The return value of the script function. The type will match the type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a `Document` or `Calendar`); they can only return primitive types such as a `string`, `number`, `array`, `object`, or ` boolean`. Corresponds to the JSON property `result` @return [Object]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/script_v1/classes.rb, line 248 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/script_v1/classes.rb, line 253 def update!(**args) @result = args[:result] if args.key?(:result) end