Method: customers.nodes.devices.list
HTTP 请求
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/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
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-02。
[null,null,["最后更新时间 (UTC):2022-11-02。"],[[["Lists devices under a specific node or customer within the Spectrum Access System."],["Uses a GET request with path and query parameters for filtering and pagination."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."],["Returns a ListDevicesResponse containing the requested device information."]]],["This API endpoint lists devices associated with a specified node or customer. It uses a `GET` request with a URL structured via gRPC Transcoding, including a required `parent` path parameter. Optional query parameters include `pageSize` for limiting results, `pageToken` for pagination, and `filter` for specific device searches by serial number or display name. The request body must be empty and upon success it will return a `ListDevicesResponse`. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]