algolia 3.0.0.alpha.15 → 3.0.0.alpha.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/FILES +10 -167
  3. data/CHANGELOG.md +14 -0
  4. data/Gemfile.lock +1 -1
  5. data/lib/algolia/api/analytics_client.rb +76 -76
  6. data/lib/algolia/api/ingestion_client.rb +267 -196
  7. data/lib/algolia/api/monitoring_client.rb +49 -49
  8. data/lib/algolia/api/query_suggestions_client.rb +14 -14
  9. data/lib/algolia/api/recommend_client.rb +22 -22
  10. data/lib/algolia/api/search_client.rb +8 -8
  11. data/lib/algolia/api/usage_client.rb +329 -0
  12. data/lib/algolia/models/analytics/get_status_response.rb +1 -1
  13. data/lib/algolia/models/ingestion/auth_algolia.rb +3 -2
  14. data/lib/algolia/models/ingestion/auth_algolia_insights.rb +212 -0
  15. data/lib/algolia/models/{recommend/consequence_query_object.rb → ingestion/auth_algolia_insights_partial.rb} +21 -24
  16. data/lib/algolia/models/ingestion/auth_algolia_partial.rb +3 -2
  17. data/lib/algolia/models/ingestion/auth_api_key.rb +2 -1
  18. data/lib/algolia/models/ingestion/auth_api_key_partial.rb +2 -1
  19. data/lib/algolia/models/ingestion/auth_basic.rb +3 -1
  20. data/lib/algolia/models/ingestion/auth_basic_partial.rb +3 -1
  21. data/lib/algolia/models/ingestion/auth_google_service_account.rb +3 -3
  22. data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +3 -3
  23. data/lib/algolia/models/ingestion/auth_input.rb +1 -0
  24. data/lib/algolia/models/ingestion/auth_input_partial.rb +1 -0
  25. data/lib/algolia/models/ingestion/auth_o_auth.rb +18 -8
  26. data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +18 -8
  27. data/lib/algolia/models/ingestion/authentication.rb +5 -5
  28. data/lib/algolia/models/ingestion/authentication_create.rb +2 -2
  29. data/lib/algolia/models/ingestion/authentication_create_response.rb +4 -4
  30. data/lib/algolia/models/ingestion/authentication_search.rb +1 -1
  31. data/lib/algolia/models/ingestion/authentication_type.rb +2 -1
  32. data/lib/algolia/models/ingestion/authentication_update.rb +2 -2
  33. data/lib/algolia/models/ingestion/authentication_update_response.rb +4 -4
  34. data/lib/algolia/models/ingestion/big_commerce_channel.rb +2 -2
  35. data/lib/algolia/models/ingestion/big_commerce_metafield.rb +2 -2
  36. data/lib/algolia/models/ingestion/commercetools_custom_fields.rb +1 -1
  37. data/lib/algolia/models/ingestion/delete_response.rb +1 -1
  38. data/lib/algolia/models/ingestion/destination.rb +6 -6
  39. data/lib/algolia/models/ingestion/destination_create.rb +3 -3
  40. data/lib/algolia/models/ingestion/destination_create_response.rb +4 -4
  41. data/lib/algolia/models/ingestion/destination_index_name.rb +2 -2
  42. data/lib/algolia/models/ingestion/destination_index_prefix.rb +1 -1
  43. data/lib/algolia/models/ingestion/destination_search.rb +1 -1
  44. data/lib/algolia/models/ingestion/destination_type.rb +1 -2
  45. data/lib/algolia/models/ingestion/destination_update.rb +3 -3
  46. data/lib/algolia/models/ingestion/destination_update_response.rb +4 -4
  47. data/lib/algolia/models/ingestion/docker_source_discover.rb +2 -2
  48. data/lib/algolia/models/ingestion/event.rb +3 -3
  49. data/lib/algolia/models/ingestion/list_tasks_response.rb +1 -1
  50. data/lib/algolia/models/ingestion/mapping_format_schema.rb +32 -0
  51. data/lib/algolia/models/ingestion/mapping_input.rb +24 -3
  52. data/lib/algolia/models/ingestion/on_demand_date_utils_input.rb +3 -3
  53. data/lib/algolia/models/ingestion/on_demand_trigger.rb +2 -2
  54. data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +1 -1
  55. data/lib/algolia/models/ingestion/pagination.rb +65 -0
  56. data/lib/algolia/models/ingestion/platform.rb +2 -1
  57. data/lib/algolia/models/ingestion/run.rb +7 -7
  58. data/lib/algolia/models/ingestion/run_response.rb +3 -3
  59. data/lib/algolia/models/ingestion/schedule_date_utils_input.rb +2 -2
  60. data/lib/algolia/models/ingestion/schedule_trigger.rb +4 -4
  61. data/lib/algolia/models/ingestion/schedule_trigger_input.rb +2 -2
  62. data/lib/algolia/models/ingestion/source.rb +4 -4
  63. data/lib/algolia/models/ingestion/source_big_commerce.rb +1 -1
  64. data/lib/algolia/models/ingestion/source_big_query.rb +5 -5
  65. data/lib/algolia/models/ingestion/source_commercetools.rb +2 -2
  66. data/lib/algolia/models/ingestion/source_create.rb +2 -1
  67. data/lib/algolia/models/ingestion/source_create_response.rb +3 -2
  68. data/lib/algolia/models/ingestion/source_csv.rb +3 -3
  69. data/lib/algolia/models/ingestion/source_docker.rb +3 -3
  70. data/lib/algolia/models/ingestion/source_ga4_big_query_export.rb +3 -3
  71. data/lib/algolia/models/ingestion/source_json.rb +2 -2
  72. data/lib/algolia/models/ingestion/source_type.rb +5 -3
  73. data/lib/algolia/models/ingestion/source_update.rb +2 -1
  74. data/lib/algolia/models/ingestion/source_update_commercetools.rb +2 -3
  75. data/lib/algolia/models/ingestion/source_update_docker.rb +3 -3
  76. data/lib/algolia/models/ingestion/source_update_response.rb +3 -2
  77. data/lib/algolia/models/ingestion/streaming_trigger.rb +1 -1
  78. data/lib/algolia/models/ingestion/streaming_utils_input.rb +1 -1
  79. data/lib/algolia/models/ingestion/subscription_trigger.rb +1 -1
  80. data/lib/algolia/models/ingestion/task.rb +7 -7
  81. data/lib/algolia/models/ingestion/task_create.rb +5 -5
  82. data/lib/algolia/models/ingestion/task_create_response.rb +3 -3
  83. data/lib/algolia/models/ingestion/task_input.rb +1 -0
  84. data/lib/algolia/models/ingestion/task_update.rb +4 -4
  85. data/lib/algolia/models/ingestion/task_update_response.rb +3 -3
  86. data/lib/algolia/models/ingestion/trigger.rb +1 -0
  87. data/lib/algolia/models/ingestion/trigger_update_input.rb +2 -2
  88. data/lib/algolia/models/ingestion/window.rb +3 -3
  89. data/lib/algolia/models/insights/added_to_cart_object_ids.rb +1 -1
  90. data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +1 -1
  91. data/lib/algolia/models/insights/clicked_filters.rb +1 -1
  92. data/lib/algolia/models/insights/clicked_object_ids.rb +1 -1
  93. data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +1 -1
  94. data/lib/algolia/models/insights/converted_filters.rb +1 -1
  95. data/lib/algolia/models/insights/converted_object_ids.rb +1 -1
  96. data/lib/algolia/models/insights/converted_object_ids_after_search.rb +1 -1
  97. data/lib/algolia/models/insights/purchased_object_ids.rb +1 -1
  98. data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +3 -1
  99. data/lib/algolia/models/insights/viewed_filters.rb +1 -1
  100. data/lib/algolia/models/insights/viewed_object_ids.rb +1 -1
  101. data/lib/algolia/models/monitoring/{get_inventory403_response.rb → get_servers403_response.rb} +3 -3
  102. data/lib/algolia/models/monitoring/incidents_inner.rb +1 -1
  103. data/lib/algolia/models/monitoring/probes_metric.rb +1 -1
  104. data/lib/algolia/models/monitoring/server.rb +2 -2
  105. data/lib/algolia/models/monitoring/time_inner.rb +1 -1
  106. data/lib/algolia/models/query-suggestions/app_id.rb +197 -0
  107. data/lib/algolia/models/query-suggestions/get_config_status200_response.rb +4 -4
  108. data/lib/algolia/models/query-suggestions/get_log_file200_response.rb +2 -2
  109. data/lib/algolia/models/query-suggestions/languages.rb +1 -1
  110. data/lib/algolia/models/query-suggestions/query_suggestions_configuration.rb +2 -3
  111. data/lib/algolia/models/query-suggestions/query_suggestions_configuration_response.rb +23 -34
  112. data/lib/algolia/models/query-suggestions/query_suggestions_configuration_with_index.rb +18 -20
  113. data/lib/algolia/models/query-suggestions/source_index.rb +3 -5
  114. data/lib/algolia/models/recommend/auto_facet_filter.rb +208 -0
  115. data/lib/algolia/models/recommend/base_recommend_request.rb +36 -7
  116. data/lib/algolia/models/recommend/base_search_params.rb +1 -1
  117. data/lib/algolia/models/recommend/base_search_params_without_query.rb +1 -1
  118. data/lib/algolia/models/recommend/bought_together_query.rb +319 -0
  119. data/lib/algolia/models/recommend/condition.rb +12 -62
  120. data/lib/algolia/models/recommend/consequence.rb +32 -54
  121. data/lib/algolia/models/recommend/deleted_at_response.rb +1 -1
  122. data/lib/algolia/models/recommend/{recommended_for_you_query_parameters.rb → fallback_params.rb} +9 -12
  123. data/lib/algolia/models/recommend/{edit_type.rb → fbt_model.rb} +5 -6
  124. data/lib/algolia/models/recommend/{base_trending_facets_query.rb → frequently_bought_together.rb} +20 -18
  125. data/lib/algolia/models/recommend/get_recommendations_params.rb +2 -2
  126. data/lib/algolia/models/recommend/{consequence_hide.rb → hide_consequence_object.rb} +4 -6
  127. data/lib/algolia/models/recommend/index_settings_as_search_params.rb +5 -5
  128. data/lib/algolia/models/recommend/{base_recommendations_query.rb → looking_similar.rb} +6 -15
  129. data/lib/algolia/models/recommend/{anchoring.rb → looking_similar_model.rb} +5 -8
  130. data/lib/algolia/models/recommend/looking_similar_query.rb +328 -0
  131. data/lib/algolia/models/recommend/{params.rb → params_consequence.rb} +26 -28
  132. data/lib/algolia/models/recommend/{promote_object_id.rb → promote_consequence_object.rb} +19 -9
  133. data/lib/algolia/models/recommend/{rule_response.rb → recommend_rule.rb} +13 -18
  134. data/lib/algolia/models/recommend/{rule_response_metadata.rb → recommend_rule_metadata.rb} +5 -4
  135. data/lib/algolia/models/recommend/recommendations_hits.rb +4 -24
  136. data/lib/algolia/models/recommend/recommendations_request.rb +3 -1
  137. data/lib/algolia/models/recommend/recommendations_results.rb +4 -24
  138. data/lib/algolia/models/recommend/{base_recommended_for_you_query.rb → recommended_for_you.rb} +5 -14
  139. data/lib/algolia/models/recommend/recommended_for_you_query.rb +35 -15
  140. data/lib/algolia/models/recommend/{recommendation_models.rb → related_model.rb} +4 -5
  141. data/lib/algolia/models/recommend/{edit.rb → related_products.rb} +27 -24
  142. data/lib/algolia/models/recommend/{recommendations_query.rb → related_query.rb} +39 -19
  143. data/lib/algolia/models/recommend/{consequence_params.rb → search_params.rb} +25 -44
  144. data/lib/algolia/models/recommend/search_params_object.rb +6 -6
  145. data/lib/algolia/models/recommend/search_recommend_rules_params.rb +58 -10
  146. data/lib/algolia/models/recommend/search_recommend_rules_response.rb +2 -2
  147. data/lib/algolia/models/recommend/trending_facet_hit.rb +2 -2
  148. data/lib/algolia/models/recommend/trending_facets.rb +243 -0
  149. data/lib/algolia/models/recommend/trending_facets_query.rb +50 -10
  150. data/lib/algolia/models/recommend/{base_trending_items_query.rb → trending_items.rb} +12 -15
  151. data/lib/algolia/models/recommend/trending_items_query.rb +42 -16
  152. data/lib/algolia/models/search/add_api_key_response.rb +1 -1
  153. data/lib/algolia/models/search/base_get_api_key_response.rb +1 -1
  154. data/lib/algolia/models/search/base_index_settings.rb +4 -4
  155. data/lib/algolia/models/search/base_search_params.rb +1 -1
  156. data/lib/algolia/models/search/base_search_params_without_query.rb +1 -1
  157. data/lib/algolia/models/search/browse_params_object.rb +6 -6
  158. data/lib/algolia/models/search/consequence_params.rb +6 -6
  159. data/lib/algolia/models/search/created_at_response.rb +1 -1
  160. data/lib/algolia/models/search/delete_api_key_response.rb +1 -1
  161. data/lib/algolia/models/search/delete_by_params.rb +1 -1
  162. data/lib/algolia/models/search/delete_source_response.rb +1 -1
  163. data/lib/algolia/models/search/deleted_at_response.rb +1 -1
  164. data/lib/algolia/models/search/fetched_index.rb +1 -1
  165. data/lib/algolia/models/search/get_api_key_response.rb +1 -1
  166. data/lib/algolia/models/search/index_settings.rb +9 -9
  167. data/lib/algolia/models/search/index_settings_as_search_params.rb +5 -5
  168. data/lib/algolia/models/search/log.rb +1 -1
  169. data/lib/algolia/models/search/remove_user_id_response.rb +1 -1
  170. data/lib/algolia/models/search/replace_source_response.rb +1 -1
  171. data/lib/algolia/models/search/save_object_response.rb +1 -1
  172. data/lib/algolia/models/search/save_synonym_response.rb +1 -1
  173. data/lib/algolia/models/search/search_for_facets.rb +6 -6
  174. data/lib/algolia/models/search/search_for_hits.rb +6 -6
  175. data/lib/algolia/models/search/search_params_object.rb +6 -6
  176. data/lib/algolia/models/search/search_user_ids_response.rb +1 -1
  177. data/lib/algolia/models/search/secured_api_key_restrictions.rb +1 -1
  178. data/lib/algolia/models/search/update_api_key_response.rb +1 -1
  179. data/lib/algolia/models/search/updated_at_response.rb +1 -1
  180. data/lib/algolia/models/search/updated_at_with_object_id_response.rb +1 -1
  181. data/lib/algolia/models/search/updated_rule_response.rb +1 -1
  182. data/lib/algolia/models/search/user_hit.rb +1 -1
  183. data/lib/algolia/models/search/user_id.rb +1 -1
  184. data/lib/algolia/models/usage/error_base.rb +205 -0
  185. data/lib/algolia/models/usage/get_usage200_response.rb +198 -0
  186. data/lib/algolia/models/usage/get_usage200_response_statistics_inner.rb +206 -0
  187. data/lib/algolia/models/{recommend/base_recommended_for_you_query_parameters.rb → usage/get_usage400_response.rb} +13 -14
  188. data/lib/algolia/models/usage/get_usage400_response_error.rb +216 -0
  189. data/lib/algolia/models/usage/get_usage400_response_error_errors_inner.rb +225 -0
  190. data/lib/algolia/models/usage/granularity.rb +33 -0
  191. data/lib/algolia/models/usage/statistic.rb +116 -0
  192. data/lib/algolia/models/{recommend/promote.rb → usage/statistic_value.rb} +5 -5
  193. data/lib/algolia/version.rb +1 -1
  194. metadata +37 -26
  195. data/lib/algolia/models/recommend/automatic_facet_filter.rb +0 -220
  196. data/lib/algolia/models/recommend/automatic_facet_filters.rb +0 -97
  197. data/lib/algolia/models/recommend/consequence_query.rb +0 -97
  198. data/lib/algolia/models/recommend/promote_object_ids.rb +0 -228
