GrpcRouteRouteMatchArgs

data class GrpcRouteRouteMatchArgs(val headers: Output<List<GrpcRouteHeaderMatchArgs>>? = null, val method: Output<GrpcRouteMethodMatchArgs>? = null) : ConvertibleToJava<GrpcRouteRouteMatchArgs>

Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match.

Constructors

Link copied to clipboard
fun GrpcRouteRouteMatchArgs(headers: Output<List<GrpcRouteHeaderMatchArgs>>? = null, method: Output<GrpcRouteMethodMatchArgs>? = null)

Functions

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

Properties

Link copied to clipboard
val headers: Output<List<GrpcRouteHeaderMatchArgs>>? = null

Optional. Specifies a collection of headers to match.

Link copied to clipboard
val method: Output<GrpcRouteMethodMatchArgs>? = null

Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.