Skip to content

Commit 249c295

Browse files
feat(docs): update the API
#### docs:v1 The following keys were added: - schemas.SubstringMatchCriteria.properties.searchByRegex.description - schemas.SubstringMatchCriteria.properties.searchByRegex.type The following keys were changed: - documentationLink
1 parent b5b4429 commit 249c295

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

‎discovery/docs-v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"canonicalName": "Docs",
2727
"description": "Reads and writes Google Docs documents.",
2828
"discoveryVersion": "v1",
29-
"documentationLink": "https://developers.google.com/docs/",
29+
"documentationLink": "https://developers.google.com/workspace/docs/",
3030
"fullyEncodeReservedExpansion": true,
3131
"icons": {
3232
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -221,7 +221,7 @@
221221
}
222222
}
223223
},
224-
"revision": "20250218",
224+
"revision": "20250325",
225225
"rootUrl": "https://docs.googleapis.com/",
226226
"schemas": {
227227
"AutoText": {
@@ -3554,6 +3554,10 @@
35543554
"description": "Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.",
35553555
"type": "boolean"
35563556
},
3557+
"searchByRegex": {
3558+
"description": "Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.",
3559+
"type": "boolean"
3560+
},
35573561
"text": {
35583562
"description": "The text to search for in the document.",
35593563
"type": "string"

‎src/apis/docs/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,6 +2680,10 @@ export namespace docs_v1 {
26802680
* Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.
26812681
*/
26822682
matchCase?: boolean | null;
2683+
/**
2684+
* Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.
2685+
*/
2686+
searchByRegex?: boolean | null;
26832687
/**
26842688
* The text to search for in the document.
26852689
*/

0 commit comments

Comments
 (0)