Method: projects.operations.delete
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ज़्यादा समय तक चलने वाली कार्रवाई को मिटाता है. इस तरीके से पता चलता है कि क्लाइंट को अब ऑपरेशन के नतीजे में दिलचस्पी नहीं है. इससे कार्रवाई रद्द नहीं होती. अगर सर्वर पर यह तरीका काम नहीं करता है, तो यह google.rpc.Code.UNIMPLEMENTED
दिखाता है.
एचटीटीपी अनुरोध
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 देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eDeletes a long-running operation, signaling the client is no longer interested in the result, but does not cancel the operation itself.\u003c/p\u003e\n"],["\u003cp\u003eUses a DELETE request to the specified URL with the operation's name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with specific OAuth scopes for Earth Engine or Cloud Platform access.\u003c/p\u003e\n"],["\u003cp\u003eIf the server does not support deleting operations, it returns an \u003ccode\u003eUNIMPLEMENTED\u003c/code\u003e error code.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful deletion results in an empty response body.\u003c/p\u003e\n"]]],["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"],null,["# Method: projects.operations.delete\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://earthengine.googleapis.com/v1beta/{name=projects/*/operations/**}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------|\n| `name` | `string` The name of the operation resource to be deleted. |\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 one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/earthengine`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]