# Google Cloud Recaptcha Enterprise V1 Client - Class ListKeysResponse (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.3 2.0.1 1.17.2 1.16.1 1.15.0 1.14.0 1.13.0 1.12.2 1.8.0 1.7.0 1.6.0 1.5.2 1.4.2 1.3.2 1.2.6 Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class ListKeysResponse.

Response to request to list keys in a project.

Generated from protobuf message `google.cloud.recaptchaenterprise.v1.ListKeysResponse`

## Namespace

Google \\ Cloud \\ RecaptchaEnterprise \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ keys` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.Key>` Key details. |
| `↳ next_page_token` | `string` Token to retrieve the next page of results. It is set to empty if no keys remain in results. |

### getKeys

Key details.

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

### setKeys

Key details.

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

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

### getNextPageToken

Token to retrieve the next page of results. It is set to empty if no keys
remain in results.

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

### setNextPageToken

Token to retrieve the next page of results. It is set to empty if no keys
remain in results.

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

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