Skip to content

Commit b7e8b88

Browse files
yoshi-automationsofisl
authored andcommitted
feat(recaptchaenterprise): update the API
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1Bot.description - schemas.GoogleCloudRecaptchaenterpriseV1Bot.id - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.botType.description - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.botType.enum - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.botType.enumDescriptions - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.botType.type - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.name.description - schemas.GoogleCloudRecaptchaenterpriseV1Bot.properties.name.type - schemas.GoogleCloudRecaptchaenterpriseV1Bot.type - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.verifiedBots.description - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.verifiedBots.items.$ref - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.verifiedBots.readOnly - schemas.GoogleCloudRecaptchaenterpriseV1RiskAnalysis.properties.verifiedBots.type
1 parent f74a90e commit b7e8b88

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

‎discovery/recaptchaenterprise-v1.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@
786786
}
787787
}
788788
},
789-
"revision": "20250209",
789+
"revision": "20250427",
790790
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
791791
"schemas": {
792792
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -1098,6 +1098,33 @@
10981098
},
10991099
"type": "object"
11001100
},
1101+
"GoogleCloudRecaptchaenterpriseV1Bot": {
1102+
"description": "Bot information and metadata.",
1103+
"id": "GoogleCloudRecaptchaenterpriseV1Bot",
1104+
"properties": {
1105+
"botType": {
1106+
"description": "Optional. Enumerated field representing the type of bot.",
1107+
"enum": [
1108+
"BOT_TYPE_UNSPECIFIED",
1109+
"AI_AGENT",
1110+
"CONTENT_SCRAPER",
1111+
"SEARCH_INDEXER"
1112+
],
1113+
"enumDescriptions": [
1114+
"Default unspecified type.",
1115+
"Software program that interacts with a site and performs tasks autonomously.",
1116+
"Software that extracts specific data from sites for use.",
1117+
"Software that crawls sites and stores content for the purpose of efficient retrieval, likely as part of a search engine."
1118+
],
1119+
"type": "string"
1120+
},
1121+
"name": {
1122+
"description": "Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case.",
1123+
"type": "string"
1124+
}
1125+
},
1126+
"type": "object"
1127+
},
11011128
"GoogleCloudRecaptchaenterpriseV1ChallengeMetrics": {
11021129
"description": "Metrics related to challenges.",
11031130
"id": "GoogleCloudRecaptchaenterpriseV1ChallengeMetrics",
@@ -1916,6 +1943,14 @@
19161943
"format": "float",
19171944
"readOnly": true,
19181945
"type": "number"
1946+
},
1947+
"verifiedBots": {
1948+
"description": "Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.",
1949+
"items": {
1950+
"$ref": "GoogleCloudRecaptchaenterpriseV1Bot"
1951+
},
1952+
"readOnly": true,
1953+
"type": "array"
19191954
}
19201955
},
19211956
"type": "object"

‎src/apis/recaptchaenterprise/v1.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,19 @@ export namespace recaptchaenterprise_v1 {
296296
*/
297297
version?: string | null;
298298
}
299+
/**
300+
* Bot information and metadata.
301+
*/
302+
export interface Schema$GoogleCloudRecaptchaenterpriseV1Bot {
303+
/**
304+
* Optional. Enumerated field representing the type of bot.
305+
*/
306+
botType?: string | null;
307+
/**
308+
* Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-case.
309+
*/
310+
name?: string | null;
311+
}
299312
/**
300313
* Metrics related to challenges.
301314
*/
@@ -880,6 +893,10 @@ export namespace recaptchaenterprise_v1 {
880893
* Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
881894
*/
882895
score?: number | null;
896+
/**
897+
* Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.
898+
*/
899+
verifiedBots?: Schema$GoogleCloudRecaptchaenterpriseV1Bot[];
883900
}
884901
/**
885902
* Score distribution.

0 commit comments

Comments
 (0)