public sealed class TcpRoute.Types.RouteRule : IMessage<TcpRoute.Types.RouteRule>, IEquatable<TcpRoute.Types.RouteRule>, IDeepCloneable<TcpRoute.Types.RouteRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class TcpRoute.Types.RouteRule.
Specifies how to match traffic and how to route traffic when traffic is
matched.
public RepeatedField<TcpRoute.Types.RouteMatch> Matches { get; }
Optional. RouteMatch defines the predicate used to match requests to a
given action. Multiple match types are "OR"ed for evaluation. If no
routeMatch field is specified, this rule will unconditionally match
traffic.
[[["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\u003eThis documentation provides reference information for the \u003ccode\u003eTcpRoute.Types.RouteRule\u003c/code\u003e class within the Google Cloud Network Services v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTcpRoute.Types.RouteRule\u003c/code\u003e class specifies how to match and route traffic based on defined criteria.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRouteRule\u003c/code\u003e class contains properties such as \u003ccode\u003eAction\u003c/code\u003e, which defines the routing behavior, and \u003ccode\u003eMatches\u003c/code\u003e, which defines the criteria for matching requests.\u003c/p\u003e\n"],["\u003cp\u003eThe latest stable version of this class is 1.0.0, with a beta version also available.\u003c/p\u003e\n"]]],[],null,[]]