Skip to content

Commit b0db98e

Browse files
yoshi-automationsofisl
authored andcommitted
feat(customsearch): update the API
#### customsearch:v1 The following keys were added: - resources.cse.methods.list.parameters.enableAlternateSearchHandler.description - resources.cse.methods.list.parameters.enableAlternateSearchHandler.location - resources.cse.methods.list.parameters.enableAlternateSearchHandler.type - resources.cse.resources.siterestrict.methods.list.parameters.enableAlternateSearchHandler.description - resources.cse.resources.siterestrict.methods.list.parameters.enableAlternateSearchHandler.location - resources.cse.resources.siterestrict.methods.list.parameters.enableAlternateSearchHandler.type
1 parent f67b2f1 commit b0db98e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

discovery/customsearch-v1.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@
124124
"location": "query",
125125
"type": "string"
126126
},
127+
"enableAlternateSearchHandler": {
128+
"description": "Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.",
129+
"location": "query",
130+
"type": "boolean"
131+
},
127132
"exactTerms": {
128133
"description": "Identifies a phrase that all documents in the search results must contain.",
129134
"location": "query",
@@ -426,6 +431,11 @@
426431
"location": "query",
427432
"type": "string"
428433
},
434+
"enableAlternateSearchHandler": {
435+
"description": "Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.",
436+
"location": "query",
437+
"type": "boolean"
438+
},
429439
"exactTerms": {
430440
"description": "Identifies a phrase that all documents in the search results must contain.",
431441
"location": "query",
@@ -702,7 +712,7 @@
702712
}
703713
}
704714
},
705-
"revision": "20240430",
715+
"revision": "20240821",
706716
"rootUrl": "https://customsearch.googleapis.com/",
707717
"schemas": {
708718
"Promotion": {

src/apis/customsearch/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ export namespace customsearch_v1 {
503503
* Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.
504504
*/
505505
dateRestrict?: string;
506+
/**
507+
* Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.
508+
*/
509+
enableAlternateSearchHandler?: boolean;
506510
/**
507511
* Identifies a phrase that all documents in the search results must contain.
508512
*/
@@ -730,6 +734,10 @@ export namespace customsearch_v1 {
730734
* Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.
731735
*/
732736
dateRestrict?: string;
737+
/**
738+
* Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.
739+
*/
740+
enableAlternateSearchHandler?: boolean;
733741
/**
734742
* Identifies a phrase that all documents in the search results must contain.
735743
*/

0 commit comments

Comments
 (0)