Class: Google::Apis::ContainerV1::TaintConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::TaintConfig
- 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
TaintConfig contains the configuration for the taints of the node pool.
Instance Attribute Summary collapse
-
#architecture_taint_behavior ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TaintConfig
constructor
A new instance of TaintConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TaintConfig
Returns a new instance of TaintConfig.
9989 9990 9991 |
# File 'lib/google/apis/container_v1/classes.rb', line 9989 def initialize(**args) update!(**args) end |
Instance Attribute Details
#architecture_taint_behavior ⇒ String
Optional. Controls architecture tainting behavior.
Corresponds to the JSON property architectureTaintBehavior
9987 9988 9989 |
# File 'lib/google/apis/container_v1/classes.rb', line 9987 def architecture_taint_behavior @architecture_taint_behavior end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9994 9995 9996 |
# File 'lib/google/apis/container_v1/classes.rb', line 9994 def update!(**args) @architecture_taint_behavior = args[:architecture_taint_behavior] if args.key?(:architecture_taint_behavior) end |