Skip to content

Commit

Permalink
feat(recaptchaenterprise): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 4, 2024
1 parent 20d9d57 commit 1ab5713
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
14 changes: 12 additions & 2 deletions discovery/recaptchaenterprise-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@
}
}
},
"revision": "20240811",
"revision": "20240825",
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
"schemas": {
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
Expand Down Expand Up @@ -1160,7 +1160,7 @@
"type": "string"
},
"express": {
"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.",
"description": "Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference an Express site key.",
"type": "boolean"
},
"firewallPolicyEvaluation": {
Expand Down Expand Up @@ -1233,6 +1233,12 @@
},
"type": "object"
},
"GoogleCloudRecaptchaenterpriseV1ExpressKeySettings": {
"description": "Settings specific to keys that can be used for reCAPTCHA Express.",
"id": "GoogleCloudRecaptchaenterpriseV1ExpressKeySettings",
"properties": {},
"type": "object"
},
"GoogleCloudRecaptchaenterpriseV1FirewallAction": {
"description": "An individual action. Each action represents what to do if a policy matches.",
"id": "GoogleCloudRecaptchaenterpriseV1FirewallAction",
Expand Down Expand Up @@ -1554,6 +1560,10 @@
"description": "Required. Human-readable display name of this key. Modifiable by user.",
"type": "string"
},
"expressSettings": {
"$ref": "GoogleCloudRecaptchaenterpriseV1ExpressKeySettings",
"description": "Settings for keys that can be used by reCAPTCHA Express."
},
"iosSettings": {
"$ref": "GoogleCloudRecaptchaenterpriseV1IOSKeySettings",
"description": "Settings for keys that can be used by iOS apps."
Expand Down
10 changes: 9 additions & 1 deletion src/apis/recaptchaenterprise/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export namespace recaptchaenterprise_v1 {
*/
expectedAction?: string | null;
/**
* 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.
* Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference an Express site key.
*/
express?: boolean | null;
/**
Expand Down Expand Up @@ -403,6 +403,10 @@ export namespace recaptchaenterprise_v1 {
*/
wafTokenAssessment?: boolean | null;
}
/**
* Settings specific to keys that can be used for reCAPTCHA Express.
*/
export interface Schema$GoogleCloudRecaptchaenterpriseV1ExpressKeySettings {}
/**
* An individual action. Each action represents what to do if a policy matches.
*/
Expand Down Expand Up @@ -637,6 +641,10 @@ export namespace recaptchaenterprise_v1 {
* Required. Human-readable display name of this key. Modifiable by user.
*/
displayName?: string | null;
/**
* Settings for keys that can be used by reCAPTCHA Express.
*/
expressSettings?: Schema$GoogleCloudRecaptchaenterpriseV1ExpressKeySettings;
/**
* Settings for keys that can be used by iOS apps.
*/
Expand Down

0 comments on commit 1ab5713

Please sign in to comment.