Method: nodes.nodes.nodes.list
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Richiesta HTTP
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/nodes
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. Il nome della risorsa padre, ad esempio "nodes/1".
|
Parametri di query
Parametri |
pageSize |
integer
Il numero massimo di nodi da restituire nella risposta.
|
pageToken |
string
Un token di paginazione restituito da una precedente chiamata a nodes.list che indica da dove deve continuare questo elenco.
|
filter |
string
L'espressione di filtro. Il filtro deve avere il seguente formato: "DIRECT_CHILDREN" o "direct_children". Il filtro non è sensibile alle maiuscole. Se è vuoto, non viene filtrato alcun nodo.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di ListNodesResponse
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/sasportal
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eLists nodes within a given parent node, allowing for filtering and pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eUses a \u003ccode\u003eGET\u003c/code\u003e request with path and query parameters to specify the parent node, pagination, and filtering options.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a list of nodes and a pagination token for retrieving additional results if available.\u003c/p\u003e\n"],["\u003cp\u003eNo request body is required for this operation.\u003c/p\u003e\n"]]],["This document outlines the process for listing nodes via an HTTP GET request to `https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/nodes`. It requires a `parent` path parameter, and supports optional `pageSize`, `pageToken`, and `filter` query parameters. The request body must be empty, and a successful response returns a `ListNodesResponse`. The operation mandates the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization.\n"],null,["# Method: nodes.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=nodes/*/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`"]]