Method: customers.nodes.deployments.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/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
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThis page details how to list deployments using the \u003ccode\u003eListDeployments\u003c/code\u003e method, including specifics on the HTTP request structure, path & query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires a parent resource name as a path parameter and allows filtering & pagination through query parameters.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and a successful response returns a \u003ccode\u003eListDeploymentsResponse\u003c/code\u003e object containing the deployment data.\u003c/p\u003e\n"],["\u003cp\u003eTo use this API, you need authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document details the process of listing deployments via an HTTP GET request to `https://sasportal.googleapis.com/v1alpha1/{parent}/deployments`. The `parent` path parameter is required, specifying a resource (e.g., \"nodes/1\"). Optional query parameters include `pageSize` (maximum deployments), `pageToken` (pagination), and `filter` (direct children). The request body must be empty. A successful request returns a `ListDeploymentsResponse`. The `https://www.googleapis.com/auth/sasportal` OAuth scope is required.\n"],null,["# Method: customers.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=customers/*/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`"]]