Class: Google::Apis::AlloydbV1alpha::StageStatus

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

Status of an upgrade stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageStatus

Returns a new instance of StageStatus.



3821
3822
3823
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3821

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

Instance Attribute Details

#read_pool_instances_upgradeGoogle::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus

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



3809
3810
3811
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3809

def read_pool_instances_upgrade
  @read_pool_instances_upgrade
end

#stageString

Upgrade stage. Corresponds to the JSON property stage

Returns:

  • (String)


3814
3815
3816
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3814

def stage
  @stage
end

#stateString

State of this stage. Corresponds to the JSON property state

Returns:

  • (String)


3819
3820
3821
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3819

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3826
3827
3828
3829
3830
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3826

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