# Google Cloud Recaptcha Enterprise V1 Client - Class FraudPrevention (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.3 2.0.1 1.17.2 1.16.1 1.15.0 1.14.0 1.13.0 1.12.2 1.8.0 1.7.0 1.6.0 1.5.2 1.4.2 1.3.2 1.2.6 Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class FraudPrevention.

Setting that controls Fraud Prevention assessments.

Ensure that applications can handle values not explicitly listed.

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.

Generated from protobuf enum `DISABLED = 2;`