# Google Cloud Eventarc V1 Client - Class ListTriggersResponse (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.5 2.0.1 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Eventarc V1 Client class ListTriggersResponse.

The response message for the `ListTriggers` method.

Generated from protobuf message `google.cloud.eventarc.v1.ListTriggersResponse`

## Namespace

Google \\ Cloud \\ Eventarc \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ triggers` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Trigger>` The requested triggers, up to the number specified in `page_size`. |
| `↳ next_page_token` | `string` A page token that can be sent to `ListTriggers` to request the next page. If this is empty, then there are no more pages. |
| `↳ unreachable` | `string[]` Unreachable resources, if any. |

### getTriggers

The requested triggers, up to the number specified in `page_size`.

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

### setTriggers

The requested triggers, up to the number specified in `page_size`.

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

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

### getNextPageToken

A page token that can be sent to `ListTriggers` to request the next page.

If this is empty, then there are no more pages.

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

### setNextPageToken

A page token that can be sent to `ListTriggers` to request the next page.

If this is empty, then there are no more pages.

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

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

### getUnreachable

Unreachable resources, if any.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

Unreachable resources, if any.

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

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