> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExecuteCloudScriptResult

> ExecuteCloudScriptResult 数据类型。

| 名称                     | 类型                                                                                              | 说明                                                                               |
| :--------------------- | :---------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------- |
| APIRequestsIssued      | int32                                                                                           | CloudScript 函数发起的 PlayFab API 请求数量。                                              |
| Error                  | [ScriptExecutionError](/services/playfab/api-references/events/data-types/scriptexecutionerror) | 执行期间发生的错误的信息（若有）。                                                                |
| ExecutionTimeSeconds   | double                                                                                          |                                                                                  |
| FunctionName           | String                                                                                          | 执行的函数名称。                                                                         |
| FunctionResult         | object                                                                                          | CloudScript 函数返回的对象（若有）。                                                         |
| FunctionResultTooLarge | Boolean                                                                                         | 指示 FunctionResult 是否过大并因此被从此事件中删除的标志。仅当事件总大小超过 350KB 时才会发生这种情况。                  |
| HttpRequestsIssued     | int32                                                                                           | CloudScript 函数发起的外部 HTTP 请求数量。                                                   |
| Logs                   | [LogStatement](/services/playfab/api-references/events/data-types/logstatement)                 | 函数执行期间记录的条目。这些包括在函数代码中使用 log.info() 和 log.error() 记录的条目，以及 API 和 HTTP 请求失败的错误条目。 |
| LogsTooLarge           | Boolean                                                                                         | 指示日志是否过大并因此被从此事件中删除的标志。仅当移除 FunctionResult 之后事件总大小仍超过 350KB 时才会发生这种情况。           |
| MemoryConsumedBytes    | uint32                                                                                          |                                                                                  |
| ProcessorTimeSeconds   | double                                                                                          | 执行函数时消耗的处理器时间。这不包括等待 API 调用或 HTTP 请求所花的时间。                                       |
| Revision               | int32                                                                                           | 执行的 CloudScript 的修订版本。                                                           |


## Related topics

- [entity_executed_cloud_script](/zh-CN/services/playfab/api-references/events/CloudScript/entity-executed-cloud-script.md)
- [cloudscript_executed](/zh-CN/services/playfab/api-references/events/CloudScript/cloudscript-executed.md)
- [title_scheduled_cloudscript_executed](/zh-CN/services/playfab/api-references/events/CloudScript/title-scheduled-cloudscript-executed.md)
- [player_executed_cloudscript](/zh-CN/services/playfab/api-references/events/CloudScript/player-executed-cloudscript.md)
- [编写自定义 CloudScript](/zh-CN/services/playfab/live-service-management/service-gateway/automation/cloudscript/writing-custom-cloudscript.md)