@@ -215,8 +215,8 @@ module Algolia
215
215
  # Required API Key ACLs:
216
216
  # - analytics
217
217
  # @param index [String] Index name. (required)
218
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
219
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
218
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
219
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
220
220
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
221
221
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
222
222
  # @return [Http::Response] the response
@@ -254,8 +254,8 @@ module Algolia
254
254
  # Required API Key ACLs:
255
255
  # - analytics
256
256
  # @param index [String] Index name. (required)
257
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
258
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
257
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
258
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
259
259
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
260
260
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
261
261
  # @return [GetAddToCartRateResponse]
@@ -269,8 +269,8 @@ module Algolia
269
269
  # Required API Key ACLs:
270
270
  # - analytics
271
271
  # @param index [String] Index name. (required)
272
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
273
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
272
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
273
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
274
274
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
275
275
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
276
276
  # @return [Http::Response] the response
@@ -308,8 +308,8 @@ module Algolia
308
308
  # Required API Key ACLs:
309
309
  # - analytics
310
310
  # @param index [String] Index name. (required)
311
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
312
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
311
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
312
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
313
313
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
314
314
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
315
315
  # @return [GetAverageClickPositionResponse]
@@ -323,8 +323,8 @@ module Algolia
323
323
  # Required API Key ACLs:
