# Google Cloud KMS Inventory V1 Client - Class ListCryptoKeysResponse (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.1 1.0.4 0.4.5 0.3.1 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud KMS Inventory V1 Client class ListCryptoKeysResponse.

Response message for
[KeyDashboardService.ListCryptoKeys](https://docs.cloud.google.com/php/docs/reference/cloud-kms-inventory/latest/V1.Client.KeyDashboardServiceClient#_Google_Cloud_Kms_Inventory_V1_Client_KeyDashboardServiceClient__listCryptoKeys__).

Generated from protobuf message `google.cloud.kms.inventory.v1.ListCryptoKeysResponse`

## Namespace

Google \\ Cloud \\ Kms \\ Inventory \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ crypto_keys` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.CryptoKey.html>` The list of [CryptoKeys](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.CryptoKey.html). |
| `↳ next_page_token` | `string` The page token returned from the previous response if the next page is desired. |

### getCryptoKeys

The list of [CryptoKeys](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.CryptoKey.html).

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

### setCryptoKeys

The list of [CryptoKeys](https://docs.cloud.google.com/php/docs/reference/cloud-kms/latest/V1.CryptoKey.html).

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

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

### getNextPageToken

The page token returned from the previous response if the next page is
desired.

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

### setNextPageToken

The page token returned from the previous response if the next page is
desired.

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

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