Uzun süren bir işlemde eşzamansız iptal işlemini başlatır. Sunucu, işlemi iptal etmek için elinden geleni yapar ancak işlemin iptal edileceği garanti edilmez. Sunucu bu yöntemi desteklemiyorsa google.rpc.Code.UNIMPLEMENTED döndürülür. İstemciler, iptal işleminin başarılı olup olmadığını veya iptal işlemine rağmen işlemin tamamlanıp tamamlanmadığını kontrol etmek için Operations.GetOperation'ü veya başka yöntemler kullanabilir. İptal işlemi başarılı olduğunda işlem silinmez. Bunun yerine, Code.CANCELLED değerine karşılık gelen 1google.rpc.Status.code değerine sahip bir Operation.error değeri olan bir işlem olur.
HTTP isteği
POST https://routeoptimization.googleapis.com/v1/{name=operations/**}:cancel
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-02-10 UTC."],[[["This document details how to cancel a long-running Route Optimization operation using a `POST` request to a specific URL."],["Cancellation is attempted but not guaranteed, and the operation's status can be checked using the `Operations.GetOperation` method."],["Successful cancellation results in the operation having an error code indicating it was canceled but the operation itself is not deleted."],["The request must have an empty body and include the operation's name as a path parameter."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]