View Source GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction (google_api_recaptcha_enterprise v0.7.0)

A set header action sets a header and forwards the request to the backend. This can be used to trigger custom protection implemented on the backend.

Attributes

  • key (type: String.t, default: nil) - Optional. The header key to set in the request to the backend server.
  • value (type: String.t, default: nil) - Optional. The header value to set in the request to the backend server.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction{
    key: String.t() | nil,
    value: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.