google-apis-customsearch_v1 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32f244c1eb0fed51765e651a75b7bca1927a1577b5f03f775c7eb743074e7382
4
- data.tar.gz: 0210b3bc4c2af2fee8581a54814711d00e43ab86de2a90e83f029663bb65b016
3
+ metadata.gz: b46354ba362e50c465fac68f9d6ffa38378ce8e5b31cd4205f201beef57efd03
4
+ data.tar.gz: 2e9d1188a207e9a6abde59bdeb3f7557dac0224a0dccdf455aeb26315c0bed14
5
5
  SHA512:
6
- metadata.gz: 0a826800766db6aa74667dc872b77e19cf59457b29a2ff9696ef6ef1bb4a6e1ee8917c90e9020910039751b5f2f2dd61a2fe9c57e9c9f4b0955a841f7e61ba59
7
- data.tar.gz: c886c6c616b495dedb153863e6e38d2125092ccedb5999571bb736941c00d07de0cec3e7d39f16cd00919d3c001034e50f1aa912fef93370b455f6d2ce2ab953
6
+ metadata.gz: ed4450c127091fc90b3afe131aff20cb7dd23f53dac511a788d154b7fb7f16fe8a4dc0a9295b37ce431637f2b10009fb3527f0f9eeb11c2ebb470977aab9343c
7
+ data.tar.gz: 12b38a4f82a6074afae6a452d22e4a282ce8d139b30356e80ec18bbd284f3afbe272d0a65f936a82266d24eda1e02a8b70d203535275082b32c0d1ff7d5ac241
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-customsearch_v1
2
2
 
3
+ ### v0.19.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240320
6
+
7
+ ### v0.18.0 (2024-02-23)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.17.0 (2024-01-23)
4
12
 
5
13
  * Regenerated using generator version 0.13.0
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/custom-search/v1/intro
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240103"
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.17.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-01-23 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.17.0
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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Custom Search API V1