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.
5022 5023 5024 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5022 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
5019 5020 5021 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5019 def control_plane_only @control_plane_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5027 5028 5029 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5027 def update!(**args) @control_plane_only = args[:control_plane_only] if args.key?(:control_plane_only) end |