Method: enterprises.devices.operations.get
Uzun süren bir işlemin son durumunu alır. İstemciler, API hizmeti tarafından önerilen aralıklarla işlem sonucunu yoklamak için bu yöntemi kullanabilir.
HTTP isteği
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
İşlem kaynağının adı.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Operation
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidmanagement
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-30 UTC.
[null,null,["Son güncelleme tarihi: 2025-01-30 UTC."],[[["Retrieves the current status of a long-running operation for an Android device."],["Uses a GET request with the operation resource name specified in the URL path."],["Requires an empty request body and returns an `Operation` object in the response."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["The core content describes how to retrieve the latest state of a long-running operation via a `GET` HTTP request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` path parameter, representing the operation resource. The request body must be empty. A successful request returns an `Operation` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope.\n"]]