Google Cloud reCAPTCHA Enterprise v1 API - Class ChallengeRuleGroup (2.21.0)

public sealed class ChallengeRuleGroup : IMessage<ChallengeRuleGroup>, IEquatable<ChallengeRuleGroup>, IDeepCloneable<ChallengeRuleGroup>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class ChallengeRuleGroup.

A collection of challenge rules that applies to one or more actions.

Inheritance

object > ChallengeRuleGroup

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

ChallengeRuleGroup()

public ChallengeRuleGroup()

ChallengeRuleGroup(ChallengeRuleGroup)

public ChallengeRuleGroup(ChallengeRuleGroup other)
Parameter
Name Description
other ChallengeRuleGroup

Properties

Actions

public RepeatedField<string> Actions { get; }

Required. Action name provided at token generation. The action name is not case-sensitive and can only contain alphanumeric characters, slashes, and underscores. If "*" is provided, the rule group applies to all actions. If multiple actions are provided, the rule group is applied to all of them. This field is required.

Property Value
Type Description
RepeatedFieldstring

ChallengeRules

public RepeatedField<ChallengeRule> ChallengeRules { get; }

Required. A list of rules that configure when and how reCAPTCHA presents a challenge. reCAPTCHA evaluates these rules in order and applies the first one that matches.

Property Value
Type Description
RepeatedFieldChallengeRule