Class: Google::Cloud::RecaptchaEnterprise::V1::FraudSignals

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb

Overview

Fraud signals describing users and cards involved in the transaction.

Defined Under Namespace

Classes: CardSignals, UserSignals

Instance Attribute Summary collapse

Instance Attribute Details

#card_signals::Google::Cloud::RecaptchaEnterprise::V1::FraudSignals::CardSignals (readonly)

Returns Output only. Signals describing the payment card or cards used in this transaction.

Returns:



871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 871

class FraudSignals
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Signals describing the user involved in this transaction.
  # @!attribute [r] active_days_lower_bound
  #   @return [::Integer]
  #     Output only. This user (based on email, phone, and other identifiers) has
  #     been seen on the internet for at least this number of days.
  # @!attribute [r] synthetic_risk
  #   @return [::Float]
  #     Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic
  #     components in their identity, such as a randomly generated email address,
  #     temporary phone number, or fake shipping address.
  class UserSignals
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Signals describing the payment card used in this transaction.
  # @!attribute [r] card_labels
  #   @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::FraudSignals::CardSignals::CardLabel>]
  #     Output only. The labels for the payment card in this transaction.
  class CardSignals
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Risk labels describing the card being assessed, such as its funding
    # mechanism.
    module CardLabel
      # No label specified.
      CARD_LABEL_UNSPECIFIED = 0

      # This card has been detected as prepaid.
      PREPAID = 1

      # This card has been detected as virtual, such as a card number generated
      # for a single transaction or merchant.
      VIRTUAL = 2

      # This card has been detected as being used in an unexpected geographic
      # location.
      UNEXPECTED_LOCATION = 3
    end
  end
end

#user_signals::Google::Cloud::RecaptchaEnterprise::V1::FraudSignals::UserSignals (readonly)

Returns Output only. Signals describing the end user in this transaction.

Returns:



871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 871

class FraudSignals
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Signals describing the user involved in this transaction.
  # @!attribute [r] active_days_lower_bound
  #   @return [::Integer]
  #     Output only. This user (based on email, phone, and other identifiers) has
  #     been seen on the internet for at least this number of days.
  # @!attribute [r] synthetic_risk
  #   @return [::Float]
  #     Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic
  #     components in their identity, such as a randomly generated email address,
  #     temporary phone number, or fake shipping address.
  class UserSignals
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Signals describing the payment card used in this transaction.
  # @!attribute [r] card_labels
  #   @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::FraudSignals::CardSignals::CardLabel>]
  #     Output only. The labels for the payment card in this transaction.
  class CardSignals
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Risk labels describing the card being assessed, such as its funding
    # mechanism.
    module CardLabel
      # No label specified.
      CARD_LABEL_UNSPECIFIED = 0

      # This card has been detected as prepaid.
      PREPAID = 1

      # This card has been detected as virtual, such as a card number generated
      # for a single transaction or merchant.
      VIRTUAL = 2

      # This card has been detected as being used in an unexpected geographic
      # location.
      UNEXPECTED_LOCATION = 3
    end
  end
end