# Google Cloud Domains V1 Client - Class ListRegistrationsResponse (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.5.5 0.4.2 0.3.1 0.2.11 Reference documentation and code samples for the Google Cloud Domains V1 Client class ListRegistrationsResponse.

Response for the `ListRegistrations` method.

Generated from protobuf message `google.cloud.domains.v1.ListRegistrationsResponse`

## Namespace

Google \\ Cloud \\ Domains \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ registrations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-domains/latest/V1.Registration>` A list of `Registration`s. |
| `↳ next_page_token` | `string` When present, there are more results to retrieve. Set `page_token` to this value on a subsequent call to get the next page of results. |

### getRegistrations

A list of `Registration`s.

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

### setRegistrations

A list of `Registration`s.

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

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

### getNextPageToken

When present, there are more results to retrieve. Set `page_token` to this
value on a subsequent call to get the next page of results.

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

### setNextPageToken

When present, there are more results to retrieve. Set `page_token` to this
value on a subsequent call to get the next page of results.

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

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