ExecutionResponse
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's response
field contains this ExecutionResponse
object.
JSON representation |
{
"result": value
} |
Fields |
result |
value (Value format)
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 Document or a Calendar ); they can only return primitive types such as a string , number , array , object , or boolean .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`ExecutionResponse` objects represent the results of Apps Script functions executed via the Apps Script API."],["The `result` field within the `ExecutionResponse` holds the function's return value, limited to basic types like string, number, array, object, or boolean."],["Successful script execution leads to the `ExecutionResponse` being placed in the `response` field of the response body."]]],[]]