google-apis-customsearch_v1 0.21.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/customsearch_v1/gem_version.rb +3 -3
- data/lib/google/apis/customsearch_v1/service.rb +10 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d9711aa5814ccbbcc62572b1419772e956f0b24d27c4f865bd7cc4ef19e6418
|
4
|
+
data.tar.gz: a661ec7823d6888a0c1824f2d6f409dd6a7e0c07ef4f2914a13d6e26844a14ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa07d2577834c8877d8c7b44a13ce56049a0bbd512a3e24dd2a17d7ee565bb69f26f95b13809abfaeaa9c57082b350e0e2e5337e796144190909f4eaa8d6311
|
7
|
+
data.tar.gz: 35d51c902e1b7f07b1876a66e6ce5f3a514613da8a4258c1cf114b146eebd29db334c434df9facc90eba61c4ac70408c38134a027145a41762363d789805d8ce
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-customsearch_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2024-08-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240821
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.22.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.21.0 (2024-04-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240417
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CustomsearchV1
|
18
18
|
# Version of the google-apis-customsearch_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240821"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -75,6 +75,9 @@ module Google
|
|
75
75
|
# requests results from the specified number of past weeks. * `m[number]`:
|
76
76
|
# requests results from the specified number of past months. * `y[number]`:
|
77
77
|
# requests results from the specified number of past years.
|
78
|
+
# @param [Boolean] enable_alternate_search_handler
|
79
|
+
# Optional. Enables routing of Programmable Search Engine requests to an
|
80
|
+
# alternate search handler.
|
78
81
|
# @param [String] exact_terms
|
79
82
|
# Identifies a phrase that all documents in the search results must contain.
|
80
83
|
# @param [String] exclude_terms
|
@@ -215,7 +218,7 @@ module Google
|
|
215
218
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
216
219
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
217
220
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
218
|
-
def list_cses(c2coff: nil, cr: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, q: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, snippet_length: nil, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
221
|
+
def list_cses(c2coff: nil, cr: nil, cx: nil, date_restrict: nil, enable_alternate_search_handler: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, q: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, snippet_length: nil, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
219
222
|
command = make_simple_command(:get, 'customsearch/v1', options)
|
220
223
|
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
221
224
|
command.response_class = Google::Apis::CustomsearchV1::Search
|
@@ -223,6 +226,7 @@ module Google
|
|
223
226
|
command.query['cr'] = cr unless cr.nil?
|
224
227
|
command.query['cx'] = cx unless cx.nil?
|
225
228
|
command.query['dateRestrict'] = date_restrict unless date_restrict.nil?
|
229
|
+
command.query['enableAlternateSearchHandler'] = enable_alternate_search_handler unless enable_alternate_search_handler.nil?
|
226
230
|
command.query['exactTerms'] = exact_terms unless exact_terms.nil?
|
227
231
|
command.query['excludeTerms'] = exclude_terms unless exclude_terms.nil?
|
228
232
|
command.query['fileType'] = file_type unless file_type.nil?
|
@@ -280,6 +284,9 @@ module Google
|
|
280
284
|
# requests results from the specified number of past weeks. * `m[number]`:
|
281
285
|
# requests results from the specified number of past months. * `y[number]`:
|
282
286
|
# requests results from the specified number of past years.
|
287
|
+
# @param [Boolean] enable_alternate_search_handler
|
288
|
+
# Optional. Enables routing of Programmable Search Engine requests to an
|
289
|
+
# alternate search handler.
|
283
290
|
# @param [String] exact_terms
|
284
291
|
# Identifies a phrase that all documents in the search results must contain.
|
285
292
|
# @param [String] exclude_terms
|
@@ -420,7 +427,7 @@ module Google
|
|
420
427
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
421
428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
422
429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
423
|
-
def list_cse_siterestricts(c2coff: nil, cr: nil, cx: nil, date_restrict: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, q: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, snippet_length: nil, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
430
|
+
def list_cse_siterestricts(c2coff: nil, cr: nil, cx: nil, date_restrict: nil, enable_alternate_search_handler: nil, exact_terms: nil, exclude_terms: nil, file_type: nil, filter: nil, gl: nil, googlehost: nil, high_range: nil, hl: nil, hq: nil, img_color_type: nil, img_dominant_color: nil, img_size: nil, img_type: nil, link_site: nil, low_range: nil, lr: nil, num: nil, or_terms: nil, q: nil, related_site: nil, rights: nil, safe: nil, search_type: nil, site_search: nil, site_search_filter: nil, snippet_length: nil, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
424
431
|
command = make_simple_command(:get, 'customsearch/v1/siterestrict', options)
|
425
432
|
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
426
433
|
command.response_class = Google::Apis::CustomsearchV1::Search
|
@@ -428,6 +435,7 @@ module Google
|
|
428
435
|
command.query['cr'] = cr unless cr.nil?
|
429
436
|
command.query['cx'] = cx unless cx.nil?
|
430
437
|
command.query['dateRestrict'] = date_restrict unless date_restrict.nil?
|
438
|
+
command.query['enableAlternateSearchHandler'] = enable_alternate_search_handler unless enable_alternate_search_handler.nil?
|
431
439
|
command.query['exactTerms'] = exact_terms unless exact_terms.nil?
|
432
440
|
command.query['excludeTerms'] = exclude_terms unless exclude_terms.nil?
|
433
441
|
command.query['fileType'] = file_type unless file_type.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-customsearch_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-customsearch_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-customsearch_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|