Method: nodes.devices.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एचटीटीपी अनुरोध
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. पैरंट रिसॉर्स का नाम.
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
जवाब में लौटाए जाने वाले डिवाइस की ज़्यादा से ज़्यादा संख्या. अगर खाली है या शून्य है, तो सभी डिवाइसों की सूची दिखाई जाएगी. रेंज [0, 1000] की रेंज में होनी चाहिए.
|
pageToken |
string
किसी पिछले कॉल से, devices.list पर नंबर डालने वाला टोकन दिखाया गया. इससे पता चलता है कि इस लिस्टिंग को कहां से जारी रखना चाहिए.
|
filter |
string
फ़िल्टर एक्सप्रेशन. फ़िल्टर में इनमें से कोई एक फ़ॉर्मैट होना चाहिए: "sn=123454" या "displayName=MyDevice". sn, डिवाइस के सीरियल नंबर से मेल खाता है. फ़िल्टर केस-इनसेंसिटिव है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में ListDevicesResponse
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए 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) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया."],[[["Lists devices under a specific node or customer within the Spectrum Access System."],["Uses a GET request to retrieve the list of devices, allowing filtering and pagination."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."],["Provides details like serial number and display name for each device listed."],["Returns a comprehensive list of devices based on the specified criteria in the request."]]],["This describes how to list devices under a specified node or customer. The `GET` request is sent to a URL using gRPC Transcoding syntax. The `parent` path parameter is required to identify the node or customer. Optional query parameters include `pageSize` (for limiting results), `pageToken` (for pagination), and `filter` (to search by serial number or display name). The request body is empty, and a successful response returns a `ListDevicesResponse` instance, with the authorization requiring the `sasportal` OAuth scope.\n"]]