# Google Apps Events Subscriptions V1 Client - Class ListSubscriptionsResponse (0.4.4)

0.4.4 (latest) 0.4.3 0.3.1 0.2.1 0.1.6 Reference documentation and code samples for the Google Apps Events Subscriptions V1 Client class ListSubscriptionsResponse.

The response message for
[SubscriptionsService.ListSubscriptions](https://docs.cloud.google.com/php/docs/reference/apps-events-subscriptions/latest/V1.Client.SubscriptionsServiceClient#_Google_Apps_Events_Subscriptions_V1_Client_SubscriptionsServiceClient__listSubscriptions__).

Generated from protobuf message `google.apps.events.subscriptions.v1.ListSubscriptionsResponse`

## Namespace

Google \\ Apps \\ Events \\ Subscriptions \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ subscriptions` | `array<https://docs.cloud.google.com/php/docs/reference/apps-events-subscriptions/latest/V1.Subscription>` List of subscriptions. |
| `↳ 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. |

### getSubscriptions

List of subscriptions.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/apps-events-subscriptions/latest/V1.Subscription>` |   |

### setSubscriptions

List of subscriptions.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/apps-events-subscriptions/latest/V1.Subscription>` |

| **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` |   |