Method: nodes.nodes.devices.list
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
HTTP অনুরোধ
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices
URL 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eLists devices under a node or customer with filtering, pagination, and sorting options.\u003c/p\u003e\n"],["\u003cp\u003eRequires an HTTP GET request to the specified URL with path and optional query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and the response contains a ListDevicesResponse object upon success.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document details how to list devices under a specified node or customer using an HTTP GET request. The request URL uses gRPC Transcoding syntax and includes a required `parent` path parameter. Optional query parameters include `pageSize` to limit results, `pageToken` for pagination, and `filter` for specific device searches by serial number or display name. The request body must be empty, and a successful response will return a `ListDevicesResponse`. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"],null,["# Method: nodes.nodes.devices.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nLists [devices](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device) under a [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer).\n\n### HTTP request\n\n`GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------|\n| `parent` | `string` Required. The name of the parent resource. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range \\[0, 1000\\]. |\n| `pageToken` | `string` A pagination token returned from a previous call to [devices.list](/spectrum-access-system/reference/rest/v1alpha1/nodes.devices/list#spectrum.sas.portal.v1alpha1.DeviceManager.ListDevices) that indicates where this listing should continue from. |\n| `filter` | `string` The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"displayName=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ListDevicesResponse](/spectrum-access-system/reference/rest/v1alpha1/ListDevicesResponse).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]