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) — 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) — Cluster type which can either be primary or secondary.
Returns
- (::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) — 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) — 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) — 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>) — 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>) — Upgrade details of the instances directly associated with this cluster.
Returns
- (::Array<::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>) — 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>) — Array containing stage info associated with this cluster.
Returns
- (::Array<::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) — 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) — Upgrade status of the cluster.
Returns
- (::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status) — Upgrade status of the cluster.