Method: operations.delete
ลบการดำเนินการที่ทำงานเป็นเวลานาน วิธีนี้บ่งบอกว่าลูกค้าไม่สนใจผลลัพธ์ของการดำเนินการอีกต่อไป แต่จะไม่ยกเลิกการดำเนินการ หากเซิร์ฟเวอร์ไม่รองรับวิธีนี้ ระบบจะแสดงผลเป็น google.rpc.Code.UNIMPLEMENTED
คำขอ HTTP
DELETE https://vault.googleapis.com/v1/{name=operations/**}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อของทรัพยากรการดำเนินการที่จะลบ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ JSON ว่าง
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/ediscovery
ดูข้อมูลเพิ่มเติมได้ที่ OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-06 UTC
[null,null,["อัปเดตล่าสุด 2025-02-06 UTC"],[[["This documentation explains how to delete a long-running operation in Google Vault using an HTTP DELETE request."],["Deleting the operation only signals disinterest in the result, it does not cancel the operation itself."],["The request needs to specify the operation's name as a path parameter and requires an empty request body."],["A successful deletion will result in an empty response body, and unsupported servers will return a `google.rpc.Code.UNIMPLEMENTED` error."]]],["The core action is deleting a long-running operation via a `DELETE` HTTP request to a specific URL pattern: `https://vault.googleapis.com/v1/{name=operations/**}`. The `name` parameter, specifying the operation's resource name, is required within the URL path. The request body must be empty, and a successful deletion yields an empty JSON object response. The action does not cancel the operation. It requires the OAuth scope `https://www.googleapis.com/auth/ediscovery`. The server may return `google.rpc.Code.UNIMPLEMENTED` if it does not support this method.\n"]]