Method: projects.locations.orders.cancel

取消订单。

HTTP 请求

POST https://gdchardwaremanagement.googleapis.com/v1alpha/{name=projects/*/locations/*/orders/*}:cancel

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。订单的名称。格式:projects/{project}/locations/{location}/orders/{order}

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "requestId": string
}
字段
requestId

string

可选。相应请求的可选唯一标识符。请参阅 AIP-155

响应正文

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

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅 Authentication Overview

IAM 权限

需要拥有 name 资源的以下 IAM 权限:

  • gdchardwaremanagement.orders.submit

如需了解详情,请参阅 IAM 文档