public sealed class EndpointMatcher : IMessage<EndpointMatcher>, IEquatable<EndpointMatcher>, IDeepCloneable<EndpointMatcher>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class EndpointMatcher.
A definition of a matcher that selects endpoints to which the policies
should be applied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEndpointMatcher\u003c/code\u003e class in the Google.Cloud.NetworkServices.V1 namespace defines a matcher used to select endpoints for policy application.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and object manipulation within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eIt is derived from the \u003ccode\u003eobject\u003c/code\u003e class and inherits standard methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and another for creating a new instance from an existing \u003ccode\u003eEndpointMatcher\u003c/code\u003e object, allowing cloning.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEndpointMatcher\u003c/code\u003e uses \u003ccode\u003eMatcherTypeCase\u003c/code\u003e to identify which type of matching will be used, and \u003ccode\u003eMetadataLabelMatcher\u003c/code\u003e property to define the matching criteria based on metadata.\u003c/p\u003e\n"]]],[],null,[]]