Class: Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy
- 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
VmwareClusterUpgradePolicy defines the cluster upgrade policy.
Instance Attribute Summary collapse
-
#control_plane_only ⇒ Boolean
(also: #control_plane_only?)
Controls whether the upgrade applies to the control plane only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareClusterUpgradePolicy
constructor
A new instance of VmwareClusterUpgradePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareClusterUpgradePolicy
Returns a new instance of VmwareClusterUpgradePolicy.
4726 4727 4728 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_plane_only ⇒ Boolean Also known as: control_plane_only?
Controls whether the upgrade applies to the control plane only.
Corresponds to the JSON property controlPlaneOnly
4723 4724 4725 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4723 def control_plane_only @control_plane_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4731 4732 4733 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4731 def update!(**args) @control_plane_only = args[:control_plane_only] if args.key?(:control_plane_only) end |