# Google Cloud IoT Core V1 Client - Class ListDeviceRegistriesResponse (1.7.5)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.7.5 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-iot/latest/V1.ListDeviceRegistriesResponse)
- [1.7.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.7.4/V1.ListDeviceRegistriesResponse)
- [1.6.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.6.4/V1.ListDeviceRegistriesResponse)
- [1.5.12](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.5.12/V1.ListDeviceRegistriesResponse)
Reference documentation and code samples for the Google Cloud IoT Core V1 Client class ListDeviceRegistriesResponse.

Response for `ListDeviceRegistries`.

Generated from protobuf message `google.cloud.iot.v1.ListDeviceRegistriesResponse`

## Namespace

Google \\ Cloud \\ Iot \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ device_registries` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-iot/latest/V1.DeviceRegistry>` The registries that matched the query. |
| `↳ next_page_token` | `string` If not empty, indicates that there may be more registries that match the request; this value should be passed in a new `ListDeviceRegistriesRequest`. |

### getDeviceRegistries

The registries that matched the query.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setDeviceRegistries

The registries that matched the query.

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

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

### getNextPageToken

If not empty, indicates that there may be more registries that match the
request; this value should be passed in a new
`ListDeviceRegistriesRequest`.

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

### setNextPageToken

If not empty, indicates that there may be more registries that match the
request; this value should be passed in a new
`ListDeviceRegistriesRequest`.

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

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