Method: operations.delete
ज़्यादा समय तक चलने वाली कार्रवाई को मिटाता है. इस तरीके से पता चलता है कि क्लाइंट को अब ऑपरेशन के नतीजे में दिलचस्पी नहीं है. इससे कार्रवाई रद्द नहीं होती. अगर सर्वर पर यह तरीका काम नहीं करता है, तो यह google.rpc.Code.UNIMPLEMENTED
दिखाता है.
एचटीटीपी अनुरोध
DELETE https://vault.googleapis.com/v1/{name=operations/**}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
मिटाए जाने वाले ऑपरेशन रिसॉर्स का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/ediscovery
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]