AI-generated Key Takeaways
- 
          Lists all deployments within a specified Google Workspace Add-ons project. 
- 
          Allows for pagination to retrieve large sets of deployments. 
- 
          Requires gsuiteaddons.deployments.listIAM permission andhttps://www.googleapis.com/auth/cloud-platformOAuth scope for authorization.
- 
          Returns a list of deployments along with a token for accessing subsequent pages, if available. 
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists all deployments in a particular project.
HTTP request
GET https://gsuiteaddons.googleapis.com/v1/{parent=projects/*}/deployments
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. Name of the project in which to create the deployment. Example:  Authorization requires the following IAM permission on the specified resource  
 | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of deployments to return. The service might return fewer than this value. If unspecified, at most 1,000 deployments are returned. The maximum possible value is 1,000; values above 1,000 are changed to 1,000. | 
| pageToken | 
 A page token, received from a previous  When paginating, all other parameters provided to  | 
Request body
The request body must be empty.
Response body
Response message to list deployments.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "deployments": [
    {
      object ( | 
| Fields | |
|---|---|
| deployments[] | 
 The list of deployments for the given project. | 
| nextPageToken | 
 A token, which can be sent as  | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authorization guide.