public final class ExecutionRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Apps Script API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ExecutionRequest() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionRequest |
clone() |
java.lang.Boolean |
getDevMode()
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 Apps Script API.
|
java.lang.String |
getFunction()
The name of the function to execute in the given script.
|
java.util.List<java.lang.Object> |
getParameters()
The parameters to be passed to the function being executed.
|
java.lang.String |
getSessionState()
For Android add-ons only.
|
ExecutionRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
ExecutionRequest |
setDevMode(java.lang.Boolean devMode)
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 Apps Script API.
|
ExecutionRequest |
setFunction(java.lang.String function)
The name of the function to execute in the given script.
|
ExecutionRequest |
setParameters(java.util.List<java.lang.Object> parameters)
The parameters to be passed to the function being executed.
|
ExecutionRequest |
setSessionState(java.lang.String sessionState)
For Android add-ons only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getDevMode()
null for nonepublic ExecutionRequest setDevMode(java.lang.Boolean devMode)
devMode - devMode or null for nonepublic java.lang.String getFunction()
null for nonepublic ExecutionRequest setFunction(java.lang.String function)
function - function or null for nonepublic java.util.List<java.lang.Object> getParameters()
null for nonepublic ExecutionRequest setParameters(java.util.List<java.lang.Object> parameters)
parameters - parameters or null for nonepublic java.lang.String getSessionState()
null for nonepublic ExecutionRequest setSessionState(java.lang.String sessionState)
sessionState - sessionState or null for nonepublic ExecutionRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ExecutionRequest clone()
clone in class com.google.api.client.json.GenericJson