GoogleCloudRecaptchaenterpriseV1FirewallAction class
An individual action.
Each action represents what to do if a policy matches.
Constructors
- GoogleCloudRecaptchaenterpriseV1FirewallAction({GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction? allow, GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction? block, GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction? includeRecaptchaScript, GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction? redirect, GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction? setHeader, GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction? substitute})
- GoogleCloudRecaptchaenterpriseV1FirewallAction.fromJson(Map json_)
Properties
- allow ↔ GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction?
-
The user request did not match any policy and should be allowed access to
the requested resource.
getter/setter pair
- block ↔ GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction?
-
This action will deny access to a given page.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeRecaptchaScript ↔ GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction?
-
This action will inject reCAPTCHA JavaScript code into the HTML page
returned by the site backend.
getter/setter pair
- redirect ↔ GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction?
-
This action will redirect the request to a ReCaptcha interstitial to
attach a token.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setHeader ↔ GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction?
-
This action will set a custom header but allow the request to continue to
the customer backend.
getter/setter pair
- substitute ↔ GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction?
-
This action will transparently serve a different page to an offending
user.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited