Skip to content

Commit cdabf88

Browse files
fix(recaptchaenterprise): update the API
#### recaptchaenterprise:v1 The following keys were changed: - schemas.GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment.properties.client.description - schemas.GoogleCloudRecaptchaenterpriseV1TokenProperties.properties.invalidReason.enum - schemas.GoogleCloudRecaptchaenterpriseV1TokenProperties.properties.invalidReason.enumDescriptions
1 parent f7d1ad7 commit cdabf88

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

discovery/recaptchaenterprise-v1.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20251006",
789+
"revision": "20251014",
790790
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
791791
"schemas": {
792792
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -1092,7 +1092,7 @@
10921092
"id": "GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment",
10931093
"properties": {
10941094
"client": {
1095-
"description": "Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - \"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager\" - \"cloud.google.com/recaptcha/docs/implement-waf-akamai\" - \"cloud.google.com/recaptcha/docs/implement-waf-cloudflare\" - \"wordpress.org/plugins/recaptcha-something\"",
1095+
"description": "Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - \"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager\" - \"wordpress.org/plugins/recaptcha-something\"",
10961096
"type": "string"
10971097
},
10981098
"version": {
@@ -2177,7 +2177,8 @@
21772177
"EXPIRED",
21782178
"DUPE",
21792179
"MISSING",
2180-
"BROWSER_ERROR"
2180+
"BROWSER_ERROR",
2181+
"UNEXPECTED_ACTION"
21812182
],
21822183
"enumDescriptions": [
21832184
"Default unspecified type.",
@@ -2186,7 +2187,8 @@
21862187
"The user verification token had expired.",
21872188
"The user verification had already been seen.",
21882189
"The user verification token was not present.",
2189-
"A retriable error (such as network failure) occurred on the browser. Could easily be simulated by an attacker."
2190+
"A retriable error (such as network failure) occurred on the browser. Could easily be simulated by an attacker.",
2191+
"The action provided at token generation was different than the `expected_action` in the assessment request. The comparison is case-insensitive. This reason can only be returned if all of the following are true: - your `site_key` has the POLICY_BASED_CHALLENGE integration type - you set an action score threshold higher than 0.0 - you provided a non-empty `expected_action`"
21902192
],
21912193
"readOnly": true,
21922194
"type": "string"

src/apis/recaptchaenterprise/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export namespace recaptchaenterprise_v1 {
292292
*/
293293
export interface Schema$GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment {
294294
/**
295-
* Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" - "cloud.google.com/recaptcha/docs/implement-waf-akamai" - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" - "wordpress.org/plugins/recaptcha-something"
295+
* Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" - "wordpress.org/plugins/recaptcha-something"
296296
*/
297297
client?: string | null;
298298
/**

0 commit comments

Comments
 (0)