Avvia l'annullamento asincrono di un'operazione a lunga esecuzione. Il server fa del suo meglio per annullare l'operazione, ma il successo non è garantito. Se il server non supporta questo metodo, restituisce google.rpc.Code.UNIMPLEMENTED. I client possono utilizzare Operations.GetOperation o altri metodi per verificare se l'annullamento è andato a buon fine o se l'operazione è stata completata nonostante l'annullamento. Se l'annullamento va a buon fine, l'operazione non viene eliminata, ma diventa un'operazione con un valore Operation.error e un google.rpc.Status.code pari a 1, corrispondente a Code.CANCELLED.
Richiesta HTTP
POST https://dataproc.googleapis.com/v1/{name=projects/*/locations/*/operations/*}:cancel
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-03-04 UTC."],[[["This endpoint initiates an asynchronous cancellation for a long-running operation, offering a best-effort attempt that does not guarantee success."],["The HTTP request is a `POST` method to a specific URL defined by the provided syntax, targeting the cancellation of an operation."],["The endpoint expects a resource name as a path parameter to specify the operation intended for cancellation."],["The request body must be empty, and a successful cancellation results in an empty response body."],["Authorization to use this endpoint requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]