Class: Google::Apis::ContainerV1::NodePoolMaintenancePolicy

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

Defines the maintenance policy for the node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodePoolMaintenancePolicy

Returns a new instance of NodePoolMaintenancePolicy.



7345
7346
7347
# File 'lib/google/apis/container_v1/classes.rb', line 7345

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exclusion_until_end_of_supportGoogle::Apis::ContainerV1::ExclusionUntilEndOfSupport

Defines the maintenance exclusion for the node pool. Corresponds to the JSON property exclusionUntilEndOfSupport



7343
7344
7345
# File 'lib/google/apis/container_v1/classes.rb', line 7343

def exclusion_until_end_of_support
  @exclusion_until_end_of_support
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7350
7351
7352
# File 'lib/google/apis/container_v1/classes.rb', line 7350

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