Class: Google::Apis::ContainerV1beta1::NodePoolMaintenancePolicy

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

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.



7886
7887
7888
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7886

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

Instance Attribute Details

#exclusion_until_end_of_supportGoogle::Apis::ContainerV1beta1::ExclusionUntilEndOfSupport

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



7884
7885
7886
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7884

def exclusion_until_end_of_support
  @exclusion_until_end_of_support
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7891
7892
7893
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7891

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