# Google Cloud Vector Search V1 Client - Class ListCollectionsResponse (0.4.0)

0.4.0 (latest) 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vector Search V1 Client class ListCollectionsResponse.

Message for response to listing Collections

Generated from protobuf message `google.cloud.vectorsearch.v1.ListCollectionsResponse`

## Namespace

Google \\ Cloud \\ VectorSearch \\ V1

## Methods

### __construct

Constructor.

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

### getCollections

The list of Collection

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

### setCollections

The list of Collection

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

| **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

Unordered list. Locations that could not be reached.

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

### setUnreachable

Unordered list. Locations that could not be reached.

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

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