GrpcRouteRouteRuleArgs

data class GrpcRouteRouteRuleArgs(val action: Output<GrpcRouteRouteActionArgs>, val matches: Output<List<GrpcRouteRouteMatchArgs>>? = null) : ConvertibleToJava<GrpcRouteRouteRuleArgs>

Describes how to route traffic.

Constructors

Link copied to clipboard
constructor(action: Output<GrpcRouteRouteActionArgs>, matches: Output<List<GrpcRouteRouteMatchArgs>>? = null)

Properties

Link copied to clipboard

A detailed rule defining how to route traffic. This field is required.

Link copied to clipboard
val matches: Output<List<GrpcRouteRouteMatchArgs>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): GrpcRouteRouteRuleArgs