Method: operations.delete
מחיקה של פעולה ממושכת. השיטה הזו מציינת שהלקוח כבר לא מעוניין בתוצאת הפעולה. היא לא מבטלת את הפעולה. אם השרת לא תומך בשיטה הזו, הוא מחזיר את הערך google.rpc.Code.UNIMPLEMENTED
.
בקשת HTTP
DELETE https://vault.googleapis.com/v1/{name=operations/**}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
השם של משאב הפעולה שרוצים למחוק.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/ediscovery
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]