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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ExecutionRequest() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionRequest |
clone() |
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.
|
String |
getFunction()
The name of the function to execute in the given script.
|
List<Object> |
getParameters()
The parameters to be passed to the function being executed.
|
String |
getSessionState()
*Deprecated*.
|
ExecutionRequest |
set(String fieldName,
Object value) |
ExecutionRequest |
setDevMode(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(String function)
The name of the function to execute in the given script.
|
ExecutionRequest |
setParameters(List<Object> parameters)
The parameters to be passed to the function being executed.
|
ExecutionRequest |
setSessionState(String sessionState)
*Deprecated*.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getDevMode()
null for nonepublic ExecutionRequest setDevMode(Boolean devMode)
devMode - devMode or null for nonepublic String getFunction()
null for nonepublic ExecutionRequest setFunction(String function)
function - function or null for nonepublic List<Object> getParameters()
null for nonepublic ExecutionRequest setParameters(List<Object> parameters)
parameters - parameters or null for nonepublic String getSessionState()
null for nonepublic ExecutionRequest setSessionState(String sessionState)
sessionState - sessionState or null for nonepublic ExecutionRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ExecutionRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.