# Memorystore for Memcached V1 Client - Class State (2.1.2)

2.1.2 (latest) 2.1.1 2.0.4 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Memorystore for Memcached V1 Client class State.

Different states of a Memcached instance.

Protobuf type `google.cloud.memcache.v1.Instance.State`

## Namespace

Google \\ Cloud \\ Memcache \\ V1 \\ Instance

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

State not set.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

Memcached instance is being created.

Generated from protobuf enum `CREATING = 1;`

### READY

    Value: 2

Memcached instance has been created and ready to be used.

Generated from protobuf enum `READY = 2;`

### UPDATING

    Value: 3

Memcached instance is updating configuration such as maintenance policy
and schedule.

Generated from protobuf enum `UPDATING = 3;`

### DELETING

    Value: 4

Memcached instance is being deleted.

Generated from protobuf enum `DELETING = 4;`

### PERFORMING_MAINTENANCE

    Value: 5

Memcached instance is going through maintenance, e.g. data plane rollout.

Generated from protobuf enum `PERFORMING_MAINTENANCE = 5;`