Class: Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis

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

Overview

Risk analysis result for an event.

Defined Under Namespace

Modules: ClassificationReason

Instance Attribute Summary collapse

Instance Attribute Details

#extended_verdict_reasons::Array<::String> (readonly)

Returns Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.

Returns:

  • (::Array<::String>)

    Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.



745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 745

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

  # Reasons contributing to the risk analysis verdict.
  module ClassificationReason
    # Default unspecified type.
    CLASSIFICATION_REASON_UNSPECIFIED = 0

    # Interactions matched the behavior of an automated agent.
    AUTOMATION = 1

    # The event originated from an illegitimate environment.
    UNEXPECTED_ENVIRONMENT = 2

    # Traffic volume from the event source is higher than normal.
    TOO_MUCH_TRAFFIC = 3

    # Interactions with the site were significantly different than expected
    # patterns.
    UNEXPECTED_USAGE_PATTERNS = 4

    # Too little traffic has been received from this site thus far to generate
    # quality risk analysis.
    LOW_CONFIDENCE_SCORE = 5

    # The request matches behavioral characteristics of a carding attack.
    SUSPECTED_CARDING = 6

    # The request matches behavioral characteristics of chargebacks for fraud.
    SUSPECTED_CHARGEBACK = 7
  end
end

#reasons::Array<::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::ClassificationReason> (readonly)

Returns Output only. Reasons contributing to the risk analysis verdict.

Returns:



745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 745

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

  # Reasons contributing to the risk analysis verdict.
  module ClassificationReason
    # Default unspecified type.
    CLASSIFICATION_REASON_UNSPECIFIED = 0

    # Interactions matched the behavior of an automated agent.
    AUTOMATION = 1

    # The event originated from an illegitimate environment.
    UNEXPECTED_ENVIRONMENT = 2

    # Traffic volume from the event source is higher than normal.
    TOO_MUCH_TRAFFIC = 3

    # Interactions with the site were significantly different than expected
    # patterns.
    UNEXPECTED_USAGE_PATTERNS = 4

    # Too little traffic has been received from this site thus far to generate
    # quality risk analysis.
    LOW_CONFIDENCE_SCORE = 5

    # The request matches behavioral characteristics of a carding attack.
    SUSPECTED_CARDING = 6

    # The request matches behavioral characteristics of chargebacks for fraud.
    SUSPECTED_CHARGEBACK = 7
  end
end

#score::Float (readonly)

Returns Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).

Returns:

  • (::Float)

    Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).



745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 745

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

  # Reasons contributing to the risk analysis verdict.
  module ClassificationReason
    # Default unspecified type.
    CLASSIFICATION_REASON_UNSPECIFIED = 0

    # Interactions matched the behavior of an automated agent.
    AUTOMATION = 1

    # The event originated from an illegitimate environment.
    UNEXPECTED_ENVIRONMENT = 2

    # Traffic volume from the event source is higher than normal.
    TOO_MUCH_TRAFFIC = 3

    # Interactions with the site were significantly different than expected
    # patterns.
    UNEXPECTED_USAGE_PATTERNS = 4

    # Too little traffic has been received from this site thus far to generate
    # quality risk analysis.
    LOW_CONFIDENCE_SCORE = 5

    # The request matches behavioral characteristics of a carding attack.
    SUSPECTED_CARDING = 6

    # The request matches behavioral characteristics of chargebacks for fraud.
    SUSPECTED_CHARGEBACK = 7
  end
end