datadog_api_client 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.generator/templates/api.mustache +2 -2
  4. data/.generator/templates/api_client.mustache +7 -0
  5. data/.generator/templates/api_client_typhoeus_partial.mustache +7 -0
  6. data/.generator/templates/configuration.mustache +4 -0
  7. data/.openapi-generator/VERSION +1 -1
  8. data/CHANGELOG.md +27 -0
  9. data/README.md +12 -1
  10. data/data/v1/openapi.yaml +866 -119
  11. data/data/v2/openapi.yaml +113 -0
  12. data/docs/v1/AWSAccount.md +6 -0
  13. data/docs/v1/DowntimeRecurrence.md +1 -1
  14. data/docs/v1/Event.md +1 -1
  15. data/docs/v1/FormulaAndFunctionApmDependencyStatName.md +15 -0
  16. data/docs/v1/FormulaAndFunctionApmDependencyStatsDataSource.md +15 -0
  17. data/docs/v1/FormulaAndFunctionApmDependencyStatsQueryDefinition.md +36 -0
  18. data/docs/v1/FormulaAndFunctionApmResourceStatName.md +15 -0
  19. data/docs/v1/FormulaAndFunctionApmResourceStatsDataSource.md +15 -0
  20. data/docs/v1/FormulaAndFunctionApmResourceStatsQueryDefinition.md +36 -0
  21. data/docs/v1/FormulaAndFunctionQueryDefinition.md +5 -1
  22. data/docs/v1/FunnelQuery.md +22 -0
  23. data/docs/v1/FunnelRequestType.md +15 -0
  24. data/docs/v1/FunnelSource.md +15 -0
  25. data/docs/v1/FunnelWidgetDefinition.md +28 -0
  26. data/docs/v1/FunnelWidgetDefinitionType.md +15 -0
  27. data/docs/v1/FunnelWidgetRequest.md +20 -0
  28. data/docs/v1/LogsAPI.md +1 -1
  29. data/docs/v1/MetricContentEncoding.md +15 -0
  30. data/docs/v1/MetricsAPI.md +10 -6
  31. data/docs/v1/MetricsPayload.md +1 -1
  32. data/docs/v1/MonitorOptions.md +5 -1
  33. data/docs/v1/MonitorRenotifyStatusType.md +15 -0
  34. data/docs/v1/MonitorsAPI.md +9 -9
  35. data/docs/v1/NotebookCreateDataAttributes.md +2 -0
  36. data/docs/v1/NotebookMetadata.md +22 -0
  37. data/docs/v1/NotebookMetadataType.md +15 -0
  38. data/docs/v1/NotebookResponseDataAttributes.md +2 -0
  39. data/docs/v1/NotebookUpdateDataAttributes.md +2 -0
  40. data/docs/v1/NotebooksAPI.md +7 -3
  41. data/docs/v1/NotebooksResponseDataAttributes.md +2 -0
  42. data/docs/v1/ProcessQueryDefinition.md +1 -1
  43. data/docs/v1/README.md +31 -3
  44. data/docs/v1/SLOCorrection.md +1 -1
  45. data/docs/v1/SLOCorrectionCreateData.md +1 -1
  46. data/docs/v1/SLOCorrectionCreateRequestAttributes.md +4 -4
  47. data/docs/v1/SLOCorrectionListResponse.md +1 -1
  48. data/docs/v1/SLOCorrectionResponseAttributes.md +4 -4
  49. data/docs/v1/SLOCorrectionUpdateRequestAttributes.md +3 -3
  50. data/docs/v1/ScatterPlotWidgetDefinitionRequests.md +4 -2
  51. data/docs/v1/ScatterplotDimension.md +15 -0
  52. data/docs/v1/ScatterplotTableRequest.md +22 -0
  53. data/docs/v1/ScatterplotWidgetFormula.md +22 -0
  54. data/docs/v1/Series.md +1 -1
  55. data/docs/v1/ServiceChecksAPI.md +1 -1
  56. data/docs/v1/ServiceLevelObjectiveCorrectionsAPI.md +11 -11
  57. data/docs/v1/SyntheticsAPI.md +61 -0
  58. data/docs/v1/SyntheticsAPIStep.md +1 -1
  59. data/docs/v1/SyntheticsBatchDetails.md +18 -0
  60. data/docs/v1/SyntheticsBatchDetailsData.md +22 -0
  61. data/docs/v1/SyntheticsBatchResult.md +36 -0
  62. data/docs/v1/SyntheticsBrowserError.md +3 -3
  63. data/docs/v1/SyntheticsCIBatchMetadata.md +20 -0
  64. data/docs/v1/{SyntheticsCITestMetadataCi.md → SyntheticsCIBatchMetadataCI.md} +2 -2
  65. data/docs/v1/SyntheticsCIBatchMetadataGit.md +20 -0
  66. data/docs/v1/SyntheticsCITest.md +1 -1
  67. data/docs/v1/SyntheticsStatus.md +15 -0
  68. data/docs/v1/SyntheticsTestDetails.md +2 -0
  69. data/docs/v1/SyntheticsTestExecutionRule.md +15 -0
  70. data/docs/v1/SyntheticsTestRequest.md +2 -0
  71. data/docs/v1/UsageAttributionValues.md +4 -4
  72. data/docs/v1/UsageMeteringAPI.md +65 -0
  73. data/docs/v1/UsageSDSHour.md +22 -0
  74. data/docs/v1/UsageSDSResponse.md +18 -0
  75. data/docs/v1/UsageSummaryDate.md +4 -0
  76. data/docs/v1/UsageSummaryDateOrg.md +6 -2
  77. data/docs/v1/UsageSummaryResponse.md +6 -2
  78. data/docs/v1/UsageTimeseriesHour.md +1 -1
  79. data/docs/v1/WebhooksIntegration.md +1 -1
  80. data/docs/v1/WebhooksIntegrationUpdateRequest.md +1 -1
  81. data/docs/v1/WidgetDefinition.md +2 -0
  82. data/docs/v2/IncidentServicesAPI.md +5 -5
  83. data/docs/v2/IncidentTeamsAPI.md +5 -5
  84. data/docs/v2/IncidentsAPI.md +5 -5
  85. data/docs/v2/README.md +5 -0
  86. data/docs/v2/SecurityMonitoringAPI.md +5 -5
  87. data/examples/v1/metrics/SubmitMetrics.rbbeta +14 -0
  88. data/extract-code-blocks.awk +4 -0
  89. data/lib/datadog_api_client/v1/api/logs_api.rb +1 -1
  90. data/lib/datadog_api_client/v1/api/metrics_api.rb +5 -2
  91. data/lib/datadog_api_client/v1/api/monitors_api.rb +9 -9
  92. data/lib/datadog_api_client/v1/api/notebooks_api.rb +8 -2
  93. data/lib/datadog_api_client/v1/api/service_checks_api.rb +1 -1
  94. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +16 -16
  95. data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -0
  96. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +77 -0
  97. data/lib/datadog_api_client/v1/api_client.rb +14 -0
  98. data/lib/datadog_api_client/v1/configuration.rb +7 -0
  99. data/lib/datadog_api_client/v1/models/aws_account.rb +37 -1
  100. data/lib/datadog_api_client/v1/models/content_encoding.rb +2 -2
  101. data/lib/datadog_api_client/v1/models/creator.rb +1 -0
  102. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +1 -0
  103. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +1 -1
  104. data/lib/datadog_api_client/v1/models/event.rb +1 -16
  105. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb +44 -0
  106. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source.rb +38 -0
  107. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +356 -0
  108. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +47 -0
  109. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source.rb +38 -0
  110. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +348 -0
  111. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +2 -0
  112. data/lib/datadog_api_client/v1/models/funnel_query.rb +271 -0
  113. data/lib/datadog_api_client/v1/models/funnel_request_type.rb +38 -0
  114. data/lib/datadog_api_client/v1/models/funnel_source.rb +38 -0
  115. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +322 -0
  116. data/lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb +38 -0
  117. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +251 -0
  118. data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +38 -0
  119. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -0
  120. data/lib/datadog_api_client/v1/models/monitor.rb +2 -0
  121. data/lib/datadog_api_client/v1/models/monitor_options.rb +26 -2
  122. data/lib/datadog_api_client/v1/models/monitor_renotify_status_type.rb +40 -0
  123. data/lib/datadog_api_client/v1/models/notebook_author.rb +2 -0
  124. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +10 -1
  125. data/lib/datadog_api_client/v1/models/notebook_metadata.rb +259 -0
  126. data/lib/datadog_api_client/v1/models/notebook_metadata_type.rb +42 -0
  127. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +10 -1
  128. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +10 -1
  129. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +10 -1
  130. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +1 -1
  131. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +10 -11
  132. data/lib/datadog_api_client/v1/models/scatterplot_dimension.rb +41 -0
  133. data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +256 -0
  134. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +262 -0
  135. data/lib/datadog_api_client/v1/models/slo_correction.rb +2 -2
  136. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +6 -1
  137. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +1 -1
  138. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +5 -5
  139. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +2 -2
  140. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +1 -1
  141. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +5 -5
  142. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +1 -1
  143. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +1 -1
  144. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +4 -4
  145. data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +232 -0
  146. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +253 -0
  147. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +319 -0
  148. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata.rb → synthetics_ci_batch_metadata.rb} +6 -6
  149. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_ci.rb → synthetics_ci_batch_metadata_ci.rb} +4 -4
  150. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_git.rb → synthetics_ci_batch_metadata_git.rb} +5 -5
  151. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
  152. data/lib/datadog_api_client/v1/models/synthetics_status.rb +40 -0
  153. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +10 -1
  154. data/lib/datadog_api_client/v1/models/synthetics_test_execution_rule.rb +40 -0
  155. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  156. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +13 -13
  157. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +253 -0
  158. data/lib/datadog_api_client/v1/models/usage_sds_response.rb +235 -0
  159. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  160. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +28 -8
  161. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +29 -9
  162. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +1 -1
  163. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +1 -1
  164. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +1 -1
  165. data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
  166. data/lib/datadog_api_client/v1.rb +29 -3
  167. data/lib/datadog_api_client/v2/api/incident_services_api.rb +5 -5
  168. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +5 -5
  169. data/lib/datadog_api_client/v2/api/incidents_api.rb +5 -5
  170. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +5 -5
  171. data/lib/datadog_api_client/v2/api_client.rb +14 -0
  172. data/lib/datadog_api_client/v2/configuration.rb +5 -0
  173. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +1 -0
  174. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +1 -0
  175. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -0
  176. data/lib/datadog_api_client/v2/models/user_attributes.rb +2 -0
  177. data/lib/datadog_api_client/version.rb +1 -1
  178. data/spec/v1/models/formula_and_function_apm_dependency_stat_name_spec.rb +31 -0
  179. data/spec/v1/models/formula_and_function_apm_dependency_stats_data_source_spec.rb +31 -0
  180. data/spec/v1/models/formula_and_function_apm_dependency_stats_query_definition_spec.rb +91 -0
  181. data/spec/v1/models/formula_and_function_apm_resource_stat_name_spec.rb +31 -0
  182. data/spec/v1/models/formula_and_function_apm_resource_stats_data_source_spec.rb +31 -0
  183. data/spec/v1/models/formula_and_function_apm_resource_stats_query_definition_spec.rb +91 -0
  184. data/spec/v1/models/funnel_query_spec.rb +49 -0
  185. data/spec/v1/models/funnel_request_type_spec.rb +31 -0
  186. data/spec/v1/models/funnel_source_spec.rb +31 -0
  187. data/spec/v1/models/funnel_widget_definition_spec.rb +67 -0
  188. data/spec/v1/models/funnel_widget_definition_type_spec.rb +31 -0
  189. data/spec/v1/models/funnel_widget_request_spec.rb +43 -0
  190. data/spec/v1/models/metric_content_encoding_spec.rb +31 -0
  191. data/spec/v1/models/monitor_renotify_status_type_spec.rb +31 -0
  192. data/spec/v1/models/notebook_metadata_spec.rb +49 -0
  193. data/spec/v1/models/notebook_metadata_type_spec.rb +31 -0
  194. data/spec/v1/models/scatterplot_dimension_spec.rb +31 -0
  195. data/spec/v1/models/scatterplot_table_request_spec.rb +49 -0
  196. data/spec/v1/models/scatterplot_widget_formula_spec.rb +49 -0
  197. data/spec/v1/models/synthetics_batch_details_data_spec.rb +49 -0
  198. data/spec/v1/models/synthetics_batch_details_spec.rb +37 -0
  199. data/spec/v1/models/synthetics_batch_result_spec.rb +91 -0
  200. data/spec/v1/models/{synthetics_ci_test_metadata_ci_spec.rb → synthetics_ci_batch_metadata_ci_spec.rb} +6 -6
  201. data/spec/v1/models/{synthetics_ci_test_metadata_git_spec.rb → synthetics_ci_batch_metadata_git_spec.rb} +6 -6
  202. data/spec/v1/models/{synthetics_ci_test_metadata_spec.rb → synthetics_ci_batch_metadata_spec.rb} +6 -6
  203. data/spec/v1/models/synthetics_status_spec.rb +31 -0
  204. data/spec/v1/models/synthetics_test_execution_rule_spec.rb +31 -0
  205. data/spec/v1/models/usage_sds_hour_spec.rb +49 -0
  206. data/spec/v1/models/usage_sds_response_spec.rb +37 -0
  207. metadata +119 -14
  208. data/docs/v1/SyntheticsCITestMetadata.md +0 -20
  209. data/docs/v1/SyntheticsCITestMetadataGit.md +0 -20
