Method: customers.nodes.nodes.list
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu HTTP
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/nodes
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
parent |
string
Bắt buộc. Tên tài nguyên mẹ, ví dụ: "nodes/1".
|
Tham số truy vấn
Thông số |
pageSize |
integer
Số lượng nút tối đa cần trả về trong phản hồi.
|
pageToken |
string
Mã thông báo phân trang được trả về từ một lệnh gọi trước đó đến nodes.list , cho biết vị trí mà danh sách này sẽ tiếp tục.
|
filter |
string
Biểu thức bộ lọc. Bộ lọc phải có định dạng sau: "DIRECT_CHILDREN" hoặc định dạng: "direct_children". Bộ lọc này không phân biệt chữ hoa chữ thường. Nếu trống, thì không có nút nào được lọc.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của ListNodesResponse
.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/sasportal
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eLists available nodes within the Spectrum Access System, allowing retrieval of node information.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e scope for access.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request with path and query parameters to specify the parent node, filtering, and pagination.\u003c/p\u003e\n"],["\u003cp\u003eReturns a \u003ccode\u003eListNodesResponse\u003c/code\u003e object containing the requested node data upon successful execution.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an empty request body, meaning no additional data needs to be sent with the request.\u003c/p\u003e\n"]]],["This document outlines the process for listing nodes via an HTTP GET request to `https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/nodes`. It requires a `parent` path parameter, and supports optional `pageSize`, `pageToken`, and `filter` query parameters. The request body must be empty. A successful response returns a `ListNodesResponse` object, and the `https://www.googleapis.com/auth/sasportal` OAuth scope is needed for authorization.\n"],null,["# Method: customers.nodes.nodes.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 [nodes](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node).\n\n### HTTP request\n\n`GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/nodes`\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 parent resource name, for example, \"nodes/1\". |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of nodes to return in the response. |\n| `pageToken` | `string` A pagination token returned from a previous call to [nodes.list](/spectrum-access-system/reference/rest/v1alpha1/nodes.nodes/list#spectrum.sas.portal.v1alpha1.DeviceManager.ListNodes) that indicates where this listing should continue from. |\n| `filter` | `string` The filter expression. The filter should have the following format: \"DIRECT_CHILDREN\" or format: \"direct_children\". The filter is case insensitive. If empty, then no nodes are filtered. |\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 [ListNodesResponse](/spectrum-access-system/reference/rest/v1alpha1/ListNodesResponse).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]