datadog_api_client 2.1.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1163) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/poetry.lock +21 -14
  4. data/.generator/pyproject.toml +1 -1
  5. data/.generator/schemas/v1/openapi.yaml +588 -12
  6. data/.generator/schemas/v2/openapi.yaml +3349 -1417
  7. data/.generator/src/generator/cli.py +11 -0
  8. data/.generator/src/generator/formatter.py +5 -1
  9. data/.generator/src/generator/templates/api.j2 +7 -0
  10. data/.generator/src/generator/templates/api_client.j2 +32 -3
  11. data/.generator/src/generator/templates/configuration.j2 +17 -0
  12. data/.generator/src/generator/templates/model.j2 +4 -0
  13. data/.generator/src/generator/templates/model_base.j2 +10 -2
  14. data/.generator/src/generator/templates/model_generic.j2 +3 -17
  15. data/.generator/src/generator/templates/model_oneof.j2 +1 -1
  16. data/.generator/src/generator/templates/scenarios_model_mapping.j2 +16 -0
  17. data/.github/workflows/test.yml +3 -0
  18. data/.pre-commit-config.yaml +1 -1
  19. data/CHANGELOG.md +46 -0
  20. data/Gemfile +1 -0
  21. data/README.md +11 -0
  22. data/examples/v1/dashboards/CreateDashboard_1423904722.rb +38 -0
  23. data/examples/v1/dashboards/CreateDashboard_2652180930.rb +43 -0
  24. data/examples/v1/dashboards/CreateDashboard_2850365602.rb +55 -0
  25. data/examples/v1/dashboards/CreateDashboard_3117424216.rb +33 -0
  26. data/examples/v1/dashboards/CreateDashboard_3669695268.rb +50 -0
  27. data/examples/v1/dashboards/CreateDashboard_858397694.rb +41 -0
  28. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +4 -1
  29. data/examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb +2 -2
  30. data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +1 -1
  31. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
  32. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +3 -3
  33. data/examples/v1/synthetics/UpdateAPITest.rb +2 -2
  34. data/examples/v1/usage-metering/GetUsageSummary.rb +1 -1
  35. data/examples/v2/confluent-cloud/CreateConfluentAccount.rb +29 -0
  36. data/examples/v2/confluent-cloud/CreateConfluentResource.rb +22 -0
  37. data/examples/v2/confluent-cloud/DeleteConfluentAccount.rb +5 -0
  38. data/examples/v2/confluent-cloud/DeleteConfluentAccount_2919241291.rb +8 -0
  39. data/examples/v2/confluent-cloud/GetConfluentAccount.rb +8 -0
  40. data/examples/v2/confluent-cloud/GetConfluentResource.rb +5 -0
  41. data/examples/v2/confluent-cloud/ListConfluentAccount.rb +5 -0
  42. data/examples/v2/confluent-cloud/ListConfluentResource.rb +5 -0
  43. data/examples/v2/confluent-cloud/UpdateConfluentAccount.rb +22 -0
  44. data/examples/v2/confluent-cloud/UpdateConfluentResource.rb +19 -0
  45. data/examples/v2/incidents/ListIncidentAttachments.rb +8 -0
  46. data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +11 -0
  47. data/examples/v2/incidents/UpdateIncidentAttachments.rb +38 -0
  48. data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +26 -0
  49. data/examples/v2/metrics/ListActiveMetricConfigurations.rb +5 -0
  50. data/examples/v2/metrics/ListTagConfigurations.rb +1 -1
  51. data/examples/v2/metrics/ListTagConfigurations_265033704.rb +8 -0
  52. data/examples/v2/metrics/{ListTagConfigurations_103226315.rb → ListTagConfigurations_2739018321.rb} +1 -1
  53. data/examples/v2/rum/UpdateRUMApplication.rb +5 -2
  54. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +3 -2
  55. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +2 -2
  56. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb +2 -2
  57. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb +50 -0
  58. data/examples/v2/security-monitoring/GetSecurityMonitoringSignal.rb +5 -0
  59. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +2 -1
  60. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +54 -0
  61. data/examples/v2/service-definition/DeleteServiceDefinition.rb +5 -0
  62. data/examples/v2/service-definition/GetServiceDefinition.rb +5 -0
  63. data/examples/v2/service-definition/ListServiceDefinitions.rb +5 -0
  64. data/examples/v2/usage-metering/GetEstimatedCostByOrg.rb +1 -4
  65. data/examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb +2 -4
  66. data/examples/v2/usage-metering/GetEstimatedCostByOrg_3186693804.rb +2 -4
  67. data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +8 -0
  68. data/generate.sh +30 -0
  69. data/lib/datadog_api_client/api_client.rb +32 -3
  70. data/lib/datadog_api_client/configuration.rb +20 -1
  71. data/lib/datadog_api_client/inflector.rb +104 -1
  72. data/lib/datadog_api_client/v1/api/logs_api.rb +3 -0
  73. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +3 -1
  74. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +26 -8
  75. data/lib/datadog_api_client/v1/model_base.rb +10 -2
  76. data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +0 -13
  77. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +0 -15
  78. data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +0 -15
  79. data/lib/datadog_api_client/v1/models/api_error_response.rb +0 -13
  80. data/lib/datadog_api_client/v1/models/api_key.rb +0 -13
  81. data/lib/datadog_api_client/v1/models/api_key_list_response.rb +0 -13
  82. data/lib/datadog_api_client/v1/models/api_key_response.rb +0 -13
  83. data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +0 -13
  84. data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +0 -13
  85. data/lib/datadog_api_client/v1/models/application_key.rb +0 -13
  86. data/lib/datadog_api_client/v1/models/application_key_list_response.rb +0 -13
  87. data/lib/datadog_api_client/v1/models/application_key_response.rb +0 -13
  88. data/lib/datadog_api_client/v1/models/authentication_validation_response.rb +0 -13
  89. data/lib/datadog_api_client/v1/models/aws_account.rb +0 -19
  90. data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +0 -13
  91. data/lib/datadog_api_client/v1/models/aws_account_create_response.rb +0 -13
  92. data/lib/datadog_api_client/v1/models/aws_account_delete_request.rb +0 -13
  93. data/lib/datadog_api_client/v1/models/aws_account_list_response.rb +0 -13
  94. data/lib/datadog_api_client/v1/models/aws_logs_async_error.rb +0 -13
  95. data/lib/datadog_api_client/v1/models/aws_logs_async_response.rb +0 -13
  96. data/lib/datadog_api_client/v1/models/aws_logs_lambda.rb +0 -13
  97. data/lib/datadog_api_client/v1/models/aws_logs_list_response.rb +0 -13
  98. data/lib/datadog_api_client/v1/models/aws_logs_list_services_response.rb +0 -13
  99. data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +0 -13
  100. data/lib/datadog_api_client/v1/models/aws_tag_filter.rb +0 -13
  101. data/lib/datadog_api_client/v1/models/aws_tag_filter_create_request.rb +0 -13
  102. data/lib/datadog_api_client/v1/models/aws_tag_filter_delete_request.rb +0 -13
  103. data/lib/datadog_api_client/v1/models/aws_tag_filter_list_response.rb +0 -13
  104. data/lib/datadog_api_client/v1/models/azure_account.rb +0 -13
  105. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +0 -13
  106. data/lib/datadog_api_client/v1/models/canceled_downtimes_ids.rb +0 -13
  107. data/lib/datadog_api_client/v1/models/change_widget_definition.rb +0 -15
  108. data/lib/datadog_api_client/v1/models/change_widget_request.rb +0 -13
  109. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +0 -13
  110. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +0 -13
  111. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response.rb +0 -13
  112. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +0 -13
  113. data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +0 -15
  114. data/lib/datadog_api_client/v1/models/creator.rb +0 -13
  115. data/lib/datadog_api_client/v1/models/dashboard.rb +0 -15
  116. data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +0 -15
  117. data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +0 -13
  118. data/lib/datadog_api_client/v1/models/dashboard_delete_response.rb +0 -13
  119. data/lib/datadog_api_client/v1/models/dashboard_list.rb +0 -13
  120. data/lib/datadog_api_client/v1/models/dashboard_list_delete_response.rb +0 -13
  121. data/lib/datadog_api_client/v1/models/dashboard_list_list_response.rb +0 -13
  122. data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +0 -13
  123. data/lib/datadog_api_client/v1/models/dashboard_summary.rb +0 -13
  124. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +0 -13
  125. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +14 -15
  126. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset.rb +0 -13
  127. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +28 -18
  128. data/lib/datadog_api_client/v1/models/deleted_monitor.rb +0 -13
  129. data/lib/datadog_api_client/v1/models/distribution_point_item.rb +1 -1
  130. data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +0 -13
  131. data/lib/datadog_api_client/v1/models/distribution_points_series.rb +0 -15
  132. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +0 -15
  133. data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_query.rb +1 -1
  134. data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +0 -13
  135. data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +0 -19
  136. data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +0 -19
  137. data/lib/datadog_api_client/v1/models/downtime.rb +0 -13
  138. data/lib/datadog_api_client/v1/models/downtime_child.rb +0 -13
  139. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +0 -13
  140. data/lib/datadog_api_client/v1/models/event.rb +0 -13
  141. data/lib/datadog_api_client/v1/models/event_create_request.rb +0 -13
  142. data/lib/datadog_api_client/v1/models/event_create_response.rb +0 -13
  143. data/lib/datadog_api_client/v1/models/event_list_response.rb +0 -13
  144. data/lib/datadog_api_client/v1/models/event_query_definition.rb +0 -13
  145. data/lib/datadog_api_client/v1/models/event_response.rb +0 -13
  146. data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +0 -15
  147. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +0 -15
  148. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +0 -13
  149. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +0 -13
  150. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +14 -17
  151. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +0 -13
  152. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +0 -13
  153. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +0 -13
  154. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +0 -15
  155. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +0 -13
  156. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +0 -15
  157. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +1 -1
  158. data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +0 -15
  159. data/lib/datadog_api_client/v1/models/funnel_query.rb +0 -15
  160. data/lib/datadog_api_client/v1/models/funnel_step.rb +0 -13
  161. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +0 -15
  162. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +0 -13
  163. data/lib/datadog_api_client/v1/models/gcp_account.rb +0 -13
  164. data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +0 -15
  165. data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +0 -13
  166. data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +0 -13
  167. data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +0 -13
  168. data/lib/datadog_api_client/v1/models/graph_snapshot.rb +0 -13
  169. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +0 -17
  170. data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +0 -15
  171. data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +0 -13
  172. data/lib/datadog_api_client/v1/models/host.rb +0 -13
  173. data/lib/datadog_api_client/v1/models/host_list_response.rb +0 -13
  174. data/lib/datadog_api_client/v1/models/host_map_request.rb +0 -13
  175. data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +0 -15
  176. data/lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb +0 -13
  177. data/lib/datadog_api_client/v1/models/host_map_widget_definition_style.rb +0 -13
  178. data/lib/datadog_api_client/v1/models/host_meta.rb +0 -13
  179. data/lib/datadog_api_client/v1/models/host_meta_install_method.rb +0 -13
  180. data/lib/datadog_api_client/v1/models/host_metrics.rb +0 -13
  181. data/lib/datadog_api_client/v1/models/host_mute_response.rb +0 -13
  182. data/lib/datadog_api_client/v1/models/host_mute_settings.rb +0 -13
  183. data/lib/datadog_api_client/v1/models/host_tags.rb +0 -13
  184. data/lib/datadog_api_client/v1/models/host_totals.rb +0 -13
  185. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +0 -13
  186. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_metadata.rb +0 -13
  187. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_pagination.rb +0 -13
  188. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_response.rb +0 -13
  189. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  190. data/lib/datadog_api_client/v1/models/http_log_error.rb +0 -13
  191. data/lib/datadog_api_client/v1/models/http_log_item.rb +0 -13
  192. data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +0 -15
  193. data/lib/datadog_api_client/v1/models/idp_form_data.rb +0 -13
  194. data/lib/datadog_api_client/v1/models/idp_response.rb +0 -13
  195. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +0 -19
  196. data/lib/datadog_api_client/v1/models/intake_payload_accepted.rb +0 -13
  197. data/lib/datadog_api_client/v1/models/ip_prefixes_agents.rb +0 -13
  198. data/lib/datadog_api_client/v1/models/ip_prefixes_api.rb +0 -13
  199. data/lib/datadog_api_client/v1/models/ip_prefixes_apm.rb +0 -13
  200. data/lib/datadog_api_client/v1/models/ip_prefixes_logs.rb +0 -13
  201. data/lib/datadog_api_client/v1/models/ip_prefixes_process.rb +0 -13
  202. data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics.rb +0 -13
  203. data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics_private_locations.rb +0 -13
  204. data/lib/datadog_api_client/v1/models/ip_prefixes_webhooks.rb +0 -13
  205. data/lib/datadog_api_client/v1/models/ip_ranges.rb +0 -13
  206. data/lib/datadog_api_client/v1/models/list_stream_column.rb +0 -13
  207. data/lib/datadog_api_client/v1/models/list_stream_query.rb +14 -19
  208. data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +0 -15
  209. data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +0 -13
  210. data/lib/datadog_api_client/v1/models/log.rb +0 -13
  211. data/lib/datadog_api_client/v1/models/log_content.rb +0 -13
  212. data/lib/datadog_api_client/v1/models/log_query_definition.rb +0 -13
  213. data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +0 -13
  214. data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +0 -13
  215. data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +0 -13
  216. data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +0 -15
  217. data/lib/datadog_api_client/v1/models/logs_api_error.rb +0 -13
  218. data/lib/datadog_api_client/v1/models/logs_api_error_response.rb +0 -13
  219. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +0 -19
  220. data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +0 -25
  221. data/lib/datadog_api_client/v1/models/logs_by_retention.rb +0 -13
  222. data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +0 -13
  223. data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +0 -13
  224. data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +0 -13
  225. data/lib/datadog_api_client/v1/models/logs_category_processor.rb +0 -17
  226. data/lib/datadog_api_client/v1/models/logs_category_processor_category.rb +0 -13
  227. data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +0 -17
  228. data/lib/datadog_api_client/v1/models/logs_exclusion.rb +0 -13
  229. data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +0 -13
  230. data/lib/datadog_api_client/v1/models/logs_filter.rb +0 -13
  231. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +0 -21
  232. data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +0 -19
  233. data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +0 -15
  234. data/lib/datadog_api_client/v1/models/logs_index.rb +0 -13
  235. data/lib/datadog_api_client/v1/models/logs_index_list_response.rb +0 -13
  236. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +0 -13
  237. data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +0 -13
  238. data/lib/datadog_api_client/v1/models/logs_list_request.rb +0 -13
  239. data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +0 -13
  240. data/lib/datadog_api_client/v1/models/logs_list_response.rb +0 -13
  241. data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +0 -17
  242. data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +0 -19
  243. data/lib/datadog_api_client/v1/models/logs_pipeline.rb +0 -13
  244. data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +0 -17
  245. data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +0 -13
  246. data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -1
  247. data/lib/datadog_api_client/v1/models/logs_query_compute.rb +0 -13
  248. data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +0 -13
  249. data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +0 -13
  250. data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +0 -17
  251. data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +0 -17
  252. data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +0 -19
  253. data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +0 -19
  254. data/lib/datadog_api_client/v1/models/logs_url_parser.rb +0 -23
  255. data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +0 -23
  256. data/lib/datadog_api_client/v1/models/metric_metadata.rb +0 -13
  257. data/lib/datadog_api_client/v1/models/metric_search_response.rb +0 -13
  258. data/lib/datadog_api_client/v1/models/metric_search_response_results.rb +0 -13
  259. data/lib/datadog_api_client/v1/models/metrics_list_response.rb +0 -13
  260. data/lib/datadog_api_client/v1/models/metrics_payload.rb +0 -13
  261. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +0 -13
  262. data/lib/datadog_api_client/v1/models/metrics_query_response.rb +0 -13
  263. data/lib/datadog_api_client/v1/models/metrics_query_unit.rb +0 -13
  264. data/lib/datadog_api_client/v1/models/monitor.rb +0 -13
  265. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +0 -13
  266. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +0 -13
  267. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +0 -13
  268. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +0 -13
  269. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +0 -15
  270. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +1 -1
  271. data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +0 -13
  272. data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +0 -13
  273. data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +0 -13
  274. data/lib/datadog_api_client/v1/models/monitor_options.rb +18 -28
  275. data/lib/datadog_api_client/v1/models/monitor_options_aggregation.rb +0 -13
  276. data/lib/datadog_api_client/v1/models/monitor_search_count_item.rb +0 -13
  277. data/lib/datadog_api_client/v1/models/monitor_search_response.rb +0 -13
  278. data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +0 -13
  279. data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +0 -13
  280. data/lib/datadog_api_client/v1/models/monitor_search_result.rb +0 -13
  281. data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +0 -13
  282. data/lib/datadog_api_client/v1/models/monitor_state.rb +0 -13
  283. data/lib/datadog_api_client/v1/models/monitor_state_group.rb +0 -13
  284. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +0 -17
  285. data/lib/datadog_api_client/v1/models/monitor_threshold_window_options.rb +0 -13
  286. data/lib/datadog_api_client/v1/models/monitor_thresholds.rb +0 -13
  287. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +0 -13
  288. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +0 -13
  289. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_metadata.rb +0 -13
  290. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_pagination.rb +0 -13
  291. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_response.rb +0 -13
  292. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  293. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -14
  294. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +0 -17
  295. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +0 -13
  296. data/lib/datadog_api_client/v1/models/notebook_author.rb +0 -13
  297. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +0 -15
  298. data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +1 -1
  299. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +0 -15
  300. data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +1 -1
  301. data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +1 -1
  302. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +0 -15
  303. data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +1 -1
  304. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +0 -15
  305. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +0 -15
  306. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +0 -13
  307. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +0 -13
  308. data/lib/datadog_api_client/v1/models/notebook_global_time.rb +1 -1
  309. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +0 -13
  310. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +0 -13
  311. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +0 -13
  312. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +0 -15
  313. data/lib/datadog_api_client/v1/models/notebook_metadata.rb +0 -17
  314. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +0 -13
  315. data/lib/datadog_api_client/v1/models/notebook_response.rb +0 -13
  316. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +0 -15
  317. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +0 -15
  318. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +0 -13
  319. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +0 -13
  320. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +0 -13
  321. data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +1 -1
  322. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +0 -15
  323. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +0 -15
  324. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +0 -13
  325. data/lib/datadog_api_client/v1/models/notebooks_response.rb +0 -13
  326. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +0 -15
  327. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +0 -15
  328. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +0 -13
  329. data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +0 -13
  330. data/lib/datadog_api_client/v1/models/org_downgraded_response.rb +0 -13
  331. data/lib/datadog_api_client/v1/models/organization.rb +0 -13
  332. data/lib/datadog_api_client/v1/models/organization_billing.rb +3 -13
  333. data/lib/datadog_api_client/v1/models/organization_create_body.rb +0 -13
  334. data/lib/datadog_api_client/v1/models/organization_create_response.rb +0 -13
  335. data/lib/datadog_api_client/v1/models/organization_list_response.rb +0 -13
  336. data/lib/datadog_api_client/v1/models/organization_response.rb +0 -13
  337. data/lib/datadog_api_client/v1/models/organization_settings.rb +0 -15
  338. data/lib/datadog_api_client/v1/models/organization_settings_saml.rb +0 -13
  339. data/lib/datadog_api_client/v1/models/organization_settings_saml_autocreate_users_domains.rb +0 -13
  340. data/lib/datadog_api_client/v1/models/organization_settings_saml_idp_initiated_login.rb +0 -13
  341. data/lib/datadog_api_client/v1/models/organization_settings_saml_strict_mode.rb +0 -13
  342. data/lib/datadog_api_client/v1/models/organization_subscription.rb +3 -13
  343. data/lib/datadog_api_client/v1/models/pager_duty_service.rb +0 -13
  344. data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +0 -13
  345. data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +0 -13
  346. data/lib/datadog_api_client/v1/models/pagination.rb +0 -13
  347. data/lib/datadog_api_client/v1/models/process_query_definition.rb +0 -13
  348. data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +0 -15
  349. data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +0 -13
  350. data/lib/datadog_api_client/v1/models/response_meta_attributes.rb +0 -13
  351. data/lib/datadog_api_client/v1/models/scatter_plot_request.rb +0 -13
  352. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +0 -15
  353. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +0 -13
  354. data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +0 -13
  355. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +0 -13
  356. data/lib/datadog_api_client/v1/models/search_service_level_objective.rb +98 -0
  357. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +273 -0
  358. data/lib/datadog_api_client/v1/models/search_service_level_objective_data.rb +121 -0
  359. data/lib/datadog_api_client/v1/models/search_slo_query.rb +124 -0
  360. data/lib/datadog_api_client/v1/models/search_slo_response.rb +0 -13
  361. data/lib/datadog_api_client/v1/models/search_slo_response_data.rb +0 -13
  362. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes.rb +8 -21
  363. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets.rb +0 -13
  364. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets_object_int.rb +0 -13
  365. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets_object_string.rb +0 -13
  366. data/lib/datadog_api_client/v1/models/search_slo_response_links.rb +2 -13
  367. data/lib/datadog_api_client/v1/models/search_slo_response_meta.rb +0 -13
  368. data/lib/datadog_api_client/v1/models/search_slo_response_meta_page.rb +0 -13
  369. data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +171 -0
  370. data/lib/datadog_api_client/v1/models/search_slo_timeframe.rb +28 -0
  371. data/lib/datadog_api_client/v1/models/series.rb +0 -15
  372. data/lib/datadog_api_client/v1/models/service_check.rb +0 -13
  373. data/lib/datadog_api_client/v1/models/service_level_objective.rb +0 -13
  374. data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +0 -13
  375. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +0 -13
  376. data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +0 -15
  377. data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +0 -15
  378. data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +0 -13
  379. data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +0 -13
  380. data/lib/datadog_api_client/v1/models/slack_integration_channel.rb +0 -13
  381. data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +0 -21
  382. data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +0 -13
  383. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response.rb +0 -13
  384. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response_data.rb +0 -13
  385. data/lib/datadog_api_client/v1/models/slo_correction.rb +0 -15
  386. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +0 -15
  387. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +0 -13
  388. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +0 -13
  389. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +0 -13
  390. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +0 -13
  391. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +0 -13
  392. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes_modifier.rb +0 -13
  393. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +0 -15
  394. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +0 -13
  395. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +0 -13
  396. data/lib/datadog_api_client/v1/models/slo_creator.rb +118 -0
  397. data/lib/datadog_api_client/v1/models/slo_delete_response.rb +0 -13
  398. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +0 -13
  399. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +0 -13
  400. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata.rb +0 -13
  401. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb +0 -13
  402. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +0 -13
  403. data/lib/datadog_api_client/v1/models/slo_history_response.rb +0 -13
  404. data/lib/datadog_api_client/v1/models/slo_history_response_data.rb +0 -13
  405. data/lib/datadog_api_client/v1/models/slo_history_response_error.rb +0 -13
  406. data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +0 -13
  407. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +0 -13
  408. data/lib/datadog_api_client/v1/models/slo_list_response.rb +0 -13
  409. data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +0 -13
  410. data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +0 -13
  411. data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +170 -0
  412. data/lib/datadog_api_client/v1/models/slo_list_widget_definition_type.rb +26 -0
  413. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +134 -0
  414. data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +130 -0
  415. data/lib/datadog_api_client/v1/models/slo_list_widget_request_type.rb +26 -0
  416. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +161 -0
  417. data/lib/datadog_api_client/v1/models/slo_raw_error_budget_remaining.rb +108 -0
  418. data/lib/datadog_api_client/v1/models/slo_response.rb +0 -13
  419. data/lib/datadog_api_client/v1/models/slo_response_data.rb +0 -13
  420. data/lib/datadog_api_client/v1/models/slo_threshold.rb +0 -13
  421. data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +0 -17
  422. data/lib/datadog_api_client/v1/models/successful_signal_update_response.rb +0 -13
  423. data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +0 -15
  424. data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +1 -1
  425. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +0 -13
  426. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +0 -13
  427. data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +0 -13
  428. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +0 -15
  429. data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +0 -15
  430. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +0 -15
  431. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_data.rb +0 -13
  432. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_failure.rb +0 -13
  433. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full.rb +0 -13
  434. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +0 -13
  435. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short.rb +0 -13
  436. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short_result.rb +0 -13
  437. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -1
  438. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +0 -13
  439. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb +0 -13
  440. data/lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb +1 -0
  441. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +0 -13
  442. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +1 -1
  443. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +0 -15
  444. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +0 -15
  445. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +0 -15
  446. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +0 -15
  447. data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +0 -13
  448. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +0 -13
  449. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +0 -13
  450. data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +0 -13
  451. data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +1 -16
  452. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +0 -15
  453. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb +0 -13
  454. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_failure.rb +0 -13
  455. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb +0 -13
  456. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +0 -13
  457. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short.rb +0 -13
  458. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short_result.rb +0 -13
  459. data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +0 -13
  460. data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +0 -13
  461. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata.rb +0 -13
  462. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_ci.rb +0 -13
  463. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_git.rb +0 -13
  464. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_pipeline.rb +0 -13
  465. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_provider.rb +0 -13
  466. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +0 -13
  467. data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +0 -13
  468. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +0 -13
  469. data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +0 -13
  470. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +0 -13
  471. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_response.rb +0 -13
  472. data/lib/datadog_api_client/v1/models/synthetics_deleted_test.rb +0 -13
  473. data/lib/datadog_api_client/v1/models/synthetics_device.rb +0 -13
  474. data/lib/datadog_api_client/v1/models/synthetics_get_api_test_latest_results_response.rb +0 -13
  475. data/lib/datadog_api_client/v1/models/synthetics_get_browser_test_latest_results_response.rb +0 -13
  476. data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +0 -13
  477. data/lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb +0 -13
  478. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +0 -13
  479. data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +0 -13
  480. data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +0 -13
  481. data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +0 -13
  482. data/lib/datadog_api_client/v1/models/synthetics_location.rb +0 -13
  483. data/lib/datadog_api_client/v1/models/synthetics_locations.rb +0 -13
  484. data/lib/datadog_api_client/v1/models/synthetics_parsing_options.rb +0 -13
  485. data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +0 -13
  486. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response.rb +0 -13
  487. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response_result_encryption.rb +0 -13
  488. data/lib/datadog_api_client/v1/models/synthetics_private_location_metadata.rb +0 -13
  489. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets.rb +0 -13
  490. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_authentication.rb +0 -13
  491. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_config_decryption.rb +0 -13
  492. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate.rb +0 -13
  493. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_issuer.rb +0 -13
  494. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_subject.rb +0 -13
  495. data/lib/datadog_api_client/v1/models/synthetics_step.rb +0 -13
  496. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +0 -13
  497. data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +0 -13
  498. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +0 -13
  499. data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -15
  500. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +0 -13
  501. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +0 -13
  502. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +0 -13
  503. data/lib/datadog_api_client/v1/models/synthetics_test_options_retry.rb +0 -13
  504. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +0 -15
  505. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb +0 -13
  506. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb +0 -13
  507. data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +0 -13
  508. data/lib/datadog_api_client/v1/models/synthetics_timing.rb +0 -13
  509. data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +0 -13
  510. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_location.rb +0 -13
  511. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_run_result.rb +0 -13
  512. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_tests_response.rb +0 -13
  513. data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +0 -13
  514. data/lib/datadog_api_client/v1/models/synthetics_update_test_pause_status_payload.rb +0 -13
  515. data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +0 -13
  516. data/lib/datadog_api_client/v1/models/table_widget_definition.rb +0 -15
  517. data/lib/datadog_api_client/v1/models/table_widget_request.rb +0 -13
  518. data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +0 -13
  519. data/lib/datadog_api_client/v1/models/timeseries_background.rb +0 -15
  520. data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +0 -15
  521. data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +0 -13
  522. data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +0 -13
  523. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +0 -15
  524. data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +0 -13
  525. data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +178 -0
  526. data/lib/datadog_api_client/v1/models/topology_map_widget_definition_type.rb +26 -0
  527. data/lib/datadog_api_client/v1/models/topology_query.rb +131 -0
  528. data/lib/datadog_api_client/v1/models/topology_query_data_source.rb +27 -0
  529. data/lib/datadog_api_client/v1/models/topology_request.rb +108 -0
  530. data/lib/datadog_api_client/v1/models/topology_request_type.rb +26 -0
  531. data/lib/datadog_api_client/v1/models/tree_map_color_by.rb +2 -0
  532. data/lib/datadog_api_client/v1/models/tree_map_group_by.rb +2 -0
  533. data/lib/datadog_api_client/v1/models/tree_map_size_by.rb +2 -0
  534. data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +0 -17
  535. data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +0 -13
  536. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb +0 -13
  537. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb +0 -13
  538. data/lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb +0 -13
  539. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -13
  540. data/lib/datadog_api_client/v1/models/usage_attribution_metadata.rb +0 -13
  541. data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +0 -13
  542. data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +0 -13
  543. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
  544. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
  545. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -14
  546. data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +0 -13
  547. data/lib/datadog_api_client/v1/models/usage_audit_logs_response.rb +0 -13
  548. data/lib/datadog_api_client/v1/models/usage_billable_summary_body.rb +0 -13
  549. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +0 -13
  550. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +0 -13
  551. data/lib/datadog_api_client/v1/models/usage_billable_summary_response.rb +0 -13
  552. data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +0 -13
  553. data/lib/datadog_api_client/v1/models/usage_ci_visibility_response.rb +0 -13
  554. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +0 -13
  555. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +0 -13
  556. data/lib/datadog_api_client/v1/models/usage_custom_reports_attributes.rb +0 -13
  557. data/lib/datadog_api_client/v1/models/usage_custom_reports_data.rb +0 -15
  558. data/lib/datadog_api_client/v1/models/usage_custom_reports_meta.rb +0 -13
  559. data/lib/datadog_api_client/v1/models/usage_custom_reports_page.rb +0 -13
  560. data/lib/datadog_api_client/v1/models/usage_custom_reports_response.rb +0 -13
  561. data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +0 -13
  562. data/lib/datadog_api_client/v1/models/usage_cws_response.rb +0 -13
  563. data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +0 -13
  564. data/lib/datadog_api_client/v1/models/usage_dbm_response.rb +0 -13
  565. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +11 -14
  566. data/lib/datadog_api_client/v1/models/usage_fargate_response.rb +0 -13
  567. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +0 -13
  568. data/lib/datadog_api_client/v1/models/usage_hosts_response.rb +0 -13
  569. data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +0 -13
  570. data/lib/datadog_api_client/v1/models/usage_incident_management_response.rb +0 -13
  571. data/lib/datadog_api_client/v1/models/usage_indexed_spans_hour.rb +0 -13
  572. data/lib/datadog_api_client/v1/models/usage_indexed_spans_response.rb +0 -13
  573. data/lib/datadog_api_client/v1/models/usage_ingested_spans_hour.rb +0 -13
  574. data/lib/datadog_api_client/v1/models/usage_ingested_spans_response.rb +0 -13
  575. data/lib/datadog_api_client/v1/models/usage_iot_hour.rb +0 -13
  576. data/lib/datadog_api_client/v1/models/usage_iot_response.rb +0 -13
  577. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +0 -13
  578. data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +0 -13
  579. data/lib/datadog_api_client/v1/models/usage_logs_by_index_hour.rb +0 -13
  580. data/lib/datadog_api_client/v1/models/usage_logs_by_index_response.rb +0 -13
  581. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +0 -13
  582. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +0 -13
  583. data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +0 -13
  584. data/lib/datadog_api_client/v1/models/usage_logs_response.rb +0 -13
  585. data/lib/datadog_api_client/v1/models/usage_network_flows_hour.rb +0 -13
  586. data/lib/datadog_api_client/v1/models/usage_network_flows_response.rb +0 -13
  587. data/lib/datadog_api_client/v1/models/usage_network_hosts_hour.rb +0 -13
  588. data/lib/datadog_api_client/v1/models/usage_network_hosts_response.rb +0 -13
  589. data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +0 -13
  590. data/lib/datadog_api_client/v1/models/usage_online_archive_response.rb +0 -13
  591. data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +0 -13
  592. data/lib/datadog_api_client/v1/models/usage_profiling_response.rb +0 -13
  593. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +0 -13
  594. data/lib/datadog_api_client/v1/models/usage_rum_sessions_response.rb +0 -13
  595. data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +0 -13
  596. data/lib/datadog_api_client/v1/models/usage_rum_units_response.rb +0 -13
  597. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +0 -13
  598. data/lib/datadog_api_client/v1/models/usage_sds_response.rb +0 -13
  599. data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +0 -13
  600. data/lib/datadog_api_client/v1/models/usage_snmp_response.rb +0 -13
  601. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_attributes.rb +0 -13
  602. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_data.rb +0 -15
  603. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_meta.rb +0 -13
  604. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_page.rb +0 -13
  605. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_response.rb +0 -13
  606. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -14
  607. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -14
  608. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -14
  609. data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +0 -13
  610. data/lib/datadog_api_client/v1/models/usage_synthetics_api_response.rb +0 -13
  611. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +0 -13
  612. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_response.rb +0 -13
  613. data/lib/datadog_api_client/v1/models/usage_synthetics_hour.rb +0 -13
  614. data/lib/datadog_api_client/v1/models/usage_synthetics_response.rb +0 -13
  615. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +0 -13
  616. data/lib/datadog_api_client/v1/models/usage_timeseries_response.rb +0 -13
  617. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_hour.rb +0 -13
  618. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +0 -13
  619. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_pagination.rb +0 -13
  620. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_response.rb +0 -13
  621. data/lib/datadog_api_client/v1/models/user.rb +0 -15
  622. data/lib/datadog_api_client/v1/models/user_disable_response.rb +0 -13
  623. data/lib/datadog_api_client/v1/models/user_list_response.rb +0 -13
  624. data/lib/datadog_api_client/v1/models/user_response.rb +0 -13
  625. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +0 -15
  626. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +0 -13
  627. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +0 -13
  628. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_update_request.rb +0 -13
  629. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +0 -15
  630. data/lib/datadog_api_client/v1/models/widget.rb +0 -13
  631. data/lib/datadog_api_client/v1/models/widget_axis.rb +0 -19
  632. data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +0 -13
  633. data/lib/datadog_api_client/v1/models/widget_custom_link.rb +0 -13
  634. data/lib/datadog_api_client/v1/models/widget_definition.rb +4 -2
  635. data/lib/datadog_api_client/v1/models/widget_event.rb +0 -13
  636. data/lib/datadog_api_client/v1/models/widget_field_sort.rb +0 -13
  637. data/lib/datadog_api_client/v1/models/widget_formula.rb +0 -13
  638. data/lib/datadog_api_client/v1/models/widget_formula_limit.rb +0 -15
  639. data/lib/datadog_api_client/v1/models/widget_layout.rb +0 -13
  640. data/lib/datadog_api_client/v1/models/widget_marker.rb +0 -13
  641. data/lib/datadog_api_client/v1/models/widget_request_style.rb +0 -13
  642. data/lib/datadog_api_client/v1/models/widget_style.rb +0 -13
  643. data/lib/datadog_api_client/v1/models/widget_time.rb +0 -13
  644. data/lib/datadog_api_client/v2/api/confluent_cloud_api.rb +709 -0
  645. data/lib/datadog_api_client/v2/api/incident_services_api.rb +2 -2
  646. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +2 -2
  647. data/lib/datadog_api_client/v2/api/incidents_api.rb +155 -0
  648. data/lib/datadog_api_client/v2/api/metrics_api.rb +85 -8
  649. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +65 -0
  650. data/lib/datadog_api_client/v2/api/service_definition_api.rb +283 -0
  651. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +86 -17
  652. data/lib/datadog_api_client/v2/model_base.rb +10 -2
  653. data/lib/datadog_api_client/v2/models/api_error_response.rb +0 -13
  654. data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +0 -13
  655. data/lib/datadog_api_client/v2/models/api_key_create_data.rb +0 -15
  656. data/lib/datadog_api_client/v2/models/api_key_create_request.rb +0 -13
  657. data/lib/datadog_api_client/v2/models/api_key_relationships.rb +0 -13
  658. data/lib/datadog_api_client/v2/models/api_key_response.rb +0 -13
  659. data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +1 -1
  660. data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +0 -13
  661. data/lib/datadog_api_client/v2/models/api_key_update_data.rb +0 -15
  662. data/lib/datadog_api_client/v2/models/api_key_update_request.rb +0 -13
  663. data/lib/datadog_api_client/v2/models/api_keys_response.rb +0 -13
  664. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +0 -13
  665. data/lib/datadog_api_client/v2/models/application_key_create_data.rb +0 -15
  666. data/lib/datadog_api_client/v2/models/application_key_create_request.rb +0 -13
  667. data/lib/datadog_api_client/v2/models/application_key_relationships.rb +0 -13
  668. data/lib/datadog_api_client/v2/models/application_key_response.rb +0 -13
  669. data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +1 -1
  670. data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +0 -13
  671. data/lib/datadog_api_client/v2/models/application_key_update_data.rb +0 -15
  672. data/lib/datadog_api_client/v2/models/application_key_update_request.rb +0 -13
  673. data/lib/datadog_api_client/v2/models/audit_logs_event.rb +0 -15
  674. data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +0 -13
  675. data/lib/datadog_api_client/v2/models/audit_logs_events_response.rb +0 -13
  676. data/lib/datadog_api_client/v2/models/audit_logs_query_filter.rb +0 -19
  677. data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +0 -15
  678. data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +0 -15
  679. data/lib/datadog_api_client/v2/models/audit_logs_response_links.rb +0 -13
  680. data/lib/datadog_api_client/v2/models/audit_logs_response_metadata.rb +0 -13
  681. data/lib/datadog_api_client/v2/models/audit_logs_response_page.rb +0 -13
  682. data/lib/datadog_api_client/v2/models/audit_logs_search_events_request.rb +0 -13
  683. data/lib/datadog_api_client/v2/models/audit_logs_warning.rb +0 -13
  684. data/lib/datadog_api_client/v2/models/authn_mapping.rb +0 -15
  685. data/lib/datadog_api_client/v2/models/authn_mapping_attributes.rb +0 -13
  686. data/lib/datadog_api_client/v2/models/authn_mapping_create_attributes.rb +0 -13
  687. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +0 -15
  688. data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +0 -13
  689. data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +0 -13
  690. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +1 -1
  691. data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +0 -13
  692. data/lib/datadog_api_client/v2/models/authn_mapping_response.rb +0 -13
  693. data/lib/datadog_api_client/v2/models/authn_mapping_update_attributes.rb +0 -13
  694. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +0 -15
  695. data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +0 -13
  696. data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +0 -13
  697. data/lib/datadog_api_client/v2/models/authn_mappings_response.rb +0 -13
  698. data/lib/datadog_api_client/v2/models/chargeback_breakdown.rb +0 -13
  699. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +0 -13
  700. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +0 -13
  701. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +0 -15
  702. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +0 -13
  703. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +0 -13
  704. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_data.rb +0 -15
  705. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_response.rb +0 -13
  706. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb +0 -13
  707. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +0 -15
  708. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +0 -13
  709. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +0 -13
  710. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rules_list_response.rb +0 -13
  711. data/lib/datadog_api_client/v2/models/confluent_account_create_request.rb +109 -0
  712. data/lib/datadog_api_client/v2/models/confluent_account_create_request_attributes.rb +154 -0
  713. data/lib/datadog_api_client/v2/models/confluent_account_create_request_data.rb +130 -0
  714. data/lib/datadog_api_client/v2/models/confluent_account_resource_attributes.rb +120 -0
  715. data/lib/datadog_api_client/v2/models/confluent_account_response.rb +98 -0
  716. data/lib/datadog_api_client/v2/models/confluent_account_response_attributes.rb +133 -0
  717. data/lib/datadog_api_client/v2/models/confluent_account_response_data.rb +151 -0
  718. data/lib/datadog_api_client/v2/models/confluent_account_type.rb +26 -0
  719. data/lib/datadog_api_client/v2/models/confluent_account_update_request.rb +109 -0
  720. data/lib/datadog_api_client/v2/models/confluent_account_update_request_attributes.rb +142 -0
  721. data/lib/datadog_api_client/v2/models/confluent_account_update_request_data.rb +130 -0
  722. data/lib/datadog_api_client/v2/models/confluent_accounts_response.rb +100 -0
  723. data/lib/datadog_api_client/v2/models/confluent_resource_request.rb +109 -0
  724. data/lib/datadog_api_client/v2/models/confluent_resource_request_attributes.rb +110 -0
  725. data/lib/datadog_api_client/v2/models/confluent_resource_request_data.rb +151 -0
  726. data/lib/datadog_api_client/v2/models/confluent_resource_response.rb +98 -0
  727. data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +121 -0
  728. data/lib/datadog_api_client/v2/models/confluent_resource_response_data.rb +151 -0
  729. data/lib/datadog_api_client/v2/models/confluent_resource_type.rb +26 -0
  730. data/lib/datadog_api_client/v2/models/confluent_resources_response.rb +100 -0
  731. data/lib/datadog_api_client/v2/models/cost_by_org.rb +0 -15
  732. data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +0 -13
  733. data/lib/datadog_api_client/v2/models/cost_by_org_response.rb +0 -13
  734. data/lib/datadog_api_client/v2/models/creator.rb +0 -13
  735. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb +0 -13
  736. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb +0 -13
  737. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb +0 -13
  738. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_response.rb +0 -13
  739. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +0 -13
  740. data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +0 -13
  741. data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +0 -13
  742. data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +0 -13
  743. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_request.rb +0 -13
  744. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_response.rb +0 -13
  745. data/lib/datadog_api_client/v2/models/event.rb +0 -13
  746. data/lib/datadog_api_client/v2/models/event_attributes.rb +0 -13
  747. data/lib/datadog_api_client/v2/models/event_response.rb +0 -15
  748. data/lib/datadog_api_client/v2/models/event_response_attributes.rb +0 -13
  749. data/lib/datadog_api_client/v2/models/events_list_request.rb +0 -13
  750. data/lib/datadog_api_client/v2/models/events_list_response.rb +0 -13
  751. data/lib/datadog_api_client/v2/models/events_list_response_links.rb +0 -13
  752. data/lib/datadog_api_client/v2/models/events_query_filter.rb +0 -19
  753. data/lib/datadog_api_client/v2/models/events_query_options.rb +0 -15
  754. data/lib/datadog_api_client/v2/models/events_request_page.rb +0 -15
  755. data/lib/datadog_api_client/v2/models/events_response_metadata.rb +0 -13
  756. data/lib/datadog_api_client/v2/models/events_response_metadata_page.rb +0 -13
  757. data/lib/datadog_api_client/v2/models/events_warning.rb +0 -13
  758. data/lib/datadog_api_client/v2/models/full_api_key.rb +0 -15
  759. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +0 -13
  760. data/lib/datadog_api_client/v2/models/full_application_key.rb +0 -15
  761. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +0 -13
  762. data/lib/datadog_api_client/v2/models/hourly_usage.rb +0 -15
  763. data/lib/datadog_api_client/v2/models/hourly_usage_attributes.rb +0 -13
  764. data/lib/datadog_api_client/v2/models/hourly_usage_measurement.rb +0 -13
  765. data/lib/datadog_api_client/v2/models/hourly_usage_metadata.rb +0 -13
  766. data/lib/datadog_api_client/v2/models/hourly_usage_pagination.rb +0 -13
  767. data/lib/datadog_api_client/v2/models/hourly_usage_response.rb +0 -13
  768. data/lib/datadog_api_client/v2/models/http_log_error.rb +0 -13
  769. data/lib/datadog_api_client/v2/models/http_log_errors.rb +0 -13
  770. data/lib/datadog_api_client/v2/models/http_log_item.rb +3 -16
  771. data/lib/datadog_api_client/v2/models/idp_metadata_form_data.rb +0 -13
  772. data/lib/datadog_api_client/v2/models/incident_attachment_attachment_type.rb +27 -0
  773. data/lib/datadog_api_client/v2/models/incident_attachment_attributes.rb +63 -0
  774. data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +172 -0
  775. data/lib/datadog_api_client/v2/models/incident_attachment_link_attachment_type.rb +26 -0
  776. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +130 -0
  777. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +130 -0
  778. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attachment_type.rb +26 -0
  779. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +130 -0
  780. data/lib/datadog_api_client/v2/models/incident_attachment_related_object.rb +26 -0
  781. data/lib/datadog_api_client/v2/models/incident_attachment_relationships.rb +98 -0
  782. data/lib/datadog_api_client/v2/models/incident_attachment_type.rb +26 -0
  783. data/lib/datadog_api_client/v2/models/incident_attachment_update_attributes.rb +63 -0
  784. data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +129 -0
  785. data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +114 -0
  786. data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +124 -0
  787. data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +130 -0
  788. data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +123 -0
  789. data/lib/datadog_api_client/v2/models/incident_attachments_response_included_item.rb +62 -0
  790. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +0 -13
  791. data/lib/datadog_api_client/v2/models/incident_create_data.rb +0 -15
  792. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +0 -13
  793. data/lib/datadog_api_client/v2/models/incident_create_request.rb +0 -13
  794. data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +1 -1
  795. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +0 -15
  796. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +0 -15
  797. data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +0 -13
  798. data/lib/datadog_api_client/v2/models/incident_related_object.rb +1 -0
  799. data/lib/datadog_api_client/v2/models/incident_response.rb +0 -13
  800. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +2 -25
  801. data/lib/datadog_api_client/v2/models/incident_response_data.rb +0 -15
  802. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +3 -2
  803. data/lib/datadog_api_client/v2/models/incident_response_meta.rb +0 -13
  804. data/lib/datadog_api_client/v2/models/incident_response_meta_pagination.rb +0 -13
  805. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +14 -27
  806. data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +0 -13
  807. data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +0 -15
  808. data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +0 -13
  809. data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +1 -1
  810. data/lib/datadog_api_client/v2/models/incident_service_relationships.rb +0 -13
  811. data/lib/datadog_api_client/v2/models/incident_service_response.rb +0 -13
  812. data/lib/datadog_api_client/v2/models/incident_service_response_attributes.rb +0 -13
  813. data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +0 -15
  814. data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +0 -13
  815. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +0 -15
  816. data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +0 -13
  817. data/lib/datadog_api_client/v2/models/incident_services_response.rb +0 -13
  818. data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +0 -13
  819. data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +0 -15
  820. data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +0 -13
  821. data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +1 -1
  822. data/lib/datadog_api_client/v2/models/incident_team_relationships.rb +0 -13
  823. data/lib/datadog_api_client/v2/models/incident_team_response.rb +0 -13
  824. data/lib/datadog_api_client/v2/models/incident_team_response_attributes.rb +0 -13
  825. data/lib/datadog_api_client/v2/models/incident_team_response_data.rb +0 -15
  826. data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +0 -13
  827. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +0 -15
  828. data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +0 -13
  829. data/lib/datadog_api_client/v2/models/incident_teams_response.rb +0 -13
  830. data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +1 -1
  831. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +0 -17
  832. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes_content.rb +0 -13
  833. data/lib/datadog_api_client/v2/models/incident_update_attributes.rb +1 -25
  834. data/lib/datadog_api_client/v2/models/incident_update_data.rb +0 -15
  835. data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +0 -13
  836. data/lib/datadog_api_client/v2/models/incident_update_request.rb +0 -13
  837. data/lib/datadog_api_client/v2/models/incidents_response.rb +0 -13
  838. data/lib/datadog_api_client/v2/models/intake_payload_accepted.rb +0 -13
  839. data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +0 -13
  840. data/lib/datadog_api_client/v2/models/log.rb +0 -15
  841. data/lib/datadog_api_client/v2/models/log_attributes.rb +0 -13
  842. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +0 -13
  843. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +1 -1
  844. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +0 -13
  845. data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +0 -13
  846. data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +0 -13
  847. data/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +0 -13
  848. data/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +0 -13
  849. data/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +0 -15
  850. data/lib/datadog_api_client/v2/models/logs_archive.rb +0 -13
  851. data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +0 -15
  852. data/lib/datadog_api_client/v2/models/logs_archive_create_request.rb +0 -13
  853. data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +0 -15
  854. data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +0 -15
  855. data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +1 -1
  856. data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +0 -15
  857. data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +1 -1
  858. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +0 -15
  859. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +0 -15
  860. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +0 -15
  861. data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +0 -13
  862. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +0 -13
  863. data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +0 -13
  864. data/lib/datadog_api_client/v2/models/logs_archive_order.rb +0 -13
  865. data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +0 -13
  866. data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +0 -15
  867. data/lib/datadog_api_client/v2/models/logs_archives.rb +0 -13
  868. data/lib/datadog_api_client/v2/models/logs_compute.rb +0 -15
  869. data/lib/datadog_api_client/v2/models/logs_group_by.rb +0 -17
  870. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +0 -13
  871. data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +1 -1
  872. data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +1 -1
  873. data/lib/datadog_api_client/v2/models/logs_list_request.rb +0 -13
  874. data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +0 -15
  875. data/lib/datadog_api_client/v2/models/logs_list_response.rb +0 -13
  876. data/lib/datadog_api_client/v2/models/logs_list_response_links.rb +0 -13
  877. data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +0 -13
  878. data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +0 -13
  879. data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +0 -15
  880. data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +0 -13
  881. data/lib/datadog_api_client/v2/models/logs_metric_filter.rb +0 -15
  882. data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +0 -13
  883. data/lib/datadog_api_client/v2/models/logs_metric_response.rb +0 -13
  884. data/lib/datadog_api_client/v2/models/logs_metric_response_attributes.rb +0 -13
  885. data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +0 -13
  886. data/lib/datadog_api_client/v2/models/logs_metric_response_data.rb +0 -15
  887. data/lib/datadog_api_client/v2/models/logs_metric_response_filter.rb +0 -13
  888. data/lib/datadog_api_client/v2/models/logs_metric_response_group_by.rb +0 -13
  889. data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +0 -13
  890. data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +0 -15
  891. data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +0 -13
  892. data/lib/datadog_api_client/v2/models/logs_metrics_response.rb +0 -13
  893. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +0 -21
  894. data/lib/datadog_api_client/v2/models/logs_query_options.rb +0 -15
  895. data/lib/datadog_api_client/v2/models/logs_response_metadata.rb +0 -13
  896. data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +0 -13
  897. data/lib/datadog_api_client/v2/models/logs_warning.rb +0 -13
  898. data/lib/datadog_api_client/v2/models/metric.rb +0 -15
  899. data/lib/datadog_api_client/v2/models/metric_active_configuration_type.rb +26 -0
  900. data/lib/datadog_api_client/v2/models/metric_all_tags.rb +0 -15
  901. data/lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb +0 -13
  902. data/lib/datadog_api_client/v2/models/metric_all_tags_response.rb +0 -13
  903. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +0 -15
  904. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +0 -13
  905. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +0 -13
  906. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +0 -15
  907. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_attributes.rb +0 -13
  908. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +0 -13
  909. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_response.rb +0 -13
  910. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +0 -15
  911. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +0 -13
  912. data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +0 -13
  913. data/lib/datadog_api_client/v2/models/metric_distinct_volume.rb +0 -15
  914. data/lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb +0 -13
  915. data/lib/datadog_api_client/v2/models/metric_estimate.rb +0 -15
  916. data/lib/datadog_api_client/v2/models/metric_estimate_attributes.rb +0 -15
  917. data/lib/datadog_api_client/v2/models/metric_estimate_response.rb +0 -13
  918. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume.rb +0 -15
  919. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +0 -13
  920. data/lib/datadog_api_client/v2/models/metric_metadata.rb +0 -13
  921. data/lib/datadog_api_client/v2/models/metric_origin.rb +0 -19
  922. data/lib/datadog_api_client/v2/models/metric_payload.rb +0 -13
  923. data/lib/datadog_api_client/v2/models/metric_point.rb +0 -13
  924. data/lib/datadog_api_client/v2/models/metric_resource.rb +0 -13
  925. data/lib/datadog_api_client/v2/models/metric_series.rb +0 -13
  926. data/lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations.rb +118 -0
  927. data/lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations_response.rb +98 -0
  928. data/lib/datadog_api_client/v2/models/metric_suggested_tags_attributes.rb +112 -0
  929. data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +0 -15
  930. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +0 -15
  931. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +0 -17
  932. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +0 -15
  933. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +0 -13
  934. data/lib/datadog_api_client/v2/models/metric_tag_configuration_response.rb +0 -13
  935. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +0 -15
  936. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +0 -15
  937. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +0 -13
  938. data/lib/datadog_api_client/v2/models/metric_volumes.rb +1 -1
  939. data/lib/datadog_api_client/v2/models/metric_volumes_response.rb +0 -13
  940. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +1 -1
  941. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +0 -13
  942. data/lib/datadog_api_client/v2/models/monitor_type.rb +11 -13
  943. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb +0 -13
  944. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +0 -15
  945. data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +0 -13
  946. data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +0 -15
  947. data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +0 -13
  948. data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +0 -13
  949. data/lib/datadog_api_client/v2/models/opsgenie_service_response_attributes.rb +0 -13
  950. data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +0 -15
  951. data/lib/datadog_api_client/v2/models/opsgenie_service_update_attributes.rb +0 -13
  952. data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +0 -15
  953. data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +0 -13
  954. data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +0 -13
  955. data/lib/datadog_api_client/v2/models/organization.rb +0 -15
  956. data/lib/datadog_api_client/v2/models/organization_attributes.rb +0 -13
  957. data/lib/datadog_api_client/v2/models/pagination.rb +0 -13
  958. data/lib/datadog_api_client/v2/models/partial_api_key.rb +0 -15
  959. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +0 -13
  960. data/lib/datadog_api_client/v2/models/partial_application_key.rb +0 -15
  961. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +0 -13
  962. data/lib/datadog_api_client/v2/models/partial_application_key_response.rb +0 -13
  963. data/lib/datadog_api_client/v2/models/permission.rb +0 -15
  964. data/lib/datadog_api_client/v2/models/permission_attributes.rb +0 -13
  965. data/lib/datadog_api_client/v2/models/permissions_response.rb +0 -13
  966. data/lib/datadog_api_client/v2/models/process_summaries_meta.rb +0 -13
  967. data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +0 -13
  968. data/lib/datadog_api_client/v2/models/process_summaries_response.rb +0 -13
  969. data/lib/datadog_api_client/v2/models/process_summary.rb +0 -15
  970. data/lib/datadog_api_client/v2/models/process_summary_attributes.rb +0 -13
  971. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +111 -0
  972. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +130 -0
  973. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +0 -15
  974. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +0 -13
  975. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +0 -13
  976. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +0 -15
  977. data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +0 -13
  978. data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +0 -15
  979. data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +0 -13
  980. data/lib/datadog_api_client/v2/models/relationship_to_permission.rb +0 -13
  981. data/lib/datadog_api_client/v2/models/relationship_to_permission_data.rb +0 -15
  982. data/lib/datadog_api_client/v2/models/relationship_to_permissions.rb +0 -13
  983. data/lib/datadog_api_client/v2/models/relationship_to_role.rb +0 -13
  984. data/lib/datadog_api_client/v2/models/relationship_to_role_data.rb +0 -15
  985. data/lib/datadog_api_client/v2/models/relationship_to_roles.rb +0 -13
  986. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +0 -13
  987. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +0 -15
  988. data/lib/datadog_api_client/v2/models/relationship_to_user.rb +0 -13
  989. data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +0 -15
  990. data/lib/datadog_api_client/v2/models/relationship_to_users.rb +0 -13
  991. data/lib/datadog_api_client/v2/models/response_meta_attributes.rb +0 -13
  992. data/lib/datadog_api_client/v2/models/role.rb +0 -15
  993. data/lib/datadog_api_client/v2/models/role_attributes.rb +0 -13
  994. data/lib/datadog_api_client/v2/models/role_clone.rb +0 -15
  995. data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +0 -13
  996. data/lib/datadog_api_client/v2/models/role_clone_request.rb +0 -13
  997. data/lib/datadog_api_client/v2/models/role_create_attributes.rb +0 -13
  998. data/lib/datadog_api_client/v2/models/role_create_data.rb +0 -15
  999. data/lib/datadog_api_client/v2/models/role_create_request.rb +0 -13
  1000. data/lib/datadog_api_client/v2/models/role_create_response.rb +0 -13
  1001. data/lib/datadog_api_client/v2/models/role_create_response_data.rb +0 -15
  1002. data/lib/datadog_api_client/v2/models/role_relationships.rb +0 -13
  1003. data/lib/datadog_api_client/v2/models/role_response.rb +0 -13
  1004. data/lib/datadog_api_client/v2/models/role_response_relationships.rb +0 -13
  1005. data/lib/datadog_api_client/v2/models/role_update_attributes.rb +0 -13
  1006. data/lib/datadog_api_client/v2/models/role_update_data.rb +0 -15
  1007. data/lib/datadog_api_client/v2/models/role_update_request.rb +0 -13
  1008. data/lib/datadog_api_client/v2/models/role_update_response.rb +0 -13
  1009. data/lib/datadog_api_client/v2/models/role_update_response_data.rb +0 -15
  1010. data/lib/datadog_api_client/v2/models/roles_response.rb +0 -13
  1011. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +1 -1
  1012. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value_timeseries_point.rb +0 -13
  1013. data/lib/datadog_api_client/v2/models/rum_aggregate_request.rb +0 -13
  1014. data/lib/datadog_api_client/v2/models/rum_aggregate_sort.rb +0 -15
  1015. data/lib/datadog_api_client/v2/models/rum_aggregation_buckets_response.rb +0 -13
  1016. data/lib/datadog_api_client/v2/models/rum_analytics_aggregate_response.rb +0 -13
  1017. data/lib/datadog_api_client/v2/models/rum_application.rb +0 -15
  1018. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +4 -13
  1019. data/lib/datadog_api_client/v2/models/rum_application_create.rb +0 -15
  1020. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +0 -13
  1021. data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +0 -13
  1022. data/lib/datadog_api_client/v2/models/rum_application_response.rb +0 -13
  1023. data/lib/datadog_api_client/v2/models/rum_application_update.rb +0 -15
  1024. data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +0 -13
  1025. data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +0 -13
  1026. data/lib/datadog_api_client/v2/models/rum_applications_response.rb +0 -13
  1027. data/lib/datadog_api_client/v2/models/rum_bucket_response.rb +0 -13
  1028. data/lib/datadog_api_client/v2/models/rum_compute.rb +0 -15
  1029. data/lib/datadog_api_client/v2/models/rum_event.rb +0 -15
  1030. data/lib/datadog_api_client/v2/models/rum_event_attributes.rb +0 -13
  1031. data/lib/datadog_api_client/v2/models/rum_events_response.rb +0 -13
  1032. data/lib/datadog_api_client/v2/models/rum_group_by.rb +0 -17
  1033. data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +0 -13
  1034. data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +1 -1
  1035. data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +1 -1
  1036. data/lib/datadog_api_client/v2/models/rum_query_filter.rb +0 -19
  1037. data/lib/datadog_api_client/v2/models/rum_query_options.rb +0 -15
  1038. data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +0 -15
  1039. data/lib/datadog_api_client/v2/models/rum_response_links.rb +0 -13
  1040. data/lib/datadog_api_client/v2/models/rum_response_metadata.rb +0 -13
  1041. data/lib/datadog_api_client/v2/models/rum_response_page.rb +0 -13
  1042. data/lib/datadog_api_client/v2/models/rum_search_events_request.rb +0 -13
  1043. data/lib/datadog_api_client/v2/models/rum_warning.rb +0 -13
  1044. data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +0 -15
  1045. data/lib/datadog_api_client/v2/models/saml_assertion_attribute_attributes.rb +0 -13
  1046. data/lib/datadog_api_client/v2/models/security_filter.rb +0 -15
  1047. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +0 -13
  1048. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +0 -13
  1049. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +0 -15
  1050. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +0 -13
  1051. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +0 -13
  1052. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +0 -13
  1053. data/lib/datadog_api_client/v2/models/security_filter_meta.rb +0 -13
  1054. data/lib/datadog_api_client/v2/models/security_filter_response.rb +0 -13
  1055. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +0 -13
  1056. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +0 -15
  1057. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +0 -13
  1058. data/lib/datadog_api_client/v2/models/security_filters_response.rb +0 -13
  1059. data/lib/datadog_api_client/v2/models/security_monitoring_filter.rb +0 -13
  1060. data/lib/datadog_api_client/v2/models/security_monitoring_list_rules_response.rb +0 -13
  1061. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +0 -13
  1062. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +0 -13
  1063. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +36 -248
  1064. data/lib/datadog_api_client/v2/models/security_monitoring_rule_impossible_travel_options.rb +0 -13
  1065. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +0 -19
  1066. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +0 -13
  1067. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +36 -151
  1068. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_aggregation.rb +1 -0
  1069. data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +37 -253
  1070. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +0 -13
  1071. data/lib/datadog_api_client/v2/models/security_monitoring_signal.rb +0 -15
  1072. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +0 -13
  1073. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +0 -13
  1074. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +0 -13
  1075. data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +0 -13
  1076. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +0 -13
  1077. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +0 -13
  1078. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +0 -13
  1079. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb +0 -13
  1080. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb +0 -13
  1081. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +0 -15
  1082. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +262 -0
  1083. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +174 -0
  1084. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +266 -0
  1085. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +173 -0
  1086. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_type.rb +26 -0
  1087. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +0 -13
  1088. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +0 -13
  1089. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +0 -13
  1090. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +0 -13
  1091. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_data.rb +0 -13
  1092. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +0 -13
  1093. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response.rb +0 -13
  1094. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_links.rb +0 -13
  1095. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta.rb +0 -13
  1096. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta_page.rb +0 -13
  1097. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +262 -0
  1098. data/lib/datadog_api_client/v2/models/{security_monitoring_rule_query_create.rb → security_monitoring_standard_rule_query.rb} +6 -19
  1099. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +266 -0
  1100. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +0 -13
  1101. data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +0 -13
  1102. data/lib/datadog_api_client/v2/models/service_account_create_data.rb +0 -15
  1103. data/lib/datadog_api_client/v2/models/service_account_create_request.rb +0 -13
  1104. data/lib/datadog_api_client/v2/models/service_definition_create_response.rb +100 -0
  1105. data/lib/datadog_api_client/v2/models/service_definition_data.rb +108 -0
  1106. data/lib/datadog_api_client/v2/models/service_definition_data_attributes.rb +108 -0
  1107. data/lib/datadog_api_client/v2/models/service_definition_get_response.rb +98 -0
  1108. data/lib/datadog_api_client/v2/models/service_definition_meta.rb +128 -0
  1109. data/lib/datadog_api_client/v2/models/service_definition_schema.rb +63 -0
  1110. data/lib/datadog_api_client/v2/models/service_definition_v1.rb +197 -0
  1111. data/lib/datadog_api_client/v2/models/service_definition_v1_contact.rb +108 -0
  1112. data/lib/datadog_api_client/v2/models/service_definition_v1_info.rb +139 -0
  1113. data/lib/datadog_api_client/v2/models/service_definition_v1_integrations.rb +98 -0
  1114. data/lib/datadog_api_client/v2/models/service_definition_v1_org.rb +108 -0
  1115. data/lib/datadog_api_client/v2/models/service_definition_v1_resource.rb +151 -0
  1116. data/lib/datadog_api_client/v2/models/service_definition_v1_resource_type.rb +34 -0
  1117. data/lib/datadog_api_client/v2/models/service_definition_v1_version.rb +26 -0
  1118. data/lib/datadog_api_client/v2/models/service_definition_v2.rb +230 -0
  1119. data/lib/datadog_api_client/v2/models/service_definition_v2_contact.rb +63 -0
  1120. data/lib/datadog_api_client/v2/models/service_definition_v2_doc.rb +140 -0
  1121. data/lib/datadog_api_client/v2/models/service_definition_v2_email.rb +140 -0
  1122. data/lib/datadog_api_client/v2/models/service_definition_v2_email_type.rb +26 -0
  1123. data/lib/datadog_api_client/v2/models/service_definition_v2_integrations.rb +108 -0
  1124. data/lib/datadog_api_client/v2/models/service_definition_v2_link.rb +151 -0
  1125. data/lib/datadog_api_client/v2/models/service_definition_v2_link_type.rb +34 -0
  1126. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +119 -0
  1127. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie_region.rb +27 -0
  1128. data/lib/datadog_api_client/v2/models/service_definition_v2_repo.rb +140 -0
  1129. data/lib/datadog_api_client/v2/models/service_definition_v2_slack.rb +140 -0
  1130. data/lib/datadog_api_client/v2/models/service_definition_v2_slack_type.rb +26 -0
  1131. data/lib/datadog_api_client/v2/models/service_definition_v2_version.rb +26 -0
  1132. data/lib/datadog_api_client/v2/models/service_definitions_create_request.rb +63 -0
  1133. data/lib/datadog_api_client/v2/models/service_definitions_list_response.rb +100 -0
  1134. data/lib/datadog_api_client/v2/models/usage_application_security_monitoring_response.rb +0 -13
  1135. data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +0 -13
  1136. data/lib/datadog_api_client/v2/models/usage_data_object.rb +0 -15
  1137. data/lib/datadog_api_client/v2/models/usage_lambda_traced_invocations_response.rb +0 -13
  1138. data/lib/datadog_api_client/v2/models/usage_observability_pipelines_response.rb +0 -13
  1139. data/lib/datadog_api_client/v2/models/usage_time_series_object.rb +0 -13
  1140. data/lib/datadog_api_client/v2/models/user.rb +0 -15
  1141. data/lib/datadog_api_client/v2/models/user_attributes.rb +0 -13
  1142. data/lib/datadog_api_client/v2/models/user_create_attributes.rb +0 -13
  1143. data/lib/datadog_api_client/v2/models/user_create_data.rb +0 -15
  1144. data/lib/datadog_api_client/v2/models/user_create_request.rb +0 -13
  1145. data/lib/datadog_api_client/v2/models/user_invitation_data.rb +0 -15
  1146. data/lib/datadog_api_client/v2/models/user_invitation_data_attributes.rb +0 -13
  1147. data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +0 -13
  1148. data/lib/datadog_api_client/v2/models/user_invitation_response.rb +0 -13
  1149. data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +0 -15
  1150. data/lib/datadog_api_client/v2/models/user_invitations_request.rb +0 -13
  1151. data/lib/datadog_api_client/v2/models/user_invitations_response.rb +0 -13
  1152. data/lib/datadog_api_client/v2/models/user_relationships.rb +0 -13
  1153. data/lib/datadog_api_client/v2/models/user_response.rb +0 -13
  1154. data/lib/datadog_api_client/v2/models/user_response_included_item.rb +1 -1
  1155. data/lib/datadog_api_client/v2/models/user_response_relationships.rb +0 -13
  1156. data/lib/datadog_api_client/v2/models/user_update_attributes.rb +0 -13
  1157. data/lib/datadog_api_client/v2/models/user_update_data.rb +0 -15
  1158. data/lib/datadog_api_client/v2/models/user_update_request.rb +0 -13
  1159. data/lib/datadog_api_client/v2/models/users_response.rb +0 -13
  1160. data/lib/datadog_api_client/version.rb +1 -1
  1161. metadata +138 -6
  1162. data/Makefile +0 -7
  1163. data/examples/v2/metrics/ListTagConfigurations_1799362914.rb +0 -8
