Class HttpHeaderAction (1.12.1)

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 MutableSequence[google.cloud.compute_v1.types.HttpHeaderOption]
Headers to add to a matching request before forwarding the request to the backendService.
request_headers_to_remove MutableSequence[str]
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
response_headers_to_add MutableSequence[google.cloud.compute_v1.types.HttpHeaderOption]
Headers to add the response before sending the response back to the client.
response_headers_to_remove MutableSequence[str]
A list of header names for headers that need to be removed from the response before sending the response back to the client.