324
324
  # - analytics
325
325
  # @param index [String] Index name. (required)
326
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
327
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
326
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
327
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
328
328
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
329
329
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
330
330
  # @return [Http::Response] the response
@@ -362,8 +362,8 @@ module Algolia
362
362
  # Required API Key ACLs:
363
363
  # - analytics
364
364
  # @param index [String] Index name. (required)
365
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
366
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
365
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
366
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
367
367
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
368
368
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
369
369
  # @return [GetClickPositionsResponse]
@@ -377,8 +377,8 @@ module Algolia
377
377
  # Required API Key ACLs:
378
378
  # - analytics
379
379
  # @param index [String] Index name. (required)
380
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
381
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
380
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
381
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
382
382
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
383
383
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
384
384
  # @return [Http::Response] the response
@@ -416,8 +416,8 @@ module Algolia
416
416
  # Required API Key ACLs:
417
417
  # - analytics
418
418
  # @param index [String] Index name. (required)
419
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
420
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
419
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
420
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
421
421
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
422
422
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
423
423
  # @return [GetClickThroughRateResponse]
@@ -431,8 +431,8 @@ module Algolia
431
431
  # Required API Key ACLs:
432
432
  # - analytics
433
433
  # @param index [String] Index name. (required)
434
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
435
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
434
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
435
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
436
436
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
437
437
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
438
438
  # @return [Http::Response] the response
