class Google::Apis::ContainerV1beta1::NodeLabels
Collection of node-level [Kubernetes labels](kubernetes.io/docs/ concepts/overview/working-with-objects/labels).
Attributes
labels[RW]
Map of node label keys and node label values. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 3269 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1beta1/classes.rb, line 3274 def update!(**args) @labels = args[:labels] if args.key?(:labels) end