public sealed class ChallengeRuleGroup : IMessage<ChallengeRuleGroup>, IEquatable<ChallengeRuleGroup>, IDeepCloneable<ChallengeRuleGroup>, IBufferMessage, IMessageReference 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.
Implements
IMessageChallengeRuleGroup, IEquatableChallengeRuleGroup, IDeepCloneableChallengeRuleGroup, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
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 |
|