Class: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb

Overview

Read pool instances upgrade specific status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReadPoolInstancesUpgradeStageStatus

Returns a new instance of ReadPoolInstancesUpgradeStageStatus.



3554
3555
3556
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3554

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#upgrade_statsGoogle::Apis::AlloydbV1alpha::Stats

Upgrade stats for read pool instances. Corresponds to the JSON property upgradeStats



3552
3553
3554
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3552

def upgrade_stats
  @upgrade_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3559
3560
3561
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3559

def update!(**args)
  @upgrade_stats = args[:upgrade_stats] if args.key?(:upgrade_stats)
end