Class: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/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.



3418
3419
3420
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3418

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

Instance Attribute Details

#upgrade_statsGoogle::Apis::AlloydbV1beta::Stats

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



3416
3417
3418
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3416

def upgrade_stats
  @upgrade_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3423
3424
3425
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3423

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