@@ -470,8 +470,8 @@ module Algolia
470
470
  # Required API Key ACLs:
471
471
  # - analytics
472
472
  # @param index [String] Index name. (required)
473
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
474
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
473
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
474
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
475
475
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
476
476
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
477
477
  # @return [GetConversionRateResponse]
@@ -485,8 +485,8 @@ module Algolia
485
485
  # Required API Key ACLs:
486
486
  # - analytics
487
487
  # @param index [String] Index name. (required)
488
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
489
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
488
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
489
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
490
490
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
491
491
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
492
492
  # @return [Http::Response] the response
@@ -524,8 +524,8 @@ module Algolia
524
524
  # Required API Key ACLs:
525
525
  # - analytics
526
526
  # @param index [String] Index name. (required)
527
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
528
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
527
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
528
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
529
529
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
530
530
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
531
531
  # @return [GetNoClickRateResponse]
@@ -539,8 +539,8 @@ module Algolia
539
539
  # Required API Key ACLs:
540
540
  # - analytics
541
541
  # @param index [String] Index name. (required)
542
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
543
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
542
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
543
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
544
544
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
545
545
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
546
546
  # @return [Http::Response] the response
@@ -578,8 +578,8 @@ module Algolia
578
578
  # Required API Key ACLs:
579
579
  # - analytics
