# Google Cloud Functions V2 Client - Class ListRuntimesResponse (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 ListRuntimesResponse.

Response for the `ListRuntimes` method.

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

## Namespace

Google \\ Cloud \\ Functions \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ runtimes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-functions/latest/V2.ListRuntimesResponse.Runtime>` The runtimes that match the request. |

### getRuntimes

The runtimes that match the request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-functions/latest/V2.ListRuntimesResponse.Runtime>` |   |

### setRuntimes

The runtimes that match the request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-functions/latest/V2.ListRuntimesResponse.Runtime>` |

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