Class HttpRouteRouteRule
Specifies how to match traffic and how to route traffic when traffic is matched.
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1.Data
Assembly: Google.Apis.NetworkServices.v1.dll
Syntax
public class HttpRouteRouteRule : IDirectResponseSchema
Properties
Action
The detailed rule defining how to route matched traffic.
Declaration
[JsonProperty("action")]
public virtual HttpRouteRouteAction Action { get; set; }
Property Value
Type | Description |
---|---|
HttpRouteRouteAction |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Matches
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
Declaration
[JsonProperty("matches")]
public virtual IList<HttpRouteRouteMatch> Matches { get; set; }
Property Value
Type | Description |
---|---|
IList<HttpRouteRouteMatch> |