Class RiskAnalysis (1.18.1)

RiskAnalysis(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Risk analysis result for an event.

Attributes

NameDescription
score 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).
reasons MutableSequence[google.cloud.recaptchaenterprise_v1.types.RiskAnalysis.ClassificationReason]
Output only. Reasons contributing to the risk analysis verdict.
extended_verdict_reasons MutableSequence[str]
Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.

Classes

ClassificationReason

ClassificationReason(value)

Reasons contributing to the risk analysis verdict.

Values: CLASSIFICATION_REASON_UNSPECIFIED (0): Default unspecified type. AUTOMATION (1): Interactions matched the behavior of an automated agent. UNEXPECTED_ENVIRONMENT (2): The event originated from an illegitimate environment. TOO_MUCH_TRAFFIC (3): Traffic volume from the event source is higher than normal. UNEXPECTED_USAGE_PATTERNS (4): Interactions with the site were significantly different than expected patterns. LOW_CONFIDENCE_SCORE (5): Too little traffic has been received from this site thus far to generate quality risk analysis. SUSPECTED_CARDING (6): The request matches behavioral characteristics of a carding attack. SUSPECTED_CHARGEBACK (7): The request matches behavioral characteristics of chargebacks for fraud.