@@ -3,7 +3,7 @@
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V1::ServiceLevelObjectivesAPI.new
5
5
 
6
- body = DatadogAPIClient::V1::SLOBulkDelete.new({
6
+ body = {
7
7
  id1: [
8
8
  DatadogAPIClient::V1::SLOTimeframe::SEVEN_DAYS,
9
9
  DatadogAPIClient::V1::SLOTimeframe::THIRTY_DAYS,
@@ -11,5 +11,5 @@ body = DatadogAPIClient::V1::SLOBulkDelete.new({
11
11
  DatadogAPIClient::V1::SLOTimeframe::SEVEN_DAYS,
12
12
  DatadogAPIClient::V1::SLOTimeframe::THIRTY_DAYS,
13
13
  ],
14
- })
14
+ }
15
15
  p api_instance.delete_slo_timeframe_in_bulk(body)
@@ -8,7 +8,7 @@ SYNTHETICS_API_TEST_MULTI_STEP_PUBLIC_ID = ENV["SYNTHETICS_API_TEST_MULTI_STEP_P
8
8
 
9
9
  body = DatadogAPIClient::V1::SyntheticsGlobalVariable.new({
10
10
  description: "",
11
- name: "GLOBAL_VARIABLE_PAYLOAD",
11
+ name: "GLOBAL_VARIABLE_PAYLOAD_EXAMPLECREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE",
12
12
  tags: [],
13
13
  value: DatadogAPIClient::V1::SyntheticsGlobalVariableValue.new({
14
14
  secure: false,
@@ -18,7 +18,7 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
18
18
  service: "Hello",
19
19
  method: DatadogAPIClient::V1::HTTPMethod::GET,
20
20
  message: "",
21
- metadata: DatadogAPIClient::V1::SyntheticsTestMetadata.new({}),
21
+ metadata: {},
22
22
  }),
23
23
  }),
24
24
  locations: [
@@ -48,15 +48,15 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
48
48
  updated_at: "2020-10-16T09:23:24.857Z",
49
49
  }),
50
50
  }),
