datadog_api_client 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (588) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +363 -27
  4. data/.generator/schemas/v2/openapi.yaml +1995 -780
  5. data/.generator/src/generator/templates/configuration.j2 +14 -4
  6. data/.generator/src/generator/templates/model_generic.j2 +17 -0
  7. data/.generator/src/generator/templates/package.j2 +0 -1
  8. data/.github/workflows/test.yml +18 -19
  9. data/CHANGELOG.md +27 -0
  10. data/examples/v1/dashboards/CreateDashboard_41622531.rb +56 -0
  11. data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +5 -1
  12. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
  13. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
  14. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
  15. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +11 -1
  16. data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +109 -0
  17. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  18. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
  19. data/examples/v1/synthetics/ListTests.rb +1 -1
  20. data/examples/v1/synthetics/UpdateAPITest.rb +1 -1
  21. data/examples/v1/synthetics/UpdateBrowserTest.rb +2 -1
  22. data/examples/v2/ci-visibility-pipelines/AggregateCIAppPipelineEvents.rb +1 -1
  23. data/examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb +1 -1
  24. data/examples/v2/logs-metrics/CreateLogsMetric.rb +3 -1
  25. data/examples/v2/logs-metrics/UpdateLogsMetric_1901534424.rb +19 -0
  26. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +41 -0
  27. data/examples/v2/security-monitoring/GetSecurityMonitoringRule_3370522281.rb +8 -0
  28. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +36 -0
  29. data/examples/v2/sensitive-data-scanner/CreateScanningGroup.rb +36 -0
  30. data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +34 -0
  31. data/examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb +12 -0
  32. data/examples/v2/sensitive-data-scanner/DeleteScanningRule.rb +12 -0
  33. data/examples/v2/sensitive-data-scanner/ListScanningGroups.rb +5 -0
  34. data/examples/v2/sensitive-data-scanner/ListStandardPatterns.rb +5 -0
  35. data/examples/v2/sensitive-data-scanner/ReorderScanningGroups.rb +29 -0
  36. data/examples/v2/sensitive-data-scanner/UpdateScanningGroup.rb +40 -0
  37. data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +38 -0
  38. data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +1 -1
  39. data/lib/datadog_api_client/configuration.rb +14 -4
  40. data/lib/datadog_api_client/inflector.rb +74 -1
  41. data/lib/datadog_api_client/models.rb +0 -1
  42. data/lib/datadog_api_client/v1/api/events_api.rb +1 -1
  43. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +4 -0
  44. data/lib/datadog_api_client/v1/api/synthetics_api.rb +6 -2
  45. data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +1 -1
  46. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +3 -3
  47. data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +2 -2
  48. data/lib/datadog_api_client/v1/models/api_error_response.rb +1 -1
  49. data/lib/datadog_api_client/v1/models/api_key.rb +1 -1
  50. data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +1 -1
  51. data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +5 -5
  52. data/lib/datadog_api_client/v1/models/application_key.rb +1 -1
  53. data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +2 -2
  54. data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +2 -2
  55. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
  56. data/lib/datadog_api_client/v1/models/change_widget_definition.rb +2 -2
  57. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +1 -1
  58. data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +3 -3
  59. data/lib/datadog_api_client/v1/models/dashboard.rb +3 -3
  60. data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +2 -2
  61. data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +1 -1
  62. data/lib/datadog_api_client/v1/models/dashboard_list.rb +1 -1
  63. data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +1 -1
  64. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +1 -1
  65. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +1 -1
  66. data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +1 -1
  67. data/lib/datadog_api_client/v1/models/distribution_points_series.rb +2 -2
  68. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +2 -2
  69. data/lib/datadog_api_client/v1/models/downtime.rb +3 -3
  70. data/lib/datadog_api_client/v1/models/downtime_child.rb +3 -3
  71. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +2 -2
  72. data/lib/datadog_api_client/v1/models/event.rb +1 -1
  73. data/lib/datadog_api_client/v1/models/event_create_request.rb +3 -3
  74. data/lib/datadog_api_client/v1/models/event_query_definition.rb +2 -2
  75. data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +2 -2
  76. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +2 -2
  77. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +7 -7
  78. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +5 -5
  79. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +3 -3
  80. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +1 -1
  81. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +1 -1
  82. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +1 -1
  83. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +1 -1
  84. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +3 -3
  85. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +3 -3
  86. data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +2 -2
  87. data/lib/datadog_api_client/v1/models/funnel_query.rb +3 -3
  88. data/lib/datadog_api_client/v1/models/funnel_step.rb +2 -2
  89. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +2 -2
  90. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +2 -2
  91. data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +4 -4
  92. data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +2 -2
  93. data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +1 -1
  94. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +3 -3
  95. data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +2 -2
  96. data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +2 -2
  97. data/lib/datadog_api_client/v1/models/http_log_error.rb +2 -2
  98. data/lib/datadog_api_client/v1/models/http_log_item.rb +1 -1
  99. data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +2 -2
  100. data/lib/datadog_api_client/v1/models/idp_form_data.rb +1 -1
  101. data/lib/datadog_api_client/v1/models/idp_response.rb +1 -1
  102. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +2 -2
  103. data/lib/datadog_api_client/v1/models/list_stream_column.rb +2 -2
  104. data/lib/datadog_api_client/v1/models/list_stream_query.rb +2 -2
  105. data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +2 -2
  106. data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +3 -3
  107. data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +1 -1
  108. data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +2 -2
  109. data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +1 -1
  110. data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +1 -1
  111. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +3 -3
  112. data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +3 -3
  113. data/lib/datadog_api_client/v1/models/logs_category_processor.rb +3 -3
  114. data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +2 -2
  115. data/lib/datadog_api_client/v1/models/logs_exclusion.rb +1 -1
  116. data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +1 -1
  117. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +3 -3
  118. data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +4 -4
  119. data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +1 -1
  120. data/lib/datadog_api_client/v1/models/logs_index.rb +2 -2
  121. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +1 -1
  122. data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +1 -1
  123. data/lib/datadog_api_client/v1/models/logs_list_request.rb +2 -2
  124. data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +2 -2
  125. data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +4 -4
  126. data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +2 -2
  127. data/lib/datadog_api_client/v1/models/logs_pipeline.rb +1 -1
  128. data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +1 -1
  129. data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +1 -1
  130. data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -0
  131. data/lib/datadog_api_client/v1/models/logs_query_compute.rb +1 -1
  132. data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +2 -2
  133. data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +2 -2
  134. data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +3 -3
  135. data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +1 -1
  136. data/lib/datadog_api_client/v1/models/logs_url_parser.rb +3 -3
  137. data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +3 -3
  138. data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
  139. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
  140. data/lib/datadog_api_client/v1/models/monitor.rb +3 -3
  141. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +3 -3
  142. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +1 -1
  143. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +1 -1
  144. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +1 -1
  145. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +1 -1
  146. data/lib/datadog_api_client/v1/models/monitor_options.rb +12 -2
  147. data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options_evaluation_window.rb +2 -2
  148. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +2 -2
  149. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +1 -1
  150. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +121 -1
  151. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +2 -2
  152. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +2 -2
  153. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +2 -2
  154. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +3 -3
  155. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +3 -3
  156. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +2 -2
  157. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +3 -3
  158. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +1 -1
  159. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +1 -1
  160. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +1 -1
  161. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +1 -1
  162. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +1 -1
  163. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +2 -2
  164. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +1 -1
  165. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +3 -3
  166. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +3 -3
  167. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +2 -2
  168. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +1 -1
  169. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +1 -1
  170. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +2 -2
  171. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +3 -3
  172. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +1 -1
  173. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +3 -3
  174. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +1 -1
  175. data/lib/datadog_api_client/v1/models/organization.rb +1 -1
  176. data/lib/datadog_api_client/v1/models/organization_create_body.rb +1 -1
  177. data/lib/datadog_api_client/v1/models/pager_duty_service.rb +2 -2
  178. data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +1 -1
  179. data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +1 -1
  180. data/lib/datadog_api_client/v1/models/process_query_definition.rb +2 -2
  181. data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +2 -2
  182. data/lib/datadog_api_client/v1/models/reference_table_logs_lookup_processor.rb +198 -0
  183. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +2 -2
  184. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +2 -2
  185. data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +2 -2
  186. data/lib/datadog_api_client/v1/models/series.rb +2 -2
  187. data/lib/datadog_api_client/v1/models/service_check.rb +4 -4
  188. data/lib/datadog_api_client/v1/models/service_level_objective.rb +3 -3
  189. data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +2 -2
  190. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +3 -3
  191. data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +3 -3
  192. data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +4 -4
  193. data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +1 -1
  194. data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +1 -1
  195. data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +3 -3
  196. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +1 -1
  197. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +3 -3
  198. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +7 -7
  199. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +3 -3
  200. data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +2 -2
  201. data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +2 -2
  202. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +2 -2
  203. data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +2 -2
  204. data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -2
  205. data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +2 -2
  206. data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +2 -2
  207. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +1 -1
  208. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +1 -1
  209. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +4 -4
  210. data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +6 -6
  211. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +1 -1
  212. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +2 -2
  213. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +3 -3
  214. data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_target.rb +2 -2
  215. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +3 -1
  216. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +2 -2
  217. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +1 -1
  218. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_client.rb +212 -0
  219. data/lib/datadog_api_client/v1/models/{http_method.rb → synthetics_basic_auth_oauth_client_type.rb} +3 -9
  220. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop.rb +232 -0
  221. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop_type.rb +26 -0
  222. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_token_api_authentication.rb +27 -0
  223. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +3 -3
  224. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +2 -2
  225. data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +3 -3
  226. data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +6 -6
  227. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +2 -2
  228. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +1 -1
  229. data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +1 -1
  230. data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +2 -2
  231. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
  232. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +2 -2
  233. data/lib/datadog_api_client/v1/models/synthetics_device.rb +4 -4
  234. data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +4 -4
  235. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +1 -1
  236. data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +3 -3
  237. data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +2 -2
  238. data/lib/datadog_api_client/v1/models/synthetics_test_call_type.rb +27 -0
  239. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +2 -2
  240. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +1 -1
  241. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +16 -6
  242. data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +1 -1
  243. data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +1 -1
  244. data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +1 -1
  245. data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +1 -1
  246. data/lib/datadog_api_client/v1/models/table_widget_definition.rb +2 -2
  247. data/lib/datadog_api_client/v1/models/timeseries_background.rb +1 -1
  248. data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +2 -2
  249. data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +1 -1
  250. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +2 -2
  251. data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +1 -1
  252. data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +2 -2
  253. data/lib/datadog_api_client/v1/models/topology_query.rb +1 -1
  254. data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +2 -2
  255. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +91 -1
  256. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
  257. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +11 -1
  258. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +31 -1
  259. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
  260. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
  261. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +2 -2
  262. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +3 -3
  263. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +2 -2
  264. data/lib/datadog_api_client/v1/models/widget.rb +1 -1
  265. data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +3 -3
  266. data/lib/datadog_api_client/v1/models/widget_event.rb +1 -1
  267. data/lib/datadog_api_client/v1/models/widget_field_sort.rb +2 -2
  268. data/lib/datadog_api_client/v1/models/widget_formula.rb +15 -5
  269. data/lib/datadog_api_client/v1/models/widget_formula_style.rb +108 -0
  270. data/lib/datadog_api_client/v1/models/widget_layout.rb +4 -4
  271. data/lib/datadog_api_client/v1/models/widget_marker.rb +1 -1
  272. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +1 -1
  273. data/lib/datadog_api_client/v2/api/incident_services_api.rb +1 -1
  274. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +1 -1
  275. data/lib/datadog_api_client/v2/api/incidents_api.rb +1 -1
  276. data/lib/datadog_api_client/v2/api/key_management_api.rb +3 -3
  277. data/lib/datadog_api_client/v2/api/roles_api.rb +2 -2
  278. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +1 -1
  279. data/lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb +649 -0
  280. data/lib/datadog_api_client/v2/api/service_accounts_api.rb +1 -1
  281. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  282. data/lib/datadog_api_client/v2/api/users_api.rb +1 -1
  283. data/lib/datadog_api_client/v2/models/api_error_response.rb +1 -1
  284. data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +1 -1
  285. data/lib/datadog_api_client/v2/models/api_key_create_data.rb +2 -2
  286. data/lib/datadog_api_client/v2/models/api_key_create_request.rb +1 -1
  287. data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +1 -1
  288. data/lib/datadog_api_client/v2/models/api_key_update_data.rb +3 -3
  289. data/lib/datadog_api_client/v2/models/api_key_update_request.rb +1 -1
  290. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
  291. data/lib/datadog_api_client/v2/models/application_key_create_data.rb +2 -2
  292. data/lib/datadog_api_client/v2/models/application_key_create_request.rb +1 -1
  293. data/lib/datadog_api_client/v2/models/application_key_update_data.rb +3 -3
  294. data/lib/datadog_api_client/v2/models/application_key_update_request.rb +1 -1
  295. data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +1 -1
  296. data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +1 -1
  297. data/lib/datadog_api_client/v2/models/authn_mapping.rb +2 -2
  298. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
  299. data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +1 -1
  300. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +2 -2
  301. data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +1 -1
  302. data/lib/datadog_api_client/v2/models/ci_app_aggregation_function.rb +4 -0
  303. data/lib/datadog_api_client/v2/models/ci_app_compute.rb +1 -1
  304. data/lib/datadog_api_client/v2/models/ci_app_group_by_histogram.rb +3 -3
  305. data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
  306. data/lib/datadog_api_client/v2/models/ci_app_query_options.rb +1 -1
  307. data/lib/datadog_api_client/v2/models/ci_app_query_page_options.rb +1 -1
  308. data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
  309. data/lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb +143 -0
  310. data/lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb +132 -0
  311. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_case_create.rb +121 -0
  312. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +110 -0
  313. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb +239 -0
  314. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_options.rb +109 -0
  315. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_type.rb +26 -0
  316. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +2 -2
  317. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +2 -2
  318. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +1 -1
  319. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +2 -2
  320. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +1 -1
  321. data/lib/datadog_api_client/v2/models/confluent_account_create_request.rb +1 -1
  322. data/lib/datadog_api_client/v2/models/confluent_account_create_request_attributes.rb +2 -2
  323. data/lib/datadog_api_client/v2/models/confluent_account_create_request_data.rb +2 -2
  324. data/lib/datadog_api_client/v2/models/confluent_account_response_attributes.rb +1 -1
  325. data/lib/datadog_api_client/v2/models/confluent_account_response_data.rb +3 -3
  326. data/lib/datadog_api_client/v2/models/confluent_account_update_request.rb +1 -1
  327. data/lib/datadog_api_client/v2/models/confluent_account_update_request_attributes.rb +2 -2
  328. data/lib/datadog_api_client/v2/models/confluent_account_update_request_data.rb +2 -2
  329. data/lib/datadog_api_client/v2/models/confluent_resource_request.rb +1 -1
  330. data/lib/datadog_api_client/v2/models/confluent_resource_request_data.rb +3 -3
  331. data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +1 -1
  332. data/lib/datadog_api_client/v2/models/confluent_resource_response_data.rb +3 -3
  333. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +3 -3
  334. data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +2 -2
  335. data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +2 -2
  336. data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +1 -1
  337. data/lib/datadog_api_client/v2/models/events_query_options.rb +1 -1
  338. data/lib/datadog_api_client/v2/models/events_request_page.rb +1 -1
  339. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +1 -1
  340. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
  341. data/lib/datadog_api_client/v2/models/http_log_item.rb +1 -1
  342. data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +4 -4
  343. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +2 -2
  344. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +2 -2
  345. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +2 -2
  346. data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +1 -1
  347. data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +1 -1
  348. data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +1 -1
  349. data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +2 -2
  350. data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +1 -1
  351. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +2 -2
  352. data/lib/datadog_api_client/v2/models/incident_create_data.rb +2 -2
  353. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +1 -1
  354. data/lib/datadog_api_client/v2/models/incident_create_request.rb +1 -1
  355. data/lib/datadog_api_client/v2/models/incident_response.rb +1 -1
  356. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -1
  357. data/lib/datadog_api_client/v2/models/incident_response_data.rb +2 -2
  358. data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +1 -1
  359. data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +1 -1
  360. data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +1 -1
  361. data/lib/datadog_api_client/v2/models/incident_service_response.rb +1 -1
  362. data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +2 -2
  363. data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +1 -1
  364. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +1 -1
  365. data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +1 -1
  366. data/lib/datadog_api_client/v2/models/incident_services_response.rb +1 -1
  367. data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +1 -1
  368. data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +1 -1
  369. data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +1 -1
  370. data/lib/datadog_api_client/v2/models/incident_team_response.rb +1 -1
  371. data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +1 -1
  372. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +1 -1
  373. data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +1 -1
  374. data/lib/datadog_api_client/v2/models/incident_teams_response.rb +1 -1
  375. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +2 -2
  376. data/lib/datadog_api_client/v2/models/incident_update_data.rb +2 -2
  377. data/lib/datadog_api_client/v2/models/incident_update_request.rb +1 -1
  378. data/lib/datadog_api_client/v2/models/incidents_response.rb +1 -1
  379. data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +2 -2
  380. data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +3 -3
  381. data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +1 -1
  382. data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +1 -1
  383. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +4 -4
  384. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +3 -3
  385. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +3 -3
  386. data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +2 -2
  387. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +2 -2
  388. data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +2 -2
  389. data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +1 -1
  390. data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +2 -2
  391. data/lib/datadog_api_client/v2/models/logs_compute.rb +1 -1
  392. data/lib/datadog_api_client/v2/models/logs_group_by.rb +1 -1
  393. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +3 -3
  394. data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +1 -1
  395. data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +13 -2
  396. data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +1 -1
  397. data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +3 -3
  398. data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +1 -1
  399. data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +1 -1
  400. data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +12 -1
  401. data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +11 -1
  402. data/lib/datadog_api_client/v2/models/logs_metric_update_compute.rb +99 -0
  403. data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +2 -2
  404. data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +1 -1
  405. data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
  406. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +2 -2
  407. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +1 -1
  408. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +2 -2
  409. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +1 -1
  410. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +2 -2
  411. data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +2 -2
  412. data/lib/datadog_api_client/v2/models/metric_origin.rb +3 -3
  413. data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
  414. data/lib/datadog_api_client/v2/models/metric_series.rb +2 -2
  415. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
  416. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +2 -2
  417. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +2 -2
  418. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +1 -1
  419. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +2 -2
  420. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +1 -1
  421. data/lib/datadog_api_client/v2/models/monitor_type.rb +1 -1
  422. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +2 -2
  423. data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +3 -3
  424. data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +2 -2
  425. data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +1 -1
  426. data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +1 -1
  427. data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +3 -3
  428. data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +3 -3
  429. data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +1 -1
  430. data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +1 -1
  431. data/lib/datadog_api_client/v2/models/organization.rb +1 -1
  432. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +1 -1
  433. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
  434. data/lib/datadog_api_client/v2/models/permission.rb +1 -1
  435. data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +1 -1
  436. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +1 -1
  437. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +2 -2
  438. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +2 -2
  439. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
  440. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +1 -1
  441. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +2 -2
  442. data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +1 -1
  443. data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +2 -2
  444. data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +1 -1
  445. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +1 -1
  446. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +2 -2
  447. data/lib/datadog_api_client/v2/models/relationship_to_user.rb +1 -1
  448. data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +2 -2
  449. data/lib/datadog_api_client/v2/models/relationship_to_users.rb +1 -1
  450. data/lib/datadog_api_client/v2/models/role.rb +1 -1
  451. data/lib/datadog_api_client/v2/models/role_clone.rb +2 -2
  452. data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +1 -1
  453. data/lib/datadog_api_client/v2/models/role_clone_request.rb +1 -1
  454. data/lib/datadog_api_client/v2/models/role_create_attributes.rb +1 -1
  455. data/lib/datadog_api_client/v2/models/role_create_data.rb +1 -1
  456. data/lib/datadog_api_client/v2/models/role_create_request.rb +1 -1
  457. data/lib/datadog_api_client/v2/models/role_create_response_data.rb +1 -1
  458. data/lib/datadog_api_client/v2/models/role_update_data.rb +3 -3
  459. data/lib/datadog_api_client/v2/models/role_update_request.rb +1 -1
  460. data/lib/datadog_api_client/v2/models/role_update_response_data.rb +1 -1
  461. data/lib/datadog_api_client/v2/models/rum_application.rb +3 -3
  462. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +41 -10
  463. data/lib/datadog_api_client/v2/models/rum_application_create.rb +2 -2
  464. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +1 -1
  465. data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +1 -1
  466. data/lib/datadog_api_client/v2/models/rum_application_list.rb +130 -0
  467. data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +280 -0
  468. data/lib/datadog_api_client/v2/models/rum_application_list_type.rb +26 -0
  469. data/lib/datadog_api_client/v2/models/rum_application_update.rb +2 -2
  470. data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +1 -1
  471. data/lib/datadog_api_client/v2/models/rum_applications_response.rb +1 -1
  472. data/lib/datadog_api_client/v2/models/rum_compute.rb +1 -1
  473. data/lib/datadog_api_client/v2/models/rum_group_by.rb +1 -1
  474. data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +3 -3
  475. data/lib/datadog_api_client/v2/models/rum_query_options.rb +1 -1
  476. data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +1 -1
  477. data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +2 -2
  478. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +1 -1
  479. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +5 -5
  480. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +2 -2
  481. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +1 -1
  482. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +2 -2
  483. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +1 -1
  484. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +2 -2
  485. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +1 -1
  486. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +1 -1
  487. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +2 -1
  488. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
  489. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +12 -2
  490. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +1 -1
  491. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +1 -1
  492. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +1 -1
  493. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +1 -1
  494. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +1 -1
  495. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +1 -1
  496. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +1 -1
  497. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +6 -6
  498. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +2 -2
  499. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +1 -1
  500. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +1 -1
  501. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +1 -1
  502. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +1 -1
  503. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +5 -5
  504. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +1 -1
  505. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +6 -6
  506. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -1
  507. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +11 -1
  508. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +1 -1
  509. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_config_request.rb +130 -0
  510. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration.rb +108 -0
  511. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_data.rb +98 -0
  512. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_relationships.rb +98 -0
  513. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_type.rb +26 -0
  514. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_group_response.rb +108 -0
  515. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_rule_response.rb +108 -0
  516. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_filter.rb +98 -0
  517. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_included_item.rb +63 -0
  518. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response.rb +120 -0
  519. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +118 -0
  520. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group.rb +108 -0
  521. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_attributes.rb +140 -0
  522. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create.rb +140 -0
  523. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create_request.rb +108 -0
  524. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_data.rb +98 -0
  525. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_request.rb +109 -0
  526. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_response.rb +98 -0
  527. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_included_item.rb +128 -0
  528. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_item.rb +108 -0
  529. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_list.rb +100 -0
  530. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_relationships.rb +108 -0
  531. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_response.rb +128 -0
  532. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_type.rb +26 -0
  533. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update.rb +128 -0
  534. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_request.rb +130 -0
  535. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_response.rb +98 -0
  536. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +149 -0
  537. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta_version_only.rb +109 -0
  538. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_product.rb +29 -0
  539. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_config.rb +118 -0
  540. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_groups_response.rb +98 -0
  541. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule.rb +108 -0
  542. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +162 -0
  543. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create.rb +151 -0
  544. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create_request.rb +130 -0
  545. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_data.rb +100 -0
  546. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_request.rb +109 -0
  547. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_response.rb +98 -0
  548. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_included_item.rb +128 -0
  549. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_relationships.rb +108 -0
  550. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_response.rb +128 -0
  551. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_type.rb +26 -0
  552. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update.rb +128 -0
  553. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_request.rb +130 -0
  554. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_response.rb +98 -0
  555. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern.rb +108 -0
  556. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +120 -0
  557. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_data.rb +98 -0
  558. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_type.rb +26 -0
  559. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_data.rb +100 -0
  560. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_item.rb +118 -0
  561. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb +135 -0
  562. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement_type.rb +35 -0
  563. data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +2 -2
  564. data/lib/datadog_api_client/v2/models/service_account_create_data.rb +2 -2
  565. data/lib/datadog_api_client/v2/models/service_account_create_request.rb +1 -1
  566. data/lib/datadog_api_client/v2/models/service_definition_v1.rb +2 -2
  567. data/lib/datadog_api_client/v2/models/service_definition_v1_info.rb +1 -1
  568. data/lib/datadog_api_client/v2/models/service_definition_v1_resource.rb +3 -3
  569. data/lib/datadog_api_client/v2/models/service_definition_v2.rb +2 -2
  570. data/lib/datadog_api_client/v2/models/service_definition_v2_doc.rb +2 -2
  571. data/lib/datadog_api_client/v2/models/service_definition_v2_email.rb +2 -2
  572. data/lib/datadog_api_client/v2/models/service_definition_v2_link.rb +3 -3
  573. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +1 -1
  574. data/lib/datadog_api_client/v2/models/service_definition_v2_repo.rb +2 -2
  575. data/lib/datadog_api_client/v2/models/service_definition_v2_slack.rb +2 -2
  576. data/lib/datadog_api_client/v2/models/user_create_attributes.rb +1 -1
  577. data/lib/datadog_api_client/v2/models/user_create_data.rb +2 -2
  578. data/lib/datadog_api_client/v2/models/user_create_request.rb +1 -1
  579. data/lib/datadog_api_client/v2/models/user_invitation_data.rb +2 -2
  580. data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +1 -1
  581. data/lib/datadog_api_client/v2/models/user_invitations_request.rb +1 -1
  582. data/lib/datadog_api_client/v2/models/user_update_data.rb +3 -3
  583. data/lib/datadog_api_client/v2/models/user_update_request.rb +1 -1
  584. data/lib/datadog_api_client/version.rb +1 -1
  585. data/spec/fixtures/synthetics_unknown_nested_enum.json +3 -3
  586. data/spec/v1/deserialization_spec.rb +4 -5
  587. metadata +91 -4
  588. data/lib/datadog_api_client/api_key_configuration.rb +0 -16
@@ -0,0 +1,36 @@
1
+ # Create Scanning Group returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # a valid "configuration" in the system
7
+ CONFIGURATION_DATA_ID = ENV["CONFIGURATION_DATA_ID"]
8
+
9
+ body = DatadogAPIClient::V2::SensitiveDataScannerGroupCreateRequest.new({
10
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
11
+ data: DatadogAPIClient::V2::SensitiveDataScannerGroupCreate.new({
12
+ type: DatadogAPIClient::V2::SensitiveDataScannerGroupType::SENSITIVE_DATA_SCANNER_GROUP,
13
+ attributes: DatadogAPIClient::V2::SensitiveDataScannerGroupAttributes.new({
14
+ name: "Example-Create_Scanning_Group_returns_OK_response",
15
+ is_enabled: false,
16
+ product_list: [
17
+ DatadogAPIClient::V2::SensitiveDataScannerProduct::LOGS,
18
+ ],
19
+ filter: DatadogAPIClient::V2::SensitiveDataScannerFilter.new({
20
+ query: "*",
21
+ }),
22
+ }),
23
+ relationships: DatadogAPIClient::V2::SensitiveDataScannerGroupRelationships.new({
24
+ configuration: DatadogAPIClient::V2::SensitiveDataScannerConfigurationData.new({
25
+ data: DatadogAPIClient::V2::SensitiveDataScannerConfiguration.new({
26
+ type: DatadogAPIClient::V2::SensitiveDataScannerConfigurationType::SENSITIVE_DATA_SCANNER_CONFIGURATIONS,
27
+ id: CONFIGURATION_DATA_ID,
28
+ }),
29
+ }),
30
+ rules: DatadogAPIClient::V2::SensitiveDataScannerRuleData.new({
31
+ data: [],
32
+ }),
33
+ }),
34
+ }),
35
+ })
36
+ p api_instance.create_scanning_group(body)
@@ -0,0 +1,34 @@
1
+ # Create Scanning Rule returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # there is a valid "scanning_group" in the system
7
+ GROUP_DATA_ID = ENV["GROUP_DATA_ID"]
8
+
9
+ body = DatadogAPIClient::V2::SensitiveDataScannerRuleCreateRequest.new({
10
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
11
+ data: DatadogAPIClient::V2::SensitiveDataScannerRuleCreate.new({
12
+ type: DatadogAPIClient::V2::SensitiveDataScannerRuleType::SENSITIVE_DATA_SCANNER_RULE,
13
+ attributes: DatadogAPIClient::V2::SensitiveDataScannerRuleAttributes.new({
14
+ name: "Example-Create_Scanning_Rule_returns_OK_response",
15
+ pattern: "pattern",
16
+ text_replacement: DatadogAPIClient::V2::SensitiveDataScannerTextReplacement.new({
17
+ type: DatadogAPIClient::V2::SensitiveDataScannerTextReplacementType::NONE,
18
+ }),
19
+ tags: [
20
+ "sensitive_data:true",
21
+ ],
22
+ is_enabled: true,
23
+ }),
24
+ relationships: DatadogAPIClient::V2::SensitiveDataScannerRuleRelationships.new({
25
+ group: DatadogAPIClient::V2::SensitiveDataScannerGroupData.new({
26
+ data: DatadogAPIClient::V2::SensitiveDataScannerGroup.new({
27
+ type: DatadogAPIClient::V2::SensitiveDataScannerGroupType::SENSITIVE_DATA_SCANNER_GROUP,
28
+ id: GROUP_DATA_ID,
29
+ }),
30
+ }),
31
+ }),
32
+ }),
33
+ })
34
+ p api_instance.create_scanning_rule(body)
@@ -0,0 +1,12 @@
1
+ # Delete Scanning Group returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # there is a valid "scanning_group" in the system
7
+ GROUP_DATA_ID = ENV["GROUP_DATA_ID"]
8
+
9
+ body = DatadogAPIClient::V2::SensitiveDataScannerGroupDeleteRequest.new({
10
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
11
+ })
12
+ p api_instance.delete_scanning_group(GROUP_DATA_ID, body)
@@ -0,0 +1,12 @@
1
+ # Delete Scanning Rule returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # the "scanning_group" has a "scanning_rule"
7
+ RULE_DATA_ID = ENV["RULE_DATA_ID"]
8
+
9
+ body = DatadogAPIClient::V2::SensitiveDataScannerRuleDeleteRequest.new({
10
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
11
+ })
12
+ p api_instance.delete_scanning_rule(RULE_DATA_ID, body)
@@ -0,0 +1,5 @@
1
+ # List Scanning Groups returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+ p api_instance.list_scanning_groups()
@@ -0,0 +1,5 @@
1
+ # List standard patterns returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+ p api_instance.list_standard_patterns()
@@ -0,0 +1,29 @@
1
+ # Reorder Groups returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # there is a valid "scanning_group" in the system
7
+ GROUP_DATA_ID = ENV["GROUP_DATA_ID"]
8
+
9
+ # a valid "configuration" in the system
10
+ CONFIGURATION_DATA_ID = ENV["CONFIGURATION_DATA_ID"]
11
+
12
+ body = DatadogAPIClient::V2::SensitiveDataScannerConfigRequest.new({
13
+ data: DatadogAPIClient::V2::SensitiveDataScannerReorderConfig.new({
14
+ relationships: DatadogAPIClient::V2::SensitiveDataScannerConfigurationRelationships.new({
15
+ groups: DatadogAPIClient::V2::SensitiveDataScannerGroupList.new({
16
+ data: [
17
+ DatadogAPIClient::V2::SensitiveDataScannerGroupItem.new({
18
+ type: DatadogAPIClient::V2::SensitiveDataScannerGroupType::SENSITIVE_DATA_SCANNER_GROUP,
19
+ id: GROUP_DATA_ID,
20
+ }),
21
+ ],
22
+ }),
23
+ }),
24
+ type: DatadogAPIClient::V2::SensitiveDataScannerConfigurationType::SENSITIVE_DATA_SCANNER_CONFIGURATIONS,
25
+ id: CONFIGURATION_DATA_ID,
26
+ }),
27
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
28
+ })
29
+ p api_instance.reorder_scanning_groups(body)
@@ -0,0 +1,40 @@
1
+ # Update Scanning Group returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # there is a valid "scanning_group" in the system
7
+ GROUP_DATA_ID = ENV["GROUP_DATA_ID"]
8
+
9
+ # a valid "configuration" in the system
10
+ CONFIGURATION_DATA_ID = ENV["CONFIGURATION_DATA_ID"]
11
+
12
+ body = DatadogAPIClient::V2::SensitiveDataScannerGroupUpdateRequest.new({
13
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
14
+ data: DatadogAPIClient::V2::SensitiveDataScannerGroupUpdate.new({
15
+ id: GROUP_DATA_ID,
16
+ type: DatadogAPIClient::V2::SensitiveDataScannerGroupType::SENSITIVE_DATA_SCANNER_GROUP,
17
+ attributes: DatadogAPIClient::V2::SensitiveDataScannerGroupAttributes.new({
18
+ name: "Example-Update_Scanning_Group_returns_OK_response",
19
+ is_enabled: false,
20
+ product_list: [
21
+ DatadogAPIClient::V2::SensitiveDataScannerProduct::LOGS,
22
+ ],
23
+ filter: DatadogAPIClient::V2::SensitiveDataScannerFilter.new({
24
+ query: "*",
25
+ }),
26
+ }),
27
+ relationships: DatadogAPIClient::V2::SensitiveDataScannerGroupRelationships.new({
28
+ configuration: DatadogAPIClient::V2::SensitiveDataScannerConfigurationData.new({
29
+ data: DatadogAPIClient::V2::SensitiveDataScannerConfiguration.new({
30
+ type: DatadogAPIClient::V2::SensitiveDataScannerConfigurationType::SENSITIVE_DATA_SCANNER_CONFIGURATIONS,
31
+ id: CONFIGURATION_DATA_ID,
32
+ }),
33
+ }),
34
+ rules: DatadogAPIClient::V2::SensitiveDataScannerRuleData.new({
35
+ data: [],
36
+ }),
37
+ }),
38
+ }),
39
+ })
40
+ p api_instance.update_scanning_group(GROUP_DATA_ID, body)
@@ -0,0 +1,38 @@
1
+ # Update Scanning Rule returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SensitiveDataScannerAPI.new
5
+
6
+ # the "scanning_group" has a "scanning_rule"
7
+ RULE_DATA_ID = ENV["RULE_DATA_ID"]
8
+
9
+ # there is a valid "scanning_group" in the system
10
+ GROUP_DATA_ID = ENV["GROUP_DATA_ID"]
11
+
12
+ body = DatadogAPIClient::V2::SensitiveDataScannerRuleUpdateRequest.new({
13
+ meta: DatadogAPIClient::V2::SensitiveDataScannerMetaVersionOnly.new({}),
14
+ data: DatadogAPIClient::V2::SensitiveDataScannerRuleUpdate.new({
15
+ id: RULE_DATA_ID,
16
+ type: DatadogAPIClient::V2::SensitiveDataScannerRuleType::SENSITIVE_DATA_SCANNER_RULE,
17
+ attributes: DatadogAPIClient::V2::SensitiveDataScannerRuleAttributes.new({
18
+ name: "Example-Update_Scanning_Rule_returns_OK_response",
19
+ pattern: "pattern",
20
+ text_replacement: DatadogAPIClient::V2::SensitiveDataScannerTextReplacement.new({
21
+ type: DatadogAPIClient::V2::SensitiveDataScannerTextReplacementType::NONE,
22
+ }),
23
+ tags: [
24
+ "sensitive_data:true",
25
+ ],
26
+ is_enabled: true,
27
+ }),
28
+ relationships: DatadogAPIClient::V2::SensitiveDataScannerRuleRelationships.new({
29
+ group: DatadogAPIClient::V2::SensitiveDataScannerGroupData.new({
30
+ data: DatadogAPIClient::V2::SensitiveDataScannerGroup.new({
31
+ type: DatadogAPIClient::V2::SensitiveDataScannerGroupType::SENSITIVE_DATA_SCANNER_GROUP,
32
+ id: GROUP_DATA_ID,
33
+ }),
34
+ }),
35
+ }),
36
+ }),
37
+ })
38
+ p api_instance.update_scanning_rule(RULE_DATA_ID, body)
@@ -5,4 +5,4 @@ api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
5
5
  opts = {
6
6
  view: "sub-org",
7
7
  }
8
- p api_instance.get_historical_cost_by_org((Time.now + -1 * 60), opts)
8
+ p api_instance.get_historical_cost_by_org((Time.now + -2 * 86400 * 30), opts)
@@ -16,13 +16,13 @@ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.ge
16
16
  module DatadogAPIClient
17
17
  class Configuration
18
18
  # Defines url scheme
19
- attr_accessor :scheme
19
+ attr_reader :scheme
20
20
 
21
21
  # Defines url host
22
- attr_accessor :host
22
+ attr_reader :host
23
23
 
24
24
  # Defines url base path
25
- attr_accessor :base_path
25
+ attr_reader :base_path
26
26
 
27
27
  # Define server configuration index
28
28
  attr_accessor :server_index
@@ -42,7 +42,7 @@ module DatadogAPIClient
42
42
  #
43
43
  # @example parameter name is "api_key", API key is "xxx" (e.g. "api_key=xxx" in query string)
44
44
  # config.api_key['api_key'] = 'xxx'
45
- attr_accessor :api_key
45
+ attr_reader :api_key
46
46
 
47
47
  # Defines API key prefixes used with API Key authentications.
48
48
  #
@@ -248,6 +248,16 @@ module DatadogAPIClient
248
248
  end
249
249
  end
250
250
 
251
+ # Sets API key.
252
+ def api_key=(api_key)
253
+ @api_key['apiKeyAuth'] = api_key
254
+ end
255
+
256
+ # Sets application key.
257
+ def application_key=(app_key)
258
+ @api_key['appKeyAuth'] = app_key
259
+ end
260
+
251
261
  # Gets Basic Auth token string
252
262
  def basic_auth_token
253
263
  'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
@@ -163,7 +163,6 @@ module DatadogAPIClient
163
163
  "v1.hourly_usage_attribution_usage_type" => "HourlyUsageAttributionUsageType",
164
164
  "v1.http_log_error" => "HTTPLogError",
165
165
  "v1.http_log_item" => "HTTPLogItem",
166
- "v1.http_method" => "HTTPMethod",
167
166
  "v1.idp_form_data" => "IdpFormData",
168
167
  "v1.idp_response" => "IdpResponse",
169
168
  "v1.i_frame_widget_definition" => "IFrameWidgetDefinition",
@@ -365,6 +364,7 @@ module DatadogAPIClient
365
364
  "v1.query_value_widget_definition" => "QueryValueWidgetDefinition",
366
365
  "v1.query_value_widget_definition_type" => "QueryValueWidgetDefinitionType",
367
366
  "v1.query_value_widget_request" => "QueryValueWidgetRequest",
367
+ "v1.reference_table_logs_lookup_processor" => "ReferenceTableLogsLookupProcessor",
368
368
  "v1.response_meta_attributes" => "ResponseMetaAttributes",
369
369
  "v1.scatterplot_dimension" => "ScatterplotDimension",
370
370
  "v1.scatter_plot_request" => "ScatterPlotRequest",
