Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen uzun süreli işlemin tamamlanmasını veya en fazla belirtilen zaman aşımına ulaşmasını bekleyip en son durumu döndürür. İşlem zaten tamamlandıysa en son durum hemen döndürülür. Belirtilen zaman aşımı, varsayılan HTTP/RPC zaman aşımından uzunsa HTTP/RPC zaman aşımı kullanılır. Sunucu bu yöntemi desteklemiyorsa google.rpc.Code.UNIMPLEMENTED döndürülür. Bu yöntemin en iyi girişim temel alınarak uygulandığını unutmayın. Belirtilen zaman aşımından önce (hemen yanıt dahil) son durumu döndürebilir. Yani anında yanıt bile işlemin tamamlandığını garanti etmez.
HTTP isteği
POST https://earthengine.googleapis.com/v1beta/{name=projects/*/operations/**}:wait
Zaman aşımı süresi dolmadan önce beklenecek maksimum süre. Boş bırakılırsa bekleme süresi, temel HTTP/RPC protokolünün izin verdiği maksimum süre kadar olur. RPC bağlamı son tarihi de belirtilmişse daha kısa olan son tarih kullanılır.
En fazla dokuz kesirli basamak içeren ve "s" ile biten, saniye cinsinden süre. Örnek: "3.5s".
Yanıt gövdesi
Başarılıysa yanıt metni, Operation öğesinin bir örneğini içerir.
[[["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-03-06 UTC."],[[["Waits for a specified operation to complete or until a timeout is reached, returning the operation's latest state."],["Uses HTTP/RPC timeout or the specified timeout, whichever is shorter, with a best-effort approach to provide the latest state."],["Accepts a timeout duration in the request body to customize the waiting period."],["Requires specific OAuth scopes for authorization, such as `https://www.googleapis.com/auth/earthengine` or `https://www.googleapis.com/auth/cloud-platform`."],["Returns the Operation details upon successful completion."]]],["This API method waits for a long-running operation to complete or reach a specified timeout, returning the latest operation state. It uses the HTTP/RPC timeout if the specified timeout is longer. The `name` parameter identifies the operation resource. The request body can include a `timeout` field, formatted as a duration string. The method is best-effort and may return before the timeout. It uses POST method with gRPC Transcoding, and a successful response is an `Operation` object, requiring specific OAuth scopes for authorization.\n"]]