Class: Google::Apis::ContainerV1::NodeTaints

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

Collection of Kubernetes node taints.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeTaints

Returns a new instance of NodeTaints.



4146
4147
4148
# File 'lib/google/apis/container_v1/classes.rb', line 4146

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

Instance Attribute Details

#taintsArray<Google::Apis::ContainerV1::NodeTaint>

List of node taints. Corresponds to the JSON property taints



4144
4145
4146
# File 'lib/google/apis/container_v1/classes.rb', line 4144

def taints
  @taints
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4151
4152
4153
# File 'lib/google/apis/container_v1/classes.rb', line 4151

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