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: Challenge, ClassificationReason

Instance Attribute Summary collapse

Instance Attribute Details

#challenge::Google::Cloud::RecaptchaEnterprise::V1::RiskAnalysis::Challenge (readonly)

Returns Output only. Challenge information for SCORE_AND_CHALLENGE keys.

Returns:



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
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 748

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

  # Challenge information for SCORE_AND_CHALLENGE keys
  module Challenge
    # Default unspecified type.
    CHALLENGE_UNSPECIFIED = 0

    # No challenge was presented for solving.
    NOCAPTCHA = 1

    # A solution was submitted that was correct.
    PASSED = 2

    # A solution was submitted that was incorrect or otherwise
    # deemed suspicious.
    FAILED = 3
  end
end

#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.



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
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 748

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

  # Challenge information for SCORE_AND_CHALLENGE keys
  module Challenge
    # Default unspecified type.
    CHALLENGE_UNSPECIFIED = 0

    # No challenge was presented for solving.
    NOCAPTCHA = 1

    # A solution was submitted that was correct.
    PASSED = 2

    # A solution was submitted that was incorrect or otherwise
    # deemed suspicious.
    FAILED = 3
  end
end

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

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

Returns:



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
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 748

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

  # Challenge information for SCORE_AND_CHALLENGE keys
  module Challenge
    # Default unspecified type.
    CHALLENGE_UNSPECIFIED = 0

    # No challenge was presented for solving.
    NOCAPTCHA = 1

    # A solution was submitted that was correct.
    PASSED = 2

    # A solution was submitted that was incorrect or otherwise
    # deemed suspicious.
    FAILED = 3
  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).



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
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 748

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

  # Challenge information for SCORE_AND_CHALLENGE keys
  module Challenge
    # Default unspecified type.
    CHALLENGE_UNSPECIFIED = 0

    # No challenge was presented for solving.
    NOCAPTCHA = 1

    # A solution was submitted that was correct.
    PASSED = 2

    # A solution was submitted that was incorrect or otherwise
    # deemed suspicious.
    FAILED = 3
  end
end