# Google Cloud Hypercompute Cluster V1 Client - Class ExistingFilestoreConfig (0.3.0)

0.3.0 (latest) 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1 Client class ExistingFilestoreConfig.

When set in a
[StorageResourceConfig](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.StorageResourceConfig),
indicates that an existing [Filestore](https://cloud.google.com/filestore)
instance should be imported.

Generated from protobuf message `google.cloud.hypercomputecluster.v1.ExistingFilestoreConfig`

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ filestore` | `string` Required. Immutable. Name of the Filestore instance to import, in the format `projects/{project}/locations/{location}/instances/{instance}` |

### getFilestore

Required. Immutable. Name of the Filestore instance to import, in the
format `projects/{project}/locations/{location}/instances/{instance}`

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

### setFilestore

Required. Immutable. Name of the Filestore instance to import, in the
format `projects/{project}/locations/{location}/instances/{instance}`

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

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