Class GoogleCloudRecaptchaenterpriseV1FirewallAction
An individual action. Each action represents what to do if a policy matches.
Implements
Inherited Members
Namespace: Google.Apis.RecaptchaEnterprise.v1.Data
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class GoogleCloudRecaptchaenterpriseV1FirewallAction : IDirectResponseSchema
Properties
Allow
The user request did not match any policy and should be allowed access to the requested resource.
Declaration
[JsonProperty("allow")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction Allow { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction |
Block
This action will deny access to a given page. The user will get an HTTP error code.
Declaration
[JsonProperty("block")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction Block { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Redirect
This action will redirect the request to a ReCaptcha interstitial to attach a token.
Declaration
[JsonProperty("redirect")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction Redirect { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction |
SetHeader
This action will set a custom header but allow the request to continue to the customer backend.
Declaration
[JsonProperty("setHeader")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction SetHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction |
Substitute
This action will transparently serve a different page to an offending user.
Declaration
[JsonProperty("substitute")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction Substitute { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction |