google-apis-customsearch_v1 0.18.0 → 0.19.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 +10 -2
- 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: b46354ba362e50c465fac68f9d6ffa38378ce8e5b31cd4205f201beef57efd03
|
4
|
+
data.tar.gz: 2e9d1188a207e9a6abde59bdeb3f7557dac0224a0dccdf455aeb26315c0bed14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed4450c127091fc90b3afe131aff20cb7dd23f53dac511a788d154b7fb7f16fe8a4dc0a9295b37ce431637f2b10009fb3527f0f9eeb11c2ebb470977aab9343c
|
7
|
+
data.tar.gz: 12b38a4f82a6074afae6a452d22e4a282ce8d139b30356e80ec18bbd284f3afbe272d0a65f936a82266d24eda1e02a8b70d203535275082b32c0d1ff7d5ac241
|
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.19.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 = "20240320"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -182,6 +182,9 @@ 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.
|
185
188
|
# @param [String] sort
|
186
189
|
# The sort expression to apply to the results. The sort parameter specifies that
|
187
190
|
# the results be sorted according to the specified expression i.e. sort by date.
|
@@ -211,7 +214,7 @@ module Google
|
|
211
214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
212
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
213
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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)
|
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, snippet_length: nil, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
215
218
|
command = make_simple_command(:get, 'customsearch/v1', options)
|
216
219
|
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
217
220
|
command.response_class = Google::Apis::CustomsearchV1::Search
|
@@ -244,6 +247,7 @@ module Google
|
|
244
247
|
command.query['searchType'] = search_type unless search_type.nil?
|
245
248
|
command.query['siteSearch'] = site_search unless site_search.nil?
|
246
249
|
command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil?
|
250
|
+
command.query['snippetLength'] = snippet_length unless snippet_length.nil?
|
247
251
|
command.query['sort'] = sort unless sort.nil?
|
248
252
|
command.query['start'] = start unless start.nil?
|
249
253
|
command.query['fields'] = fields unless fields.nil?
|
@@ -382,6 +386,9 @@ module Google
|
|
382
386
|
# Controls whether to include or exclude results from the site named in the `
|
383
387
|
# siteSearch` parameter. Acceptable values are: * `"e"`: exclude * `"i"`:
|
384
388
|
# 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.
|
385
392
|
# @param [String] sort
|
386
393
|
# The sort expression to apply to the results. The sort parameter specifies that
|
387
394
|
# the results be sorted according to the specified expression i.e. sort by date.
|
@@ -411,7 +418,7 @@ module Google
|
|
411
418
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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)
|
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, snippet_length: nil, sort: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
|
415
422
|
command = make_simple_command(:get, 'customsearch/v1/siterestrict', options)
|
416
423
|
command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
|
417
424
|
command.response_class = Google::Apis::CustomsearchV1::Search
|
@@ -444,6 +451,7 @@ module Google
|
|
444
451
|
command.query['searchType'] = search_type unless search_type.nil?
|
445
452
|
command.query['siteSearch'] = site_search unless site_search.nil?
|
446
453
|
command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil?
|
454
|
+
command.query['snippetLength'] = snippet_length unless snippet_length.nil?
|
447
455
|
command.query['sort'] = sort unless sort.nil?
|
448
456
|
command.query['start'] = start unless start.nil?
|
449
457
|
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.19.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-03-24 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.19.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: []
|