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