ExecutionResponse Stay organized with collections Save and categorize content based on your preferences.
Page Summary
ExecutionResponse represents the return value of a function executed using the Apps Script API.
Upon successful script function return, the response body's
responsefield holds the ExecutionResponse object.The
resultfield within ExecutionResponse contains the script function's return value in a specificValueformat.Only primitive types like string, number, array, object, or boolean can be returned by functions called using the Apps Script API.
An object that provides the return value of a function executed using the Apps Script API. If the script function returns successfully, the response body'sresponse field contains thisExecutionResponse object.
| JSON representation |
|---|
{"result":value} |
| Fields | |
|---|---|
result |
The return value of the script function. The type matches the object type returned in Apps Script. Functions called using the Apps Script API cannot return Apps Script-specific objects (such as a |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.