@@ -488,6 +488,11 @@ module DatadogAPIClient
488
488
  "v1.synthetics_basic_auth_digest_type" => "SyntheticsBasicAuthDigestType",
489
489
  "v1.synthetics_basic_auth_ntlm" => "SyntheticsBasicAuthNTLM",
490
490
  "v1.synthetics_basic_auth_ntlm_type" => "SyntheticsBasicAuthNTLMType",
491
+ "v1.synthetics_basic_auth_oauth_client" => "SyntheticsBasicAuthOauthClient",
492
+ "v1.synthetics_basic_auth_oauth_client_type" => "SyntheticsBasicAuthOauthClientType",
493
+ "v1.synthetics_basic_auth_oauth_rop" => "SyntheticsBasicAuthOauthROP",
494
+ "v1.synthetics_basic_auth_oauth_rop_type" => "SyntheticsBasicAuthOauthROPType",
495
+ "v1.synthetics_basic_auth_oauth_token_api_authentication" => "SyntheticsBasicAuthOauthTokenApiAuthentication",
491
496
  "v1.synthetics_basic_auth_sigv4" => "SyntheticsBasicAuthSigv4",
492
497
  "v1.synthetics_basic_auth_sigv4_type" => "SyntheticsBasicAuthSigv4Type",
493
498
  "v1.synthetics_basic_auth_web" => "SyntheticsBasicAuthWeb",
