Class: Google::Apis::GkeonpremV1::BareMetalNodePoolUpgradePolicy
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalNodePoolUpgradePolicy
- 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
-
#parallel_upgrade_config ⇒ Google::Apis::GkeonpremV1::BareMetalParallelUpgradeConfig
BareMetalParallelUpgradeConfig defines the parallel upgrade settings for worker node pools.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalNodePoolUpgradePolicy
constructor
A new instance of BareMetalNodePoolUpgradePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_config ⇒ Google::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 |