View Source GoogleApi.Compute.V1.Model.HttpHeaderAction (google_api_compute v0.56.2)

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

Attributes

  • requestHeadersToAdd (type: list(GoogleApi.Compute.V1.Model.HttpHeaderOption.t), default: nil) - Headers to add to a matching request before forwarding the request to the backendService.
  • requestHeadersToRemove (type: list(String.t), default: nil) - A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
  • responseHeadersToAdd (type: list(GoogleApi.Compute.V1.Model.HttpHeaderOption.t), default: nil) - Headers to add the response before sending the response back to the client.
  • responseHeadersToRemove (type: list(String.t), default: nil) - A list of header names for headers that need to be removed from the response before sending the response back to the client.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.HttpHeaderAction{
  requestHeadersToAdd: [GoogleApi.Compute.V1.Model.HttpHeaderOption.t()] | nil,
  requestHeadersToRemove: [String.t()] | nil,
  responseHeadersToAdd: [GoogleApi.Compute.V1.Model.HttpHeaderOption.t()] | nil,
  responseHeadersToRemove: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.