Class HttpHeaderAction (1.0.0)

HttpHeaderAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request and response header transformations that take effect before the request is passed along to the selected backendService.

Attributes

NameDescription
request_headers_to_add Sequence[google.cloud.compute_v1.types.HttpHeaderOption]
Headers to add to a matching request prior to forwarding the request to the backendService.
request_headers_to_remove Sequence[str]
A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService.
response_headers_to_add Sequence[google.cloud.compute_v1.types.HttpHeaderOption]
Headers to add the response prior to sending the response back to the client.
response_headers_to_remove Sequence[str]
A list of header names for headers that need to be removed from the response prior to sending the response back to the client.