Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict

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 card testing fraud, where an adversary is testing fraudulently obtained cards or brute forcing their details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict

Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict.



902
903
904
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 902

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

Instance Attribute Details

#riskFloat

Output only. Probability of this transaction attempt being part of a card testing attack. Values are from 0.0 (lowest) to 1.0 (highest). Corresponds to the JSON property risk

Returns:

  • (Float)


900
901
902
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 900

def risk
  @risk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



907
908
909
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 907

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