51
- headers: DatadogAPIClient::V1::SyntheticsTestHeaders.new({
51
+ headers: {
52
52
  unique: "examplecreateanapihttptestreturnsokreturnsthecreatedtestdetailsresponse",
53
- }),
53
+ },
54
54
  method: DatadogAPIClient::V1::HTTPMethod::GET,
55
55
  timeout: 10,
56
56
  url: "https://datadoghq.com",
57
57
  proxy: DatadogAPIClient::V1::SyntheticsTestRequestProxy.new({
58
58
  url: "https://datadoghq.com",
59
- headers: DatadogAPIClient::V1::SyntheticsTestHeaders.new({}),
59
+ headers: {},
60
60
  }),
61
61
  }),
62
62
  }),
@@ -49,9 +49,9 @@ body = DatadogAPIClient::V1::SyntheticsAPITest.new({
49
49
  updated_at: "2020-10-16T09:23:24.857Z",
50
50
  }),
51
51
  }),
52
- headers: DatadogAPIClient::V1::SyntheticsTestHeaders.new({
52
+ headers: {
53
53
  unique: "exampleeditanapitestreturnsokresponse",
54
- }),
54
+ },
55
55
  method: DatadogAPIClient::V1::HTTPMethod::GET,
56
56
  timeout: 10,
57
57
  url: "https://datadoghq.com",
@@ -1,4 +1,4 @@
1
- # Get usage across your multi-org account returns "OK" response
1
+ # Get usage across your account returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V1::UsageMeteringAPI.new
@@ -0,0 +1,29 @@
1
+ # Add Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+
6
+ body = DatadogAPIClient::V2::ConfluentAccountCreateRequest.new({
7
+ data: DatadogAPIClient::V2::ConfluentAccountCreateRequestData.new({
8
+ attributes: DatadogAPIClient::V2::ConfluentAccountCreateRequestAttributes.new({
9
+ api_key: "TESTAPIKEY123",
10
+ api_secret: "test-api-secret-123",
11
+ resources: [
12
+ DatadogAPIClient::V2::ConfluentAccountResourceAttributes.new({
13
+ id: "resource-id-123",
14
+ resource_type: "kafka",
15
+ tags: [
16
+ "myTag",
17
+ "myTag2:myValue",
18
+ ],
19
+ }),
20
+ ],
21
+ tags: [
22
+ "myTag",
23
+ "myTag2:myValue",
24
+ ],
25
+ }),
26
+ type: DatadogAPIClient::V2::ConfluentAccountType::CONFLUENT_CLOUD_ACCOUNTS,
27
+ }),
28
+ })
29
+ p api_instance.create_confluent_account(body)
@@ -0,0 +1,22 @@
1
+ # Add resource to Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+
6
+ # there is a valid "confluent_account" in the system
7
+ CONFLUENT_ACCOUNT_DATA_ID = ENV["CONFLUENT_ACCOUNT_DATA_ID"]
8
+
9
+ body = DatadogAPIClient::V2::ConfluentResourceRequest.new({
10
+ data: DatadogAPIClient::V2::ConfluentResourceRequestData.new({
11
+ attributes: DatadogAPIClient::V2::ConfluentResourceRequestAttributes.new({
12
+ resource_type: "kafka",
13
+ tags: [
14
+ "myTag",
15
+ "myTag2:myValue",
16
+ ],
17
+ }),
18
+ id: "exampleaddresourcetoconfluentaccountreturnsokresponse",
19
+ type: DatadogAPIClient::V2::ConfluentResourceType::CONFLUENT_CLOUD_RESOURCES,
20
+ }),
21
+ })
22
+ p api_instance.create_confluent_resource(CONFLUENT_ACCOUNT_DATA_ID, body)
@@ -0,0 +1,5 @@
1
+ # Delete Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+ api_instance.delete_confluent_account("account_id")
@@ -0,0 +1,8 @@
1
+ # Delete resource from Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+
6
+ # there is a valid "confluent_account" in the system
7
+ CONFLUENT_ACCOUNT_DATA_ID = ENV["CONFLUENT_ACCOUNT_DATA_ID"]
8
+ api_instance.delete_confluent_account(CONFLUENT_ACCOUNT_DATA_ID)
@@ -0,0 +1,8 @@
1
+ # Get Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+
6
+ # there is a valid "confluent_account" in the system
7
+ CONFLUENT_ACCOUNT_DATA_ID = ENV["CONFLUENT_ACCOUNT_DATA_ID"]
8
+ p api_instance.get_confluent_account(CONFLUENT_ACCOUNT_DATA_ID)
@@ -0,0 +1,5 @@
1
+ # Get resource from Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+ p api_instance.get_confluent_resource("account_id", "resource_id")
@@ -0,0 +1,5 @@
1
+ # List Confluent accounts returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+ p api_instance.list_confluent_account()
@@ -0,0 +1,5 @@
1
+ # List Confluent Account resources returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+ p api_instance.list_confluent_resource("account_id")
@@ -0,0 +1,22 @@
1
+ # Update Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+
6
+ # there is a valid "confluent_account" in the system
7
+ CONFLUENT_ACCOUNT_DATA_ATTRIBUTES_API_KEY = ENV["CONFLUENT_ACCOUNT_DATA_ATTRIBUTES_API_KEY"]
8
+ CONFLUENT_ACCOUNT_DATA_ID = ENV["CONFLUENT_ACCOUNT_DATA_ID"]
9
+
10
+ body = DatadogAPIClient::V2::ConfluentAccountUpdateRequest.new({
11
+ data: DatadogAPIClient::V2::ConfluentAccountUpdateRequestData.new({
12
+ attributes: DatadogAPIClient::V2::ConfluentAccountUpdateRequestAttributes.new({
13
+ api_key: CONFLUENT_ACCOUNT_DATA_ATTRIBUTES_API_KEY,
14
+ api_secret: "update-secret",
15
+ tags: [
16
+ "updated_tag:val",
17
+ ],
18
+ }),
19
+ type: DatadogAPIClient::V2::ConfluentAccountType::CONFLUENT_CLOUD_ACCOUNTS,
20
+ }),
21
+ })
22
+ p api_instance.update_confluent_account(CONFLUENT_ACCOUNT_DATA_ID, body)
@@ -0,0 +1,19 @@
1
+ # Update resource in Confluent account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ConfluentCloudAPI.new
5
+
6
+ body = DatadogAPIClient::V2::ConfluentResourceRequest.new({
7
+ data: DatadogAPIClient::V2::ConfluentResourceRequestData.new({
8
+ attributes: DatadogAPIClient::V2::ConfluentResourceRequestAttributes.new({
9
+ resource_type: "kafka",
10
+ tags: [
11
+ "myTag",
12
+ "myTag2:myValue",
13
+ ],
14
+ }),
15
+ id: "resource-id-123",
16
+ type: DatadogAPIClient::V2::ConfluentResourceType::CONFLUENT_CLOUD_RESOURCES,
17
+ }),
18
+ })
19
+ p api_instance.update_confluent_resource("account_id", "resource_id", body)
@@ -0,0 +1,8 @@
1
+ # Get a list of attachments returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ DatadogAPIClient::V2.configure do |config|
5
+ config.unstable_operations["v2.list_incident_attachments".to_sym] = true
6
+ end
7
+ api_instance = DatadogAPIClient::V2::IncidentsAPI.new
8
+ p api_instance.list_incident_attachments("incident_id")
@@ -0,0 +1,11 @@
1
+ # Get incident attachments returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ DatadogAPIClient::V2.configure do |config|
5
+ config.unstable_operations["v2.list_incident_attachments".to_sym] = true
6
+ end
7
+ api_instance = DatadogAPIClient::V2::IncidentsAPI.new
8
+
9
+ # there is a valid "incident" in the system
10
+ INCIDENT_DATA_ID = ENV["INCIDENT_DATA_ID"]
11
+ p api_instance.list_incident_attachments(INCIDENT_DATA_ID)
@@ -0,0 +1,38 @@
1
+ # Create, update, and delete incident attachments returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ DatadogAPIClient::V2.configure do |config|
5
+ config.unstable_operations["v2.update_incident_attachments".to_sym] = true
6
+ end
7
+ api_instance = DatadogAPIClient::V2::IncidentsAPI.new
8
+
9
+ body = DatadogAPIClient::V2::IncidentAttachmentUpdateRequest.new({
10
+ data: [
11
+ DatadogAPIClient::V2::IncidentAttachmentUpdateData.new({
12
+ attributes: DatadogAPIClient::V2::IncidentAttachmentPostmortemAttributes.new({
13
+ attachment: DatadogAPIClient::V2::IncidentAttachmentsPostmortemAttributesAttachmentObject.new({
14
+ document_url: "https://app.datadoghq.com/notebook/123",
15
+ title: "Postmortem IR-123",
16
+ }),
17
+ attachment_type: DatadogAPIClient::V2::IncidentAttachmentPostmortemAttachmentType::POSTMORTEM,
18
+ }),
19
+ id: "00000000-abcd-0002-0000-000000000000",
20
+ type: DatadogAPIClient::V2::IncidentAttachmentType::INCIDENT_ATTACHMENTS,
21
+ }),
22
+ DatadogAPIClient::V2::IncidentAttachmentUpdateData.new({
23
+ attributes: DatadogAPIClient::V2::IncidentAttachmentLinkAttributes.new({
24
+ attachment: DatadogAPIClient::V2::IncidentAttachmentLinkAttributesAttachmentObject.new({
25
+ document_url: "https://www.example.com/webstore-failure-runbook",
26
+ title: "Runbook for webstore service failures",
27
+ }),
28
+ attachment_type: DatadogAPIClient::V2::IncidentAttachmentLinkAttachmentType::LINK,
29
+ }),
30
+ type: DatadogAPIClient::V2::IncidentAttachmentType::INCIDENT_ATTACHMENTS,
31
+ }),
32
+ DatadogAPIClient::V2::IncidentAttachmentUpdateData.new({
33
+ id: "00000000-abcd-0003-0000-000000000000",
34
+ type: DatadogAPIClient::V2::IncidentAttachmentType::INCIDENT_ATTACHMENTS,
35
+ }),
36
+ ],
37
+ })
38
+ p api_instance.update_incident_attachments("incident_id", body)
@@ -0,0 +1,26 @@
1
+ # Create an incident attachment returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ DatadogAPIClient::V2.configure do |config|
5
+ config.unstable_operations["v2.update_incident_attachments".to_sym] = true
6
+ end
7
+ api_instance = DatadogAPIClient::V2::IncidentsAPI.new
8
+
9
+ # there is a valid "incident" in the system
10
+ INCIDENT_DATA_ID = ENV["INCIDENT_DATA_ID"]
11
+
12
+ body = DatadogAPIClient::V2::IncidentAttachmentUpdateRequest.new({
13
+ data: [
14
+ DatadogAPIClient::V2::IncidentAttachmentUpdateData.new({
15
+ type: DatadogAPIClient::V2::IncidentAttachmentType::INCIDENT_ATTACHMENTS,
16
+ attributes: DatadogAPIClient::V2::IncidentAttachmentLinkAttributes.new({
17
+ attachment_type: DatadogAPIClient::V2::IncidentAttachmentLinkAttachmentType::LINK,
18
+ attachment: DatadogAPIClient::V2::IncidentAttachmentLinkAttributesAttachmentObject.new({
19
+ document_url: "https://www.example.com/doc",
20
+ title: "Example-Create_an_incident_attachment_returns_OK_response",
21
+ }),
22
+ }),
23
+ }),
24
+ ],
25
+ })
26
+ p api_instance.update_incident_attachments(INCIDENT_DATA_ID, body)
@@ -0,0 +1,5 @@
1
+ # List active tags and aggregations returns "Success" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::MetricsAPI.new
5
+ p api_instance.list_active_metric_configurations("ExampleListactivetagsandaggregationsreturnsSuccessresponse")
@@ -1,4 +1,4 @@
1
- # List tag configurations returns "Success" response
1
+ # Get a list of metrics returns "Success" response
2
2
 
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V2::MetricsAPI.new
@@ -0,0 +1,8 @@
1
+ # Get a list of metrics with a tag filter returns "Success" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::MetricsAPI.new
5
+ opts = {
6
+ filter_tags: "ExampleGetalistofmetricswithatagfilterreturnsSuccessresponse",
7
+ }
8
+ p api_instance.list_tag_configurations(opts)
@@ -1,4 +1,4 @@
1
- # List tag configurations with configured filter returns "Success" response
1
+ # Get a list of metrics with configured filter returns "Success" response
2
2
 
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V2::MetricsAPI.new
@@ -3,14 +3,17 @@
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V2::RUMAPI.new
5
5
 
