Un objeto que proporciona el valor de retorno de una función ejecutada con la API de Apps Script. Si la función de secuencia de comandos se muestra correctamente, el campo response del cuerpo de la respuesta contiene este objeto ExecutionResponse.
El valor que se muestra de la función de secuencia de comandos. El tipo coincide con el tipo de objeto que se muestra en Apps Script. Las funciones a las que se llama mediante la API de Apps Script no pueden mostrar objetos específicos de Apps Script (como Document o Calendar). solo pueden mostrar tipos primitivos, como string, number, array, object o boolean.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-26 (UTC)"],[[["\u003cp\u003e\u003ccode\u003eExecutionResponse\u003c/code\u003e objects represent the results of Apps Script functions executed via the Apps Script API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresult\u003c/code\u003e field within the \u003ccode\u003eExecutionResponse\u003c/code\u003e holds the function's return value, limited to basic types like string, number, array, object, or boolean.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful script execution leads to the \u003ccode\u003eExecutionResponse\u003c/code\u003e being placed in the \u003ccode\u003eresponse\u003c/code\u003e field of the response body.\u003c/p\u003e\n"]]],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAn 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](/apps-script/api/reference/rest/v1/scripts/run#body.Operation.FIELDS.response) field contains this `ExecutionResponse` object.\n\n| JSON representation |\n|-----------------------------|\n| ``` { \"result\": value } ``` |\n\n| Fields ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `result` | `value (`[Value](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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`. |"]]