Method: operations.delete
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
删除长时间运行的操作。此方法只是表明客户端不再关注操作结果,而不会取消操作。如果服务器不支持此方法,则会返回 google.rpc.Code.UNIMPLEMENTED
。
HTTP 请求
DELETE https://routeoptimization.googleapis.com/v1/{name=operations/**}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
要删除的操作资源的名称。
|
响应正文
如果成功,响应正文将为空的 JSON 对象。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/cloud-platform
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[],["This document details how to delete a long-running operation via an HTTP DELETE request. The target URL is constructed using a path parameter, `name`, which specifies the operation resource to be deleted. The request body must be empty. A successful deletion returns an empty JSON object in the response body. This action indicates client disinterest and doesn't cancel the operation. The request requires authorization through the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"],null,[]]