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
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ transaction_risk |
float
Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below. |
↳ stolen_instrument_verdict |
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\StolenInstrumentVerdict
Assessment of this transaction for risk of a stolen instrument. |
↳ card_testing_verdict |
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\CardTestingVerdict
Assessment of this transaction for risk of being part of a card testing attack. |
getTransactionRisk
Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.
| Returns | |
|---|---|
| Type | Description |
float |
|
setTransactionRisk
Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStolenInstrumentVerdict
Assessment of this transaction for risk of a stolen instrument.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\StolenInstrumentVerdict|null |
|
hasStolenInstrumentVerdict
clearStolenInstrumentVerdict
setStolenInstrumentVerdict
Assessment of this transaction for risk of a stolen instrument.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\StolenInstrumentVerdict
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCardTestingVerdict
Assessment of this transaction for risk of being part of a card testing attack.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\CardTestingVerdict|null |
|
hasCardTestingVerdict
clearCardTestingVerdict
setCardTestingVerdict
Assessment of this transaction for risk of being part of a card testing attack.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment\CardTestingVerdict
|
| Returns | |
|---|---|
| Type | Description |
$this |
|