# Google Cloud Web Security Scanner V1 Client - Class ListScanRunsResponse (1.2.0)

1.2.0 (latest) 1.1.2 1.0.5 0.8.5 0.7.18 Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class ListScanRunsResponse.

Response for the `ListScanRuns` method.

Generated from protobuf message `google.cloud.websecurityscanner.v1.ListScanRunsResponse`

## Namespace

Google \\ Cloud \\ WebSecurityScanner \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ scan_runs` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRun>` The list of ScanRuns returned. |
| `↳ next_page_token` | `string` Token to retrieve the next page of results, or empty if there are no more results in the list. |

### getScanRuns

The list of ScanRuns returned.

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

### setScanRuns

The list of ScanRuns returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-web-security-scanner/latest/V1.ScanRun>` |

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

### getNextPageToken

Token to retrieve the next page of results, or empty if there are no
more results in the list.

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

### setNextPageToken

Token to retrieve the next page of results, or empty if there are no
more results in the list.

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

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