Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::Policy.
A complete configuration set containing multiple grouped rules defining the behavior of reCAPTCHA for fraud detection and prevention.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#challenge_rule_groups
def challenge_rule_groups() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRuleGroup>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::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.
#challenge_rule_groups=
def challenge_rule_groups=(value) -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeRuleGroup>
Parameter
- value (::Array<::Google::Cloud::RecaptchaEnterprise::V1::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.
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1::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.
#client_settings
def client_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::ClientSettings
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1::ClientSettings) — Required. Configuration for clients protected by this policy.
#client_settings=
def client_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::ClientSettings
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1::ClientSettings) — Required. Configuration for clients protected by this policy.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1::ClientSettings) — Required. Configuration for clients protected by this policy.
#name
def name() -> ::String
Returns
- (::String) — Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.
Returns
- (::String) — Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.