Method: customers.devices.list
एचटीटीपी अनुरोध
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. पैरंट रिसॉर्स का नाम.
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
number
जवाब में लौटाए जाने वाले डिवाइस की ज़्यादा से ज़्यादा संख्या.
|
pageToken |
string
पेज पर नंबर डालने का टोकन, पिछले कॉल से device.list पर मिला, जो बताता है कि इस लिस्टिंग को कहां से जारी रखना चाहिए.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में ListDevicesResponse
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/userinfo.email
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-09-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-09-26 (UTC) को अपडेट किया गया."],[[["Lists devices under a node or customer."],["Uses a `GET` request to retrieve device information."],["Requires specifying the parent resource (node or customer) in the path."],["Supports pagination using `pageSize` and `pageToken` query parameters."],["Requires authorization with the `https://www.googleapis.com/auth/userinfo.email` scope."]]],["This document details the process for listing devices using a `GET` request to the specified URL: `https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices`. The `parent` path parameter is required. Optional query parameters include `pageSize` to limit results and `pageToken` for pagination. The request body must be empty. A successful response returns a `ListDevicesResponse` instance. This operation requires `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]