Method: nodes.nodes.deployments.list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/deployments
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。父级资源名称,例如“nodes/1”“customer/1/nodes/2”。
|
查询参数
参数 |
pageSize |
integer
响应中可返回的部署数量上限。
|
pageToken |
string
从上一次调用 deployments.list 返回的分页令牌,指示此列表应从什么位置继续。
|
filter |
string
过滤表达式。过滤器的格式应为“DIRECT_CHILDREN”或“direct_children”。过滤条件不区分大小写。如果为空,则不过滤任何部署。
|
响应正文
如果成功,则响应正文包含一个 ListDeploymentsResponse
实例。
授权作用域
需要以下 OAuth 范围:
https://www.googleapis.com/auth/sasportal
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis documentation outlines how to list deployments within the Spectrum Access System (SAS) using a GET request to a specific endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the parent node in the URL path and can optionally include query parameters for filtering, pagination, and page size.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return a list of deployments adhering to the specified criteria within a ListDeploymentsResponse object.\u003c/p\u003e\n"],["\u003cp\u003eProper authorization with the 'https://www.googleapis.com/auth/sasportal' scope is necessary to access this functionality.\u003c/p\u003e\n"]]],["This document outlines the process for listing deployments via an HTTP GET request to `https://sasportal.googleapis.com/v1alpha1/{parent}/deployments`. The `parent` path parameter is required, specifying a resource path. Optional query parameters include `pageSize`, `pageToken` for pagination, and `filter` for filtering by direct children. The request body must be empty. A successful response will return a `ListDeploymentsResponse`. This request requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"],null,["# Method: nodes.nodes.deployments.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 [deployments](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments#Deployment).\n\n### HTTP request\n\n`GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/deployments`\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\", customer/1/nodes/2. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of deployments to return in the response. |\n| `pageToken` | `string` A pagination token returned from a previous call to [deployments.list](/spectrum-access-system/reference/rest/v1alpha1/nodes.deployments/list#spectrum.sas.portal.v1alpha1.DeviceManager.ListDeployments) 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 deployments 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 [ListDeploymentsResponse](/spectrum-access-system/reference/rest/v1alpha1/ListDeploymentsResponse).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]