# Cloud Memorystore for Memcached API

Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.

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

## Service: memcache.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://memcache.googleapis.com/$discovery/rest?version=v1>
- <https://memcache.googleapis.com/$discovery/rest?version=v1beta2>

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

## REST Resource: [v1beta2.projects.locations](https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations)

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

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

| Methods ||
|---|---|
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/applyParameters` | `POST /v1beta2/{name=projects/*/locations/*/instances/*}:applyParameters` `ApplyParameters` restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/applySoftwareUpdate` | `POST /v1beta2/{instance=projects/*/locations/*/instances/*}:applySoftwareUpdate` Updates software on the selected nodes of the Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/create` | `POST /v1beta2/{parent=projects/*/locations/*}/instances` Creates a new Instance in a given location. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/delete` | `DELETE /v1beta2/{name=projects/*/locations/*/instances/*}` Deletes a single Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/get` | `GET /v1beta2/{name=projects/*/locations/*/instances/*}` Gets details of a single Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/list` | `GET /v1beta2/{parent=projects/*/locations/*}/instances` Lists Instances in a given location. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/patch` | `PATCH /v1beta2/{resource.name=projects/*/locations/*/instances/*}` Updates an existing Instance in a given project and location. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/rescheduleMaintenance` | `POST /v1beta2/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance` Performs the apply phase of the RescheduleMaintenance verb. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/updateParameters` | `PATCH /v1beta2/{name=projects/*/locations/*/instances/*}:updateParameters` Updates the defined Memcached parameters for an existing instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1beta2/projects.locations.instances/upgrade` | `POST /v1beta2/{name=projects/*/locations/*/instances/*}:upgrade` Upgrades the Memcache instance to a newer memcached engine version specified in the request. |

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

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

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

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

| Methods ||
|---|---|
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/applyParameters` | `POST /v1/{name=projects/*/locations/*/instances/*}:applyParameters` `ApplyParameters` restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/create` | `POST /v1/{parent=projects/*/locations/*}/instances` Creates a new Instance in a given location. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/delete` | `DELETE /v1/{name=projects/*/locations/*/instances/*}` Deletes a single Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/get` | `GET /v1/{name=projects/*/locations/*/instances/*}` Gets details of a single Instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/list` | `GET /v1/{parent=projects/*/locations/*}/instances` Lists Instances in a given location. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/patch` | `PATCH /v1/{instance.name=projects/*/locations/*/instances/*}` Updates an existing Instance in a given project and location. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/rescheduleMaintenance` | `POST /v1/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance` Reschedules upcoming maintenance event. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/updateParameters` | `PATCH /v1/{name=projects/*/locations/*/instances/*}:updateParameters` Updates the defined Memcached parameters for an existing instance. |
| `https://docs.cloud.google.com/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances/upgrade` | `POST /v1/{name=projects/*/locations/*/instances/*}:upgrade` Upgrades the Memcache instance to a newer memcached engine version specified in the request. |

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

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