Method: projects.histories.executions.environments.get

获取一个环境。

可能返回以下任何规范错误代码:

  • PERMISSION_DENIED - 如果用户无权读取项目
  • INVALID_ARGUMENT - 如果请求格式错误
  • NOT_FOUND - 如果环境不存在

HTTP请求

GET https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}

URL 使用gRPC 转码语法。

路径参数

参数
projectId

string

必需的。项目 ID。

historyId

string

必需的。历史记录 ID。

executionId

string

必需的。执行 ID。

environmentId

string

必需的。环境 ID。

请求正文

请求正文必须为空。

响应体

如果成功,响应正文将包含一个Environment实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

有关详细信息,请参阅身份验证概述