580
580
  # @param index [String] Index name. (required)
581
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
582
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
581
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
582
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
583
583
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
584
584
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
585
585
  # @return [GetNoResultsRateResponse]
@@ -593,8 +593,8 @@ module Algolia
593
593
  # Required API Key ACLs:
594
594
  # - analytics
595
595
  # @param index [String] Index name. (required)
596
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
597
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
596
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
597
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
598
598
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
599
599
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
600
600
  # @return [Http::Response] the response
@@ -632,8 +632,8 @@ module Algolia
632
632
  # Required API Key ACLs:
633
633
  # - analytics
634
634
  # @param index [String] Index name. (required)
635
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
636
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
635
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
636
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
637
637
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
638
638
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
639
639
  # @return [GetPurchaseRateResponse]
@@ -647,8 +647,8 @@ module Algolia
647
647
  # Required API Key ACLs:
648
648
  # - analytics
649
649
  # @param index [String] Index name. (required)
650
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
651
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
650
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
651
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
652
652
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
653
653
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
654
654
  # @return [Http::Response] the response
@@ -686,8 +686,8 @@ module Algolia
686
686
  # Required API Key ACLs:
687
687
  # - analytics
688
688
  # @param index [String] Index name. (required)
689
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
690
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
689
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
690
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
691
691
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
692
692
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
693
693
  # @return [GetRevenue]
