Method: projects.operations.delete
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک عملیات طولانی مدت را حذف می کند. این روش نشان می دهد که مشتری دیگر علاقه ای به نتیجه عملیات ندارد. این عملیات را لغو نمی کند. اگر سرور از این روش پشتیبانی نمیکند، google.rpc.Code.UNIMPLEMENTED
را برمیگرداند.
درخواست HTTP
DELETE https://earthengine.googleapis.com/v1beta/{name=projects/*/operations/**}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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)."]]