Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict

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 behavioral trust of the transaction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict

Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict.



741
742
743
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 741

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

Instance Attribute Details

#trust_propFloat

Probability (0-1) of this transaction attempt being executed in a behaviorally trustworthy way. Corresponds to the JSON property trust

Returns:

  • (Float)


739
740
741
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 739

def trust_prop
  @trust_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



746
747
748
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 746

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