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.



3531
3532
3533
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3531

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



3529
3530
3531
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3529

def upgrade_stats
  @upgrade_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3536
3537
3538
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3536

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