# Google Cloud Managed Identities V1 Client - Class ListDomainsResponse (2.2.0)

2.2.0 (latest) 2.1.1 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Managed Identities V1 Client class ListDomainsResponse.

Response message for
ListDomains

Generated from protobuf message `google.cloud.managedidentities.v1.ListDomainsResponse`

## Namespace

Google \\ Cloud \\ ManagedIdentities \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ domains` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain>` A list of Managed Identities Service domains in the project. |
| `↳ next_page_token` | `string` A token to retrieve the next page of results, or empty if there are no more results in the list. |
| `↳ unreachable` | `string[]` A list of locations that could not be reached. |

### getDomains

A list of Managed Identities Service domains in the project.

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

### setDomains

A list of Managed Identities Service domains in the project.

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

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

### getNextPageToken

A token to retrieve the next page of results, or empty if there are no more
results in the list.

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

### setNextPageToken

A token to retrieve the next page of results, or empty if there are no more
results in the list.

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

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

### getUnreachable

A list of locations that could not be reached.

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

### setUnreachable

A list of locations that could not be reached.

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

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