# Google Cloud Filestore V1 Client - Class ListSnapshotsResponse (2.2.3)

2.2.3 (latest) 2.2.2 2.1.1 2.0.4 1.5.7 1.4.0 1.3.2 1.2.1 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Filestore V1 Client class ListSnapshotsResponse.

ListSnapshotsResponse is the result of ListSnapshotsRequest.

Generated from protobuf message `google.cloud.filestore.v1.ListSnapshotsResponse`

## Namespace

Google \\ Cloud \\ Filestore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ snapshots` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-filestore/latest/V1.Snapshot>` A list of snapshots in the project for the specified instance. |
| `↳ next_page_token` | `string` The token you can use to retrieve the next page of results. Not returned if there are no more results in the list. |
| `↳ unreachable` | `string[]` Unordered list. Locations that could not be reached. |

### getSnapshots

A list of snapshots in the project for the specified instance.

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

### setSnapshots

A list of snapshots in the project for the specified instance.

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

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

### getNextPageToken

The token you can use to retrieve the next page of results. Not returned
if there are no more results in the list.

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

### setNextPageToken

The token you can use to retrieve the next page of results. Not returned
if there are no more results in the list.

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