Class: Google::Apis::GkeonpremV1::VmwareClusterUpgradePolicy

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

VmwareClusterUpgradePolicy defines the cluster upgrade policy.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_onlyBoolean Also known as: control_plane_only?

Controls whether the upgrade applies to the control plane only. Corresponds to the JSON property controlPlaneOnly

Returns:

  • (Boolean)


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