# Google Cloud Rapid Migration Assessment V1 Client - Class ListCollectorsResponse (1.2.4)

1.2.4 (latest) 1.2.3 1.1.2 1.0.3 0.3.5 0.2.2 0.1.1 Reference documentation and code samples for the Google Cloud Rapid Migration Assessment V1 Client class ListCollectorsResponse.

Message for response to listing Collectors.

Generated from protobuf message `google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse`

## Namespace

Google \\ Cloud \\ RapidMigrationAssessment \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ collectors` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-rapidmigrationassessment/latest/V1.Collector>` The list of Collectors. |
| `↳ next_page_token` | `string` A token identifying a page of results the server should return. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getCollectors

The list of Collectors.

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

### setCollectors

The list of Collectors.

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

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

### getNextPageToken

A token identifying a page of results the server should return.

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

### setNextPageToken

A token identifying a page of results the server should return.

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

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

### getUnreachable

Locations that could not be reached.

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

### setUnreachable

Locations that could not be reached.

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

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