Skip to content

Commit 52951e2

Browse files
feat(recaptchaenterprise): update the API
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.ja4.description - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.ja4.type The following keys were changed: - schemas.GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest.properties.reasons.items.enumDescriptions - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.fraudPrevention.enumDescriptions - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.ja3.description - schemas.GoogleCloudRecaptchaenterpriseV1Metrics.properties.startTime.description
1 parent 42c22f5 commit 52951e2

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

discovery/recaptchaenterprise-v1.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20241208",
789+
"revision": "20250209",
790790
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
791791
"schemas": {
792792
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -968,7 +968,7 @@
968968
"SOCIAL_SPAM"
969969
],
970970
"enumDescriptions": [
971-
"Default unspecified reason.",
971+
"Unspecified reason. Do not use.",
972972
"Indicates that the transaction had a chargeback issued with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.",
973973
"Indicates that the transaction had a chargeback issued related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen).",
974974
"Indicates that the transaction had a chargeback issued related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).",
@@ -1177,7 +1177,7 @@
11771177
"enumDescriptions": [
11781178
"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.",
11791179
"Enable Fraud Prevention for this assessment, if Fraud Prevention is enabled in the Google Cloud console.",
1180-
"Disable Fraud Prevention for this assessment, regardless of Google Cloud console settings."
1180+
"Disable Fraud Prevention for this assessment, regardless of the Google Cloud console settings."
11811181
],
11821182
"type": "string"
11831183
},
@@ -1195,7 +1195,11 @@
11951195
"type": "array"
11961196
},
11971197
"ja3": {
1198-
"description": "Optional. JA3 fingerprint for SSL clients.",
1198+
"description": "Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3.",
1199+
"type": "string"
1200+
},
1201+
"ja4": {
1202+
"description": "Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.",
11991203
"type": "string"
12001204
},
12011205
"requestedUri": {
@@ -1708,7 +1712,7 @@
17081712
"type": "array"
17091713
},
17101714
"startTime": {
1711-
"description": "Inclusive start time aligned to a day (UTC).",
1715+
"description": "Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.",
17121716
"format": "google-datetime",
17131717
"type": "string"
17141718
}

src/apis/recaptchaenterprise/v1.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,13 @@ export namespace recaptchaenterprise_v1 {
367367
*/
368368
headers?: string[] | null;
369369
/**
370-
* Optional. JA3 fingerprint for SSL clients.
370+
* Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3.
371371
*/
372372
ja3?: string | null;
373+
/**
374+
* Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.
375+
*/
376+
ja4?: string | null;
373377
/**
374378
* Optional. The URI resource the user requested that triggered an assessment.
375379
*/
@@ -752,7 +756,7 @@ export namespace recaptchaenterprise_v1 {
752756
*/
753757
scoreMetrics?: Schema$GoogleCloudRecaptchaenterpriseV1ScoreMetrics[];
754758
/**
755-
* Inclusive start time aligned to a day (UTC).
759+
* Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
756760
*/
757761
startTime?: string | null;
758762
}

0 commit comments

Comments
 (0)