File: //snap/google-cloud-cli/394/lib/googlecloudsdk/schemas/networkservices/v1alpha1/HeaderAction.yaml
$schema: "http://json-schema.org/draft-06/schema#"
title: networkservices v1alpha1 HeaderAction 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
requestHeadersToAdd:
description: |-
A list of headers to add to the request prior to forwarding the request to
the origin. You can add a maximum of 25 request headers.
type: array
items:
$ref: HeaderActionAddHeader.yaml
requestHeadersToRemove:
description: |-
A list of header names to remove from the request before forwarding
the request to the origin. You can specify up to 25 request headers to
remove.
type: array
items:
$ref: HeaderActionRemoveHeader.yaml
responseHeadersToAdd:
description: |-
A list of headers to add to the response before sending it back to
the client. You can add a maximum of 25 response headers. Response
headers are only sent to the client, and do not have an effect on
the cache serving the response.
type: array
items:
$ref: HeaderActionAddHeader.yaml
responseHeadersToRemove:
description: |-
A list of headers to remove from the response before sending
it back to the client. Response headers are only sent to the
client, and do not have an effect on the cache serving the
response. You can specify up to 25 response headers to remove.
type: array
items:
$ref: HeaderActionRemoveHeader.yaml