Google Cloud Recaptcha Enterprise V1 Client - Class FraudPreventionAssessment (1.8.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class FraudPreventionAssessment.

Assessment for Fraud Prevention.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

↳ stolen_instrument_verdict Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\StolenInstrumentVerdict

Output only. Assessment of this transaction for risk of a stolen instrument.

↳ card_testing_verdict Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\CardTestingVerdict

Output only. Assessment of this transaction for risk of being part of a card testing attack.

↳ behavioral_trust_verdict Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\BehavioralTrustVerdict

Output only. Assessment of this transaction for behavioral trust.

getTransactionRisk

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

Returns
TypeDescription
float

setTransactionRisk

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

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getStolenInstrumentVerdict

Output only. Assessment of this transaction for risk of a stolen instrument.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\StolenInstrumentVerdict|null

hasStolenInstrumentVerdict

clearStolenInstrumentVerdict

setStolenInstrumentVerdict

Output only. Assessment of this transaction for risk of a stolen instrument.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\StolenInstrumentVerdict
Returns
TypeDescription
$this

getCardTestingVerdict

Output only. Assessment of this transaction for risk of being part of a card testing attack.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\CardTestingVerdict|null

hasCardTestingVerdict

clearCardTestingVerdict

setCardTestingVerdict

Output only. Assessment of this transaction for risk of being part of a card testing attack.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\CardTestingVerdict
Returns
TypeDescription
$this

getBehavioralTrustVerdict

Output only. Assessment of this transaction for behavioral trust.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\BehavioralTrustVerdict|null

hasBehavioralTrustVerdict

clearBehavioralTrustVerdict

setBehavioralTrustVerdict

Output only. Assessment of this transaction for behavioral trust.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\BehavioralTrustVerdict
Returns
TypeDescription
$this