# Google Cloud Functions V2 Client - Class ListRuntimesRequest (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.7.0 1.6.5 1.5.0 1.4.2 1.3.1 1.2.0 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Functions V2 Client class ListRuntimesRequest.

Request for the `ListRuntimes` method.

Generated from protobuf message `google.cloud.functions.v2.ListRuntimesRequest`

## Namespace

Google \\ Cloud \\ Functions \\ V2

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getParent

Required. The project and location from which the runtimes should be
listed, specified in the format `projects/*/locations/*`

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

### setParent

Required. The project and location from which the runtimes should be
listed, specified in the format `projects/*/locations/*`

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

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

### getFilter

The filter for Runtimes that match the filter expression,
following the syntax outlined in <https://google.aip.dev/160>.

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

### setFilter

The filter for Runtimes that match the filter expression,
following the syntax outlined in <https://google.aip.dev/160>.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The project and location from which the runtimes should be listed, specified in the format `projects/*/locations/*` Please see FunctionServiceClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-functions/latest/V2.ListRuntimesRequest` |   |