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
Output only.
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.
881 882 883 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#trust_prop ⇒ Float
Output only. Probability of this transaction attempt being executed in a
behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0 (highest).
Corresponds to the JSON property trust
879 880 881 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 879 def trust_prop @trust_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
886 887 888 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 886 def update!(**args) @trust_prop = args[:trust_prop] if args.key?(:trust_prop) end |