Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HttpQueryParameterMatch

import type { HttpQueryParameterMatch } from "https://googleapis.deno.dev/v1/compute:v1.ts";

HttpRouteRuleMatch criteria for a request's query parameter.

interface HttpQueryParameterMatch {
exactMatch?: string;
name?: string;
presentMatch?: boolean;
regexMatch?: string;
}

§Properties

§
exactMatch?: string
[src]

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

§
name?: string
[src]

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.

§
presentMatch?: boolean
[src]

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, orregexMatch must be set.

§
regexMatch?: string
[src]

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