HttpQueryParameterMatchResponse

data class HttpQueryParameterMatchResponse(val exactMatch: String, val name: String, val presentMatch: Boolean, val regexMatch: String)

HttpRouteRuleMatch criteria for a request's query parameter.

Constructors

Link copied to clipboard
fun HttpQueryParameterMatchResponse(exactMatch: String, name: String, presentMatch: Boolean, regexMatch: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.

Link copied to clipboard

The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.

Link copied to clipboard

Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.

Link copied to clipboard

The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.