@@ -555,6 +560,7 @@ module DatadogAPIClient
555
560
  "v1.synthetics_step_detail" => "SyntheticsStepDetail",
556
561
  "v1.synthetics_step_detail_warning" => "SyntheticsStepDetailWarning",
557
562
  "v1.synthetics_step_type" => "SyntheticsStepType",
563
+ "v1.synthetics_test_call_type" => "SyntheticsTestCallType",
558
564
  "v1.synthetics_test_ci_options" => "SyntheticsTestCiOptions",
559
565
  "v1.synthetics_test_config" => "SyntheticsTestConfig",
560
566
  "v1.synthetics_test_details" => "SyntheticsTestDetails",
@@ -726,6 +732,7 @@ module DatadogAPIClient
726
732
  "v1.widget_field_sort" => "WidgetFieldSort",
727
733
  "v1.widget_formula" => "WidgetFormula",
728
734
  "v1.widget_formula_limit" => "WidgetFormulaLimit",
735
+ "v1.widget_formula_style" => "WidgetFormulaStyle",
729
736
  "v1.widget_grouping" => "WidgetGrouping",
730
737
  "v1.widget_horizontal_align" => "WidgetHorizontalAlign",
731
738
  "v1.widget_image_sizing" => "WidgetImageSizing",
@@ -850,6 +857,13 @@ module DatadogAPIClient
850
857
  "v2.ci_app_tests_group_by" => "CIAppTestsGroupBy",
851
858
  "v2.ci_app_tests_query_filter" => "CIAppTestsQueryFilter",
852
859
  "v2.ci_app_warning" => "CIAppWarning",
860
+ "v2.cloud_configuration_compliance_rule_options" => "CloudConfigurationComplianceRuleOptions",
861
+ "v2.cloud_configuration_rego_rule" => "CloudConfigurationRegoRule",
862
+ "v2.cloud_configuration_rule_case_create" => "CloudConfigurationRuleCaseCreate",
863
+ "v2.cloud_configuration_rule_compliance_signal_options" => "CloudConfigurationRuleComplianceSignalOptions",
864
+ "v2.cloud_configuration_rule_create_payload" => "CloudConfigurationRuleCreatePayload",
865
+ "v2.cloud_configuration_rule_options" => "CloudConfigurationRuleOptions",
866
+ "v2.cloud_configuration_rule_type" => "CloudConfigurationRuleType",
853
867
  "v2.cloud_workload_security_agent_rule_attributes" => "CloudWorkloadSecurityAgentRuleAttributes",
854
868
  "v2.cloud_workload_security_agent_rule_create_attributes" => "CloudWorkloadSecurityAgentRuleCreateAttributes",
855
869
  "v2.cloud_workload_security_agent_rule_create_data" => "CloudWorkloadSecurityAgentRuleCreateData",
@@ -1071,6 +1085,7 @@ module DatadogAPIClient
1071
1085
  "v2.logs_metrics_response" => "LogsMetricsResponse",
1072
1086
  "v2.logs_metric_type" => "LogsMetricType",
1073
1087
  "v2.logs_metric_update_attributes" => "LogsMetricUpdateAttributes",
1088
+ "v2.logs_metric_update_compute" => "LogsMetricUpdateCompute",
1074
1089
  "v2.logs_metric_update_data" => "LogsMetricUpdateData",
1075
1090
  "v2.logs_metric_update_request" => "LogsMetricUpdateRequest",
1076
1091
  "v2.logs_query_filter" => "LogsQueryFilter",
@@ -1229,6 +1244,9 @@ module DatadogAPIClient
1229
1244
  "v2.rum_application_create_attributes" => "RUMApplicationCreateAttributes",
1230
1245
  "v2.rum_application_create_request" => "RUMApplicationCreateRequest",
1231
1246
  "v2.rum_application_create_type" => "RUMApplicationCreateType",
1247
+ "v2.rum_application_list" => "RUMApplicationList",
1248
+ "v2.rum_application_list_attributes" => "RUMApplicationListAttributes",
1249
+ "v2.rum_application_list_type" => "RUMApplicationListType",
1232
1250
  "v2.rum_application_response" => "RUMApplicationResponse",
1233
1251
  "v2.rum_applications_response" => "RUMApplicationsResponse",
1234
1252
  "v2.rum_application_type" => "RUMApplicationType",
@@ -1335,6 +1353,60 @@ module DatadogAPIClient
1335
1353
  "v2.security_monitoring_standard_rule_query" => "SecurityMonitoringStandardRuleQuery",
1336
1354
  "v2.security_monitoring_standard_rule_response" => "SecurityMonitoringStandardRuleResponse",
1337
1355
  "v2.security_monitoring_triage_user" => "SecurityMonitoringTriageUser",
