Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2b392dc

Browse files
committedJan 8, 2024
feat(customsearch): update the api
#### customsearch:v1 The following keys were added: - resources.cse.methods.list.parameters.relatedSite.deprecated (Total Keys: 1) - resources.cse.resources.siterestrict.methods.list.parameters.relatedSite.deprecated (Total Keys: 1)
1 parent b327676 commit 2b392dc

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎docs/dyn/customsearch_v1.cse.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h3>Method Details</h3>
156156
num: integer, Number of search results to return. * Valid values are integers between 1 and 10, inclusive.
157157
orTerms: string, Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms.
158158
q: string, Query
159-
relatedSite: string, Specifies that all search results should be pages that are related to the specified URL.
159+
relatedSite: string, Deprecated.
160160
rights: string, Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
161161
safe: string, Search safety level. Acceptable values are: * `&quot;active&quot;`: Enables SafeSearch filtering. * `&quot;off&quot;`: Disables SafeSearch filtering. (default)
162162
Allowed values

‎docs/dyn/customsearch_v1.cse.siterestrict.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ <h3>Method Details</h3>
151151
num: integer, Number of search results to return. * Valid values are integers between 1 and 10, inclusive.
152152
orTerms: string, Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms.
153153
q: string, Query
154-
relatedSite: string, Specifies that all search results should be pages that are related to the specified URL.
154+
relatedSite: string, Deprecated.
155155
rights: string, Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
156156
safe: string, Search safety level. Acceptable values are: * `&quot;active&quot;`: Enables SafeSearch filtering. * `&quot;off&quot;`: Disables SafeSearch filtering. (default)
157157
Allowed values

‎googleapiclient/discovery_cache/documents/customsearch.v1.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@
303303
"type": "string"
304304
},
305305
"relatedSite": {
306-
"description": "Specifies that all search results should be pages that are related to the specified URL.",
306+
"deprecated": true,
307+
"description": "Deprecated.",
307308
"location": "query",
308309
"type": "string"
309310
},
@@ -598,7 +599,8 @@
598599
"type": "string"
599600
},
600601
"relatedSite": {
601-
"description": "Specifies that all search results should be pages that are related to the specified URL.",
602+
"deprecated": true,
603+
"description": "Deprecated.",
602604
"location": "query",
603605
"type": "string"
604606
},
@@ -688,7 +690,7 @@
688690
}
689691
}
690692
},
691-
"revision": "20240102",
693+
"revision": "20240107",
692694
"rootUrl": "https://customsearch.googleapis.com/",
693695
"schemas": {
694696
"Promotion": {

0 commit comments

Comments
 (0)
Please sign in to comment.