Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
- 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
Assessment for Fraud Prevention.
Instance Attribute Summary collapse
-
#card_testing_verdict ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
Information about card testing fraud, where an adversary is testing fraudulently obtained cards or brute forcing their details.
-
#stolen_instrument_verdict ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.
-
#transaction_risk ⇒ Float
Probability (0-1) of this transaction being fraudulent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.
679 680 681 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#card_testing_verdict ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
Information about card testing fraud, where an adversary is testing
fraudulently obtained cards or brute forcing their details.
Corresponds to the JSON property cardTestingVerdict
665 666 667 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 665 def card_testing_verdict @card_testing_verdict end |
#stolen_instrument_verdict ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
Information about stolen instrument fraud, where the user is not the
legitimate owner of the instrument being used for the purchase.
Corresponds to the JSON property stolenInstrumentVerdict
671 672 673 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 671 def stolen_instrument_verdict @stolen_instrument_verdict end |
#transaction_risk ⇒ Float
Probability (0-1) of this transaction being fraudulent. Summarizes the
combined risk of attack vectors below.
Corresponds to the JSON property transactionRisk
677 678 679 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 677 def transaction_risk @transaction_risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
684 685 686 687 688 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 684 def update!(**args) @card_testing_verdict = args[:card_testing_verdict] if args.key?(:card_testing_verdict) @stolen_instrument_verdict = args[:stolen_instrument_verdict] if args.key?(:stolen_instrument_verdict) @transaction_risk = args[:transaction_risk] if args.key?(:transaction_risk) end |