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 denies access to a given page. The user gets 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 |
IncludeRecaptchaScript
This action injects reCAPTCHA JavaScript code into the HTML page returned by the site backend.
Declaration
[JsonProperty("includeRecaptchaScript")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction IncludeRecaptchaScript { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction |
Redirect
This action redirects 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 sets 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 transparently serves a different page to an offending user.
Declaration
[JsonProperty("substitute")]
public virtual GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction Substitute { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction |