Class: Google::Apis::AlloydbV1alpha::InstanceUpgradeDetails
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::InstanceUpgradeDetails
- 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
Details regarding the upgrade of instaces associated with a cluster.
Instance Attribute Summary collapse
-
#instance_type ⇒ String
Instance type.
-
#name ⇒ String
Normalized name of the instance.
-
#upgrade_status ⇒ String
Upgrade status of the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceUpgradeDetails
constructor
A new instance of InstanceUpgradeDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceUpgradeDetails
Returns a new instance of InstanceUpgradeDetails.
1617 1618 1619 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1617 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_type ⇒ String
Instance type.
Corresponds to the JSON property instanceType
1605 1606 1607 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1605 def instance_type @instance_type end |
#name ⇒ String
Normalized name of the instance.
Corresponds to the JSON property name
1610 1611 1612 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1610 def name @name end |
#upgrade_status ⇒ String
Upgrade status of the instance.
Corresponds to the JSON property upgradeStatus
1615 1616 1617 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1615 def upgrade_status @upgrade_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1622 1623 1624 1625 1626 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 1622 def update!(**args) @instance_type = args[:instance_type] if args.key?(:instance_type) @name = args[:name] if args.key?(:name) @upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status) end |