Class: Google::Apis::GkeonpremV1::BareMetalNodePoolUpgradePolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb

Overview

BareMetalNodePoolUpgradePolicy defines the node pool upgrade policy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalNodePoolUpgradePolicy

Returns a new instance of BareMetalNodePoolUpgradePolicy.



1845
1846
1847
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1845

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

Instance Attribute Details

#parallel_upgrade_configGoogle::Apis::GkeonpremV1::BareMetalParallelUpgradeConfig

BareMetalParallelUpgradeConfig defines the parallel upgrade settings for worker node pools. Corresponds to the JSON property parallelUpgradeConfig



1843
1844
1845
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1843

def parallel_upgrade_config
  @parallel_upgrade_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1850
1851
1852
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1850

def update!(**args)
  @parallel_upgrade_config = args[:parallel_upgrade_config] if args.key?(:parallel_upgrade_config)
end