Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PolicyEvaluation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb

Overview

Information about the policy evaluation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1PolicyEvaluation

Returns a new instance of GoogleCloudRecaptchaenterpriseV1PolicyEvaluation.



1755
1756
1757
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1755

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#challenge_rule_evaluationGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeRuleEvaluation

Information about the evaluation of a ChallengeRule. Corresponds to the JSON property challengeRuleEvaluation



1753
1754
1755
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1753

def challenge_rule_evaluation
  @challenge_rule_evaluation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1760
1761
1762
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1760

def update!(**args)
  @challenge_rule_evaluation = args[:challenge_rule_evaluation] if args.key?(:challenge_rule_evaluation)
end