Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
- 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
-
#risk ⇒ Float
Probability (0-1) of this transaction attempt being part of a card testing attack.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict.
761 762 763 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#risk ⇒ Float
Probability (0-1) of this transaction attempt being part of a card testing
attack.
Corresponds to the JSON property risk
759 760 761 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 759 def risk @risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
766 767 768 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 766 def update!(**args) @risk = args[:risk] if args.key?(:risk) end |