@@ -701,8 +701,8 @@ module Algolia
701
701
  # Required API Key ACLs:
702
702
  # - analytics
703
703
  # @param index [String] Index name. (required)
704
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
705
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
704
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
705
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
706
706
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
707
707
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
708
708
  # @return [Http::Response] the response
@@ -740,8 +740,8 @@ module Algolia
740
740
  # Required API Key ACLs:
741
741
  # - analytics
742
742
  # @param index [String] Index name. (required)
743
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
744
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
743
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
744
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
745
745
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
746
746
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
747
747
  # @return [GetSearchesCountResponse]
@@ -755,8 +755,8 @@ module Algolia
755
755
  # Required API Key ACLs:
756
756
  # - analytics
757
757
  # @param index [String] Index name. (required)
758
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
759
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
758
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
759
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
760
760
  # @param limit [Integer] Number of items to return. (default to 10)
761
761
  # @param offset [Integer] Position of the first item to return. (default to 0)
762
762
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -801,8 +801,8 @@ module Algolia
801
801
  # Required API Key ACLs:
802
802
  # - analytics
803
803
  # @param index [String] Index name. (required)
804
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
805
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
804
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
805
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
806
806
  # @param limit [Integer] Number of items to return. (default to 10)
807
807
  # @param offset [Integer] Position of the first item to return. (default to 0)
808
808
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -818,8 +818,8 @@ module Algolia
818
818
  # Required API Key ACLs:
819
819
  # - analytics
820
820
  # @param index [String] Index name. (required)
821
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
822
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
821
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
822
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
823
823
  # @param limit [Integer] Number of items to return. (default to 10)
824
824
  # @param offset [Integer] Position of the first item to return. (default to 0)
825
825
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -864,8 +864,8 @@ module Algolia
864
864
  # Required API Key ACLs:
865
865
  # - analytics
866
866
  # @param index [String] Index name. (required)
867
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
868
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
867
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
868
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
869
869
  # @param limit [Integer] Number of items to return. (default to 10)
870
870
  # @param offset [Integer] Position of the first item to return. (default to 0)
871
871
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -926,8 +926,8 @@ module Algolia
926
926
  # Required API Key ACLs:
927
927
  # - analytics
928
928
  # @param index [String] Index name. (required)
929
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
930
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
929
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
930
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
931
931
  # @param limit [Integer] Number of items to return. (default to 10)
932
932
  # @param offset [Integer] Position of the first item to return. (default to 0)
933
933
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -972,8 +972,8 @@ module Algolia
972
972
  # Required API Key ACLs:
973
973
  # - analytics
974
974
  # @param index [String] Index name. (required)
975
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
976
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
975
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
976
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
977
977
  # @param limit [Integer] Number of items to return. (default to 10)
978
978
  # @param offset [Integer] Position of the first item to return. (default to 0)
979
979
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -990,8 +990,8 @@ module Algolia
990
990
  # - analytics
991
991
  # @param index [String] Index name. (required)
992
992
  # @param search [String] Search query.
993
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
994
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
993
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
994
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
995
995
  # @param limit [Integer] Number of items to return. (default to 10)
