Class: Google::Apis::AlloydbV1beta::StageStatus

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

Status of an upgrade stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageStatus

Returns a new instance of StageStatus.



3793
3794
3795
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3793

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

Instance Attribute Details

#read_pool_instances_upgradeGoogle::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus

Read pool instances upgrade specific status. Corresponds to the JSON property readPoolInstancesUpgrade



3781
3782
3783
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3781

def read_pool_instances_upgrade
  @read_pool_instances_upgrade
end

#stageString

Upgrade stage. Corresponds to the JSON property stage

Returns:

  • (String)


3786
3787
3788
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3786

def stage
  @stage
end

#stateString

State of this stage. Corresponds to the JSON property state

Returns:

  • (String)


3791
3792
3793
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3791

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3798
3799
3800
3801
3802
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3798

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