# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment (v1.11.0)

1.11.0 (latest) 1.9.1 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.3 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment.

Assessment for Fraud Prevention.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #behavioral_trust_verdict

    def behavioral_trust_verdict() -> ::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::BehavioralTrustVerdict

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::BehavioralTrustVerdict](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-FraudPreventionAssessment-BehavioralTrustVerdict)) --- Output only. Assessment of this transaction for behavioral trust.

### #card_testing_verdict

    def card_testing_verdict() -> ::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::CardTestingVerdict

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::CardTestingVerdict](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-FraudPreventionAssessment-CardTestingVerdict)) --- Output only. Assessment of this transaction for risk of being part of a card testing attack.

### #risk_reasons

    def risk_reasons() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::RiskReason>

**Returns**

- (::Array\<[::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::RiskReason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-FraudPreventionAssessment-RiskReason)\>) --- Output only. Reasons why the transaction is probably fraudulent and received a high transaction risk score.

### #stolen_instrument_verdict

    def stolen_instrument_verdict() -> ::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::StolenInstrumentVerdict

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::StolenInstrumentVerdict](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-FraudPreventionAssessment-StolenInstrumentVerdict)) --- Output only. Assessment of this transaction for risk of a stolen instrument.

### #transaction_risk

    def transaction_risk() -> ::Float

**Returns**

- (::Float) --- Output only. Probability of this transaction being fraudulent. Summarizes the combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (highest).