ExecutionRequest class

A request to run the function in a script. The script is identified by the specified script_id. Executing a function on a script will return results based on the implementation of the script.


ExecutionRequest.fromJson(Map _json)


devMode bool
If true and the user is an owner of the script, the script runs at the most recently saved version rather than the version deployed for use with the Execution API. Optional; default is false.
read / write
function String
The name of the function to execute in the given script. The name does not include parentheses or parameters.
read / write
parameters List<Object>
The parameters to be passed to the function being executed. The type for each parameter should match the expected type in Apps Script. Parameters cannot be Apps Script-specific objects (such as a Document or Calendar); they can only be primitive types such as a string, number, array, object, or boolean. Optional. [...]
read / write
sessionState String
This field is not used.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


toJson() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]