Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudRecaptchaenterpriseV1RiskAnalysis

import type { GoogleCloudRecaptchaenterpriseV1RiskAnalysis } from "https://googleapis.deno.dev/v1/recaptchaenterprise:v1.ts";

Risk analysis result for an event.

interface GoogleCloudRecaptchaenterpriseV1RiskAnalysis {
readonly challenge?:
| "CHALLENGE_UNSPECIFIED"
| "NOCAPTCHA"
| "PASSED"
| "FAILED";
readonly extendedVerdictReasons?: string[];
readonly reasons?:
| "CLASSIFICATION_REASON_UNSPECIFIED"
| "AUTOMATION"
| "UNEXPECTED_ENVIRONMENT"
| "TOO_MUCH_TRAFFIC"
| "UNEXPECTED_USAGE_PATTERNS"
| "LOW_CONFIDENCE_SCORE"
| "SUSPECTED_CARDING"
| "SUSPECTED_CHARGEBACK"[];
readonly score?: number;
readonly verifiedBots?: GoogleCloudRecaptchaenterpriseV1Bot[];
}

§Properties

§
readonly challenge?: "CHALLENGE_UNSPECIFIED" | "NOCAPTCHA" | "PASSED" | "FAILED"
[src]

Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.

§
readonly extendedVerdictReasons?: string[]
[src]

Output only. Advanced reasons contributing to the risk analysis verdict. These reasons are available to Enterprise tier projects only. Contact sales for more information. The set of possible reasons is subject to change.

§
readonly reasons?: "CLASSIFICATION_REASON_UNSPECIFIED" | "AUTOMATION" | "UNEXPECTED_ENVIRONMENT" | "TOO_MUCH_TRAFFIC" | "UNEXPECTED_USAGE_PATTERNS" | "LOW_CONFIDENCE_SCORE" | "SUSPECTED_CARDING" | "SUSPECTED_CHARGEBACK"[]
[src]

Output only. Reasons contributing to the risk analysis verdict.

§
readonly score?: number
[src]

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

§

Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.