Class Policy (1.33.0)

Policy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A complete configuration set containing multiple grouped rules defining the behavior of reCAPTCHA for fraud detection and prevention.

Attributes

Name Description
name str
Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.
client_settings google.cloud.recaptchaenterprise_v1.types.ClientSettings
Required. Configuration for clients protected by this policy.
challenge_rule_groups MutableSequence[google.cloud.recaptchaenterprise_v1.types.ChallengeRuleGroup]
Optional. Rules to configure the behavior of reCAPTCHA for showing a challenge. Rule groups are evaluated in order. Evaluation stops when the first matching rule group is found.