Network Services V1 API - Class Google::Cloud::NetworkServices::V1::EndpointMatcher::MetadataLabelMatcher::MetadataLabels (v0.2.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::EndpointMatcher::MetadataLabelMatcher::MetadataLabels.

Defines a name-pair value for a single label.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#label_name

def label_name() -> ::String
Returns
  • (::String) — Required. Label name presented as key in xDS Node Metadata.

#label_name=

def label_name=(value) -> ::String
Parameter
  • value (::String) — Required. Label name presented as key in xDS Node Metadata.
Returns
  • (::String) — Required. Label name presented as key in xDS Node Metadata.

#label_value

def label_value() -> ::String
Returns
  • (::String) — Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.

#label_value=

def label_value=(value) -> ::String
Parameter
  • value (::String) — Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.
Returns
  • (::String) — Required. Label value presented as value corresponding to the above key, in xDS Node Metadata.