Interface ComputeRegionUrlMapPathMatcherRouteRulesMatchRulesHeaderMatches

    • Method Detail

      • getHeaderName

        @Stability(Stable)
        @NotNull
        String getHeaderName()
        The name of the HTTP header to match.

        For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#header_name ComputeRegionUrlMap#header_name}

      • getExactMatch

        @Stability(Stable)
        @Nullable
        default String getExactMatch()
        The value should exactly match contents of exactMatch.

        Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#exact_match ComputeRegionUrlMap#exact_match}

      • getInvertMatch

        @Stability(Stable)
        @Nullable
        default Object getInvertMatch()
        If set to false, the headerMatch is considered a match if the match criteria above are met.

        If set to true, the headerMatch is considered a match if the match criteria above are NOT met. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#invert_match ComputeRegionUrlMap#invert_match}

      • getPrefixMatch

        @Stability(Stable)
        @Nullable
        default String getPrefixMatch()
        The value of the header must start with the contents of prefixMatch.

        Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#prefix_match ComputeRegionUrlMap#prefix_match}

      • getPresentMatch

        @Stability(Stable)
        @Nullable
        default Object getPresentMatch()
        A header with the contents of headerName must exist.

        The match takes place whether or not the request's header has a value or not. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#present_match ComputeRegionUrlMap#present_match}

      • getRegexMatch

        @Stability(Stable)
        @Nullable
        default String getRegexMatch()
        The value of the header must match the regular expression specified in regexMatch.

        For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#regex_match ComputeRegionUrlMap#regex_match}

      • getSuffixMatch

        @Stability(Stable)
        @Nullable
        default String getSuffixMatch()
        The value of the header must end with the contents of suffixMatch.

        Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#suffix_match ComputeRegionUrlMap#suffix_match}