Class: Google::Apis::AlloydbV1::InstanceUpgradeDetails
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::InstanceUpgradeDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
Details regarding the upgrade of instances 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.
2043 2044 2045 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2043 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_type ⇒ String
Instance type.
Corresponds to the JSON property instanceType
2031 2032 2033 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2031 def instance_type @instance_type end |
#name ⇒ String
Normalized name of the instance.
Corresponds to the JSON property name
2036 2037 2038 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2036 def name @name end |
#upgrade_status ⇒ String
Upgrade status of the instance.
Corresponds to the JSON property upgradeStatus
2041 2042 2043 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2041 def upgrade_status @upgrade_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2048 2049 2050 2051 2052 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2048 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 |