ExecutionResponse

此对象提供使用 Apps Script API 执行的函数的返回值。如果脚本函数成功返回,则响应正文的 response 字段将包含此 ExecutionResponse 对象。

JSON 表示法
{
  "result": value
}
字段
result

value (Value format)

脚本函数的返回值。类型与 Apps 脚本中返回的对象类型匹配。使用 Apps Script API 调用的函数无法返回特定于 Apps 脚本的对象(例如 DocumentCalendar);它们只能返回基元类型,例如 stringnumberarrayobjectboolean