Xoá một thao tác đang diễn ra trong thời gian dài. Phương thức này cho biết rằng ứng dụng khách không còn quan tâm đến kết quả của thao tác. Thao tác này không huỷ thao tác. Nếu không hỗ trợ phương thức này, máy chủ sẽ trả về google.rpc.Code.UNIMPLEMENTED.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Khó hiểu","hardToUnderstand","thumb-down"],["Thông tin hoặc mã mẫu không chính xác","incorrectInformationOrSampleCode","thumb-down"],["Thiếu thông tin/mẫu tôi cần","missingTheInformationSamplesINeed","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-06-09 UTC."],[[["\u003cp\u003eThis endpoint deletes a long-running operation, signaling that the client is no longer interested in its result, without canceling the operation itself.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003eDELETE\u003c/code\u003e method with a specific URL pattern, including a path parameter named \u003ccode\u003ename\u003c/code\u003e that represents the operation resource to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this operation, and the response body will also be empty if the deletion is successful.\u003c/p\u003e\n"],["\u003cp\u003eDeleting an operation requires OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the \u003ccode\u003ecloudaicompanion.operations.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe server might return \u003ccode\u003egoogle.rpc.Code.UNIMPLEMENTED\u003c/code\u003e if the method is not supported.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.operations.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nDeletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.\n\n### HTTP request\n\n`DELETE https://cloudaicompanion.googleapis.com/v1/{name=projects/*/locations/*/operations/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `cloudaicompanion.operations.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]