Method: operations.delete
Löscht einen lange laufenden Vorgang. Diese Methode zeigt an, dass der Client kein Interesse mehr an dem Ergebnis eines Vorgangs hat. Der Vorgang wird nicht abgebrochen. Wenn der Server diese Methode nicht unterstützt, wird google.rpc.Code.UNIMPLEMENTED
zurückgegeben.
HTTP-Anfrage
DELETE https://routeoptimization.googleapis.com/v1/{name=operations/**}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Der Name der zu löschenden Vorgangsressource.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist der Antworttext ein leeres JSON-Objekt.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/cloud-platform
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-02-10 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-02-10 (UTC)."],[[["Deletes a long-running operation, signaling the client is no longer interested in the result, but doesn't cancel the operation itself."],["Uses a DELETE HTTP request with the operation's name as a path parameter."],["Requires an empty request body and returns an empty response body upon success."],["Needs authorization with the `https://www.googleapis.com/auth/cloud-platform` scope."],["If unsupported by the server, it returns a `google.rpc.Code.UNIMPLEMENTED` error."]]],["This document details how to delete a long-running operation via an HTTP DELETE request. The target URL is constructed using a path parameter, `name`, which specifies the operation resource to be deleted. The request body must be empty. A successful deletion returns an empty JSON object in the response body. This action indicates client disinterest and doesn't cancel the operation. The request requires authorization through the `https://www.googleapis.com/auth/cloud-platform` OAuth scope.\n"]]