# Google Cloud Managed Lustre API

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

## Service: lustre.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 document:

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

### 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://lustre.googleapis.com`

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

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/managed-lustre/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.instances](https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/create` | `POST /v1/{parent=projects/*/locations/*}/instances` Creates a new instance in a given project and location. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/delete` | `DELETE /v1/{name=projects/*/locations/*/instances/*}` Deletes a single instance. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/exportData` | `POST /v1/{name=projects/*/locations/*/instances/*}:exportData` Exports data from a Managed Lustre instance to Cloud Storage. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/get` | `GET /v1/{name=projects/*/locations/*/instances/*}` Gets details of a single instance. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/importData` | `POST /v1/{name=projects/*/locations/*/instances/*}:importData` Imports data from Cloud Storage to a Managed Lustre instance. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/list` | `GET /v1/{parent=projects/*/locations/*}/instances` Lists instances in a given project and location. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/patch` | `PATCH /v1/{instance.name=projects/*/locations/*/instances/*}` Updates the parameters of a single instance. |
| `https://docs.cloud.google.com/managed-lustre/docs/reference/rest/v1/projects.locations.instances/rescheduleMaintenance` | `POST /v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance` Reschedules a planned maintenance event for a specific instance. |

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

| Methods ||
|---|---|
| `https://docs.cloud.google.com/managed-lustre/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/managed-lustre/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/managed-lustre/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/managed-lustre/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |