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

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

Returns Reasons contributing to the risk analysis verdict.

Returns:



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 169

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
  end
end

#score::Float

Returns 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)

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



169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 169

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
  end
end