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
@@ -66,6 +66,10 @@ def cli(specs, output):
66
66
  "inflector.rb": env.get_template("inflector.j2"),
67
67
  }
68
68
 
69
+ test_scenarios_files = {
70
+ "scenarios_model_mapping.rb": env.get_template("scenarios_model_mapping.j2")
71
+ }
72
+
69
73
  all_specs = {}
70
74
  all_apis = {}
71
75
  all_models = {}
@@ -115,3 +119,10 @@ def cli(specs, output):
115
119
  filename = common_output / name
116
120
  with filename.open("w") as fp:
117
121
  fp.write(template.render(all_apis=all_apis, all_specs=all_specs, all_models=all_models))
122
+
123
+ # Parameter mappings for bdd tests
124
+ scenarios_test_output = pathlib.Path("../features/")
125
+ for name, template in test_scenarios_files.items():
126
+ filename = scenarios_test_output / name
127
+ with filename.open("w") as fp:
128
+ fp.write(template.render(all_apis=all_apis))
@@ -282,7 +282,7 @@ def format_data_with_schema_list(
282
282
  replace_values=replace_values,
283
283
  default_name=name,
284
284
  )
285
- except (KeyError, ValueError) as e:
285
+ except (KeyError, ValueError):
286
286
  continue
287
287
  return value
288
288
  raise ValueError(f"{data} is not valid oneOf {schema}")
@@ -336,6 +336,8 @@ def format_data_with_schema_dict(
336
336
  replace_values=replace_values,
337
337
  )
338
338
  parameters += f"{k}: {value}, "
339
+ if not has_properties:
340
+ name = None
339
341
 
340
342
  if not name and "oneOf" not in schema:
341
343
  if default_name and not schema.get("additionalProperties") and schema.get("properties"):
