# AlloyDB V1BETA API - Class Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::ClusterUpgradeDetails (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 class Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::ClusterUpgradeDetails.

Upgrade details of a cluster. This cluster can be primary or secondary.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cluster_type

    def cluster_type() -> ::Google::Cloud::AlloyDB::V1beta::Cluster::ClusterType

**Returns**

- ([::Google::Cloud::AlloyDB::V1beta::Cluster::ClusterType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-Cluster-ClusterType)) --- Cluster type which can either be primary or secondary.

### #cluster_type=

    def cluster_type=(value) -> ::Google::Cloud::AlloyDB::V1beta::Cluster::ClusterType

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1beta::Cluster::ClusterType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-Cluster-ClusterType)) --- Cluster type which can either be primary or secondary.
**Returns**

- ([::Google::Cloud::AlloyDB::V1beta::Cluster::ClusterType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-Cluster-ClusterType)) --- Cluster type which can either be primary or secondary.

### #database_version

    def database_version() -> ::Google::Cloud::AlloyDB::V1beta::DatabaseVersion

**Returns**

- ([::Google::Cloud::AlloyDB::V1beta::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-DatabaseVersion)) --- Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

### #database_version=

    def database_version=(value) -> ::Google::Cloud::AlloyDB::V1beta::DatabaseVersion

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1beta::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-DatabaseVersion)) --- Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.
**Returns**

- ([::Google::Cloud::AlloyDB::V1beta::DatabaseVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-DatabaseVersion)) --- Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

### #instance_upgrade_details

    def instance_upgrade_details() -> ::Array<::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::InstanceUpgradeDetails>

**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::InstanceUpgradeDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-InstanceUpgradeDetails)\>) --- Upgrade details of the instances directly associated with this cluster.

### #instance_upgrade_details=

    def instance_upgrade_details=(value) -> ::Array<::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::InstanceUpgradeDetails>

**Parameter**

- **value** (::Array\<[::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::InstanceUpgradeDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-InstanceUpgradeDetails)\>) --- Upgrade details of the instances directly associated with this cluster.
**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::InstanceUpgradeDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-InstanceUpgradeDetails)\>) --- Upgrade details of the instances directly associated with this cluster.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Normalized name of the cluster

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Normalized name of the cluster
**Returns**

- (::String) --- Normalized name of the cluster

### #stage_info

    def stage_info() -> ::Array<::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::StageInfo>

**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::StageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-StageInfo)\>) --- Array containing stage info associated with this cluster.

### #stage_info=

    def stage_info=(value) -> ::Array<::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::StageInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::StageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-StageInfo)\>) --- Array containing stage info associated with this cluster.
**Returns**

- (::Array\<[::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::StageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-StageInfo)\>) --- Array containing stage info associated with this cluster.

### #upgrade_status

    def upgrade_status() -> ::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status

**Returns**

- ([::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-Status)) --- Upgrade status of the cluster.

### #upgrade_status=

    def upgrade_status=(value) -> ::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status

**Parameter**

- **value** ([::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-Status)) --- Upgrade status of the cluster.
**Returns**

- ([::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1beta/latest/Google-Cloud-AlloyDB-V1beta-UpgradeClusterResponse-Status)) --- Upgrade status of the cluster.