$schema: "http://json-schema.org/draft-06/schema#"

title: networkservices v1alpha1 HttpFilter export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- config
- configTypeUrl
- filterName
- name
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
  config:
    description: |-
      The configuration needed to enable the HTTP filter. The configuration must
      be JSON formatted and only contain fields defined in the protobuf
      identified in config_type_url.
    type: string
  configTypeUrl:
    description: |-
      The fully qualified versioned proto3 type url that the filter expects for
      its configuration. For example:
      'type.googleapis.com/envoy.config.wasm.v2.WasmService'.
    type: string
  filterName:
    description: |-
      Name of the HTTP filter defined in the `config` field. It is used by the
      xDS API client to identify specific filter implementation the `config`
      must be applied to.  It is different from the name of the HttpFilter
      resource and does not have to be unique.
    type: string
  labels:
    description: Set of label tags associated with the HttpFilter resource.
    $ref: LabelsValue.yaml
  name:
    description: |-
      Name of the HttpFilter resource. It matches pattern
      `projects/*/locations/global/httpFilters/<http_filter_name>`.
    type: string
