Method: enterprises.devices.operations.get
लंबे समय तक चलने वाले ऑपरेशन की नई स्थिति दिखाता है. क्लाइंट इस तरीके का इस्तेमाल करके, एपीआई सेवा के सुझाव के मुताबिक, ऑपरेशन के नतीजे को समय-समय पर पोल कर सकते हैं.
एचटीटीपी अनुरोध
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ऑपरेशन रिसॉर्स का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Operation
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidmanagement
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-30 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]