# Google Cloud Policy Simulator V1 Client - Class ListReplayResultsResponse (1.3.4)

1.3.4 (latest) 1.3.3 1.2.0 1.1.1 1.0.3 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ListReplayResultsResponse.

Response message for
[Simulator.ListReplayResults](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Client.SimulatorClient#_Google_Cloud_PolicySimulator_V1_Client_SimulatorClient__listReplayResults__).

Generated from protobuf message `google.cloud.policysimulator.v1.ListReplayResultsResponse`

## Namespace

Google \\ Cloud \\ PolicySimulator \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ replay_results` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.ReplayResult>` The results of running a [Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay). |
| `↳ next_page_token` | `string` A token that you can use to retrieve the next page of [ReplayResult](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.ReplayResult) objects. If this field is omitted, there are no subsequent pages. |

### getReplayResults

The results of running a [Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay).

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

### setReplayResults

The results of running a [Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay).

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

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

### getNextPageToken

A token that you can use to retrieve the next page of
[ReplayResult](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.ReplayResult) objects. If
this field is omitted, there are no subsequent pages.

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

### setNextPageToken

A token that you can use to retrieve the next page of
[ReplayResult](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.ReplayResult) objects. If
this field is omitted, there are no subsequent pages.

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

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