1356
+ "v2.sensitive_data_scanner_config_request" => "SensitiveDataScannerConfigRequest",
1357
+ "v2.sensitive_data_scanner_configuration" => "SensitiveDataScannerConfiguration",
1358
+ "v2.sensitive_data_scanner_configuration_data" => "SensitiveDataScannerConfigurationData",
1359
+ "v2.sensitive_data_scanner_configuration_relationships" => "SensitiveDataScannerConfigurationRelationships",
1360
+ "v2.sensitive_data_scanner_configuration_type" => "SensitiveDataScannerConfigurationType",
1361
+ "v2.sensitive_data_scanner_create_group_response" => "SensitiveDataScannerCreateGroupResponse",
1362
+ "v2.sensitive_data_scanner_create_rule_response" => "SensitiveDataScannerCreateRuleResponse",
1363
+ "v2.sensitive_data_scanner_filter" => "SensitiveDataScannerFilter",
1364
+ "v2.sensitive_data_scanner_get_config_included_item" => "SensitiveDataScannerGetConfigIncludedItem",
1365
+ "v2.sensitive_data_scanner_get_config_response" => "SensitiveDataScannerGetConfigResponse",
1366
+ "v2.sensitive_data_scanner_get_config_response_data" => "SensitiveDataScannerGetConfigResponseData",
1367
+ "v2.sensitive_data_scanner_group" => "SensitiveDataScannerGroup",
1368
+ "v2.sensitive_data_scanner_group_attributes" => "SensitiveDataScannerGroupAttributes",
1369
+ "v2.sensitive_data_scanner_group_create" => "SensitiveDataScannerGroupCreate",
1370
+ "v2.sensitive_data_scanner_group_create_request" => "SensitiveDataScannerGroupCreateRequest",
1371
+ "v2.sensitive_data_scanner_group_data" => "SensitiveDataScannerGroupData",
1372
+ "v2.sensitive_data_scanner_group_delete_request" => "SensitiveDataScannerGroupDeleteRequest",
1373
+ "v2.sensitive_data_scanner_group_delete_response" => "SensitiveDataScannerGroupDeleteResponse",
1374
+ "v2.sensitive_data_scanner_group_included_item" => "SensitiveDataScannerGroupIncludedItem",
1375
+ "v2.sensitive_data_scanner_group_item" => "SensitiveDataScannerGroupItem",
1376
+ "v2.sensitive_data_scanner_group_list" => "SensitiveDataScannerGroupList",
1377
+ "v2.sensitive_data_scanner_group_relationships" => "SensitiveDataScannerGroupRelationships",
1378
+ "v2.sensitive_data_scanner_group_response" => "SensitiveDataScannerGroupResponse",
1379
+ "v2.sensitive_data_scanner_group_type" => "SensitiveDataScannerGroupType",
1380
+ "v2.sensitive_data_scanner_group_update" => "SensitiveDataScannerGroupUpdate",
1381
+ "v2.sensitive_data_scanner_group_update_request" => "SensitiveDataScannerGroupUpdateRequest",
1382
+ "v2.sensitive_data_scanner_group_update_response" => "SensitiveDataScannerGroupUpdateResponse",
1383
+ "v2.sensitive_data_scanner_meta" => "SensitiveDataScannerMeta",
1384
+ "v2.sensitive_data_scanner_meta_version_only" => "SensitiveDataScannerMetaVersionOnly",
1385
+ "v2.sensitive_data_scanner_product" => "SensitiveDataScannerProduct",
1386
+ "v2.sensitive_data_scanner_reorder_config" => "SensitiveDataScannerReorderConfig",
1387
+ "v2.sensitive_data_scanner_reorder_groups_response" => "SensitiveDataScannerReorderGroupsResponse",
1388
+ "v2.sensitive_data_scanner_rule" => "SensitiveDataScannerRule",
1389
+ "v2.sensitive_data_scanner_rule_attributes" => "SensitiveDataScannerRuleAttributes",
1390
+ "v2.sensitive_data_scanner_rule_create" => "SensitiveDataScannerRuleCreate",
1391
+ "v2.sensitive_data_scanner_rule_create_request" => "SensitiveDataScannerRuleCreateRequest",
1392
+ "v2.sensitive_data_scanner_rule_data" => "SensitiveDataScannerRuleData",
1393
+ "v2.sensitive_data_scanner_rule_delete_request" => "SensitiveDataScannerRuleDeleteRequest",
1394
+ "v2.sensitive_data_scanner_rule_delete_response" => "SensitiveDataScannerRuleDeleteResponse",
1395
+ "v2.sensitive_data_scanner_rule_included_item" => "SensitiveDataScannerRuleIncludedItem",
1396
+ "v2.sensitive_data_scanner_rule_relationships" => "SensitiveDataScannerRuleRelationships",
1397
+ "v2.sensitive_data_scanner_rule_response" => "SensitiveDataScannerRuleResponse",
1398
+ "v2.sensitive_data_scanner_rule_type" => "SensitiveDataScannerRuleType",
1399
+ "v2.sensitive_data_scanner_rule_update" => "SensitiveDataScannerRuleUpdate",
1400
+ "v2.sensitive_data_scanner_rule_update_request" => "SensitiveDataScannerRuleUpdateRequest",
1401
+ "v2.sensitive_data_scanner_rule_update_response" => "SensitiveDataScannerRuleUpdateResponse",
1402
+ "v2.sensitive_data_scanner_standard_pattern" => "SensitiveDataScannerStandardPattern",
1403
+ "v2.sensitive_data_scanner_standard_pattern_attributes" => "SensitiveDataScannerStandardPatternAttributes",
1404
+ "v2.sensitive_data_scanner_standard_pattern_data" => "SensitiveDataScannerStandardPatternData",
1405
+ "v2.sensitive_data_scanner_standard_patterns_response_data" => "SensitiveDataScannerStandardPatternsResponseData",
1406
+ "v2.sensitive_data_scanner_standard_patterns_response_item" => "SensitiveDataScannerStandardPatternsResponseItem",
1407
+ "v2.sensitive_data_scanner_standard_pattern_type" => "SensitiveDataScannerStandardPatternType",
1408
+ "v2.sensitive_data_scanner_text_replacement" => "SensitiveDataScannerTextReplacement",
1409
+ "v2.sensitive_data_scanner_text_replacement_type" => "SensitiveDataScannerTextReplacementType",
1338
1410
  "v2.service_account_create_attributes" => "ServiceAccountCreateAttributes",
1339
1411
  "v2.service_account_create_data" => "ServiceAccountCreateData",
1340
1412
  "v2.service_account_create_request" => "ServiceAccountCreateRequest",
@@ -1451,6 +1523,7 @@ module DatadogAPIClient
1451
1523
  "v2.roles_api" => "RolesAPI",
1452
1524
  "v2.rum_api" => "RUMAPI",
1453
1525
  "v2.security_monitoring_api" => "SecurityMonitoringAPI",
1526
+ "v2.sensitive_data_scanner_api" => "SensitiveDataScannerAPI",
1454
1527
  "v2.service_accounts_api" => "ServiceAccountsAPI",
1455
1528
  "v2.service_definition_api" => "ServiceDefinitionAPI",
1456
1529
  "v2.usage_metering_api" => "UsageMeteringAPI",
@@ -18,7 +18,6 @@ require 'datadog_api_client/version'
18
18
  require 'datadog_api_client/user_agent'
19
19
  require 'datadog_api_client/api_client'
20
20
  require 'datadog_api_client/configuration'
21
- require 'datadog_api_client/api_key_configuration'
22
21
 
23
22
  # Model base
24
23
  ## Load in the model_base modules which also initializes the V1 and V2 namespaces
@@ -184,7 +184,7 @@ module DatadogAPIClient::V1
184
184
  # @param opts [Hash] the optional parameters
185
185
  # @option opts [EventPriority] :priority Priority of your events, either `low` or `normal`.
186
186
  # @option opts [String] :sources A comma separated string of sources.
187
- # @option opts [String] :tags A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope.
187
+ # @option opts [String] :tags A comma separated list indicating what tags, if any, should be used to filter the list of events.
188
188
  # @option opts [Boolean] :unaggregated Set unaggregated to `true` to return all events within the specified [`start`,`end`] timeframe. Otherwise if an event is aggregated to a parent event with a timestamp outside of the timeframe, it won't be available in the output. Aggregated events with `is_aggregate=true` in the response will still be returned unless exclude_aggregate is set to `true.`
189
189
  # @option opts [Boolean] :exclude_aggregate Set `exclude_aggregate` to `true` to only return unaggregated events where `is_aggregate=false` in the response. If the `exclude_aggregate` parameter is set to `true`, then the unaggregated parameter is ignored and will be `true` by default.
