google-apis-customsearch_v1 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c8520da55f23020943bc7002c9de3a3f107361bfce21c86e9ddacf04153c2cc
4
- data.tar.gz: 6a27df7387c34faa42c687e7b4182dc8f4fca93adb4da7c4d7da2a5401a79598
3
+ metadata.gz: 6e86d2648569c5d942ba45eca9f76dcb1726b8ebbea9f29b1f7413c40b35e9fc
4
+ data.tar.gz: 27128978d53599dbd9d52d62ecd57826b787c9e28d7cc8c18b44ba34bc3f62b7
5
5
  SHA512:
6
- metadata.gz: a08ca60a0345db8449a078ebb8289474417130e479e149565a7f760eb79f7bb8b8e3794c21bba425eaf1cbf8f7c91f4d7bf7e41ccd5948053cadffb9bdb19305
7
- data.tar.gz: ae1ed7f5e24ee0f30c250dbce71f43be7cf5cb0045a7f281ed6f9663409d1e783a0944ab9bc3b6ccef6f44083f57003b826d4cee4f499f5ab00b58c16aeb8e1f
6
+ metadata.gz: bdf0aa8a4343bf257ed1fa6ce3fd4d52d6d1f06111850c2e3375ab7bfc45bf8e795d3ab59bc02f3afa72eed959028d3280336117df5f38fb9c3f092807c8d398
7
+ data.tar.gz: 9fcb8f00a564a9e5f6c2b0b1a9518c3e84bb15acdf43718253d4e3cb137d6f50691457865c1567937233e3e162969bcb140217fa610427b8a42416927415384f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-customsearch_v1
2
2
 
3
+ ### v0.21.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
3
7
  ### v0.20.0 (2024-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20240326
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.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 = "20240326"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -182,6 +182,10 @@ 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. Note: this feature is limited to specific engines. * Valid values are
188
+ # integers between 161 and 1000, inclusive.
185
189
  # @param [String] sort
186
190
  # The sort expression to apply to the results. The sort parameter specifies that
187
191
  # the results be sorted according to the specified expression i.e. sort by date.
@@ -211,7 +215,7 @@ module Google
211
215
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
216
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
217
  # @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)
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)
215
219
  command = make_simple_command(:get, 'customsearch/v1', options)
216
220
  command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
217
221
  command.response_class = Google::Apis::CustomsearchV1::Search
@@ -244,6 +248,7 @@ module Google
244
248
  command.query['searchType'] = search_type unless search_type.nil?
245
249
  command.query['siteSearch'] = site_search unless site_search.nil?
246
250
  command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil?
251
+ command.query['snippetLength'] = snippet_length unless snippet_length.nil?
247
252
  command.query['sort'] = sort unless sort.nil?
248
253
  command.query['start'] = start unless start.nil?
249
254
  command.query['fields'] = fields unless fields.nil?
@@ -382,6 +387,10 @@ module Google
382
387
  # Controls whether to include or exclude results from the site named in the `
383
388
  # siteSearch` parameter. Acceptable values are: * `"e"`: exclude * `"i"`:
384
389
  # include
390
+ # @param [Fixnum] snippet_length
391
+ # Optional. Maximum length of snippet text, in characters, to be returned with
392
+ # results. Note: this feature is limited to specific engines. * Valid values are
393
+ # integers between 161 and 1000, inclusive.
385
394
  # @param [String] sort
386
395
  # The sort expression to apply to the results. The sort parameter specifies that
387
396
  # the results be sorted according to the specified expression i.e. sort by date.
@@ -411,7 +420,7 @@ module Google
411
420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
412
421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
413
422
  # @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)
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)
415
424
  command = make_simple_command(:get, 'customsearch/v1/siterestrict', options)
416
425
  command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
417
426
  command.response_class = Google::Apis::CustomsearchV1::Search
@@ -444,6 +453,7 @@ module Google
444
453
  command.query['searchType'] = search_type unless search_type.nil?
445
454
  command.query['siteSearch'] = site_search unless site_search.nil?
446
455
  command.query['siteSearchFilter'] = site_search_filter unless site_search_filter.nil?
456
+ command.query['snippetLength'] = snippet_length unless snippet_length.nil?
447
457
  command.query['sort'] = sort unless sort.nil?
448
458
  command.query['start'] = start unless start.nil?
449
459
  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.20.0
4
+ version: 0.21.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-31 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.21.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: []