Skip to content

Commit 0d44bca

Browse files
yoshi-automationsofisl
authored andcommitted
feat(recaptchaenterprise): update the API
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.challenge.description - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.challenge.enum - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.challenge.enumDescriptions - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.challenge.readOnly - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.challenge.type The following keys were changed: - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.fraudPrevention.enumDescriptions - schemas.GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest.description
1 parent 17ea48b commit 0d44bca

File tree

2 files changed

+26
-5
lines changed

2 files changed

+26
-5
lines changed

‎discovery/recaptchaenterprise-v1.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20240906",
789+
"revision": "20241208",
790790
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
791791
"schemas": {
792792
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -1175,9 +1175,9 @@
11751175
"DISABLED"
11761176
],
11771177
"enumDescriptions": [
1178-
"Default, unspecified setting. If opted in for automatic detection, `fraud_prevention_assessment` is returned based on the request. Otherwise, `fraud_prevention_assessment` is returned if `transaction_data` is present in the `Event` and Fraud Prevention is enabled in the Google Cloud console.",
1178+
"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 opt-in status or Google Cloud console settings."
1180+
"Disable Fraud Prevention for this assessment, regardless of Google Cloud console settings."
11811181
],
11821182
"type": "string"
11831183
},
@@ -1803,7 +1803,7 @@
18031803
"type": "object"
18041804
},
18051805
"GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest": {
1806-
"description": "The removeIpOverride request message.",
1806+
"description": "The RemoveIpOverride request message.",
18071807
"id": "GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest",
18081808
"properties": {
18091809
"ipOverrideData": {
@@ -1854,6 +1854,23 @@
18541854
"description": "Risk analysis result for an event.",
18551855
"id": "GoogleCloudRecaptchaenterpriseV1RiskAnalysis",
18561856
"properties": {
1857+
"challenge": {
1858+
"description": "Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys",
1859+
"enum": [
1860+
"CHALLENGE_UNSPECIFIED",
1861+
"NOCAPTCHA",
1862+
"PASSED",
1863+
"FAILED"
1864+
],
1865+
"enumDescriptions": [
1866+
"Default unspecified type.",
1867+
"No challenge was presented for solving.",
1868+
"A solution was submitted that was correct.",
1869+
"A solution was submitted that was incorrect or otherwise deemed suspicious."
1870+
],
1871+
"readOnly": true,
1872+
"type": "string"
1873+
},
18571874
"extendedVerdictReasons": {
18581875
"description": "Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.",
18591876
"items": {

‎src/apis/recaptchaenterprise/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ export namespace recaptchaenterprise_v1 {
822822
name?: string | null;
823823
}
824824
/**
825-
* The removeIpOverride request message.
825+
* The RemoveIpOverride request message.
826826
*/
827827
export interface Schema$GoogleCloudRecaptchaenterpriseV1RemoveIpOverrideRequest {
828828
/**
@@ -860,6 +860,10 @@ export namespace recaptchaenterprise_v1 {
860860
* Risk analysis result for an event.
861861
*/
862862
export interface Schema$GoogleCloudRecaptchaenterpriseV1RiskAnalysis {
863+
/**
864+
* Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys
865+
*/
866+
challenge?: string | null;
863867
/**
864868
* Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
865869
*/

0 commit comments

Comments
 (0)