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:



920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 920

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:



920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 920

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