@@ -76,8 +76,8 @@ module DatadogAPIClient::V1
76
76
  # Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for all organizations.
77
77
  attr_accessor :dbm_host_top99p_sum
78
78
 
79
- # Shows the sum of all distinct Database Monitoring normalized queries over all hours in the current month for all organizations.
80
- attr_accessor :dbm_queries_agg_sum
79
+ # Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for all organizations.
80
+ attr_accessor :dbm_queries_avg_sum
81
81
 
82
82
  # The average task count for Fargate.
83
83
  attr_accessor :fargate_tasks_count_avg
@@ -145,6 +145,12 @@ module DatadogAPIClient::V1
145
145
  # Shows the sum of RUM Sessions (browser and mobile) over all hours in the current date for the given org.
146
146
  attr_accessor :rum_total_session_count_sum
147
147
 
148
+ # Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
149
+ attr_accessor :sds_logs_scanned_bytes_sum
150
+
151
+ # Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
152
+ attr_accessor :sds_total_scanned_bytes_sum
153
+
148
154
  # Shows the sum of all Synthetic browser tests over all hours in the current date for the given org.
149
155
  attr_accessor :synthetics_browser_check_calls_count_sum
150
156
 
@@ -181,7 +187,7 @@ module DatadogAPIClient::V1
181
187
  :'cws_container_count_avg' => :'cws_container_count_avg',
