HttpRouteRouteMatchArgs

data class HttpRouteRouteMatchArgs(val fullPathMatch: Output<String>? = null, val headers: Output<List<HttpRouteHeaderMatchArgs>>? = null, val ignoreCase: Output<Boolean>? = null, val prefixMatch: Output<String>? = null, val queryParameters: Output<List<HttpRouteQueryParameterMatchArgs>>? = null, val regexMatch: Output<String>? = null) : ConvertibleToJava<HttpRouteRouteMatchArgs>

RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.

Constructors

Link copied to clipboard
constructor(fullPathMatch: Output<String>? = null, headers: Output<List<HttpRouteHeaderMatchArgs>>? = null, ignoreCase: Output<Boolean>? = null, prefixMatch: Output<String>? = null, queryParameters: Output<List<HttpRouteQueryParameterMatchArgs>>? = null, regexMatch: Output<String>? = null)

Properties

Link copied to clipboard
val fullPathMatch: Output<String>? = null

The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.

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

Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

Link copied to clipboard
val ignoreCase: Output<Boolean>? = null

Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

Link copied to clipboard
val prefixMatch: Output<String>? = null

The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.

Link copied to clipboard

Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

Link copied to clipboard
val regexMatch: Output<String>? = null

The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.

Functions

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