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

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

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

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

Inheritance

object > Policy

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

Policy()

public Policy()

Policy(Policy)

public Policy(Policy other)
Parameter
Name Description
other Policy

Properties

ChallengeRuleGroups

public RepeatedField<ChallengeRuleGroup> ChallengeRuleGroups { get; }

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.

Property Value
Type Description
RepeatedFieldChallengeRuleGroup

ClientSettings

public ClientSettings ClientSettings { get; set; }

Required. Configuration for clients protected by this policy.

Property Value
Type Description
ClientSettings

Name

public string Name { get; set; }

Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.

Property Value
Type Description
string

PolicyName

public PolicyName PolicyName { get; set; }

PolicyName-typed view over the Name resource name property.

Property Value
Type Description
PolicyName