6
+ # there is a valid "rum_application" in the system
7
+ RUM_APPLICATION_DATA_ID = ENV["RUM_APPLICATION_DATA_ID"]
8
+
6
9
  body = DatadogAPIClient::V2::RUMApplicationUpdateRequest.new({
7
10
  data: DatadogAPIClient::V2::RUMApplicationUpdate.new({
8
11
  attributes: DatadogAPIClient::V2::RUMApplicationUpdateAttributes.new({
9
12
  name: "updated_name_for_my_existing_rum_application",
10
13
  type: "browser",
11
14
  }),
12
- id: "abcd1234-0000-0000-abcd-1234abcd5678",
15
+ id: RUM_APPLICATION_DATA_ID,
13
16
  type: DatadogAPIClient::V2::RUMApplicationUpdateType::RUM_APPLICATION_UPDATE,
14
17
  }),
15
18
  })
16
- p api_instance.update_rum_application("id", body)
19
+ p api_instance.update_rum_application(RUM_APPLICATION_DATA_ID, body)
@@ -3,10 +3,10 @@
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
5
5
 
6
- body = DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload.new({
6
+ body = DatadogAPIClient::V2::SecurityMonitoringStandardRuleCreatePayload.new({
7
7
  name: "Example-Create_a_detection_rule_returns_OK_response",
8
8
  queries: [
9
- DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate.new({
9
+ DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery.new({
10
10
  query: "@test:true",
11
11
  aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::COUNT,
12
12
  group_by_fields: [],
@@ -31,5 +31,6 @@ body = DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload.new({
31
31
  message: "Test rule",
32
32
  tags: [],
33
33
  is_enabled: true,
34
+ type: DatadogAPIClient::V2::SecurityMonitoringRuleTypeCreate::LOG_DETECTION,
34
35
  })
35
36
  p api_instance.create_security_monitoring_rule(body)
@@ -3,9 +3,9 @@
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
5
5
 
6
- body = DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload.new({
6
+ body = DatadogAPIClient::V2::SecurityMonitoringStandardRuleCreatePayload.new({
7
7
  queries: [
8
- DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate.new({
8
+ DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery.new({
9
9
  aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::GEO_DATA,
10
10
  group_by_fields: [
11
11
  "@usr.id",
@@ -3,10 +3,10 @@
3
3
  require "datadog_api_client"
4
4
  api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
5
5
 
6
- body = DatadogAPIClient::V2::SecurityMonitoringRuleCreatePayload.new({
6
+ body = DatadogAPIClient::V2::SecurityMonitoringStandardRuleCreatePayload.new({
7
7
  name: "Example-Create_a_detection_rule_with_type_workload_security_returns_OK_response",
8
8
  queries: [
9
- DatadogAPIClient::V2::SecurityMonitoringRuleQueryCreate.new({
9
+ DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery.new({
10
10
  query: "@test:true",
11
11
  aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::COUNT,
12
12
  group_by_fields: [],
@@ -0,0 +1,50 @@
1
+ # Create a detection rule with type 'signal_correlation' returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
5
+
6
+ # there is a valid "security_rule" in the system
7
+ SECURITY_RULE_ID = ENV["SECURITY_RULE_ID"]
8
+
9
+ # there is a valid "security_rule_bis" in the system
10
+ SECURITY_RULE_BIS_ID = ENV["SECURITY_RULE_BIS_ID"]
11
+
12
+ body = DatadogAPIClient::V2::SecurityMonitoringSignalRuleCreatePayload.new({
13
+ name: "Example-Create_a_detection_rule_with_type_signal_correlation_returns_OK_response_signal_rule",
14
+ queries: [
15
+ DatadogAPIClient::V2::SecurityMonitoringSignalRuleQuery.new({
16
+ rule_id: SECURITY_RULE_ID,
17
+ aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::EVENT_COUNT,
18
+ correlated_by_fields: [
19
+ "host",
20
+ ],
21
+ correlated_query_index: 1,
22
+ }),
23
+ DatadogAPIClient::V2::SecurityMonitoringSignalRuleQuery.new({
24
+ rule_id: SECURITY_RULE_BIS_ID,
25
+ aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::EVENT_COUNT,
26
+ correlated_by_fields: [
27
+ "host",
28
+ ],
29
+ }),
30
+ ],
31
+ filters: [],
32
+ cases: [
33
+ DatadogAPIClient::V2::SecurityMonitoringRuleCaseCreate.new({
34
+ name: "",
35
+ status: DatadogAPIClient::V2::SecurityMonitoringRuleSeverity::INFO,
36
+ condition: "a > 0 && b > 0",
37
+ notifications: [],
38
+ }),
39
+ ],
40
+ options: DatadogAPIClient::V2::SecurityMonitoringRuleOptions.new({
41
+ evaluation_window: DatadogAPIClient::V2::SecurityMonitoringRuleEvaluationWindow::FIFTEEN_MINUTES,
42
+ keep_alive: DatadogAPIClient::V2::SecurityMonitoringRuleKeepAlive::ONE_HOUR,
43
+ max_signal_duration: DatadogAPIClient::V2::SecurityMonitoringRuleMaxSignalDuration::ONE_DAY,
44
+ }),
45
+ message: "Test signal correlation rule",
46
+ tags: [],
47
+ is_enabled: true,
48
+ type: DatadogAPIClient::V2::SecurityMonitoringSignalRuleType::SIGNAL_CORRELATION,
49
+ })
50
+ p api_instance.create_security_monitoring_rule(body)
@@ -0,0 +1,5 @@
1
+ # Get a signal's details returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
5
+ p api_instance.get_security_monitoring_signal("AQAAAYNqUBVU4-rffwAAAABBWU5xVUJWVUFBQjJBd3ptMDdQUnF3QUE")
@@ -34,11 +34,12 @@ body = DatadogAPIClient::V2::SecurityMonitoringRuleUpdatePayload.new({
34
34
  }),
35
35
  }),
36
36
  queries: [
37
- DatadogAPIClient::V2::SecurityMonitoringRuleQuery.new({
37
+ DatadogAPIClient::V2::SecurityMonitoringStandardRuleQuery.new({
38
38
  aggregation: DatadogAPIClient::V2::SecurityMonitoringRuleQueryAggregation::COUNT,
39
39
  distinct_fields: [],
40
40
  group_by_fields: [],
41
41
  metrics: [],
42
+ query: "a > 3",
42
43
  }),
43
44
  ],
44
45
  tags: [],
@@ -0,0 +1,54 @@
1
+ # Create or update service definition returns "CREATED" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ServiceDefinitionAPI.new
5
+
6
+ body = DatadogAPIClient::V2::ServiceDefinitionV2.new({
7
+ contacts: [
8
+ DatadogAPIClient::V2::ServiceDefinitionV2Email.new({
9
+ contact: "contact@datadoghq.com",
10
+ name: "Team Email",
11
+ type: DatadogAPIClient::V2::ServiceDefinitionV2EmailType::EMAIL,
12
+ }),
13
+ ],
14
+ dd_service: "service-Example-Create_or_update_service_definition_returns_CREATED_response",
15
+ dd_team: "my-team",
16
+ docs: [
17
+ DatadogAPIClient::V2::ServiceDefinitionV2Doc.new({
18
+ name: "Architecture",
19
+ provider: "google drive",
20
+ url: "https://gdrive/mydoc",
21
+ }),
22
+ ],
23
+ extensions: {
24
+ myorgextension: "extensionvalue",
25
+ },
26
+ integrations: DatadogAPIClient::V2::ServiceDefinitionV2Integrations.new({
27
+ opsgenie: DatadogAPIClient::V2::ServiceDefinitionV2Opsgenie.new({
28
+ region: DatadogAPIClient::V2::ServiceDefinitionV2OpsgenieRegion::US,
29
+ service_id: "123e4567-e89b-12d3-a456-426614174000",
30
+ }),
31
+ pagerduty: "https://my-org.pagerduty.com/service-directory/PMyService",
32
+ }),
33
+ links: [
34
+ DatadogAPIClient::V2::ServiceDefinitionV2Link.new({
35
+ name: "Runbook",
36
+ type: DatadogAPIClient::V2::ServiceDefinitionV2LinkType::RUNBOOK,
37
+ url: "https://my-runbook",
38
+ }),
39
+ ],
40
+ repos: [
41
+ DatadogAPIClient::V2::ServiceDefinitionV2Repo.new({
42
+ name: "Source Code",
43
+ provider: "GitHub",
44
+ url: "https://github.com/DataDog/schema",
45
+ }),
46
+ ],
47
+ schema_version: DatadogAPIClient::V2::ServiceDefinitionV2Version::V2,
48
+ tags: [
49
+ "my:tag",
50
+ "service:tag",
51
+ ],
52
+ team: "my-team",
53
+ })
54
+ p api_instance.create_or_update_service_definitions(body)
@@ -0,0 +1,5 @@
1
+ # Delete a single service definition returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ServiceDefinitionAPI.new
5
+ api_instance.delete_service_definition("service-Example-Delete_a_single_service_definition_returns_OK_response")
@@ -0,0 +1,5 @@
1
+ # Get a single service definition returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ServiceDefinitionAPI.new
5
+ p api_instance.get_service_definition("service-Example-Get_a_single_service_definition_returns_OK_response")
@@ -0,0 +1,5 @@
1
+ # Get all service definitions returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::ServiceDefinitionAPI.new
5
+ p api_instance.list_service_definitions()
@@ -1,8 +1,5 @@
1
1
  # Get estimated cost across your account returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- DatadogAPIClient::V2.configure do |config|
5
- config.unstable_operations["v2.get_estimated_cost_by_org".to_sym] = true
6
- end
7
4
  api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
8
- p api_instance.get_estimated_cost_by_org("view")
5
+ p api_instance.get_estimated_cost_by_org()
@@ -1,11 +1,9 @@
1
1
  # GetEstimatedCostByOrg with start_date returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- DatadogAPIClient::V2.configure do |config|
5
- config.unstable_operations["v2.get_estimated_cost_by_org".to_sym] = true
6
- end
7
4
  api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
8
5
  opts = {
6
+ view: "sub-org",
9
7
  start_date: (Time.now + -5 * 86400),
10
8
  }
11
- p api_instance.get_estimated_cost_by_org("sub-org", opts)
9
+ p api_instance.get_estimated_cost_by_org(opts)
@@ -1,11 +1,9 @@
1
1
  # GetEstimatedCostByOrg with start_month returns "OK" response
2
2
 
3
3
  require "datadog_api_client"
4
- DatadogAPIClient::V2.configure do |config|
5
- config.unstable_operations["v2.get_estimated_cost_by_org".to_sym] = true
6
- end
7
4
  api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
8
5
  opts = {
6
+ view: "sub-org",
9
7
  start_month: (Time.now + -5 * 86400),
10
8
  }
11
- p api_instance.get_estimated_cost_by_org("sub-org", opts)
9
+ p api_instance.get_estimated_cost_by_org(opts)
@@ -0,0 +1,8 @@
1
+ # Get historical cost across your account returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
5
+ opts = {
6
+ view: "sub-org",
7
+ }
8
+ p api_instance.get_historical_cost_by_org((Time.now + -1 * 60), opts)
data/generate.sh ADDED
@@ -0,0 +1,30 @@
1
+ #!/bin/bash
2
+
3
+ DEFAULT_ERROR_CODES="0"
4
+
5
+ # First arg is the command
6
+ # Second arg is the string of acceptable error codes seperated by space. E.g. "0 1"
7
+ pre_commit_wrapper () {
8
+ echo "running pre-commit run --all-files --hook-stage=manual ${1}"
9
+
10
+ exec 5>&1
11
+ acceptable_errors=${2:-$DEFAULT_ERROR_CODES}
12
+ out=$(pre-commit run --all-files --hook-stage=manual "${1}" | tee >(cat - >&5))
13
+ exit_code=$( echo "$out" | grep -- "- exit code:" | cut -d":" -f2 | sed 's/[^0-9]*//g' )
14
+
15
+ if [[ -n $exit_code ]]; then
16
+ re="([^0-9]|^)$exit_code([^0-9]|$)"
17
+ if ! grep -qE "$re" <<< "$acceptable_errors" ; then
18
+ echo "pre-commit subcommand failed with error_code: $exit_code. See output above"
19
+ exit "$exit_code";
20
+ fi
21
+ fi
22
+
23
+ echo "command 'pre-commit run --all-files --hook-stage=manual ${1}' success"
24
+ }
25
+
26
+ rm -rf ./lib/datadog_api_client/v1 ./lib/datadog_api_client/v2 examples/*
27
+ pre_commit_wrapper generator
28
+ pre_commit_wrapper examples
29
+ pre_commit_wrapper format-examples 3
30
+ pre_commit_wrapper docs