182
188
  :'cws_host_top99p' => :'cws_host_top99p',
183
189
  :'dbm_host_top99p_sum' => :'dbm_host_top99p_sum',
184
- :'dbm_queries_agg_sum' => :'dbm_queries_agg_sum',
190
+ :'dbm_queries_avg_sum' => :'dbm_queries_avg_sum',
185
191
  :'fargate_tasks_count_avg' => :'fargate_tasks_count_avg',
186
192
  :'fargate_tasks_count_hwm' => :'fargate_tasks_count_hwm',
187
193
  :'gcp_host_top99p' => :'gcp_host_top99p',
@@ -204,6 +210,8 @@ module DatadogAPIClient::V1
204
210
  :'public_id' => :'public_id',
205
211
  :'rum_session_count_sum' => :'rum_session_count_sum',
206
212
  :'rum_total_session_count_sum' => :'rum_total_session_count_sum',
213
+ :'sds_logs_scanned_bytes_sum' => :'sds_logs_scanned_bytes_sum',
214
+ :'sds_total_scanned_bytes_sum' => :'sds_total_scanned_bytes_sum',
207
215
  :'synthetics_browser_check_calls_count_sum' => :'synthetics_browser_check_calls_count_sum',
208
216
  :'synthetics_check_calls_count_sum' => :'synthetics_check_calls_count_sum',
209
217
  :'trace_search_indexed_events_count_sum' => :'trace_search_indexed_events_count_sum',
@@ -238,7 +246,7 @@ module DatadogAPIClient::V1
238
246
  :'cws_container_count_avg' => :'Integer',
239
247
  :'cws_host_top99p' => :'Integer',
240
248
  :'dbm_host_top99p_sum' => :'Integer',
241
- :'dbm_queries_agg_sum' => :'Integer',
249
+ :'dbm_queries_avg_sum' => :'Integer',
242
250
  :'fargate_tasks_count_avg' => :'Integer',
243
251
  :'fargate_tasks_count_hwm' => :'Integer',
244
252
  :'gcp_host_top99p' => :'Integer',
@@ -261,6 +269,8 @@ module DatadogAPIClient::V1
261
269
  :'public_id' => :'String',
262
270
  :'rum_session_count_sum' => :'Integer',
263
271
  :'rum_total_session_count_sum' => :'Integer',
272
+ :'sds_logs_scanned_bytes_sum' => :'Integer',
273
+ :'sds_total_scanned_bytes_sum' => :'Integer',
264
274
  :'synthetics_browser_check_calls_count_sum' => :'Integer',
265
275
  :'synthetics_check_calls_count_sum' => :'Integer',
266
276
  :'trace_search_indexed_events_count_sum' => :'Integer',
@@ -362,8 +372,8 @@ module DatadogAPIClient::V1
362
372
  self.dbm_host_top99p_sum = attributes[:'dbm_host_top99p_sum']
363
373
  end
364
374
 
365
- if attributes.key?(:'dbm_queries_agg_sum')
366
- self.dbm_queries_agg_sum = attributes[:'dbm_queries_agg_sum']
375
+ if attributes.key?(:'dbm_queries_avg_sum')
376
+ self.dbm_queries_avg_sum = attributes[:'dbm_queries_avg_sum']
367
377
  end
368
378
 
369
379
  if attributes.key?(:'fargate_tasks_count_avg')
@@ -454,6 +464,14 @@ module DatadogAPIClient::V1
454
464
  self.rum_total_session_count_sum = attributes[:'rum_total_session_count_sum']
455
465
  end
456
466
 
