Class: Google::Apis::AlloydbV1::InstanceUpgradeDetails

Inherits:
Object
  • Object
show all
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 instaces associated with a cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceUpgradeDetails

Returns a new instance of InstanceUpgradeDetails.



1369
1370
1371
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1369

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

Instance Attribute Details

#instance_typeString

Instance type. Corresponds to the JSON property instanceType

Returns:

  • (String)


1357
1358
1359
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1357

def instance_type
  @instance_type
end

#nameString

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

Returns:

  • (String)


1362
1363
1364
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1362

def name
  @name
end

#upgrade_statusString

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

Returns:

  • (String)


1367
1368
1369
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1367

def upgrade_status
  @upgrade_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1374
1375
1376
1377
1378
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1374

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