# AlloyDB V1BETA API - Module Google::Cloud::AlloyDB::V1beta::PromoteClusterStatus::State (v0.23.0)

0.23.0 (latest) 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1BETA API module Google::Cloud::AlloyDB::V1beta::PromoteClusterStatus::State.

State contains all valid states of the database during promote cluster
operation. This is used for status reporting through the LRO metadata.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
The state of the database is unknown.

### PROMOTE_CLUSTER_AVAILABLE_FOR_READ

**value:** 1  
The database is only available for read.

### PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE

**value:** 2  
The database is available for both read and write. The promote operation
is near completion.

### PROMOTE_CLUSTER_COMPLETED

**value:** 3  
The promote operation is completed and the database is available for
write.