Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class FraudPrevention.
Setting that controls Fraud Prevention assessments.
Protobuf type google.cloud.recaptchaenterprise.v1.Event.FraudPrevention
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1 \ Event
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
FRAUD_PREVENTION_UNSPECIFIED
Value: 0
Default, unspecified setting. fraud_prevention_assessment is returned
if transaction_data is present in Event and Fraud Prevention is
enabled in the Google Cloud console.
Generated from protobuf enum FRAUD_PREVENTION_UNSPECIFIED = 0;
ENABLED
Value: 1
Enable Fraud Prevention for this assessment, if Fraud Prevention is
enabled in the Google Cloud console.
Generated from protobuf enum ENABLED = 1;
DISABLED
Value: 2
Disable Fraud Prevention for this assessment, regardless of the Google
Cloud console settings.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Recaptcha Enterprise V1 Client - Class FraudPrevention (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-recaptcha-enterprise/latest/V1.Event.FraudPrevention)\n- [2.1.2](/php/docs/reference/cloud-recaptcha-enterprise/2.1.2/V1.Event.FraudPrevention)\n- [2.0.1](/php/docs/reference/cloud-recaptcha-enterprise/2.0.1/V1.Event.FraudPrevention)\n- [1.17.2](/php/docs/reference/cloud-recaptcha-enterprise/1.17.2/V1.Event.FraudPrevention)\n- [1.16.1](/php/docs/reference/cloud-recaptcha-enterprise/1.16.1/V1.Event.FraudPrevention)\n- [1.15.0](/php/docs/reference/cloud-recaptcha-enterprise/1.15.0/V1.Event.FraudPrevention)\n- [1.14.0](/php/docs/reference/cloud-recaptcha-enterprise/1.14.0/V1.Event.FraudPrevention)\n- [1.13.0](/php/docs/reference/cloud-recaptcha-enterprise/1.13.0/V1.Event.FraudPrevention)\n- [1.12.2](/php/docs/reference/cloud-recaptcha-enterprise/1.12.2/V1.Event.FraudPrevention)\n- [1.8.0](/php/docs/reference/cloud-recaptcha-enterprise/1.8.0/V1.Event.FraudPrevention)\n- [1.7.0](/php/docs/reference/cloud-recaptcha-enterprise/1.7.0/V1.Event.FraudPrevention)\n- [1.6.0](/php/docs/reference/cloud-recaptcha-enterprise/1.6.0/V1.Event.FraudPrevention)\n- [1.5.2](/php/docs/reference/cloud-recaptcha-enterprise/1.5.2/V1.Event.FraudPrevention)\n- [1.4.2](/php/docs/reference/cloud-recaptcha-enterprise/1.4.2/V1.Event.FraudPrevention)\n- [1.3.2](/php/docs/reference/cloud-recaptcha-enterprise/1.3.2/V1.Event.FraudPrevention)\n- [1.2.6](/php/docs/reference/cloud-recaptcha-enterprise/1.2.6/V1.Event.FraudPrevention) \nReference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class FraudPrevention.\n\nSetting that controls Fraud Prevention assessments.\n\nProtobuf type `google.cloud.recaptchaenterprise.v1.Event.FraudPrevention`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ RecaptchaEnterprise \\\\ V1 \\\\ Event\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### FRAUD_PREVENTION_UNSPECIFIED\n\n Value: 0\n\nDefault, unspecified setting. `fraud_prevention_assessment` is returned\nif `transaction_data` is present in `Event` and Fraud Prevention is\nenabled in the Google Cloud console.\n\nGenerated from protobuf enum `FRAUD_PREVENTION_UNSPECIFIED = 0;`\n\n### ENABLED\n\n Value: 1\n\nEnable Fraud Prevention for this assessment, if Fraud Prevention is\nenabled in the Google Cloud console.\n\nGenerated from protobuf enum `ENABLED = 1;`\n\n### DISABLED\n\n Value: 2\n\nDisable Fraud Prevention for this assessment, regardless of the Google\nCloud console settings.\n\nGenerated from protobuf enum `DISABLED = 2;`"]]