Skip to content

Commit

Permalink
feat(customsearch): update the API
Browse files Browse the repository at this point in the history
#### customsearch:v1

The following keys were added:
- resources.cse.methods.list.parameters.relatedSite.deprecated
- resources.cse.resources.siterestrict.methods.list.parameters.relatedSite.deprecated

The following keys were changed:
- resources.cse.methods.list.parameters.relatedSite.description
- resources.cse.resources.siterestrict.methods.list.parameters.relatedSite.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 5, 2024
1 parent 2a811d5 commit 1169e4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions discovery/customsearch-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@
"type": "string"
},
"relatedSite": {
"description": "Specifies that all search results should be pages that are related to the specified URL.",
"deprecated": true,
"description": "Deprecated.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -598,7 +599,8 @@
"type": "string"
},
"relatedSite": {
"description": "Specifies that all search results should be pages that are related to the specified URL.",
"deprecated": true,
"description": "Deprecated.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -688,7 +690,7 @@
}
}
},
"revision": "20230705",
"revision": "20240103",
"rootUrl": "https://customsearch.googleapis.com/",
"schemas": {
"Promotion": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/customsearch/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export namespace customsearch_v1 {
*/
q?: string;
/**
* Specifies that all search results should be pages that are related to the specified URL.
* Deprecated.
*/
relatedSite?: string;
/**
Expand Down Expand Up @@ -801,7 +801,7 @@ export namespace customsearch_v1 {
*/
q?: string;
/**
* Specifies that all search results should be pages that are related to the specified URL.
* Deprecated.
*/
relatedSite?: string;
/**
Expand Down

0 comments on commit 1169e4c

Please sign in to comment.