Skip to content

Commit f1adc20

Browse files
feat(recaptchaenterprise): update the API
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.properties.riskReasons.description - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.properties.riskReasons.items.$ref - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.properties.riskReasons.readOnly - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.properties.riskReasons.type - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.description - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.id - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.properties.reason.description - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.properties.reason.enum - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.properties.reason.enumDescriptions - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.properties.reason.readOnly - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.properties.reason.type - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.type
1 parent 44f23c7 commit f1adc20

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

discovery/recaptchaenterprise-v1.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20250427",
789+
"revision": "20250504",
790790
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
791791
"schemas": {
792792
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -1412,6 +1412,14 @@
14121412
"description": "Output only. Assessment of this transaction for risk of being part of a card testing attack.",
14131413
"readOnly": true
14141414
},
1415+
"riskReasons": {
1416+
"description": "Output only. Reasons why the transaction is probably fraudulent and received a high transaction risk score.",
1417+
"items": {
1418+
"$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason"
1419+
},
1420+
"readOnly": true,
1421+
"type": "array"
1422+
},
14151423
"stolenInstrumentVerdict": {
14161424
"$ref": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict",
14171425
"description": "Output only. Assessment of this transaction for risk of a stolen instrument.",
@@ -1452,6 +1460,34 @@
14521460
},
14531461
"type": "object"
14541462
},
1463+
"GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason": {
1464+
"description": "Risk reasons applicable to the Fraud Prevention assessment.",
1465+
"id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason",
1466+
"properties": {
1467+
"reason": {
1468+
"description": "Output only. Risk reasons applicable to the Fraud Prevention assessment.",
1469+
"enum": [
1470+
"REASON_UNSPECIFIED",
1471+
"HIGH_TRANSACTION_VELOCITY",
1472+
"EXCESSIVE_ENUMERATION_PATTERN",
1473+
"SHORT_IDENTITY_HISTORY",
1474+
"GEOLOCATION_DISCREPANCY",
1475+
"ASSOCIATED_WITH_FRAUD_CLUSTER"
1476+
],
1477+
"enumDescriptions": [
1478+
"Default unspecified type.",
1479+
"A suspiciously high number of recent transactions have used identifiers present in this transaction.",
1480+
"User is cycling through a suspiciously large number of identifiers, suggesting enumeration or validation attacks within a potential fraud network.",
1481+
"User has a short history or no history in the reCAPTCHA network, suggesting the possibility of synthetic identity generation.",
1482+
"Identifiers used in this transaction originate from an unusual or conflicting set of geolocations.",
1483+
"This transaction is linked to a cluster of known fraudulent activity."
1484+
],
1485+
"readOnly": true,
1486+
"type": "string"
1487+
}
1488+
},
1489+
"type": "object"
1490+
},
14551491
"GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict": {
14561492
"description": "Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.",
14571493
"id": "GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict",

src/apis/recaptchaenterprise/v1.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,10 @@ export namespace recaptchaenterprise_v1 {
541541
* Output only. Assessment of this transaction for risk of being part of a card testing attack.
542542
*/
543543
cardTestingVerdict?: Schema$GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict;
544+
/**
545+
* Output only. Reasons why the transaction is probably fraudulent and received a high transaction risk score.
546+
*/
547+
riskReasons?: Schema$GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason[];
544548
/**
545549
* Output only. Assessment of this transaction for risk of a stolen instrument.
546550
*/
@@ -568,6 +572,15 @@ export namespace recaptchaenterprise_v1 {
568572
*/
569573
risk?: number | null;
570574
}
575+
/**
576+
* Risk reasons applicable to the Fraud Prevention assessment.
577+
*/
578+
export interface Schema$GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason {
579+
/**
580+
* Output only. Risk reasons applicable to the Fraud Prevention assessment.
581+
*/
582+
reason?: string | null;
583+
}
571584
/**
572585
* Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.
573586
*/

0 commit comments

Comments
 (0)