Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
- 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 stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.
Instance Attribute Summary collapse
-
#risk ⇒ Float
Probability (0-1) of this transaction being executed with a stolen instrument.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict.
781 782 783 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 781 def initialize(**args) update!(**args) end |
Instance Attribute Details
#risk ⇒ Float
Probability (0-1) of this transaction being executed with a stolen instrument.
Corresponds to the JSON property risk
779 780 781 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 779 def risk @risk end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
786 787 788 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 786 def update!(**args) @risk = args[:risk] if args.key?(:risk) end |