Reference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::EndpointMatcher::MetadataLabelMatcher::MetadataLabelMatchCriteria.
Possible criteria values that define logic of how matching is made.
Constants
METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED
value: 0 Default value. Should not be used.
MATCH_ANY
value: 1 At least one of the Labels specified in the matcher should match the
metadata presented by xDS client.
MATCH_ALL
value: 2 The metadata presented by the xDS client should contain all of the
labels specified here.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Network Services V1 API - Module Google::Cloud::NetworkServices::V1::EndpointMatcher::MetadataLabelMatcher::MetadataLabelMatchCriteria (v2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [2.3.0](/ruby/docs/reference/google-cloud-network_services-v1/2.3.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [2.2.0](/ruby/docs/reference/google-cloud-network_services-v1/2.2.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [2.1.0](/ruby/docs/reference/google-cloud-network_services-v1/2.1.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [2.0.1](/ruby/docs/reference/google-cloud-network_services-v1/2.0.1/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [1.2.0](/ruby/docs/reference/google-cloud-network_services-v1/1.2.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [1.1.0](/ruby/docs/reference/google-cloud-network_services-v1/1.1.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [1.0.1](/ruby/docs/reference/google-cloud-network_services-v1/1.0.1/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [0.2.0](/ruby/docs/reference/google-cloud-network_services-v1/0.2.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria)\n- [0.1.0](/ruby/docs/reference/google-cloud-network_services-v1/0.1.0/Google-Cloud-NetworkServices-V1-EndpointMatcher-MetadataLabelMatcher-MetadataLabelMatchCriteria) \nReference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::EndpointMatcher::MetadataLabelMatcher::MetadataLabelMatchCriteria.\n\nPossible criteria values that define logic of how matching is made.\n\nConstants\n---------\n\n### METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED\n\n**value:** 0 \nDefault value. Should not be used.\n\n### MATCH_ANY\n\n**value:** 1 \nAt least one of the Labels specified in the matcher should match the\nmetadata presented by xDS client.\n\n### MATCH_ALL\n\n**value:** 2 \nThe metadata presented by the xDS client should contain all of the\nlabels specified here."]]