Show / Hide Table of Contents

Class GoogleCloudRecaptchaenterpriseV1ChallengeRule

A rule to configure the behavior of reCAPTCHA for conditionally presenting a challenge.

Inheritance
object
GoogleCloudRecaptchaenterpriseV1ChallengeRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.RecaptchaEnterprise.v1.Data
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class GoogleCloudRecaptchaenterpriseV1ChallengeRule : IDirectResponseSchema

Properties

Challenge

Present a challenge to the user.

Declaration
[JsonProperty("challenge")]
public virtual GoogleCloudRecaptchaenterpriseV1ChallengeRuleChallengeOutcome Challenge { get; set; }
Property Value
Type Description
GoogleCloudRecaptchaenterpriseV1ChallengeRuleChallengeOutcome

Condition

Optional. A CEL condition that must be met for this rule to apply. The following fields can be referenced in the condition: * score * user_ip_address * user_asn * user_agent * verified_bots.name * verified_bots.bot_type Examples: * score < 0.5 * user_ip_address == "123.45.67.89" * user_agent.contains("Chrome") * score < 0.5 && user_ip_address == "123.45.67.89"

Declaration
[JsonProperty("condition")]
public virtual string Condition { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

NoChallenge

Do not present a challenge to the user.

Declaration
[JsonProperty("noChallenge")]
public virtual GoogleCloudRecaptchaenterpriseV1ChallengeRuleNoChallengeOutcome NoChallenge { get; set; }
Property Value
Type Description
GoogleCloudRecaptchaenterpriseV1ChallengeRuleNoChallengeOutcome

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX