# Google Cloud Redis V1 Client - Class State (2.2.3)

2.2.3 (latest) 2.2.2 2.1.6 2.0.0 1.9.5 1.8.4 1.7.0 1.6.12 Reference documentation and code samples for the Google Cloud Redis V1 Client class State.

Represents the different states of a Redis instance.

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

## Namespace

Google \\ Cloud \\ Redis \\ V1 \\ Instance

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Not set.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATING

    Value: 1

Redis instance is being created.

Generated from protobuf enum `CREATING = 1;`

### READY

    Value: 2

Redis instance has been created and is fully usable.

Generated from protobuf enum `READY = 2;`

### UPDATING

    Value: 3

Redis instance configuration is being updated. Certain kinds of updates
may cause the instance to become unusable while the update is in
progress.

Generated from protobuf enum `UPDATING = 3;`

### DELETING

    Value: 4

Redis instance is being deleted.

Generated from protobuf enum `DELETING = 4;`

### REPAIRING

    Value: 5

Redis instance is being repaired and may be unusable.

Generated from protobuf enum `REPAIRING = 5;`

### MAINTENANCE

    Value: 6

Maintenance is being performed on this Redis instance.

Generated from protobuf enum `MAINTENANCE = 6;`

### IMPORTING

    Value: 8

Redis instance is importing data (availability may be affected).

Generated from protobuf enum `IMPORTING = 8;`

### FAILING_OVER

    Value: 9

Redis instance is failing over (availability may be affected).

Generated from protobuf enum `FAILING_OVER = 9;`