467
+ if attributes.key?(:'sds_logs_scanned_bytes_sum')
468
+ self.sds_logs_scanned_bytes_sum = attributes[:'sds_logs_scanned_bytes_sum']
469
+ end
470
+
471
+ if attributes.key?(:'sds_total_scanned_bytes_sum')
472
+ self.sds_total_scanned_bytes_sum = attributes[:'sds_total_scanned_bytes_sum']
473
+ end
474
+
457
475
  if attributes.key?(:'synthetics_browser_check_calls_count_sum')
458
476
  self.synthetics_browser_check_calls_count_sum = attributes[:'synthetics_browser_check_calls_count_sum']
459
477
  end
@@ -511,7 +529,7 @@ module DatadogAPIClient::V1
511
529
  cws_container_count_avg == o.cws_container_count_avg &&
512
530
  cws_host_top99p == o.cws_host_top99p &&
513
531
  dbm_host_top99p_sum == o.dbm_host_top99p_sum &&
514
- dbm_queries_agg_sum == o.dbm_queries_agg_sum &&
532
+ dbm_queries_avg_sum == o.dbm_queries_avg_sum &&
515
533
  fargate_tasks_count_avg == o.fargate_tasks_count_avg &&
516
534
  fargate_tasks_count_hwm == o.fargate_tasks_count_hwm &&
517
535
  gcp_host_top99p == o.gcp_host_top99p &&
@@ -534,6 +552,8 @@ module DatadogAPIClient::V1
534
552
  public_id == o.public_id &&
535
553
  rum_session_count_sum == o.rum_session_count_sum &&
536
554
  rum_total_session_count_sum == o.rum_total_session_count_sum &&
555
+ sds_logs_scanned_bytes_sum == o.sds_logs_scanned_bytes_sum &&
556
+ sds_total_scanned_bytes_sum == o.sds_total_scanned_bytes_sum &&
537
557
  synthetics_browser_check_calls_count_sum == o.synthetics_browser_check_calls_count_sum &&
538
558
  synthetics_check_calls_count_sum == o.synthetics_check_calls_count_sum &&
539
559
  trace_search_indexed_events_count_sum == o.trace_search_indexed_events_count_sum &&
@@ -550,7 +570,7 @@ module DatadogAPIClient::V1
550
570
  # Calculates hash code according to all attributes.
551
571
  # @return [Integer] Hash code
552
572
  def hash
