class Google::Apis::NetworkservicesV1beta1::EndpointMatcher

A definition of a matcher that selects endpoints to which the policies should be applied.

Attributes

metadata_label_matcher[RW]

The matcher that is based on node metadata presented by xDS clients. Corresponds to the JSON property `metadataLabelMatcher` @return [Google::Apis::NetworkservicesV1beta1::MetadataLabelMatcher]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkservices_v1beta1/classes.rb, line 207
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkservices_v1beta1/classes.rb, line 212
def update!(**args)
  @metadata_label_matcher = args[:metadata_label_matcher] if args.key?(:metadata_label_matcher)
end