AI-generated Key Takeaways
- 
          
This page details how to list deployments using the
ListDeploymentsmethod, 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
ListDeploymentsResponseobject containing the deployment data. - 
          
To use this API, you need authorization with the
https://www.googleapis.com/auth/sasportalOAuth scope. 
Lists deployments.
HTTP request
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/deployments
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.  | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 The maximum number of deployments to return in the response.  | 
              
pageToken | 
                
                   
 A pagination token returned from a previous call to   | 
              
filter | 
                
                   
 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.  | 
              
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListDeploymentsResponse.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sasportal