Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignals
- 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
Fraud signals describing users and cards involved in the transaction.
Instance Attribute Summary collapse
-
#card_signals ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
Signals describing the payment card used in this transaction.
-
#user_signals ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
Signals describing the user involved in this transaction.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudSignals
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1FraudSignals.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1FraudSignals
Returns a new instance of GoogleCloudRecaptchaenterpriseV1FraudSignals.
947 948 949 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 947 def initialize(**args) update!(**args) end |
Instance Attribute Details
#card_signals ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals
Signals describing the payment card used in this transaction.
Corresponds to the JSON property cardSignals
940 941 942 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 940 def card_signals @card_signals end |
#user_signals ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FraudSignalsUserSignals
Signals describing the user involved in this transaction.
Corresponds to the JSON property userSignals
945 946 947 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 945 def user_signals @user_signals end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
952 953 954 955 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 952 def update!(**args) @card_signals = args[:card_signals] if args.key?(:card_signals) @user_signals = args[:user_signals] if args.key?(:user_signals) end |