Reference documentation and code samples for the Google Cloud Network Services V1 Client class MetadataLabelMatchCriteria.
Possible criteria values that define logic of how matching is made.
Protobuf type google.cloud.networkservices.v1.EndpointMatcher.MetadataLabelMatcher.MetadataLabelMatchCriteria
Namespace
Google \ Cloud \ NetworkServices \ V1 \ EndpointMatcher \ MetadataLabelMatcherMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED
Value: 0
Default value. Should not be used.
Generated from protobuf enum METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED = 0;
MATCH_ANY
Value: 1
At least one of the Labels specified in the matcher should match the metadata presented by xDS client.
Generated from protobuf enum MATCH_ANY = 1;
MATCH_ALL
Value: 2
The metadata presented by the xDS client should contain all of the labels specified here.
Generated from protobuf enum MATCH_ALL = 2;