Method: nodes.nodes.list
HTTP 请求
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/nodes
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。父级资源名称,例如“nodes/1”。
|
查询参数
参数 |
pageSize |
integer
响应中要返回的节点数上限。
|
pageToken |
string
从上一次调用 nodes.list 返回的分页令牌,指示此列表应从什么位置继续。
|
filter |
string
过滤条件表达式。过滤条件应采用以下格式:“DIRECT_CHILDREN”或“direct_children”。过滤条件不区分大小写。如果为空,则不会过滤任何节点。
|
响应正文
如果成功,响应正文将包含一个 ListNodesResponse
实例。
授权范围
需要以下 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 nodes with support for filtering by direct children and pagination."],["The API requires an HTTP GET request to a specific endpoint with path and optional query parameters."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."],["Both request and response bodies have defined structures, with the request being empty and the response containing a `ListNodesResponse` object upon success."]]],["This document outlines the process for listing nodes via an HTTP GET request to `https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/nodes`. Key actions include setting the `parent` path parameter to the resource name, and using optional query parameters like `pageSize`, `pageToken`, and `filter` for managing the response. The request body must be empty. A successful request returns a `ListNodesResponse`, and requires `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]