एक ऑब्जेक्ट जो Apps Script API का इस्तेमाल करके चलाए गए फ़ंक्शन की रिटर्न वैल्यू देता है. अगर स्क्रिप्ट फ़ंक्शन सही तरीके से वापस आता है, तो जवाब के मुख्य भाग के response फ़ील्ड में यह ExecutionResponse ऑब्जेक्ट शामिल होता है.
स्क्रिप्ट फ़ंक्शन की रिटर्न वैल्यू. टाइप, Apps Script में दिखाए गए ऑब्जेक्ट टाइप से मैच करता है. Apps Script API का इस्तेमाल करके कॉल किए जाने वाले फ़ंक्शन, Apps Script के लिए खास ऑब्जेक्ट (जैसे कि Document या Calendar) नहीं लौटा सकते; वे सिर्फ़ string, number, array, object या boolean जैसे प्रिमिटिव टाइप दिखा सकते हैं.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 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,["# ExecutionResponse\n\n- [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`. |"]]