190
190
  # @option opts [Integer] :page By default 1000 results are returned per request. Set page to the number of the page to return with `0` being the first page. The page parameter can only be used when either unaggregated or exclude_aggregate is set to `true.`
@@ -233,6 +233,8 @@ module DatadogAPIClient::V1
233
233
  # Get all Service Level Objective corrections.
234
234
  #
235
235
  # @param opts [Hash] the optional parameters
236
+ # @option opts [Integer] :offset The specific offset to use as the beginning of the returned response.
237
+ # @option opts [Integer] :limit The number of SLO corrections to return in the response. Default is 25.
236
238
  # @return [Array<(SLOCorrectionListResponse, Integer, Hash)>] SLOCorrectionListResponse data, response status code and response headers
237
239
  def list_slo_correction_with_http_info(opts = {})
238
240
 
@@ -244,6 +246,8 @@ module DatadogAPIClient::V1
244
246
 
245
247
  # query parameters
246
248
  query_params = opts[:query_params] || {}
249
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
250
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
247
251
 
248
252
  # header parameters
249
253
  header_params = opts[:header_params] || {}
@@ -1355,7 +1355,7 @@ module DatadogAPIClient::V1
1355
1355
  return data, status_code, headers
1356
1356
  end
1357
1357
 
1358
- # Get the list of all tests.
1358
+ # Get the list of all Synthetic tests.
1359
1359
  #
1360
1360
  # @see #list_tests_with_http_info
1361
1361
  def list_tests(opts = {})
@@ -1363,11 +1363,13 @@ module DatadogAPIClient::V1
1363
1363
  data
1364
1364
  end
1365
1365
 
1366
- # Get the list of all tests.
1366
+ # Get the list of all Synthetic tests.
1367
1367
  #
1368
1368
  # Get the list of all Synthetic tests.
1369
1369
  #
1370
1370
  # @param opts [Hash] the optional parameters
1371
+ # @option opts [String] :page_size Used for pagination. The number of tests returned in the page.
1372
+ # @option opts [String] :page_number Used for pagination. Which page you want to retrieve. Starts at zero.
1371
1373
  # @return [Array<(SyntheticsListTestsResponse, Integer, Hash)>] SyntheticsListTestsResponse data, response status code and response headers
1372
1374
  def list_tests_with_http_info(opts = {})
1373
1375
 
@@ -1379,6 +1381,8 @@ module DatadogAPIClient::V1
1379
1381
 
1380
1382
  # query parameters
1381
1383
  query_params = opts[:query_params] || {}
1384
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1385
+ query_params[:'page_number'] = opts[:'page_number'] if !opts[:'page_number'].nil?
1382
1386
 
1383
1387
  # header parameters
1384
1388
  header_params = opts[:header_params] || {}
@@ -29,7 +29,7 @@ module DatadogAPIClient::V1
29
29
  attr_accessor :add_to_signal_timeline
30
30
 
31
31
  # Public ID attribute of the incident to which the signal will be added.
32
- attr_accessor :incident_id
32
+ attr_reader :incident_id
33
33
 
34
34
  # Version of the updated signal. If server side version is higher, update will be rejected.
35
35
  attr_accessor :version
@@ -26,7 +26,7 @@ module DatadogAPIClient::V1
26
26
  attr_accessor :_unparsed
27
27
 
28
28
  # ID of the alert to use in the widget.
29
- attr_accessor :alert_id
29
+ attr_reader :alert_id
30
30
 
31
31
  # Time setting for the widget.
32
32
  attr_accessor :time
@@ -41,10 +41,10 @@ module DatadogAPIClient::V1
41
41
  attr_accessor :title_size
42
42
 
43
43
  # Type of the alert graph widget.
44
- attr_accessor :type
44
+ attr_reader :type
45
45
 
46
46
  # Whether to display the Alert Graph as a timeseries or a top list.
47
- attr_accessor :viz_type
47
+ attr_reader :viz_type
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  # @!visibility private
@@ -26,7 +26,7 @@ module DatadogAPIClient::V1
26
26
  attr_accessor :_unparsed
27
27
 
28
28
  # ID of the alert to use in the widget.
29
- attr_accessor :alert_id
29
+ attr_reader :alert_id
30
30
 
31
31
  # Number of decimal to show. If not defined, will use the raw value.
32
32
  attr_accessor :precision
@@ -44,7 +44,7 @@ module DatadogAPIClient::V1
44
44
  attr_accessor :title_size
45
45
 
46
46
  # Type of the alert value widget.
47
- attr_accessor :type
47
+ attr_reader :type
48
48
 
49
49
  # Unit to display with the value.
50
50
  attr_accessor :unit
@@ -26,7 +26,7 @@ module DatadogAPIClient::V1
26
26
  attr_accessor :_unparsed
27
27
 
28
28
  # Array of errors returned by the API.
29
- attr_accessor :errors
29
+ attr_reader :errors
30
30
 
31
31
  # Attribute mapping from ruby-style variable name to JSON key.
32
32
  # @!visibility private
@@ -32,7 +32,7 @@ module DatadogAPIClient::V1
32
32
  attr_accessor :created_by
33
33
 
34
34
  # API key.
35
- attr_accessor :key
35
+ attr_reader :key
36
36
 
37
37
  # Name of your API key.
38
38
  attr_accessor :name
@@ -32,7 +32,7 @@ module DatadogAPIClient::V1
32
32
  attr_accessor :cell_display_mode
33
33
 
34
34
  # Column name.
35
- attr_accessor :name
35
+ attr_reader :name
36
36
 
37
37
  # Widget sorting methods.
38
38
  attr_accessor :order
@@ -29,22 +29,22 @@ module DatadogAPIClient::V1
29
29
  attr_accessor :columns
30
30
 
31
31
  # Environment name.
32
- attr_accessor :env
32
+ attr_reader :env
33
33
 
34
34
  # Operation name associated with service.
35
- attr_accessor :name
35
+ attr_reader :name
36
36
 
37
37
  # The organization's host group name and value.
38
- attr_accessor :primary_tag
38
+ attr_reader :primary_tag
39
39
 
40
40
  # Resource name.
41
41
  attr_accessor :resource
42
42
 
43
43
  # The level of detail for the request.
44
- attr_accessor :row_type
44
+ attr_reader :row_type
45
45
 
46
46
  # Service name.
47
- attr_accessor :service
47
+ attr_reader :service
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
50
50
  # @!visibility private
@@ -26,7 +26,7 @@ module DatadogAPIClient::V1
26
26
  attr_accessor :_unparsed
27
27
 
28
28
  # Hash of an application key.
29
- attr_accessor :hash
29
+ attr_reader :hash
30
30
 
31
31
  # Name of an application key.
32
32
  attr_accessor :name
@@ -26,10 +26,10 @@ module DatadogAPIClient::V1
26
26
  attr_accessor :_unparsed
27
27
 
28
28
  # Your AWS Account ID without dashes.
29
- attr_accessor :account_id
29
+ attr_reader :account_id
30
30
 
31
31
  # ARN of the Datadog Lambda created during the Datadog-Amazon Web services Log collection setup.
32
- attr_accessor :lambda_arn
32
+ attr_reader :lambda_arn
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  # @!visibility private
@@ -26,10 +26,10 @@ module DatadogAPIClient::V1
26
26
  attr_accessor :_unparsed
27
27
 
28
28
  # Your AWS Account ID without dashes.
29
- attr_accessor :account_id
29
+ attr_reader :account_id
30
30
 
31
31
  # Array of services IDs set to enable automatic log collection. Discover the list of available services with the get list of AWS log ready services API endpoint.
32
- attr_accessor :services
32
+ attr_reader :services
33
33
 
34
34
  # Attribute mapping from ruby-style variable name to JSON key.
35
35
  # @!visibility private