# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 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.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus.

Message for current status of the Major Version Upgrade operation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cancellable

    def cancellable() -> ::Boolean

**Returns**

- (::Boolean) --- Whether the operation is cancellable.

### #cancellable=

    def cancellable=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether the operation is cancellable.
**Returns**

- (::Boolean) --- Whether the operation is cancellable.

### #source_version

    def source_version() -> ::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion

**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-DatabaseVersion)) --- Source database major version.

### #source_version=

    def source_version=(value) -> ::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-DatabaseVersion)) --- Source database major version.
**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-DatabaseVersion)) --- Source database major version.

### #stages

    def stages() -> ::Array<::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus>

**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-UpgradeClusterStatus-StageStatus)\>) --- Status of all upgrade stages.

### #stages=

    def stages=(value) -> ::Array<::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus>

**Parameter**

- **value** (::Array\<[::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-UpgradeClusterStatus-StageStatus)\>) --- Status of all upgrade stages.
**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-UpgradeClusterStatus-StageStatus)\>) --- Status of all upgrade stages.

### #state

    def state() -> ::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status

**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-UpgradeClusterResponse-Status)) --- Cluster Major Version Upgrade state.

### #state=

    def state=(value) -> ::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-UpgradeClusterResponse-Status)) --- Cluster Major Version Upgrade state.
**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-UpgradeClusterResponse-Status)) --- Cluster Major Version Upgrade state.

### #target_version

    def target_version() -> ::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion

**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-DatabaseVersion)) --- Target database major version.

### #target_version=

    def target_version=(value) -> ::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-DatabaseVersion)) --- Target database major version.
**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-DatabaseVersion)) --- Target database major version.