Method: projects.operations.delete
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
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://earthengine.googleapis.com/v1beta/{name=projects/*/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 jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/cloud-platform
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-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]