Class: Google::Apis::ContainerV1beta1::GkeAutoUpgradeConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::GkeAutoUpgradeConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
Instance Attribute Summary collapse
-
#patch_mode ⇒ String
PatchMode specifies how auto upgrade patch builds should be selected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeAutoUpgradeConfig
constructor
A new instance of GkeAutoUpgradeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeAutoUpgradeConfig
Returns a new instance of GkeAutoUpgradeConfig.
4188 4189 4190 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4188 def initialize(**args) update!(**args) end |
Instance Attribute Details
#patch_mode ⇒ String
PatchMode specifies how auto upgrade patch builds should be selected.
Corresponds to the JSON property patchMode
4186 4187 4188 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4186 def patch_mode @patch_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4193 4194 4195 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4193 def update!(**args) @patch_mode = args[:patch_mode] if args.key?(:patch_mode) end |