0.11.4 (latest) 0.11.3 0.10.0 0.9.0 0.7.0 0.6.0 0.5.0 0.4.9 0.3.16 0.2.1 0.1.1

    PromoteClusterStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for current status of the database during Promote
Cluster operation.

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `state` | `https://docs.cloud.google.com/python/docs/reference/alloydb/latest/google.cloud.alloydb_v1alpha.types.PromoteClusterStatus.State` Output only. The current state of the promoted secondary's database. Once the operation is complete, the final state of the database in the LRO can be one of: 1. PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote operation has failed mid-way, the database is still only available for read. 2. PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation completed successfully. The database is available for both read and write requests |

## Classes

### State

    State(value)

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