google-apis-customsearch_v1 0.22.0 → 0.23.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: ef3ad0236885f68513b589afe67329295fea8a6a16dc11f87c6385c8323a886b
4
- data.tar.gz: 4b7fe511835940b3f1470c09310a5f6f56cd1da8b22d745e74ca2f0d2e919bbc
3
+ metadata.gz: 4d9711aa5814ccbbcc62572b1419772e956f0b24d27c4f865bd7cc4ef19e6418
4
+ data.tar.gz: a661ec7823d6888a0c1824f2d6f409dd6a7e0c07ef4f2914a13d6e26844a14ce
5
5
  SHA512:
6
- metadata.gz: 0eba993716d26b3592a64de6af702da244eb348079a806fb570079a551e28c1752ddb514f7b789d8468660aa5bea1d28e00aba271e7c2be854ba495f220146b1
7
- data.tar.gz: f737a3664dd36df3afe235c3749ed3ab424d6d16a4f55a1772db8222d5354fdd892f3e605cc00e533b6d6a410d7258cf3ab07c8092325e5a9069af53d686f6f2
6
+ metadata.gz: 8aa07d2577834c8877d8c7b44a13ce56049a0bbd512a3e24dd2a17d7ee565bb69f26f95b13809abfaeaa9c57082b350e0e2e5337e796144190909f4eaa8d6311
7
+ data.tar.gz: 35d51c902e1b7f07b1876a66e6ce5f3a514613da8a4258c1cf114b146eebd29db334c434df9facc90eba61c4ac70408c38134a027145a41762363d789805d8ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-customsearch_v1
2
2
 
3
+ ### v0.23.0 (2024-08-25)
4
+
5
+ * Regenerated from discovery document revision 20240821
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.22.0 (2024-05-19)
4
9
 
5
10
  * Regenerated using generator version 0.15.0
@@ -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.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240417"
25
+ REVISION = "20240821"
26
26
  end
27
27
  end
28
28
  end
@@ -75,6 +75,9 @@ module Google
75
75
  # requests results from the specified number of past weeks. * `m[number]`:
76
76
  # requests results from the specified number of past months. * `y[number]`:
77
77
  # requests results from the specified number of past years.
78
+ # @param [Boolean] enable_alternate_search_handler
79
+ # Optional. Enables routing of Programmable Search Engine requests to an
80
+ # alternate search handler.
78
81
  # @param [String] exact_terms
79
82
  # Identifies a phrase that all documents in the search results must contain.
80
83
  # @param [String] exclude_terms
@@ -215,7 +218,7 @@ module Google
215
218
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
216
219
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
217
220
  # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
221
+ def list_cses(c2coff: nil, cr: nil, cx: nil, date_restrict: nil, enable_alternate_search_handler: 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)
219
222
  command = make_simple_command(:get, 'customsearch/v1', options)
220
223
  command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
221
224
  command.response_class = Google::Apis::CustomsearchV1::Search
@@ -223,6 +226,7 @@ module Google
223
226
  command.query['cr'] = cr unless cr.nil?
224
227
  command.query['cx'] = cx unless cx.nil?
225
228
  command.query['dateRestrict'] = date_restrict unless date_restrict.nil?
229
+ command.query['enableAlternateSearchHandler'] = enable_alternate_search_handler unless enable_alternate_search_handler.nil?
226
230
  command.query['exactTerms'] = exact_terms unless exact_terms.nil?
227
231
  command.query['excludeTerms'] = exclude_terms unless exclude_terms.nil?
228
232
  command.query['fileType'] = file_type unless file_type.nil?
@@ -280,6 +284,9 @@ module Google
280
284
  # requests results from the specified number of past weeks. * `m[number]`:
281
285
  # requests results from the specified number of past months. * `y[number]`:
282
286
  # requests results from the specified number of past years.
287
+ # @param [Boolean] enable_alternate_search_handler
288
+ # Optional. Enables routing of Programmable Search Engine requests to an
289
+ # alternate search handler.
283
290
  # @param [String] exact_terms
284
291
  # Identifies a phrase that all documents in the search results must contain.
285
292
  # @param [String] exclude_terms
@@ -420,7 +427,7 @@ module Google
420
427
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
421
428
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
422
429
  # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
430
+ def list_cse_siterestricts(c2coff: nil, cr: nil, cx: nil, date_restrict: nil, enable_alternate_search_handler: 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)
424
431
  command = make_simple_command(:get, 'customsearch/v1/siterestrict', options)
425
432
  command.response_representation = Google::Apis::CustomsearchV1::Search::Representation
426
433
  command.response_class = Google::Apis::CustomsearchV1::Search
@@ -428,6 +435,7 @@ module Google
428
435
  command.query['cr'] = cr unless cr.nil?
429
436
  command.query['cx'] = cx unless cx.nil?
430
437
  command.query['dateRestrict'] = date_restrict unless date_restrict.nil?
438
+ command.query['enableAlternateSearchHandler'] = enable_alternate_search_handler unless enable_alternate_search_handler.nil?
431
439
  command.query['exactTerms'] = exact_terms unless exact_terms.nil?
432
440
  command.query['excludeTerms'] = exclude_terms unless exclude_terms.nil?
433
441
  command.query['fileType'] = file_type unless file_type.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.22.0
4
+ version: 0.23.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-08-25 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-customsearch_v1/v0.23.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: []