Class: Google::Apis::ContainerV1beta1::GkeAutoUpgradeConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_modeString

PatchMode specifies how auto upgrade patch builds should be selected. Corresponds to the JSON property patchMode

Returns:

  • (String)


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