Class: Google::Apis::ContainerV1::GkeAutoUpgradeConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/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.



3570
3571
3572
# File 'lib/google/apis/container_v1/classes.rb', line 3570

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)


3568
3569
3570
# File 'lib/google/apis/container_v1/classes.rb', line 3568

def patch_mode
  @patch_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3575
3576
3577
# File 'lib/google/apis/container_v1/classes.rb', line 3575

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