google-apis-customsearch_v1 0.20.0 → 0.22.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: ef3ad0236885f68513b589afe67329295fea8a6a16dc11f87c6385c8323a886b
4
+ data.tar.gz: 4b7fe511835940b3f1470c09310a5f6f56cd1da8b22d745e74ca2f0d2e919bbc
5
5
  SHA512:
6
- metadata.gz: a08ca60a0345db8449a078ebb8289474417130e479e149565a7f760eb79f7bb8b8e3794c21bba425eaf1cbf8f7c91f4d7bf7e41ccd5948053cadffb9bdb19305
7
- data.tar.gz: ae1ed7f5e24ee0f30c250dbce71f43be7cf5cb0045a7f281ed6f9663409d1e783a0944ab9bc3b6ccef6f44083f57003b826d4cee4f499f5ab00b58c16aeb8e1f
6
+ metadata.gz: 0eba993716d26b3592a64de6af702da244eb348079a806fb570079a551e28c1752ddb514f7b789d8468660aa5bea1d28e00aba271e7c2be854ba495f220146b1
7
+ data.tar.gz: f737a3664dd36df3afe235c3749ed3ab424d6d16a4f55a1772db8222d5354fdd892f3e605cc00e533b6d6a410d7258cf3ab07c8092325e5a9069af53d686f6f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-customsearch_v1
2
2
 
3
+ ### v0.22.0 (2024-05-19)
4
+
5
+ * Regenerated using generator version 0.15.0
6
+
7
+ ### v0.21.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240417
10
+
3
11
  ### v0.20.0 (2024-03-31)
4
12
 
5
13
  * 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.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.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.22.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-05-26 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.14.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.14.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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.22.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: []