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:
PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote
operation has failed mid-way, the database is still only available for
read.
PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation
completed successfully. The database is available for both read and write
requests
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus (v0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.14.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.14.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.13.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.13.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.12.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.12.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.11.1](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.11.1/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.10.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.10.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.9.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.9.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.8.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.8.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.7.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.7.2/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.6.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.6.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.5.2](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.5.2/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.4.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.4.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.3.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.3.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.2.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.2.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus)\n- [0.1.0](/ruby/docs/reference/google-cloud-alloy_db-v1alpha/0.1.0/Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus) \nReference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus.\n\nMessage for current status of the database during Promote Cluster operation. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #state\n\n def state() -\u003e ::Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus::State\n\n**Returns**\n\n- ([::Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus::State](./Google-Cloud-AlloyDB-V1alpha-PromoteClusterStatus-State)) ---\n\n Output only. The current state of the promoted secondary's database.\n Once the operation is complete, the final state of the database in the\n LRO can be one of:\n 1. PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote operation has failed mid-way, the database is still only available for read.\n 2. PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation completed successfully. The database is available for both read and write requests"]]