# Google LongRunning Client - Class ListOperationsResponse (0.7.1)

0.7.1 (latest) 0.7.0 0.6.0 0.5.0 0.4.7 0.3.0 0.2.6 Reference documentation and code samples for the Google LongRunning Client class ListOperationsResponse.

The response message for
[Operations.ListOperations](https://docs.cloud.google.com/php/docs/reference/longrunning/latest/LongRunning.OperationsClient#_Google_LongRunning_OperationsClient__listOperations__).

Generated from protobuf message `google.longrunning.ListOperationsResponse`

## Namespace

Google \\ LongRunning

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ operations` | `array<https://docs.cloud.google.com/php/docs/reference/longrunning/latest/LongRunning.Operation>` A list of operations that matches the specified filter in the request. |
| `↳ next_page_token` | `string` The standard List next-page token. |
| `↳ unreachable` | `string[]` Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. |

### getOperations

A list of operations that matches the specified filter in the request.

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

### setOperations

A list of operations that matches the specified filter in the request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/longrunning/latest/LongRunning.Operation>` |

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

### getNextPageToken

The standard List next-page token.

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

### setNextPageToken

The standard List next-page token.

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

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

### getUnreachable

Unordered list. Unreachable resources. Populated when the request sets
`ListOperationsRequest.return_partial_success` and reads across
collections e.g. when attempting to list all resources across all supported
locations.

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

### setUnreachable

Unordered list. Unreachable resources. Populated when the request sets
`ListOperationsRequest.return_partial_success` and reads across
collections e.g. when attempting to list all resources across all supported
locations.

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

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