Google Cloud Recaptcha Enterprise V1 Client - Class PolicyEvaluation (2.5.3)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class PolicyEvaluation.

Information about the policy evaluation.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.PolicyEvaluation

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ challenge_rule_evaluation ChallengeRuleEvaluation

Output only. Populated if one or more Challenge rules were matched. Its presence in the assessment indicates that at least one challenge rule was matched and determined whether a challenge was presented to the user.

getChallengeRuleEvaluation

Output only. Populated if one or more Challenge rules were matched.

Its presence in the assessment indicates that at least one challenge rule was matched and determined whether a challenge was presented to the user.

Returns
Type Description
ChallengeRuleEvaluation|null

hasChallengeRuleEvaluation

clearChallengeRuleEvaluation

setChallengeRuleEvaluation

Output only. Populated if one or more Challenge rules were matched.

Its presence in the assessment indicates that at least one challenge rule was matched and determined whether a challenge was presented to the user.

Parameter
Name Description
var ChallengeRuleEvaluation
Returns
Type Description
$this