The Cloud Filestore API is used for creating and managing cloud file servers.

- [REST Resource: v1beta1.projects.locations](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations)
- [REST Resource: v1beta1.projects.locations.backups](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.backups)
- [REST Resource: v1beta1.projects.locations.instances](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.instances)
- [REST Resource: v1beta1.projects.locations.instances.shares](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.instances.shares)
- [REST Resource: v1beta1.projects.locations.instances.snapshots](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.instances.snapshots)
- [REST Resource: v1beta1.projects.locations.operations](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.operations)
- [REST Resource: v1beta1.projects.locations.sharePools](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.sharePools)
- [REST Resource: v1beta1.projects.locations.volumePools](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.volumePools)
- [REST Resource: v1beta1.projects.locations.volumePools.volumes](https://docs.cloud.google.com/filestore/docs/reference/rest#v1beta1.projects.locations.volumePools.volumes)
- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/filestore/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.backups](https://docs.cloud.google.com/filestore/docs/reference/rest#v1.projects.locations.backups)
- [REST Resource: v1.projects.locations.instances](https://docs.cloud.google.com/filestore/docs/reference/rest#v1.projects.locations.instances)
- [REST Resource: v1.projects.locations.instances.snapshots](https://docs.cloud.google.com/filestore/docs/reference/rest#v1.projects.locations.instances.snapshots)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/filestore/docs/reference/rest#v1.projects.locations.operations)

## Service: file.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

- <https://file.googleapis.com/$discovery/rest?version=v1>
- <https://file.googleapis.com/$discovery/rest?version=v1beta1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://file.googleapis.com`

## REST Resource: [v1beta1.projects.locations](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations/get` | `GET /v1beta1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations/list` | `GET /v1beta1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1beta1.projects.locations.backups](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.backups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.backups/create` | `POST /v1beta1/{parent=projects/*/locations/*}/backups` Creates a backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.backups/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/backups/*}` Deletes a backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.backups/get` | `GET /v1beta1/{name=projects/*/locations/*/backups/*}` Gets the details of a specific backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.backups/list` | `GET /v1beta1/{parent=projects/*/locations/*}/backups` Lists all backups in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.backups/patch` | `PATCH /v1beta1/{backup.name=projects/*/locations/*/backups/*}` Updates the settings of a specific backup. |

## REST Resource: [v1beta1.projects.locations.instances](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create` | `POST /v1beta1/{parent=projects/*/locations/*}/instances` Creates an instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/instances/*}` Deletes an instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/get` | `GET /v1beta1/{name=projects/*/locations/*/instances/*}` Gets the details of a specific instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/list` | `GET /v1beta1/{parent=projects/*/locations/*}/instances` Lists all instances in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/patch` | `PATCH /v1beta1/{instance.name=projects/*/locations/*/instances/*}` Updates the settings of a specific instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/pauseReplica` | `POST /v1beta1/{name=projects/*/locations/*/instances/*}:pauseReplica` Pause the standby instance (replica). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/promoteReplica` | `POST /v1beta1/{name=projects/*/locations/*/instances/*}:promoteReplica` Promote the standby instance (replica). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/restore` | `POST /v1beta1/{name=projects/*/locations/*/instances/*}:restore` Restores an existing instance's file share from a backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/resumeReplica` | `POST /v1beta1/{name=projects/*/locations/*/instances/*}:resumeReplica` Resume the standby instance (replica). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/revert` | `POST /v1beta1/{name=projects/*/locations/*/instances/*}:revert` Revert an existing instance's file system to a specified snapshot. |

## REST Resource: [v1beta1.projects.locations.instances.shares](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.shares)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.shares/create` | `POST /v1beta1/{parent=projects/*/locations/*/instances/*}/shares` Creates a share. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.shares/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/instances/*/shares/*}` Deletes a share. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.shares/get` | `GET /v1beta1/{name=projects/*/locations/*/instances/*/shares/*}` Gets the details of a specific share. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.shares/list` | `GET /v1beta1/{parent=projects/*/locations/*/instances/*}/shares` Lists all shares for a specified instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.shares/patch` | `PATCH /v1beta1/{share.name=projects/*/locations/*/instances/*/shares/*}` Updates the settings of a specific share. |

## REST Resource: [v1beta1.projects.locations.instances.snapshots](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.snapshots)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.snapshots/create` | `POST /v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots` Creates a snapshot. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.snapshots/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}` Deletes a snapshot. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.snapshots/get` | `GET /v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}` Gets the details of a specific snapshot. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.snapshots/list` | `GET /v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots` Lists all snapshots in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances.snapshots/patch` | `PATCH /v1beta1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}` Updates the settings of a specific snapshot. |

## REST Resource: [v1beta1.projects.locations.operations](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.operations/cancel` | `POST /v1beta1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.operations/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.operations/get` | `GET /v1beta1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.operations/list` | `GET /v1beta1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1beta1.projects.locations.sharePools](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.sharePools)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.sharePools/acquireShare` | `POST /v1beta1/{parent=projects/*/locations/*/sharePools/*}:acquireShare` Acquires a share synchronously from the pre-provisioned share pool. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.sharePools/releaseShare` | `POST /v1beta1/{parent=projects/*/locations/*/sharePools/*}:releaseShare` Releases a share synchronously, marking it for background scrubbing. |

## REST Resource: [v1beta1.projects.locations.volumePools](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools/create` | `POST /v1beta1/{parent=projects/*/locations/*}/volumePools` Creates a volume pool. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/volumePools/*}` Deletes a volume pool. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools/get` | `GET /v1beta1/{name=projects/*/locations/*/volumePools/*}` Gets the details of a specific volume pool. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools/list` | `GET /v1beta1/{parent=projects/*/locations/*}/volumePools` Lists all volume pools in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools/patch` | `PATCH /v1beta1/{volumePool.name=projects/*/locations/*/volumePools/*}` Updates the settings of a specific volume pool. |

## REST Resource: [v1beta1.projects.locations.volumePools.volumes](https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/create` | `POST /v1beta1/{parent=projects/*/locations/*/volumePools/*}/volumes` Creates a volume. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/createFromSource` | `POST /v1beta1/{parent=projects/*/locations/*/volumePools/*}/volumes:createFromSource` Creates a volume in a volume pool from an existing data source (such as a Filestore backup). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/delete` | `DELETE /v1beta1/{name=projects/*/locations/*/volumePools/*/volumes/*}` Deletes a volume. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/directCreate` | `POST /v1beta1/{parent=projects/*/locations/*/volumePools/*}/volumes:directCreate` Creates a volume directly on the CLH, bypassing CCFE. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/directDelete` | `POST /v1beta1/{name=projects/*/locations/*/volumePools/*/volumes/*}:directDelete` Deletes a volume directly on the CLH, bypassing CCFE. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/get` | `GET /v1beta1/{name=projects/*/locations/*/volumePools/*/volumes/*}` Gets the details of a specific volume. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/list` | `GET /v1beta1/{parent=projects/*/locations/*/volumePools/*}/volumes` Lists all volumes for a specified volume pool. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/patch` | `PATCH /v1beta1/{volume.name=projects/*/locations/*/volumePools/*/volumes/*}` Updates the settings of a specific volume. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.volumePools.volumes/unfreeze` | `POST /v1beta1/{name=projects/*/locations/*/volumePools/*/volumes/*}:unfreeze` Unfreezes a volume. |

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations/list` | `GET /v1/{name=projects/*}/locations` Lists information about the supported locations for this service. |

## REST Resource: [v1.projects.locations.backups](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/create` | `POST /v1/{parent=projects/*/locations/*}/backups` Creates a backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/delete` | `DELETE /v1/{name=projects/*/locations/*/backups/*}` Deletes a backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/get` | `GET /v1/{name=projects/*/locations/*/backups/*}` Gets the details of a specific backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/list` | `GET /v1/{parent=projects/*/locations/*}/backups` Lists all backups in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.backups/patch` | `PATCH /v1/{backup.name=projects/*/locations/*/backups/*}` Updates the settings of a specific backup. |

## REST Resource: [v1.projects.locations.instances](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/create` | `POST /v1/{parent=projects/*/locations/*}/instances` Creates an instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/delete` | `DELETE /v1/{name=projects/*/locations/*/instances/*}` Deletes an instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/get` | `GET /v1/{name=projects/*/locations/*/instances/*}` Gets the details of a specific instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/list` | `GET /v1/{parent=projects/*/locations/*}/instances` Lists all instances in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/patch` | `PATCH /v1/{instance.name=projects/*/locations/*/instances/*}` Updates the settings of a specific instance. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/pauseReplica` | `POST /v1/{name=projects/*/locations/*/instances/*}:pauseReplica` Pause the standby instance (replica). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/promoteReplica` | `POST /v1/{name=projects/*/locations/*/instances/*}:promoteReplica` Promote the standby instance (replica). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/restore` | `POST /v1/{name=projects/*/locations/*/instances/*}:restore` Restores an existing instance's file share from a backup. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/resumeReplica` | `POST /v1/{name=projects/*/locations/*/instances/*}:resumeReplica` Resume the standby instance (replica). |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances/revert` | `POST /v1/{name=projects/*/locations/*/instances/*}:revert` Revert an existing instance's file system to a specified snapshot. |

## REST Resource: [v1.projects.locations.instances.snapshots](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances.snapshots)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances.snapshots/create` | `POST /v1/{parent=projects/*/locations/*/instances/*}/snapshots` Creates a snapshot. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances.snapshots/delete` | `DELETE /v1/{name=projects/*/locations/*/instances/*/snapshots/*}` Deletes a snapshot. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances.snapshots/get` | `GET /v1/{name=projects/*/locations/*/instances/*/snapshots/*}` Gets the details of a specific snapshot. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances.snapshots/list` | `GET /v1/{parent=projects/*/locations/*/instances/*}/snapshots` Lists all snapshots in a project for either a specified location or for all locations. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.instances.snapshots/patch` | `PATCH /v1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}` Updates the settings of a specific snapshot. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/filestore/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |