Class: Google::Apis::AlloydbV1beta::InstanceUpgradeDetails

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

Details regarding the upgrade of instances associated with a cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceUpgradeDetails

Returns a new instance of InstanceUpgradeDetails.



2306
2307
2308
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2306

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

Instance Attribute Details

#instance_typeString

Instance type. Corresponds to the JSON property instanceType

Returns:

  • (String)


2294
2295
2296
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2294

def instance_type
  @instance_type
end

#nameString

Normalized name of the instance. Corresponds to the JSON property name

Returns:

  • (String)


2299
2300
2301
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2299

def name
  @name
end

#upgrade_statusString

Upgrade status of the instance. Corresponds to the JSON property upgradeStatus

Returns:

  • (String)


2304
2305
2306
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2304

def upgrade_status
  @upgrade_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2311
2312
2313
2314
2315
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2311

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