@@ -349,6 +351,8 @@ def format_data_with_schema_dict(
349
351
  parameters = _format_oneof(data, schema, name_prefix=name_prefix, replace_values=replace_values)
350
352
 
351
353
  if name == "dict":
354
+ if not parameters and data:
355
+ parameters = ", ".join(f"{k}: \"{v}\"" for k, v in data.items())
352
356
  return f"{{\n{parameters}}}"
353
357
  elif name:
354
358
  return f"{name_prefix}{name}.new({{\n{parameters}}})"
@@ -31,6 +31,10 @@ module {{ module_name }}::{{ version|upper }}
31
31
  {{ operation.description|block_comment|indent(4) }}
32
32
  #
33
33
  {%- endif %}
34
+ {%- if operation.deprecated %}
35
+ # @deprecated This API is deprecated.
36
+ #
37
+ {%- endif %}
34
38
  {%- for name, parameter in operation|parameters if parameter.required %}
35
39
  # @param {{ name|attribute_name }} [{{ get_type_for_parameter(parameter) }}] {{ parameter.get("description", "").replace('\n', ' ') }}
36
40
  {%- endfor %}
@@ -40,6 +44,9 @@ module {{ module_name }}::{{ version|upper }}
40
44
  {%- endfor %}
41
45
  # @return [Array<({% if returnType %}{{ returnType }}{% else %}nil{% endif %}, Integer, Hash)>] {% if returnType %}{{ returnType }} data{% else %}nil{% endif %}, response status code and response headers
42
46
  def {{ operation.operationId|snake_case }}_with_http_info({% for name, parameter in operation|parameters if parameter.required %}{{ name|attribute_name }}, {% endfor %}opts = {})
47
+ {%- if operation.deprecated %}
48
+ warn "[DEPRECATION] `{{ operation.operationId }}` is deprecated."
49
+ {%- endif %}
43
50
  {%- if "x-unstable" in operation %}
44
51
  unstable_enabled = @api_client.config.unstable_operations["{{ version }}.{{ operation.operationId|snake_case }}".to_sym]
45
52
  if unstable_enabled
@@ -134,11 +134,15 @@ module {{ module_name }}
134
134
  req_opts = {
135
135
  :method => http_method,
136
136
  :headers => header_params,
137
- :query => query_params,
137
+ :query => transform_hash(query_params),
138
138
  :timeout => @config.timeout,
139
139
  :verify_peer => @config.verify_ssl,
140
140
  :verify => _verify_ssl_host,
141
- :verbose => @config.debugging
141
+ :verbose => @config.debugging,
142
+ :http_proxyaddr => @config.http_proxyaddr,
143
+ :http_proxyport => @config.http_proxyport,
144
+ :http_proxyuser => @config.http_proxyuser,
145
+ :http_proxypass => @config.http_proxypass
142
146
  }
143
147
 
144
148
  req_opts[:pem] = File.read(@config.cert_file) if @config.cert_file
@@ -361,7 +365,32 @@ module {{ module_name }}
361
365
  else
362
366
  local_body = object_to_hash(model)
363
367
  end
364
- local_body.to_json
368
+ transform_hash(local_body).to_json
369
+ end
370
+
371
+ # Transform object (array, hash, object, etc) to serializable object.
372
+ # @param [Object] obj to transform
373
+ # @return [Object]
374
+ def transform_hash(obj)
375
+ if obj.is_a?(Array)
376
+ obj.map { |m| transform_hash(m) }
377
+ elsif obj.is_a?(Hash)
378
+ obj.each do | k, v |
379
+ if v.class == Time
380
+ t = v.strftime("%FT%T")
381
+ if v.nsec > 0
382
+ t << v.strftime(".%3N")
383
+ end
384
+ t << (v.utc? ? 'Z' : v.strftime("%:z"))
385
+
386
+ obj[k] = t
387
+ else
388
+ obj[k] = transform_hash(v)
389
+ end
390
+ end
391
+ end
392
+
393
+ obj
365
394
  end
366
395
 
367
396
  # Convert object(non-array) to hash.
@@ -125,6 +125,19 @@ module {{ module_name }}
125
125
  # Set this to add accept encoding header for compression
126
126
  attr_accessor :compress
127
127
 
128
+ ### Proxy settings
129
+ # Address of proxy server to use
130
+ attr_accessor :http_proxyaddr
131
+
132
+ # Port of proxy server to use
133
+ attr_accessor :http_proxyport
134
+
135
+ # User for proxy server authentication
136
+ attr_accessor :http_proxyuser
137
+
138
+ # Password for proxy server authentication
139
+ attr_accessor :http_proxypass
140
+
128
141
  def initialize
129
142
  {%- set default_server = openapi.servers[0]|format_server %}
130
143
  @scheme = '{{ default_server.scheme }}'
@@ -146,6 +159,10 @@ module {{ module_name }}
146
159
  @inject_format = false
147
160
  @force_ending_format = false
148
161
  @compress = true
162
+ @http_proxyaddr = nil
163
+ @http_proxyport = nil
164
+ @http_proxyuser = nil
165
+ @http_proxypass = nil
149
166
  @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
150
167
  @unstable_operations = {
151
168
  {%- for version, apis in all_apis.items() %}
@@ -7,6 +7,10 @@ require 'time'
7
7
 
8
8
  module {{ module_name }}::{{ version|upper }}
9
9
  # {{ model.description.rstrip()|replace('\n', '\n# ')|indent(2) }}
10
+ {%- if model.deprecated %}
11
+ #
12
+ # @deprecated This model is deprecated.
13
+ {%- endif %}
10
14
  {% if "enum" in model -%}
11
15
  {% include "model_enum.j2" %}
12
16
  {%- elif "oneOf" in model -%}
@@ -47,7 +47,7 @@ module {{ module_name }}::{{ version|upper }}
47
47
  def build_from_hash(attributes)
48
48
  return nil unless attributes.is_a?(Hash)
49
49
  self.class.openapi_types.each_pair do |key, type|
50
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
50
+ if attributes.key?(self.class.attribute_map[key]) && attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
51
51
  self.send("#{key}=", nil)
52
52
  elsif type =~ /\AArray<(.*)>/i
53
53
  # check to ensure the input is an array given that the attribute
@@ -60,6 +60,14 @@ module {{ module_name }}::{{ version|upper }}
60
60
  end
61
61
  end
62
62
 
63
+ if self.respond_to?(:additional_properties)
64
+ attributes.each_with_object({}) { |(k, v), h|
65
+ if (!self.class.attribute_map.key?(k.to_sym))
66
+ self.additional_properties[k.to_sym] = v
67
+ end
68
+ }
69
+ end
70
+
63
71
  self
64
72
  end
65
73
 
@@ -226,7 +234,7 @@ module {{ module_name }}::{{ version|upper }}
226
234
  return model if model
227
235
  else
228
236
  # raise if data contains keys that are not known to the model
229
- raise unless (data.keys - const.acceptable_attributes).empty?
237
+ raise unless (data.keys - const.attribute_map.values).empty?
230
238
  model = const.build_from_hash(data)
231
239
  return model if model && model.valid?
232
240
  end
@@ -24,12 +24,6 @@
24
24
  }
25
25
  end
26
26
 
27
- # Returns all the JSON keys this model knows about{# TODO add parent #}
28
- # @!visibility private
29
- def self.acceptable_attributes
30
- attribute_map.values
31
- end
32
-
33
27
  # Attribute type mapping.
34
28
  # @!visibility private
35
29
  def self.openapi_types
@@ -54,6 +48,9 @@
54
48
  # @param attributes [Hash] Model attributes in the form of hash
55
49
  # @!visibility private
56
50
  def initialize(attributes = {})
51
+ {%- if model.deprecated %}
52
+ warn "[DEPRECATION] `{{ name }}` is deprecated."
53
+ {%- endif %}
57
54
  if (!attributes.is_a?(Hash))
58
55
  fail ArgumentError, "The input argument (attributes) must be a hash in `{{ module_name }}::{{ version|upper }}::{{ name }}` initialize method"
59
56
  end
@@ -85,10 +82,6 @@
85
82
  {%- else %}
86
83
  self.{{ attr|attribute_name }} = attributes[:'{{ attr|attribute_name }}']
87
84
  {%- endif %}
88
- {%- if "default" in definition and definition.default != None %}
89
- else
90
- self.{{ attr|attribute_name }} = {{ definition.default|format_value }}
91
- {%- endif %}
92
85
  end
93
86
  {%- endfor %}
94
87
  end
@@ -236,13 +229,6 @@
236
229
  {%- endif %}
237
230
  end
238
231
 
239
- # @see the `==` method
240
- # @param o [Object] Object to be compared
241
- # @!visibility private
242
- def eql?(o)
243
- self == o
244
- end
245
-
246
232
  # Calculates hash code according to all attributes.
247
233
  # @return [Integer] Hash code
248
234
  # @!visibility private
@@ -39,7 +39,7 @@
39
39
  #}
40
40
  {%- endif %}
41
41
  # Builds the object
42
- # @param [Mixed] Data to be matched against the list of oneOf items
42
+ # @param data [Mixed] Data to be matched against the list of oneOf items
43
43
  # @return [Object] Returns the model or the data itself
44
44
  def build(data)
45
45
  {%- if model.discriminator %}
@@ -0,0 +1,16 @@
1
+ ScenariosModelMappings = {
2
+ {%- for version, apis in all_apis.items() %}
3
+ {%- for _, operations in apis.items() %}
4
+ {%- for path, method, operation in operations %}
5
+ {%- set operationParams = operation|parameters|list %}
6
+ {%- if operationParams|length > 0 %}
7
+ "{{ version }}.{{ operation['operationId'] }}" => {
8
+ {%- for name, parameter in operation|parameters %}
9
+ "{{ name|attribute_name }}" => "{{ get_type_for_parameter(parameter) }}",
10
+ {%- endfor %}
11
+ },
12
+ {%- endif %}
13
+ {%- endfor %}
14
+ {%- endfor %}
15
+ {%- endfor %}
16
+ }
@@ -32,6 +32,9 @@ jobs:
32
32
  fetch-depth: 0
33
33
  ref: ${{ github.event.pull_request.head.sha }}
34
34
  token: ${{ steps.get_token.outputs.token }}
35
+ - uses: actions/setup-python@v4
36
+ with:
37
+ python-version: '3.10'
35
38
  - name: Install pre-commit
36
39
  run: python -m pip install pre-commit
37
40
  - name: set PY
@@ -4,7 +4,7 @@ repos:
4
4
  - id: generate
5
5
  name: Generate
6
6
  language: system
7
- entry: make
7
+ entry: bash -c "./generate.sh"
8
8
  files: '^(\.generator/.*|\.pre-commit-config\.yaml|Makefile|\features/.*)'
9
9
  pass_filenames: false
10
10
  - id: format-examples
data/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.3.0 / 2022-10-24
4
+
5
+ ### Fixed
6
+ * Add Default Rule ID in SignalRuleResponseQuery by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1096
7
+ * Remove incident's resolved attribute from update requests by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1098
8
+ * Fix event monitor created_at by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1099
9
+ * Fix spectral rules by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1102
10
+ ### Added
11
+ * Add notify_by monitor option by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1089
12
+ * Add support for service definitions APIs by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1103
13
+ * Add support for confluent cloud integration by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1046
14
+ ### Changed
15
+ * Validate models in BDD and cleanup serialization/deserialization of models by @skarimo in https://github.com/DataDog/datadog-api-client-ruby/pull/1045
16
+ ### Deprecated
17
+ * Deprecate metric field of Security Monitoring Rules by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1107
18
+ * Add deprecation warnings to API and models by @therve in https://github.com/DataDog/datadog-api-client-ruby/pull/1111
19
+
20
+
21
+ **Full Changelog**: https://github.com/DataDog/datadog-api-client-ruby/compare/v2.2.0...v2.3.0
22
+
23
+ ## 2.2.0 / 2022-10-03
24
+
25
+ ### Fixed
26
+ * Refactor RuleQuery models by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1082
27
+ * Fix SearchSLO response structure by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1084
28
+ ### Added
29
+ * Add ListActiveConfigurations endpoint and add new filter[queried] param to list tag configurations endpoint by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1017
30
+ * Add doesNotExist to synthetics operator enum by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1059
31
+ * Add TopologyMapWidget to dashboard schema by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1063
32
+ * Add Overall Status support to SLO Search API by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1065
33
+ * Add support for proxy usage by @skarimo in https://github.com/DataDog/datadog-api-client-ruby/pull/1069
34
+ * Add APM Fargate to Usage Metering API by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1058
35
+ * Add support for template variable multiselect in dashboards by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1068
36
+ * Add storage option to widget query definitions by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1072
37
+ * Add support for retrieving a security signal by ID by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1077
38
+ * Add support for signal correlation API by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1073
39
+ * Add support for SLO List widget by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1076
40
+ * Add new historical_cost endpoint, and update estimate_cost by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1071
41
+ * Add support for incident attachment APIs by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-ruby/pull/1083
42
+
43
+ ## New Contributors
44
+ * @nkzou made their first contribution in https://github.com/DataDog/datadog-api-client-ruby/pull/1057
45
+ * @dependabot made their first contribution in https://github.com/DataDog/datadog-api-client-ruby/pull/1091
46
+
47
+ **Full Changelog**: https://github.com/DataDog/datadog-api-client-ruby/compare/v2.1.0...v2.2.0
48
+
3
49
  ## 2.1.0 / 2022-08-31
4
50
 
5
51
  ### Added
data/Gemfile CHANGED
@@ -18,6 +18,7 @@ group :development, :test do
18
18
  gem 'vcr'
19
19
  gem 'webmock'
20
20
  gem 'zstandard'
21
+ gem 'pry'
21
22
  end
22
23
 
23
24
  group :docs do
data/README.md CHANGED
@@ -138,6 +138,17 @@ config.debugging = true
138
138
  client = DatadogAPIClient::APIClient.new(config)
139
139
  ```
140
140
 
141
+ ### Configure proxy
142
+
143
+ You can configure the client to use proxy by setting `http_proxyaddr` and `http_proxyport` keys on configuration object:
144
+
145
+ ```ruby
146
+ config = DatadogAPIClient::Configuration.new
147
+ config.http_proxyaddr = '127.0.0.1'
148
+ config.http_proxyport = '3128'
149
+ client = DatadogAPIClient::APIClient.new(config)
150
+ ```
151
+
141
152
  ### Pagination
142
153
 
143
154
  Several listing operations have a pagination method to help consume all the items available.
@@ -0,0 +1,38 @@
1
+ # Create a new dashboard with slo list widget
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V1::DashboardsAPI.new
5
+
6
+ body = DatadogAPIClient::V1::Dashboard.new({
7
+ title: "Example-Create_a_new_dashboard_with_slo_list_widget",
8
+ description: "",
9
+ widgets: [
10
+ DatadogAPIClient::V1::Widget.new({
11
+ layout: DatadogAPIClient::V1::WidgetLayout.new({
12
+ x: 0,
13
+ y: 0,
14
+ width: 60,
15
+ height: 21,
16
+ }),
17
+ definition: DatadogAPIClient::V1::SLOListWidgetDefinition.new({
18
+ title_size: "16",
19
+ title_align: DatadogAPIClient::V1::WidgetTextAlign::LEFT,
20
+ type: DatadogAPIClient::V1::SLOListWidgetDefinitionType::SLO_LIST,
21
+ requests: [
22
+ DatadogAPIClient::V1::SLOListWidgetRequest.new({
23
+ query: DatadogAPIClient::V1::SLOListWidgetQuery.new({
24
+ query_string: "env:prod AND service:my-app",
25
+ limit: 75,
26
+ }),
27
+ request_type: DatadogAPIClient::V1::SLOListWidgetRequestType::SLO_LIST,
28
+ }),
29
+ ],
30
+ }),
31
+ }),
32
+ ],
33
+ template_variables: [],
34
+ layout_type: DatadogAPIClient::V1::DashboardLayoutType::FREE,
35
+ is_read_only: false,
36
+ notify_list: [],
37
+ })
38
+ p api_instance.create_dashboard(body)
@@ -0,0 +1,43 @@
1
+ # Create a new dashboard with topology_map widget
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V1::DashboardsAPI.new
5
+
6
+ body = DatadogAPIClient::V1::Dashboard.new({
7
+ title: "Example-Create_a_new_dashboard_with_topology_map_widget",
8
+ description: "",
9
+ widgets: [
10
+ DatadogAPIClient::V1::Widget.new({
11
+ layout: DatadogAPIClient::V1::WidgetLayout.new({
12
+ x: 0,
13
+ y: 0,
14
+ width: 47,
15
+ height: 15,
16
+ }),
17
+ definition: DatadogAPIClient::V1::TopologyMapWidgetDefinition.new({
18
+ title: "",
19
+ title_size: "16",
20
+ title_align: DatadogAPIClient::V1::WidgetTextAlign::LEFT,
21
+ type: DatadogAPIClient::V1::TopologyMapWidgetDefinitionType::TOPOLOGY_MAP,
22
+ requests: [
23
+ DatadogAPIClient::V1::TopologyRequest.new({
24
+ request_type: DatadogAPIClient::V1::TopologyRequestType::TOPOLOGY,
25
+ query: DatadogAPIClient::V1::TopologyQuery.new({
26
+ data_source: DatadogAPIClient::V1::TopologyQueryDataSource::SERVICE_MAP,
27
+ service: "",
28
+ filters: [
29
+ "env:none",
30
+ "environment:*",
31
+ ],
32
+ }),
33
+ }),
34
+ ],
35
+ }),
36
+ }),
37
+ ],
38
+ template_variables: [],
39
+ layout_type: DatadogAPIClient::V1::DashboardLayoutType::FREE,
40
+ is_read_only: false,
41
+ notify_list: [],
42
+ })
43
+ p api_instance.create_dashboard(body)
@@ -0,0 +1,55 @@
1
+ # Create a new dashboard with template variable presets using values returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V1::DashboardsAPI.new
5
+
6
+ body = DatadogAPIClient::V1::Dashboard.new({
7
+ description: nil,
8
+ is_read_only: false,
9
+ layout_type: DatadogAPIClient::V1::DashboardLayoutType::ORDERED,
10
+ notify_list: [],
11
+ reflow_type: DatadogAPIClient::V1::DashboardReflowType::AUTO,
12
+ restricted_roles: [],
13
+ template_variable_presets: [
14
+ DatadogAPIClient::V1::DashboardTemplateVariablePreset.new({
15
+ name: "my saved view",
16
+ template_variables: [
17
+ DatadogAPIClient::V1::DashboardTemplateVariablePresetValue.new({
18
+ name: "datacenter",
19
+ values: [
20
+ "*",
21
+ "my-host",
22
+ ],
23
+ }),
24
+ ],
25
+ }),
26
+ ],
27
+ template_variables: [
28
+ DatadogAPIClient::V1::DashboardTemplateVariable.new({
29
+ available_values: [
30
+ "my-host",
31
+ "host1",
32
+ "host2",
33
+ ],
34
+ defaults: [
35
+ "my-host",
36
+ ],
37
+ name: "host1",
38
+ prefix: "host",
39
+ }),
40
+ ],
41
+ title: "",
42
+ widgets: [
43
+ DatadogAPIClient::V1::Widget.new({
44
+ definition: DatadogAPIClient::V1::HostMapWidgetDefinition.new({
45
+ requests: DatadogAPIClient::V1::HostMapWidgetDefinitionRequests.new({
46
+ fill: DatadogAPIClient::V1::HostMapRequest.new({
47
+ q: "avg:system.cpu.user{*}",
48
+ }),
49
+ }),
50
+ type: DatadogAPIClient::V1::HostMapWidgetDefinitionType::HOSTMAP,
51
+ }),
52
+ }),
53
+ ],
54
+ })
55
+ p api_instance.create_dashboard(body)
@@ -0,0 +1,33 @@
1
+ # Create a new dashboard with logs_stream list_stream widget and storage parameter
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V1::DashboardsAPI.new
5
+
6
+ body = DatadogAPIClient::V1::Dashboard.new({
7
+ layout_type: DatadogAPIClient::V1::DashboardLayoutType::ORDERED,
8
+ title: "Example-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter with list_stream widget",
9
+ widgets: [
10
+ DatadogAPIClient::V1::Widget.new({
11
+ definition: DatadogAPIClient::V1::ListStreamWidgetDefinition.new({
12
+ type: DatadogAPIClient::V1::ListStreamWidgetDefinitionType::LIST_STREAM,
13
+ requests: [
14
+ DatadogAPIClient::V1::ListStreamWidgetRequest.new({
15
+ columns: [
16
+ DatadogAPIClient::V1::ListStreamColumn.new({
17
+ width: DatadogAPIClient::V1::ListStreamColumnWidth::AUTO,
18
+ field: "timestamp",
19
+ }),
20
+ ],
21
+ query: DatadogAPIClient::V1::ListStreamQuery.new({
22
+ data_source: DatadogAPIClient::V1::ListStreamSource::LOGS_STREAM,
23
+ query_string: "",
24
+ storage: "hot",
25
+ }),
26
+ response_format: DatadogAPIClient::V1::ListStreamResponseFormat::EVENT_LIST,
27
+ }),
28
+ ],
29
+ }),
30
+ }),
31
+ ],
32
+ })
33
+ p api_instance.create_dashboard(body)
@@ -0,0 +1,50 @@
1
+ # Create a new dashboard with logs query table widget and storage parameter
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V1::DashboardsAPI.new
5
+
6
+ body = DatadogAPIClient::V1::Dashboard.new({
7
+ layout_type: DatadogAPIClient::V1::DashboardLayoutType::ORDERED,
8
+ title: "Example-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter with query table widget and storage parameter",
9
+ widgets: [
10
+ DatadogAPIClient::V1::Widget.new({
11
+ definition: DatadogAPIClient::V1::TableWidgetDefinition.new({
12
+ type: DatadogAPIClient::V1::TableWidgetDefinitionType::QUERY_TABLE,
13
+ requests: [
14
+ DatadogAPIClient::V1::TableWidgetRequest.new({
15
+ queries: [
16
+ DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinition.new({
17
+ data_source: DatadogAPIClient::V1::FormulaAndFunctionEventsDataSource::LOGS,
18
+ name: "query1",
19
+ search: DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinitionSearch.new({
20
+ query: "",
21
+ }),
22
+ indexes: [
23
+ "*",
24
+ ],
25
+ compute: DatadogAPIClient::V1::FormulaAndFunctionEventQueryDefinitionCompute.new({
26
+ aggregation: DatadogAPIClient::V1::FormulaAndFunctionEventAggregation::COUNT,
27
+ }),
28
+ group_by: [],
29
+ storage: "online_archives",
30
+ }),
31
+ ],
32
+ formulas: [
33
+ DatadogAPIClient::V1::WidgetFormula.new({
34
+ conditional_formats: [],
35
+ cell_display_mode: DatadogAPIClient::V1::TableWidgetCellDisplayMode::BAR,
36
+ formula: "query1",
37
+ limit: DatadogAPIClient::V1::WidgetFormulaLimit.new({
38
+ count: 50,
39
+ order: DatadogAPIClient::V1::QuerySortOrder::DESC,
40
+ }),
41
+ }),
42
+ ],
43
+ response_format: DatadogAPIClient::V1::FormulaAndFunctionResponseFormat::SCALAR,
44
+ }),
45
+ ],
46
+ }),
47
+ }),
48
+ ],
49
+ })
50
+ p api_instance.create_dashboard(body)
@@ -0,0 +1,41 @@
1
+ # Create a new dashboard with template variable defaults returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V1::DashboardsAPI.new
5
+
6
+ body = DatadogAPIClient::V1::Dashboard.new({
7
+ description: nil,
8
+ is_read_only: false,
9
+ layout_type: DatadogAPIClient::V1::DashboardLayoutType::ORDERED,
10
+ notify_list: [],
11
+ reflow_type: DatadogAPIClient::V1::DashboardReflowType::AUTO,
12
+ restricted_roles: [],
13
+ template_variables: [
14
+ DatadogAPIClient::V1::DashboardTemplateVariable.new({
15
+ available_values: [
16
+ "my-host",
17
+ "host1",
18
+ "host2",
19
+ ],
20
+ defaults: [
21
+ "my-host",
22
+ ],
23
+ name: "host1",
24
+ prefix: "host",
25
+ }),
26
+ ],
27
+ title: "",
28
+ widgets: [
29
+ DatadogAPIClient::V1::Widget.new({
30
+ definition: DatadogAPIClient::V1::HostMapWidgetDefinition.new({
31
+ requests: DatadogAPIClient::V1::HostMapWidgetDefinitionRequests.new({
32
+ fill: DatadogAPIClient::V1::HostMapRequest.new({
33
+ q: "avg:system.cpu.user{*}",
34
+ }),
35
+ }),
36
+ type: DatadogAPIClient::V1::HostMapWidgetDefinitionType::HOSTMAP,
37
+ }),
38
+ }),
39
+ ],
40
+ })
41
+ p api_instance.create_dashboard(body)
@@ -6,7 +6,7 @@ api_instance = DatadogAPIClient::V1::MonitorsAPI.new
6
6
  body = DatadogAPIClient::V1::Monitor.new({
7
7
  name: "Example-Validate_a_multi_alert_monitor_returns_OK_response",
8
8
  type: DatadogAPIClient::V1::MonitorType::LOG_ALERT,
9
- query: 'logs("service:foo AND type:error").index("main").rollup("count").by("source").last("5m") > 2',
9
+ query: 'logs("service:foo AND type:error").index("main").rollup("count").by("source,status").last("5m") > 2',
10
10
  message: "some message Notify: @hipchat-channel",
11
11
  tags: [
12
12
  "test:examplevalidateamultialertmonitorreturnsokresponse",
@@ -24,6 +24,9 @@ body = DatadogAPIClient::V1::Monitor.new({
24
24
  new_host_delay: 600,
25
25
  no_data_timeframe: nil,
26
26
  notify_audit: false,
27
+ notify_by: [
28
+ "status",
29
+ ],
27
30
  notify_no_data: false,
28
31
  on_missing_data: DatadogAPIClient::V1::OnMissingDataOption::SHOW_AND_NOTIFY_NO_DATA,
29
32
  renotify_interval: 60,