Method: customers.devices.list
HTTP 请求
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。父级资源的名称。
|
查询参数
参数 |
pageSize |
number
响应中要返回的设备数量上限。
|
pageToken |
string
从之前调用 devices.list 返回的分页令牌,指示此列表应从什么位置继续。
|
响应正文
如果成功,响应正文将包含一个 ListDevicesResponse
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/userinfo.email
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-09-26。
[null,null,["最后更新时间 (UTC):2022-09-26。"],[[["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"]]