HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/googlecloudsdk/schemas/compute/beta/HttpHeaderMatch.yaml
$schema: "http://json-schema.org/draft-06/schema#"

title: compute beta HttpHeaderMatch export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  exactMatch:
    description: |-
      The value should exactly match contents of exactMatch. Only one of
      exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or
      rangeMatch must be set.
    type: string
  headerName:
    description: |-
      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". When the
      URL map is bound to a target gRPC proxy that has the validateForProxyless
      field set to true, only non-binary user-specified custom metadata and the
      `content-type` header are supported. The following transport-level headers
      cannot be used in header matching
    type: string
  invertMatch:
    description: |-
      If set to false, the headerMatch is considered a match if the preceding
      match criteria are met. If set to true, the headerMatch is considered a
      match if the preceding match criteria are NOT met. The default setting is
      false.
    type: boolean
  prefixMatch:
    description: |-
      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.
    type: string
  presentMatch:
    description: |-
      A header with the contents of headerName must exist. The match takes place
      whether or not the request's header has a value. Only one of exactMatch,
      prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be
      set.
    type: boolean
  rangeMatch:
    description: |-
      The header value must be an integer and its value must be in the range
      specified in rangeMatch. If the header does not contain an integer, number
      or is empty, the match fails. For example for a range [-5, 0] - -3 will
      match. - 0 will not match. - 0.25 will not match. - -3someString will not
      match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch,
      presentMatch or rangeMatch must be set. rangeMatch is not supported for
      load balancers that have loadBalancingScheme set to EXTERNAL.
    $ref: Int64RangeMatch.yaml
  regexMatch:
    description: |-
      The value of the header must match the regular expression specified in
      regexMatch. For more information about regular expression syntax, see
      Syntax. 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. Regular expressions can only be used when the
      loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    type: string
  suffixMatch:
    description: |-
      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.
    type: string