Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NodeLabels.
Collection of node-level Kubernetes labels.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Map of node label keys and node label values.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Map of node label keys and node label values.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Map of node label keys and node label values.