Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
- 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 behavioral trust of the transaction.
Instance Attribute Summary collapse
-
#trust_prop ⇒ Float
Probability (0-1) of this transaction attempt being executed in a behaviorally trustworthy way.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict.
707 708 709 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 707 def initialize(**args) update!(**args) end |
Instance Attribute Details
#trust_prop ⇒ Float
Probability (0-1) of this transaction attempt being executed in a behaviorally
trustworthy way.
Corresponds to the JSON property trust
705 706 707 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 705 def trust_prop @trust_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
712 713 714 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 712 def update!(**args) @trust_prop = args[:trust_prop] if args.key?(:trust_prop) end |