Class: Google::Apis::ContainerV1beta1::TaintConfig

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

TaintConfig contains the configuration for the taints of the node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TaintConfig

Returns a new instance of TaintConfig.



10725
10726
10727
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10725

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

Instance Attribute Details

#architecture_taint_behaviorString

Optional. Controls architecture tainting behavior. Corresponds to the JSON property architectureTaintBehavior

Returns:

  • (String)


10723
10724
10725
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10723

def architecture_taint_behavior
  @architecture_taint_behavior
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10730
10731
10732
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10730

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