Method: operations.get
लंबे समय तक चलने वाले ऑपरेशन की नई स्थिति की जानकारी देता है. क्लाइंट इस तरीके का इस्तेमाल, एपीआई सेवा के सुझाए गए इंटरवल में ऑपरेशन नतीजे की पोलिंग के लिए कर सकते हैं.
एचटीटीपी अनुरोध
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=operations/**}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ऑपरेशन संसाधन का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Operation
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidworkprovisioning
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया."],[[["This page documents how to get the latest state of a long-running operation using the API."],["The HTTP request is a GET method to a specified URL, following gRPC Transcoding syntax, and requiring the resource's name."],["The request body for this operation must be empty, so no information is required to send."],["A successful response contains an `Operation` instance detailing the current state of the operation."],["The required OAuth scope for this operation is `https://www.googleapis.com/auth/androidworkprovisioning`."]]],["This describes retrieving the latest status of a long-running operation. A `GET` request is sent to a specified URL using gRPC Transcoding syntax. The `name` of the operation is provided as a path parameter in the URL. The request body is empty. A successful response returns an `Operation` instance. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. Clients are advised to poll for results using this API method at intervals.\n"]]