Method: operations.delete
Usuwa długo działającą operację. Ta metoda wskazuje, że klient nie jest już zainteresowany wynikiem operacji. Nie anuluje to operacji. Jeśli serwer nie obsługuje tej metody, zwraca google.rpc.Code.UNIMPLEMENTED
.
Żądanie HTTP
DELETE https://vault.googleapis.com/v1/{name=operations/**}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa zasobu operacji do usunięcia.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/ediscovery
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-02-06 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]