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

An individual action. Each action represents what to do if a policy matches.

Attributes

  • allow (type: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction.t, default: nil) - The user request did not match any policy and should be allowed access to the requested resource.
  • block (type: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction.t, default: nil) - This action will deny access to a given page. The user will get an HTTP error code.
  • includeRecaptchaScript (type: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction.t, default: nil) - This action will inject reCAPTCHA JavaScript code into the HTML page returned by the site backend.
  • redirect (type: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction.t, default: nil) - This action will redirect the request to a ReCaptcha interstitial to attach a token.
  • setHeader (type: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction.t, default: nil) - This action will set a custom header but allow the request to continue to the customer backend.
  • substitute (type: GoogleApi.RecaptchaEnterprise.V1.Model.GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction.t, default: nil) - This action will transparently serve a different page to an offending user.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.