996
996
  # @param offset [Integer] Position of the first item to return. (default to 0)
997
997
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1038,8 +1038,8 @@ module Algolia
1038
1038
  # - analytics
1039
1039
  # @param index [String] Index name. (required)
1040
1040
  # @param search [String] Search query.
1041
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1042
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1041
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1042
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1043
1043
  # @param limit [Integer] Number of items to return. (default to 10)
1044
1044
  # @param offset [Integer] Position of the first item to return. (default to 0)
1045
1045
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1057,8 +1057,8 @@ module Algolia
1057
1057
  # @param attribute [String] Attribute name. (required)
1058
1058
  # @param index [String] Index name. (required)
1059
1059
  # @param search [String] Search query.
1060
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1061
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1060
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1061
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1062
1062
  # @param limit [Integer] Number of items to return. (default to 10)
1063
1063
  # @param offset [Integer] Position of the first item to return. (default to 0)
1064
1064
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1110,8 +1110,8 @@ module Algolia
1110
1110
  # @param attribute [String] Attribute name. (required)
1111
1111
  # @param index [String] Index name. (required)
1112
1112
  # @param search [String] Search query.
1113
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1114
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1113
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1114
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1115
1115
  # @param limit [Integer] Number of items to return. (default to 10)
1116
1116
  # @param offset [Integer] Position of the first item to return. (default to 0)
1117
1117
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1128,8 +1128,8 @@ module Algolia
1128
1128
  # - analytics
1129
1129
  # @param index [String] Index name. (required)
1130
1130
  # @param search [String] Search query.
1131
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1132
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1131
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1132
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1133
1133
  # @param limit [Integer] Number of items to return. (default to 10)
1134
1134
  # @param offset [Integer] Position of the first item to return. (default to 0)
1135
1135
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1176,8 +1176,8 @@ module Algolia
1176
1176
  # - analytics
1177
1177
  # @param index [String] Index name. (required)
1178
1178
  # @param search [String] Search query.
1179
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1180
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1179
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1180
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1181
1181
  # @param limit [Integer] Number of items to return. (default to 10)
1182
1182
  # @param offset [Integer] Position of the first item to return. (default to 0)
1183
1183
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1196,8 +1196,8 @@ module Algolia
1196
1196
  # @param search [String] Search query.
1197
1197
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1198
1198
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1199
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1200
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1199
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1200
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1201
1201
  # @param limit [Integer] Number of items to return. (default to 10)
1202
1202
  # @param offset [Integer] Position of the first item to return. (default to 0)
1203
1203
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1249,8 +1249,8 @@ module Algolia
1249
1249
  # @param search [String] Search query.
1250
1250
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1251
1251
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1252
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1253
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1252
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1253
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1254
1254
  # @param limit [Integer] Number of items to return. (default to 10)
1255
1255
  # @param offset [Integer] Position of the first item to return. (default to 0)
1256
1256
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1269,8 +1269,8 @@ module Algolia
1269
1269
  # @param index [String] Index name. (required)
1270
1270
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1271
1271
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1272
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1273
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1272
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1273
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1274
1274
  # @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
1275
1275
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1276
1276
  # @param limit [Integer] Number of items to return. (default to 10)
@@ -1324,8 +1324,8 @@ module Algolia
1324
1324
  # @param index [String] Index name. (required)
1325
1325
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1326
1326
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1327
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1328
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1327
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1328
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1329
1329
  # @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
1330
1330
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1331
1331
  # @param limit [Integer] Number of items to return. (default to 10)
@@ -1344,8 +1344,8 @@ module Algolia
1344
1344
  # Required API Key ACLs:
1345
1345
  # - analytics
1346
1346
  # @param index [String] Index name. (required)
1347
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1348
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1347
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1348
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1349
1349
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
1350
1350
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
1351
1351
  # @return [Http::Response] the response
@@ -1383,8 +1383,8 @@ module Algolia
1383
1383
  # Required API Key ACLs:
1384
1384
  # - analytics
1385
1385
  # @param index [String] Index name. (required)
1386
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1387
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1386
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1387
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1388
1388
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
1389
1389
  # @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
1390
1390
  # @return [GetUsersCountResponse]