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
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-02。
[null,null,["最后更新时间 (UTC):2022-11-02。"],[[["This page details how to list deployments using the `ListDeployments` method, including specifics on the HTTP request structure, path & query parameters."],["The API request requires a parent resource name as a path parameter and allows filtering & pagination through query parameters."],["An empty request body is necessary, and a successful response returns a `ListDeploymentsResponse` object containing the deployment data."],["To use this API, you need authorization with the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["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"]]