Method: deployments.devices.get
इससे device
की जानकारी मिलती है.
एचटीटीपी अनुरोध
GET https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. डिवाइस का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Device
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/sasportal
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया."],[[["Retrieves detailed information about a specific device within a deployment using its unique name."],["Uses a `GET` request to the specified URL with the device's name as a path parameter."],["Requires an empty request body and returns a `Device` object in the response if successful."],["Needs authorization with the `https://www.googleapis.com/auth/sasportal` scope for access."]]],["This document details retrieving device information via an HTTP GET request. The request URL utilizes gRPC Transcoding syntax and requires a device `name` as a path parameter. The request body must be empty. A successful response returns a `Device` instance. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope. The provided URL is `https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}`, where the full name of the device should be used.\n"]]