Class GrpcRouteRouteRule
Describes how to route traffic.
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1beta1.Data
Assembly: Google.Apis.NetworkServices.v1beta1.dll
Syntax
public class GrpcRouteRouteRule : IDirectResponseSchema
Properties
Action
Required. A detailed rule defining how to route traffic. This field is required.
Declaration
[JsonProperty("action")]
public virtual GrpcRouteRouteAction Action { get; set; }
Property Value
Type | Description |
---|---|
GrpcRouteRouteAction |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Matches
Optional. Matches define conditions used for matching the rule against incoming gRPC 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.
Declaration
[JsonProperty("matches")]
public virtual IList<GrpcRouteRouteMatch> Matches { get; set; }
Property Value
Type | Description |
---|---|
IList<GrpcRouteRouteMatch> |