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.



4202
4203
4204
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4202

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)


4200
4201
4202
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4200

def patch_mode
  @patch_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4207
4208
4209
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4207

def update!(**args)
  @patch_mode = args[:patch_mode] if args.key?(:patch_mode)
end