Google Cloud Network Services V1 Client - Class EndpointMatcher (0.1.1)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class EndpointMatcher.

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

Generated from protobuf message google.cloud.networkservices.v1.EndpointMatcher

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metadata_label_matcher Google\Cloud\NetworkServices\V1\EndpointMatcher\MetadataLabelMatcher

The matcher is based on node metadata presented by xDS clients.

getMetadataLabelMatcher

The matcher is based on node metadata presented by xDS clients.

Returns
Type Description
Google\Cloud\NetworkServices\V1\EndpointMatcher\MetadataLabelMatcher|null

hasMetadataLabelMatcher

setMetadataLabelMatcher

The matcher is based on node metadata presented by xDS clients.

Parameter
Name Description
var Google\Cloud\NetworkServices\V1\EndpointMatcher\MetadataLabelMatcher
Returns
Type Description
$this

getMatcherType

Returns
Type Description
string