google-apis-customsearch_v1 0.19.0 → 0.20.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 +4 -0
- data/lib/google/apis/customsearch_v1/gem_version.rb +2 -2
- data/lib/google/apis/customsearch_v1/service.rb +2 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c8520da55f23020943bc7002c9de3a3f107361bfce21c86e9ddacf04153c2cc
|
4
|
+
data.tar.gz: 6a27df7387c34faa42c687e7b4182dc8f4fca93adb4da7c4d7da2a5401a79598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08ca60a0345db8449a078ebb8289474417130e479e149565a7f760eb79f7bb8b8e3794c21bba425eaf1cbf8f7c91f4d7bf7e41ccd5948053cadffb9bdb19305
|
7
|
+
data.tar.gz: ae1ed7f5e24ee0f30c250dbce71f43be7cf5cb0045a7f281ed6f9663409d1e783a0944ab9bc3b6ccef6f44083f57003b826d4cee4f499f5ab00b58c16aeb8e1f
|
data/CHANGELOG.md
CHANGED
@@ -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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -182,9 +182,6 @@ module Google
|
|
182
182
|
# Controls whether to include or exclude results from the site named in the `
|
183
183
|
# siteSearch` parameter. Acceptable values are: * `"e"`: exclude * `"i"`:
|
184
184
|
# include
|
185
|
-
# @param [Fixnum] snippet_length
|
186
|
-
# Optional. Maximum length of snippet text, in characters, to be returned with
|
187
|
-
# results. * Valid values are integers between 1 and 160, inclusive.
|
188
185
|
# @param [String] sort
|
189
186
|
# The sort expression to apply to the results. The sort parameter specifies that
|
190
187
|
# the results be sorted according to the specified expression i.e. sort by date.
|
@@ -214,7 +211,7 @@ module Google
|
|
214
211
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
215
212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
216
213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
217
|
-
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,
|
214
|
+
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, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
218
215
|
command = make_simple_command(:get, 'customsearch/v1', options)
|
219
216
|
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
220
217
|
command.response_class = Google::Apis::CustomsearchV1::Search
|
@@ -247,7 +244,6 @@ module Google
|
|
247
244
|
command.query['searchType'] = search_type unless search_type.nil?
|
248
245
|
command.query['siteSearch'] = site_search unless site_search.nil?
|
249
246
|
command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil?
|
250
|
-
command.query['snippetLength'] = snippet_length unless snippet_length.nil?
|
251
247
|
command.query['sort'] = sort unless sort.nil?
|
252
248
|
command.query['start'] = start unless start.nil?
|
253
249
|
command.query['fields'] = fields unless fields.nil?
|
@@ -386,9 +382,6 @@ module Google
|
|
386
382
|
# Controls whether to include or exclude results from the site named in the `
|
387
383
|
# siteSearch` parameter. Acceptable values are: * `"e"`: exclude * `"i"`:
|
388
384
|
# include
|
389
|
-
# @param [Fixnum] snippet_length
|
390
|
-
# Optional. Maximum length of snippet text, in characters, to be returned with
|
391
|
-
# results. * Valid values are integers between 1 and 160, inclusive.
|
392
385
|
# @param [String] sort
|
393
386
|
# The sort expression to apply to the results. The sort parameter specifies that
|
394
387
|
# the results be sorted according to the specified expression i.e. sort by date.
|
@@ -418,7 +411,7 @@ module Google
|
|
418
411
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
419
412
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
420
413
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
421
|
-
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,
|
414
|
+
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, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
422
415
|
command = make_simple_command(:get, 'customsearch/v1/siterestrict', options)
|
423
416
|
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
424
417
|
command.response_class = Google::Apis::CustomsearchV1::Search
|
@@ -451,7 +444,6 @@ module Google
|
|
451
444
|
command.query['searchType'] = search_type unless search_type.nil?
|
452
445
|
command.query['siteSearch'] = site_search unless site_search.nil?
|
453
446
|
command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil?
|
454
|
-
command.query['snippetLength'] = snippet_length unless snippet_length.nil?
|
455
447
|
command.query['sort'] = sort unless sort.nil?
|
456
448
|
command.query['start'] = start unless start.nil?
|
457
449
|
command.query['fields'] = fields unless fields.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.20.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-03-
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.20.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: []
|