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.



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

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)


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

def trust_prop
  @trust_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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