Class: Google::Apis::ContainerV1::NodeTaints
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::NodeTaints
- 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
Collection of Kubernetes node taints.
Instance Attribute Summary collapse
-
#taints ⇒ Array<Google::Apis::ContainerV1::NodeTaint>
List of node taints.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeTaints
constructor
A new instance of NodeTaints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeTaints
Returns a new instance of NodeTaints.
4702 4703 4704 |
# File 'lib/google/apis/container_v1/classes.rb', line 4702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#taints ⇒ Array<Google::Apis::ContainerV1::NodeTaint>
List of node taints.
Corresponds to the JSON property taints
4700 4701 4702 |
# File 'lib/google/apis/container_v1/classes.rb', line 4700 def taints @taints end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4707 4708 4709 |
# File 'lib/google/apis/container_v1/classes.rb', line 4707 def update!(**args) @taints = args[:taints] if args.key?(:taints) end |