Method: projects.operations.delete
删除长时间运行的操作。此方法只是表明客户端不再关注操作结果,而不会取消操作。如果服务器不支持此方法,则会返回 google.rpc.Code.UNIMPLEMENTED
。
HTTP 请求
DELETE https://earthengine.googleapis.com/v1beta/{name=projects/*/operations/**}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
要删除的操作资源的名称。
|
响应正文
如果成功,响应正文将为空的 JSON 对象。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-06。
[null,null,["最后更新时间 (UTC):2025-03-06。"],[[["Deletes a long-running operation, signaling the client is no longer interested in the result, but does not cancel the operation itself."],["Uses a DELETE request to the specified URL with the operation's name as a path parameter."],["Requires authorization with specific OAuth scopes for Earth Engine or Cloud Platform access."],["If the server does not support deleting operations, it returns an `UNIMPLEMENTED` error code."],["The request body must be empty, and a successful deletion results in an empty response body."]]],["A DELETE request to the specified URL, `https://earthengine.googleapis.com/v1beta/{name=projects/*/operations/**}`, deletes a long-running operation. The operation's name is defined as a path parameter. The client signals disinterest in the result, but the operation is not canceled. The request body is empty, and a successful response returns an empty JSON object. Authorization requires either the `https://www.googleapis.com/auth/earthengine` or `https://www.googleapis.com/auth/cloud-platform` OAuth scopes. The server may return `google.rpc.Code.UNIMPLEMENTED` if it doesn't support this.\n"]]