创建 PerfMetricsSummary 资源。如果已创建,则返回现有的。
可能返回以下任何错误代码: - NOT_FOUND - 包含的步骤不存在
HTTP请求
POST https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary
URL 使用gRPC 转码语法。
路径参数
参数 | |
---|---|
projectId | 云项目 |
historyId | 工具结果历史 ID。 |
executionId | 工具结果执行 ID。 |
stepId | 工具结果步骤 ID。 |
请求正文
请求正文包含PerfMetricsSummary
的实例。
响应体
如果成功,响应正文将包含新创建的PerfMetricsSummary
实例。
授权范围
需要以下 OAuth 范围:
-
https://www.googleapis.com/auth/cloud-platform
有关详细信息,请参阅身份验证概述。