553
- [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, container_avg, container_hwm, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_agg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_session_count_sum, rum_total_session_count_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
573
+ [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, container_avg, container_hwm, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_session_count_sum, rum_total_session_count_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
554
574
  end
555
575
 
556
576
  # Builds the object from hash
@@ -17,7 +17,7 @@ require 'date'
17
17
  require 'time'
18
18
 
19
19
  module DatadogAPIClient::V1
20
- # Response with hourly report of all data billed by Datadog all organizations.
20
+ # Response summarizing all usage aggregated across the months in the request for all organizations, and broken down by month and by organization.
21
21
  class UsageSummaryResponse
22
22
  # whether the object has unparsed attributes
23
23
  attr_accessor :_unparsed
@@ -79,8 +79,8 @@ module DatadogAPIClient::V1
79
79
  # Shows the 99th percentile of all Database Monitoring hosts over all hours in the current month for all organizations.
80
80
  attr_accessor :dbm_host_top99p_sum
81
81
 
82
- # Shows the sum of all distinct Database Monitoring Normalized Queries over all hours in the current month for all organizations.
83
- attr_accessor :dbm_queries_agg_sum
82
+ # Shows the average of all distinct Database Monitoring Normalized Queries over all hours in the current month for all organizations.
83
+ attr_accessor :dbm_queries_avg_sum
84
84
 
85
85
  # Shows the last date of usage in the current months for all organizations.
86
86
  attr_accessor :end_date
@@ -162,6 +162,12 @@ module DatadogAPIClient::V1
162
162
  # Shows the sum of RUM Sessions (browser and mobile) over all hours in the current months for all organizations.
163
163
  attr_accessor :rum_total_session_count_agg_sum
164
164
 
165
+ # Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
166
+ attr_accessor :sds_logs_scanned_bytes_sum
167
+
168
+ # Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
169
+ attr_accessor :sds_total_scanned_bytes_sum
170
+
165
171
  # Shows the first date of usage in the current months for all organizations.
166
172
  attr_accessor :start_date
167
173
 
@@ -205,7 +211,7 @@ module DatadogAPIClient::V1
205
211
  :'cws_containers_avg_sum' => :'cws_containers_avg_sum',
206
212
  :'cws_host_top99p_sum' => :'cws_host_top99p_sum',
207
213
  :'dbm_host_top99p_sum' => :'dbm_host_top99p_sum',
208
- :'dbm_queries_agg_sum' => :'dbm_queries_agg_sum',
214
+ :'dbm_queries_avg_sum' => :'dbm_queries_avg_sum',
209
215
  :'end_date' => :'end_date',
210
216
  :'fargate_tasks_count_avg_sum' => :'fargate_tasks_count_avg_sum',
211
217
  :'fargate_tasks_count_hwm_sum' => :'fargate_tasks_count_hwm_sum',
@@ -233,6 +239,8 @@ module DatadogAPIClient::V1
233
239
  :'rehydrated_ingested_bytes_agg_sum' => :'rehydrated_ingested_bytes_agg_sum',
234
240
  :'rum_session_count_agg_sum' => :'rum_session_count_agg_sum',
235
241
  :'rum_total_session_count_agg_sum' => :'rum_total_session_count_agg_sum',
242
+ :'sds_logs_scanned_bytes_sum' => :'sds_logs_scanned_bytes_sum',
243
+ :'sds_total_scanned_bytes_sum' => :'sds_total_scanned_bytes_sum',
236
244
  :'start_date' => :'start_date',
237
245
  :'synthetics_browser_check_calls_count_agg_sum' => :'synthetics_browser_check_calls_count_agg_sum',
238
246
  :'synthetics_check_calls_count_agg_sum' => :'synthetics_check_calls_count_agg_sum',
@@ -270,7 +278,7 @@ module DatadogAPIClient::V1
270
278
  :'cws_containers_avg_sum' => :'Integer',
271
279
  :'cws_host_top99p_sum' => :'Integer',
272
280
  :'dbm_host_top99p_sum' => :'Integer',
273
- :'dbm_queries_agg_sum' => :'Integer',
281
+ :'dbm_queries_avg_sum' => :'Integer',
274
282
  :'end_date' => :'Time',
275
283
  :'fargate_tasks_count_avg_sum' => :'Integer',
276
284
  :'fargate_tasks_count_hwm_sum' => :'Integer',
@@ -298,6 +306,8 @@ module DatadogAPIClient::V1
298
306
  :'rehydrated_ingested_bytes_agg_sum' => :'Integer',
299
307
  :'rum_session_count_agg_sum' => :'Integer',
300
308
  :'rum_total_session_count_agg_sum' => :'Integer',
309
+ :'sds_logs_scanned_bytes_sum' => :'Integer',
310
+ :'sds_total_scanned_bytes_sum' => :'Integer',
301
311
  :'start_date' => :'Time',
302
312
  :'synthetics_browser_check_calls_count_agg_sum' => :'Integer',
303
313
  :'synthetics_check_calls_count_agg_sum' => :'Integer',
@@ -405,8 +415,8 @@ module DatadogAPIClient::V1
405
415
  self.dbm_host_top99p_sum = attributes[:'dbm_host_top99p_sum']
406
416
  end
407
417
 
408
- if attributes.key?(:'dbm_queries_agg_sum')
409
- self.dbm_queries_agg_sum = attributes[:'dbm_queries_agg_sum']
418
+ if attributes.key?(:'dbm_queries_avg_sum')
419
+ self.dbm_queries_avg_sum = attributes[:'dbm_queries_avg_sum']
410
420
  end
411
421
 
412
422
  if attributes.key?(:'end_date')
@@ -517,6 +527,14 @@ module DatadogAPIClient::V1
517
527
  self.rum_total_session_count_agg_sum = attributes[:'rum_total_session_count_agg_sum']
518
528
  end
519
529
 
530
+ if attributes.key?(:'sds_logs_scanned_bytes_sum')
531
+ self.sds_logs_scanned_bytes_sum = attributes[:'sds_logs_scanned_bytes_sum']
532
+ end
533
+
534
+ if attributes.key?(:'sds_total_scanned_bytes_sum')
535
+ self.sds_total_scanned_bytes_sum = attributes[:'sds_total_scanned_bytes_sum']
536
+ end
537
+
520
538
  if attributes.key?(:'start_date')
521
539
  self.start_date = attributes[:'start_date']
522
540
  end
@@ -585,7 +603,7 @@ module DatadogAPIClient::V1
585
603
  cws_containers_avg_sum == o.cws_containers_avg_sum &&
586
604
  cws_host_top99p_sum == o.cws_host_top99p_sum &&
587
605
  dbm_host_top99p_sum == o.dbm_host_top99p_sum &&
588
- dbm_queries_agg_sum == o.dbm_queries_agg_sum &&
606
+ dbm_queries_avg_sum == o.dbm_queries_avg_sum &&
589
607
  end_date == o.end_date &&
590
608
  fargate_tasks_count_avg_sum == o.fargate_tasks_count_avg_sum &&
591
609
  fargate_tasks_count_hwm_sum == o.fargate_tasks_count_hwm_sum &&
@@ -613,6 +631,8 @@ module DatadogAPIClient::V1
613
631
  rehydrated_ingested_bytes_agg_sum == o.rehydrated_ingested_bytes_agg_sum &&
614
632
  rum_session_count_agg_sum == o.rum_session_count_agg_sum &&
615
633
  rum_total_session_count_agg_sum == o.rum_total_session_count_agg_sum &&
634
+ sds_logs_scanned_bytes_sum == o.sds_logs_scanned_bytes_sum &&
635
+ sds_total_scanned_bytes_sum == o.sds_total_scanned_bytes_sum &&
616
636
  start_date == o.start_date &&
617
637
  synthetics_browser_check_calls_count_agg_sum == o.synthetics_browser_check_calls_count_agg_sum &&
618
638
  synthetics_check_calls_count_agg_sum == o.synthetics_check_calls_count_agg_sum &&
@@ -631,7 +651,7 @@ module DatadogAPIClient::V1
631
651
  # Calculates hash code according to all attributes.
632
652
  # @return [Integer] Hash code
633
653
  def hash
634
- [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_host_top99p_sum, audit_logs_lines_indexed_agg_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, container_avg_sum, container_hwm_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_host_top99p_sum, custom_ts_sum, cws_containers_avg_sum, cws_host_top99p_sum, dbm_host_top99p_sum, dbm_queries_agg_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_ios_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_session_count_agg_sum, rum_total_session_count_agg_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, usage, vsphere_host_top99p_sum].hash
654
+ [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_host_top99p_sum, audit_logs_lines_indexed_agg_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, container_avg_sum, container_hwm_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_host_top99p_sum, custom_ts_sum, cws_containers_avg_sum, cws_host_top99p_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_ios_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_session_count_agg_sum, rum_total_session_count_agg_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, usage, vsphere_host_top99p_sum].hash
635
655
  end
636
656
 
637
657
  # Builds the object from hash
@@ -31,7 +31,7 @@ module DatadogAPIClient::V1
31
31
  # Contains the number of custom metrics that are outputs for aggregations (metric configured is custom).
32
32
  attr_accessor :num_custom_output_timeseries
33
33
 
34
- # Contains the number of non-aggregation custom metrics.
34
+ # Contains sum of non-aggregation custom metrics and custom metrics that are outputs for aggregations.
35
35
  attr_accessor :num_custom_timeseries
36
36
 
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -27,7 +27,7 @@ module DatadogAPIClient::V1
27
27
 
28
28
  attr_accessor :encode_as
29
29
 
30
- # The name of the webhook. It corresponds with `<WEBHOOK_NAME>`. Learn more on how to use it in [monitor notifications](https://docs.datadoghq.com/monitors/notifications).
30
+ # The name of the webhook. It corresponds with `<WEBHOOK_NAME>`. Learn more on how to use it in [monitor notifications](https://docs.datadoghq.com/monitors/notify).
31
31
  attr_accessor :name
32
32
 
33
33
  # If `null`, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).
@@ -27,7 +27,7 @@ module DatadogAPIClient::V1
27
27
 
28
28
  attr_accessor :encode_as
29
29
 
30
- # The name of the webhook. It corresponds with `<WEBHOOK_NAME>`. Learn more on how to use it in [monitor notifications](https://docs.datadoghq.com/monitors/notifications).
30
+ # The name of the webhook. It corresponds with `<WEBHOOK_NAME>`. Learn more on how to use it in [monitor notifications](https://docs.datadoghq.com/monitors/notify).
31
31
  attr_accessor :name
32
32
 
33
33
  # If `null`, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).
@@ -33,6 +33,7 @@ module DatadogAPIClient::V1
33
33
  :'EventStreamWidgetDefinition',
34
34
  :'EventTimelineWidgetDefinition',
35
35
  :'FreeTextWidgetDefinition',
36
+ :'FunnelWidgetDefinition',
36
37
  :'GeomapWidgetDefinition',
37
38
  :'GroupWidgetDefinition',
38
39
  :'HeatMapWidgetDefinition',
@@ -103,6 +103,12 @@ require 'datadog_api_client/v1/models/event_stream_widget_definition'
103
103
  require 'datadog_api_client/v1/models/event_stream_widget_definition_type'
104
104
  require 'datadog_api_client/v1/models/event_timeline_widget_definition'
105
105
  require 'datadog_api_client/v1/models/event_timeline_widget_definition_type'
106
+ require 'datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name'
107
+ require 'datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source'
108
+ require 'datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition'
109
+ require 'datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name'
110
+ require 'datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source'
111
+ require 'datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition'
106
112
  require 'datadog_api_client/v1/models/formula_and_function_event_aggregation'
107
113
  require 'datadog_api_client/v1/models/formula_and_function_event_query_definition'
108
114
  require 'datadog_api_client/v1/models/formula_and_function_event_query_definition_compute'
@@ -119,6 +125,12 @@ require 'datadog_api_client/v1/models/formula_and_function_query_definition'
119
125
  require 'datadog_api_client/v1/models/formula_and_function_response_format'
120
126
  require 'datadog_api_client/v1/models/free_text_widget_definition'
121
127
  require 'datadog_api_client/v1/models/free_text_widget_definition_type'
128
+ require 'datadog_api_client/v1/models/funnel_query'
129
+ require 'datadog_api_client/v1/models/funnel_request_type'
130
+ require 'datadog_api_client/v1/models/funnel_source'
131
+ require 'datadog_api_client/v1/models/funnel_widget_definition'
132
+ require 'datadog_api_client/v1/models/funnel_widget_definition_type'
133
+ require 'datadog_api_client/v1/models/funnel_widget_request'
122
134
  require 'datadog_api_client/v1/models/gcp_account'
123
135
  require 'datadog_api_client/v1/models/geomap_widget_definition'
124
136
  require 'datadog_api_client/v1/models/geomap_widget_definition_style'
@@ -233,6 +245,7 @@ require 'datadog_api_client/v1/models/logs_url_parser'
233
245
  require 'datadog_api_client/v1/models/logs_url_parser_type'
234
246
  require 'datadog_api_client/v1/models/logs_user_agent_parser'
235
247
  require 'datadog_api_client/v1/models/logs_user_agent_parser_type'
248
+ require 'datadog_api_client/v1/models/metric_content_encoding'
236
249
  require 'datadog_api_client/v1/models/metric_metadata'
237
250
  require 'datadog_api_client/v1/models/metric_search_response'
238
251
  require 'datadog_api_client/v1/models/metric_search_response_results'
@@ -249,6 +262,7 @@ require 'datadog_api_client/v1/models/monitor_group_search_result'
249
262
  require 'datadog_api_client/v1/models/monitor_options'
250
263
  require 'datadog_api_client/v1/models/monitor_options_aggregation'
251
264
  require 'datadog_api_client/v1/models/monitor_overall_states'
265
+ require 'datadog_api_client/v1/models/monitor_renotify_status_type'
252
266
  require 'datadog_api_client/v1/models/monitor_search_response'
253
267
  require 'datadog_api_client/v1/models/monitor_search_response_counts'
254
268
  require 'datadog_api_client/v1/models/monitor_search_response_metadata'
@@ -285,6 +299,8 @@ require 'datadog_api_client/v1/models/notebook_log_stream_cell_attributes'
285
299
  require 'datadog_api_client/v1/models/notebook_markdown_cell_attributes'
286
300
  require 'datadog_api_client/v1/models/notebook_markdown_cell_definition'
287
301
  require 'datadog_api_client/v1/models/notebook_markdown_cell_definition_type'
302
+ require 'datadog_api_client/v1/models/notebook_metadata'
303
+ require 'datadog_api_client/v1/models/notebook_metadata_type'
288
304
  require 'datadog_api_client/v1/models/notebook_relative_time'
289
305
  require 'datadog_api_client/v1/models/notebook_resource_type'
290
306
  require 'datadog_api_client/v1/models/notebook_response'
@@ -367,7 +383,10 @@ require 'datadog_api_client/v1/models/scatter_plot_request'
367
383
  require 'datadog_api_client/v1/models/scatter_plot_widget_definition'
368
384
  require 'datadog_api_client/v1/models/scatter_plot_widget_definition_requests'
369
385
  require 'datadog_api_client/v1/models/scatter_plot_widget_definition_type'
386
+ require 'datadog_api_client/v1/models/scatterplot_dimension'
387
+ require 'datadog_api_client/v1/models/scatterplot_table_request'
370
388
  require 'datadog_api_client/v1/models/scatterplot_widget_aggregator'
389
+ require 'datadog_api_client/v1/models/scatterplot_widget_formula'
371
390
  require 'datadog_api_client/v1/models/series'
372
391
  require 'datadog_api_client/v1/models/service_check'
373
392
  require 'datadog_api_client/v1/models/service_check_status'
@@ -398,6 +417,9 @@ require 'datadog_api_client/v1/models/synthetics_assertion_operator'
398
417
  require 'datadog_api_client/v1/models/synthetics_assertion_target'
399
418
  require 'datadog_api_client/v1/models/synthetics_assertion_type'
400
419
  require 'datadog_api_client/v1/models/synthetics_basic_auth'
420
+ require 'datadog_api_client/v1/models/synthetics_batch_details'
421
+ require 'datadog_api_client/v1/models/synthetics_batch_details_data'
422
+ require 'datadog_api_client/v1/models/synthetics_batch_result'
401
423
  require 'datadog_api_client/v1/models/synthetics_browser_error'
402
424
  require 'datadog_api_client/v1/models/synthetics_browser_error_type'
403
425
  require 'datadog_api_client/v1/models/synthetics_browser_test'
@@ -410,11 +432,11 @@ require 'datadog_api_client/v1/models/synthetics_browser_test_result_short_resul
410
432
  require 'datadog_api_client/v1/models/synthetics_browser_test_type'
411
433
  require 'datadog_api_client/v1/models/synthetics_browser_variable'
412
434
  require 'datadog_api_client/v1/models/synthetics_browser_variable_type'
435
+ require 'datadog_api_client/v1/models/synthetics_ci_batch_metadata'
436
+ require 'datadog_api_client/v1/models/synthetics_ci_batch_metadata_ci'
437
+ require 'datadog_api_client/v1/models/synthetics_ci_batch_metadata_git'
413
438
  require 'datadog_api_client/v1/models/synthetics_ci_test'
414
439
  require 'datadog_api_client/v1/models/synthetics_ci_test_body'
415
- require 'datadog_api_client/v1/models/synthetics_ci_test_metadata'
416
- require 'datadog_api_client/v1/models/synthetics_ci_test_metadata_ci'
417
- require 'datadog_api_client/v1/models/synthetics_ci_test_metadata_git'
418
440
  require 'datadog_api_client/v1/models/synthetics_check_type'
419
441
  require 'datadog_api_client/v1/models/synthetics_config_variable'
420
442
  require 'datadog_api_client/v1/models/synthetics_config_variable_type'
@@ -448,6 +470,7 @@ require 'datadog_api_client/v1/models/synthetics_private_location_secrets_config
448
470
  require 'datadog_api_client/v1/models/synthetics_ssl_certificate'
449
471
  require 'datadog_api_client/v1/models/synthetics_ssl_certificate_issuer'
450
472
  require 'datadog_api_client/v1/models/synthetics_ssl_certificate_subject'
473
+ require 'datadog_api_client/v1/models/synthetics_status'
451
474
  require 'datadog_api_client/v1/models/synthetics_step'
452
475
  require 'datadog_api_client/v1/models/synthetics_step_detail'
453
476
  require 'datadog_api_client/v1/models/synthetics_step_detail_warning'
@@ -456,6 +479,7 @@ require 'datadog_api_client/v1/models/synthetics_test_config'
456
479
  require 'datadog_api_client/v1/models/synthetics_test_details'
457
480
  require 'datadog_api_client/v1/models/synthetics_test_details_sub_type'
458
481
  require 'datadog_api_client/v1/models/synthetics_test_details_type'
482
+ require 'datadog_api_client/v1/models/synthetics_test_execution_rule'
459
483
  require 'datadog_api_client/v1/models/synthetics_test_monitor_status'
460
484
  require 'datadog_api_client/v1/models/synthetics_test_options'
461
485
  require 'datadog_api_client/v1/models/synthetics_test_options_monitor_options'
@@ -551,6 +575,8 @@ require 'datadog_api_client/v1/models/usage_profiling_response'
551
575
  require 'datadog_api_client/v1/models/usage_reports_type'
552
576
  require 'datadog_api_client/v1/models/usage_rum_sessions_hour'
553
577
  require 'datadog_api_client/v1/models/usage_rum_sessions_response'
578
+ require 'datadog_api_client/v1/models/usage_sds_hour'
579
+ require 'datadog_api_client/v1/models/usage_sds_response'
554
580
  require 'datadog_api_client/v1/models/usage_snmp_hour'
555
581
  require 'datadog_api_client/v1/models/usage_snmp_response'
556
582
  require 'datadog_api_client/v1/models/usage_sort'
@@ -78,7 +78,7 @@ module DatadogAPIClient::V2
78
78
  return_type = opts[:debug_return_type] || 'IncidentServiceResponse'
79
79
 
80
80
  # auth_names
81
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
81
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
82
82
 
83
83
  new_options = opts.merge(
84
84
  :operation => :create_incident_service,
@@ -151,7 +151,7 @@ module DatadogAPIClient::V2
151
151
  return_type = opts[:debug_return_type]
152
152
 
153
153
  # auth_names
154
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
154
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
155
155
 
156
156
  new_options = opts.merge(
157
157
  :operation => :delete_incident_service,
@@ -227,7 +227,7 @@ module DatadogAPIClient::V2
227
227
  return_type = opts[:debug_return_type] || 'IncidentServiceResponse'
228
228
 
229
229
  # auth_names
230
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
230
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
231
231
 
232
232
  new_options = opts.merge(
233
233
  :operation => :get_incident_service,
@@ -306,7 +306,7 @@ module DatadogAPIClient::V2
306
306
  return_type = opts[:debug_return_type] || 'IncidentServicesResponse'
307
307
 
308
308
  # auth_names
309
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
309
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
310
310
 
311
311
  new_options = opts.merge(
312
312
  :operation => :list_incident_services,
@@ -387,7 +387,7 @@ module DatadogAPIClient::V2
387
387
  return_type = opts[:debug_return_type] || 'IncidentServiceResponse'
388
388
 
389
389
  # auth_names
390
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
390
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
391
391
 
392
392
  new_options = opts.merge(
393
393
  :operation => :update_incident_service,
@@ -78,7 +78,7 @@ module DatadogAPIClient::V2
78
78
  return_type = opts[:debug_return_type] || 'IncidentTeamResponse'
79
79
 
80
80
  # auth_names
81
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
81
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
82
82
 
83
83
  new_options = opts.merge(
84
84
  :operation => :create_incident_team,
@@ -151,7 +151,7 @@ module DatadogAPIClient::V2
151
151
  return_type = opts[:debug_return_type]
152
152
 
153
153
  # auth_names
154
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
154
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
155
155
 
156
156
  new_options = opts.merge(
157
157
  :operation => :delete_incident_team,
@@ -227,7 +227,7 @@ module DatadogAPIClient::V2
227
227
  return_type = opts[:debug_return_type] || 'IncidentTeamResponse'
228
228
 
229
229
  # auth_names
230
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
230
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
231
231
 
232
232
  new_options = opts.merge(
233
233
  :operation => :get_incident_team,
@@ -306,7 +306,7 @@ module DatadogAPIClient::V2
306
306
  return_type = opts[:debug_return_type] || 'IncidentTeamsResponse'
307
307
 
308
308
  # auth_names
309
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
309
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
310
310
 
311
311
  new_options = opts.merge(
312
312
  :operation => :list_incident_teams,
@@ -387,7 +387,7 @@ module DatadogAPIClient::V2
387
387
  return_type = opts[:debug_return_type] || 'IncidentTeamResponse'
388
388
 
389
389
  # auth_names
390
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
390
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
391
391
 
392
392
  new_options = opts.merge(
393
393
  :operation => :update_incident_team,
@@ -78,7 +78,7 @@ module DatadogAPIClient::V2
78
78
  return_type = opts[:debug_return_type] || 'IncidentResponse'
79
79
 
80
80
  # auth_names
81
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
81
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
82
82
 
83
83
  new_options = opts.merge(
84
84
  :operation => :create_incident,
@@ -151,7 +151,7 @@ module DatadogAPIClient::V2
151
151
  return_type = opts[:debug_return_type]
152
152
 
153
153
  # auth_names
154
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
154
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
155
155
 
156
156
  new_options = opts.merge(
157
157
  :operation => :delete_incident,
@@ -227,7 +227,7 @@ module DatadogAPIClient::V2
227
227
  return_type = opts[:debug_return_type] || 'IncidentResponse'
228
228
 
229
229
  # auth_names
230
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
230
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
231
231
 
232
232
  new_options = opts.merge(
233
233
  :operation => :get_incident,
@@ -303,7 +303,7 @@ module DatadogAPIClient::V2
303
303
  return_type = opts[:debug_return_type] || 'IncidentsResponse'
304
304
 
305
305
  # auth_names
306
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
306
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
307
307
 
308
308
  new_options = opts.merge(
309
309
  :operation => :list_incidents,
@@ -384,7 +384,7 @@ module DatadogAPIClient::V2
384
384
  return_type = opts[:debug_return_type] || 'IncidentResponse'
385
385
 
386
386
  # auth_names
387
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
387
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
388
388
 
389
389
  new_options = opts.merge(
390
390
  :operation => :update_incident,
@@ -78,7 +78,7 @@ module DatadogAPIClient::V2
78
78
  return_type = opts[:debug_return_type] || 'SecurityFilterResponse'
79
79
 
80
80
  # auth_names
81
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
81
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
82
82
 
83
83
  new_options = opts.merge(
84
84
  :operation => :create_security_filter,
@@ -226,7 +226,7 @@ module DatadogAPIClient::V2
226
226
  return_type = opts[:debug_return_type]
227
227
 
228
228
  # auth_names
229
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
229
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
230
230
 
231
231
  new_options = opts.merge(
232
232
  :operation => :delete_security_filter,
@@ -372,7 +372,7 @@ module DatadogAPIClient::V2
372
372
  return_type = opts[:debug_return_type] || 'SecurityFilterResponse'
373
373
 
374
374
  # auth_names
375
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
375
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
376
376
 
377
377
  new_options = opts.merge(
378
378
  :operation => :get_security_filter,
@@ -512,7 +512,7 @@ module DatadogAPIClient::V2
512
512
  return_type = opts[:debug_return_type] || 'SecurityFiltersResponse'
513
513
 
514
514
  # auth_names
515
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
515
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
516
516
 
517
517
  new_options = opts.merge(
518
518
  :operation => :list_security_filters,
@@ -826,7 +826,7 @@ module DatadogAPIClient::V2
826
826
  return_type = opts[:debug_return_type] || 'SecurityFilterResponse'
827
827
 
828
828
  # auth_names
829
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
829
+ auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
830
830
 
831
831
  new_options = opts.merge(
832
832
  :operation => :update_security_filter,
@@ -39,6 +39,7 @@ module DatadogAPIClient::V2
39
39
  'Content-Type' => 'application/json',
40
40
  'User-Agent' => @user_agent
41
41
  }
42
+ @default_headers['Accept-Encoding'] = 'gzip' if @config.compress
42
43
  end
43
44
 
44
45
  def self.default
@@ -156,6 +157,13 @@ module DatadogAPIClient::V2
156
157
  else
157
158
  data = nil
158
159
  end
160
+ if header_params['Content-Encoding'] == 'gzip'
161
+ gzip = Zlib::Deflate.new(nil, Zlib::MAX_WBITS + 16)
162
+ data = gzip.deflate(data, Zlib::FINISH)
163
+ gzip.close
164
+ elsif header_params['Content-Encoding'] == 'deflate'
165
+ data = Zlib::deflate(data)
166
+ end
159
167
  data
160
168
  end
161
169
 
@@ -222,6 +230,12 @@ module DatadogAPIClient::V2
222
230
 
223
231
  return nil if body.nil? || body.empty?
224
232
 
233
+ if response.headers['Content-Encoding'].eql?('gzip') then
234
+ gzip = Zlib::Inflate.new(Zlib::MAX_WBITS + 16)
235
+ body = gzip.inflate(body)
236
+ gzip.close
237
+ end
238
+
225
239
  # return response body directly for String return type
226
240
  return body if return_type == 'String'
227
241
 
@@ -143,6 +143,9 @@ module DatadogAPIClient::V2
143
143
 
144
144
  attr_accessor :force_ending_format
145
145
 
146
+ # Set this to add accept encoding header for compression
147
+ attr_accessor :compress
148
+
146
149
  def initialize
147
150
  @scheme = 'https'
148
151
  @host = 'api.datadoghq.com'
@@ -163,6 +166,7 @@ module DatadogAPIClient::V2
163
166
  @debugging = false
164
167
  @inject_format = false
165
168
  @force_ending_format = false
169
+ @compress = true
166
170
  @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
167
171
  @unstable_operations = {
168
172
  create_incident_service: false,
@@ -285,6 +289,7 @@ module DatadogAPIClient::V2
285
289
  enum_values: [
286
290
  "datadoghq.com",
287
291
  "us3.datadoghq.com",
292
+ "us5.datadoghq.com",
288
293
  "datadoghq.eu",
289
294
  "ddog-gov.com"
290
295
  ]
@@ -51,6 +51,7 @@ module DatadogAPIClient::V2
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'value'
54
55
  ])
55
56
  end
56
57
 
@@ -51,6 +51,7 @@ module DatadogAPIClient::V2
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'value'
54
55
  ])
55
56
  end
56
57