Class: Google::Apis::AlloydbV1beta::StageStatus
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::StageStatus
- 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
-
#read_pool_instances_upgrade ⇒ Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus
Read pool instances upgrade specific status.
-
#stage ⇒ String
Upgrade stage.
-
#state ⇒ String
State of this stage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StageStatus
constructor
A new instance of StageStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StageStatus
Returns a new instance of StageStatus.
3895 3896 3897 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3895 def initialize(**args) update!(**args) end |
Instance Attribute Details
#read_pool_instances_upgrade ⇒ Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus
Read pool instances upgrade specific status.
Corresponds to the JSON property readPoolInstancesUpgrade
3883 3884 3885 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3883 def read_pool_instances_upgrade @read_pool_instances_upgrade end |
#stage ⇒ String
Upgrade stage.
Corresponds to the JSON property stage
3888 3889 3890 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3888 def stage @stage end |
#state ⇒ String
State of this stage.
Corresponds to the JSON property state
3893 3894 3895 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3893 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3900 3901 3902 3903 3904 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3900 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 |