Skip to content

Commit 1ab5713

Browse files
yoshi-automationsofisl
authored andcommitted
feat(recaptchaenterprise): update the API
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1ExpressKeySettings.description - schemas.GoogleCloudRecaptchaenterpriseV1ExpressKeySettings.id - schemas.GoogleCloudRecaptchaenterpriseV1ExpressKeySettings.type - schemas.GoogleCloudRecaptchaenterpriseV1Key.properties.expressSettings.$ref - schemas.GoogleCloudRecaptchaenterpriseV1Key.properties.expressSettings.description The following keys were changed: - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.express.description
1 parent 20d9d57 commit 1ab5713

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

discovery/recaptchaenterprise-v1.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20240811",
789+
"revision": "20240825",
790790
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
791791
"schemas": {
792792
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -1160,7 +1160,7 @@
11601160
"type": "string"
11611161
},
11621162
"express": {
1163-
"description": "Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS.",
1163+
"description": "Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference an Express site key.",
11641164
"type": "boolean"
11651165
},
11661166
"firewallPolicyEvaluation": {
@@ -1233,6 +1233,12 @@
12331233
},
12341234
"type": "object"
12351235
},
1236+
"GoogleCloudRecaptchaenterpriseV1ExpressKeySettings": {
1237+
"description": "Settings specific to keys that can be used for reCAPTCHA Express.",
1238+
"id": "GoogleCloudRecaptchaenterpriseV1ExpressKeySettings",
1239+
"properties": {},
1240+
"type": "object"
1241+
},
12361242
"GoogleCloudRecaptchaenterpriseV1FirewallAction": {
12371243
"description": "An individual action. Each action represents what to do if a policy matches.",
12381244
"id": "GoogleCloudRecaptchaenterpriseV1FirewallAction",
@@ -1554,6 +1560,10 @@
15541560
"description": "Required. Human-readable display name of this key. Modifiable by user.",
15551561
"type": "string"
15561562
},
1563+
"expressSettings": {
1564+
"$ref": "GoogleCloudRecaptchaenterpriseV1ExpressKeySettings",
1565+
"description": "Settings for keys that can be used by reCAPTCHA Express."
1566+
},
15571567
"iosSettings": {
15581568
"$ref": "GoogleCloudRecaptchaenterpriseV1IOSKeySettings",
15591569
"description": "Settings for keys that can be used by iOS apps."

src/apis/recaptchaenterprise/v1.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export namespace recaptchaenterprise_v1 {
347347
*/
348348
expectedAction?: string | null;
349349
/**
350-
* Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS.
350+
* Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference an Express site key.
351351
*/
352352
express?: boolean | null;
353353
/**
@@ -403,6 +403,10 @@ export namespace recaptchaenterprise_v1 {
403403
*/
404404
wafTokenAssessment?: boolean | null;
405405
}
406+
/**
407+
* Settings specific to keys that can be used for reCAPTCHA Express.
408+
*/
409+
export interface Schema$GoogleCloudRecaptchaenterpriseV1ExpressKeySettings {}
406410
/**
407411
* An individual action. Each action represents what to do if a policy matches.
408412
*/
@@ -637,6 +641,10 @@ export namespace recaptchaenterprise_v1 {
637641
* Required. Human-readable display name of this key. Modifiable by user.
638642
*/
639643
displayName?: string | null;
644+
/**
645+
* Settings for keys that can be used by reCAPTCHA Express.
646+
*/
647+
expressSettings?: Schema$GoogleCloudRecaptchaenterpriseV1ExpressKeySettings;
640648
/**
641649
* Settings for keys that can be used by iOS apps.
642650
*/

0 commit comments

Comments
 (0)