# Google Workspace Add-ons V1 Client - Class ListDeploymentsResponse (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.3.5 0.2.3 0.1.6 Reference documentation and code samples for the Google Workspace Add-ons V1 Client class ListDeploymentsResponse.

Response message to list deployments.

Generated from protobuf message `google.cloud.gsuiteaddons.v1.ListDeploymentsResponse`

## Namespace

Google \\ Cloud \\ GSuiteAddOns \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ deployments` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-gsuite-addons/latest/V1.Deployment>` The list of deployments for the given project. |
| `↳ next_page_token` | `string` A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getDeployments

The list of deployments for the given project.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-gsuite-addons/latest/V1.Deployment>` |   |

### setDeployments

The list of deployments for the given project.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-gsuite-addons/latest/V1.Deployment>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNextPageToken

A token, which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |