Method: nodes.devices.list
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Żądanie HTTP
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Nazwa zasobu nadrzędnego.
|
Parametry zapytania
Parametry |
pageSize |
number
Maksymalna liczba urządzeń do zwrócenia w odpowiedzi.
|
pageToken |
string
Token stronicowania zwrócony z poprzedniego wywołania devices.list, który wskazuje, od którego miejsca należy kontynuować tę listę.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu ListDevicesResponse
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/userinfo.email
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eLists devices under a specified node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP GET request with path and query parameters for resource identification and filtering.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns a ListDevicesResponse upon successful execution.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/userinfo.email\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details the process for listing devices via an HTTP GET request. The request URL, using gRPC Transcoding syntax, requires a `parent` path parameter specifying the resource name. Optional query parameters include `pageSize` for the number of devices returned and `pageToken` for pagination. The request body must be empty. A successful response returns a `ListDevicesResponse`, and the operation requires OAuth scope `https://www.googleapis.com/auth/userinfo.email`.\n"],null,["# Method: nodes.devices.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 [devices](/spectrum-access-system/reference/rest/customers.devices#Device) under a [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/customers#Customer).\n\n### HTTP request\n\n`GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------|\n| `parent` | `string` Required. The name of the parent resource. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `number` The maximum number of devices to return in the response. |\n| `pageToken` | `string` A pagination token returned from a previous call to devices.list that indicates where this listing should continue from. |\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 [ListDevicesResponse](/spectrum-access-system/reference/rest/ListDevicesResponse).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/userinfo.email`"]]