datadog_api_client 2.26.1 → 2.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +0 -3
  4. data/.generator/schemas/v1/openapi.yaml +2123 -212
  5. data/.generator/schemas/v2/openapi.yaml +3082 -240
  6. data/.generator/src/generator/formatter.py +3 -44
  7. data/.generator/src/generator/keywords.json +43 -0
  8. data/.generator/src/generator/templates/api.j2 +4 -0
  9. data/.generator/src/generator/templates/api_client.j2 +1 -0
  10. data/.github/workflows/approved_status.yml +4 -0
  11. data/.github/workflows/changelog.yml +5 -0
  12. data/.github/workflows/codeql-analysis.yml +4 -0
  13. data/.github/workflows/docs.yml +3 -0
  14. data/.github/workflows/labeler.yml +5 -0
  15. data/.github/workflows/prepare_release.yml +4 -0
  16. data/.github/workflows/publish.yml +5 -0
  17. data/.github/workflows/release.yml +4 -0
  18. data/.github/workflows/stale.yml +6 -0
  19. data/.github/workflows/test.yml +3 -0
  20. data/.github/workflows/test_integration.yml +3 -0
  21. data/CHANGELOG.md +66 -0
  22. data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
  23. data/examples/v1/dashboards/CreateDashboard_1433408735.rb +44 -0
  24. data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
  25. data/examples/v1/dashboards/CreateDashboard_794302680.rb +152 -0
  26. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
  27. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
  28. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
  29. data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
  30. data/examples/v1/monitors/ValidateMonitor.rb +0 -1
  31. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
  32. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
  33. data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +1 -1
  34. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
  35. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
  36. data/examples/v1/synthetics/CreateSyntheticsAPITest_3829801148.rb +1 -1
  37. data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +27 -0
  38. data/examples/v1/synthetics/FetchUptimes.rb +13 -0
  39. data/examples/v1/synthetics/GetMobileTest.rb +8 -0
  40. data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
  41. data/examples/v1/synthetics/UpdateMobileTest.rb +30 -0
  42. data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
  43. data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
  44. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
  45. data/examples/v2/incidents/CreateIncidentType.rb +19 -0
  46. data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
  47. data/examples/v2/incidents/GetIncidentType.rb +8 -0
  48. data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
  49. data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
  50. data/examples/v2/logs/AggregateLogs_2955613758.rb +0 -1
  51. data/examples/v2/metrics/QueryScalarData.rb +0 -3
  52. data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
  53. data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
  54. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
  55. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
  56. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle_1540689753.rb +17 -0
  57. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
  58. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
  59. data/examples/v2/microsoft-teams-integration/GetChannelByName.rb +5 -0
  60. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
  61. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
  62. data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles.rb +5 -0
  63. data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles_769592979.rb +5 -0
  64. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
  65. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
  66. data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
  67. data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
  68. data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
  69. data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
  70. data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
  71. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +9 -0
  72. data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
  73. data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
  74. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
  75. data/lib/datadog_api_client/api_client.rb +1 -0
  76. data/lib/datadog_api_client/configuration.rb +6 -2
  77. data/lib/datadog_api_client/inflector.rb +109 -5
  78. data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
  79. data/lib/datadog_api_client/v1/api/synthetics_api.rb +274 -0
  80. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
  81. data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
  82. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -3
  83. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  84. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -6
  85. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -61
  86. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  87. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
  88. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
  89. data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
  90. data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -0
  91. data/lib/datadog_api_client/v1/models/synthetics_fetch_uptimes_payload.rb +167 -0
  92. data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +229 -0
  93. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
  94. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
  95. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
  96. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
  97. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
  98. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
  99. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
  100. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
  101. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_positions_items.rb +115 -0
  102. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
  103. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_variable.rb +144 -0
  104. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_type.rb +42 -0
  105. data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +263 -0
  106. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +117 -0
  107. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +380 -0
  108. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_type.rb +26 -0
  109. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +173 -0
  110. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application_reference_type.rb +27 -0
  111. data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
  112. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
  113. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
  114. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
  115. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
  116. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options_notification_preset_name.rb +29 -0
  117. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
  118. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
  119. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
  120. data/lib/datadog_api_client/v1/models/synthetics_test_request_port.rb +63 -0
  121. data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding.rb +117 -0
  122. data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding_relation.rb +27 -0
  123. data/lib/datadog_api_client/v1/models/synthetics_test_uptime.rb +135 -0
  124. data/lib/datadog_api_client/v1/models/synthetics_uptime.rb +161 -0
  125. data/lib/datadog_api_client/v1/models/table_widget_request.rb +16 -4
  126. data/lib/datadog_api_client/v1/models/table_widget_text_format_match.rb +144 -0
  127. data/lib/datadog_api_client/v1/models/table_widget_text_format_match_type.rb +31 -0
  128. data/lib/datadog_api_client/v1/models/table_widget_text_format_palette.rb +36 -0
  129. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace.rb +63 -0
  130. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all.rb +144 -0
  131. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all_type.rb +26 -0
  132. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring.rb +165 -0
  133. data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring_type.rb +26 -0
  134. data/lib/datadog_api_client/v1/models/table_widget_text_format_rule.rb +163 -0
  135. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
  136. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +51 -1
  137. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +51 -1
  138. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +51 -1
  139. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +3 -3
  140. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
  141. data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
  142. data/lib/datadog_api_client/v2/api/incidents_api.rb +362 -1
  143. data/lib/datadog_api_client/v2/api/metrics_api.rb +5 -17
  144. data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +434 -0
  145. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +3 -3
  146. data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
  147. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
  148. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
  149. data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
  150. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
  151. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
  152. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
  153. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
  154. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
  155. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
  156. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
  157. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
  158. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
  159. data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
  160. data/lib/datadog_api_client/v2/models/domain_allowlist_attributes.rb +117 -0
  161. data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
  162. data/lib/datadog_api_client/v2/models/domain_allowlist_response.rb +105 -0
  163. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
  164. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
  165. data/lib/datadog_api_client/v2/models/domain_allowlist_type.rb +26 -0
  166. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
  167. data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
  168. data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
  169. data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
  170. data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
  171. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
  172. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
  173. data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
  174. data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
  175. data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
  176. data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
  177. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
  178. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
  179. data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
  180. data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
  181. data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
  182. data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
  183. data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
  184. data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
  185. data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
  186. data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
  187. data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
  188. data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
  189. data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
  190. data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
  191. data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
  192. data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
  193. data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
  194. data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
  195. data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
  196. data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
  197. data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
  198. data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
  199. data/lib/datadog_api_client/v2/models/fastly_services_response.rb +1 -1
  200. data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
  201. data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
  202. data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
  203. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
  204. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
  205. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
  206. data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +1 -1
  207. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
  208. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  209. data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
  210. data/lib/datadog_api_client/v2/models/incident_type_create_data.rb +144 -0
  211. data/lib/datadog_api_client/v2/models/incident_type_create_request.rb +123 -0
  212. data/lib/datadog_api_client/v2/models/incident_type_list_response.rb +125 -0
  213. data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
  214. data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
  215. data/lib/datadog_api_client/v2/models/incident_type_patch_request.rb +123 -0
  216. data/lib/datadog_api_client/v2/models/incident_type_response.rb +123 -0
  217. data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
  218. data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
  219. data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
  220. data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
  221. data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
  222. data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
  223. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
  224. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +1 -1
  225. data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_type_category.rb +27 -0
  226. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +1 -1
  227. data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_attributes.rb +165 -0
  228. data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_data.rb +147 -0
  229. data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_type.rb +26 -0
  230. data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
  231. data/lib/datadog_api_client/v2/models/microsoft_teams_get_channel_by_name_response.rb +105 -0
  232. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_attributes.rb +186 -0
  233. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_attributes.rb +249 -0
  234. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_data.rb +147 -0
  235. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
  236. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_attributes.rb +202 -0
  237. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_data.rb +144 -0
  238. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
  239. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response_data.rb +147 -0
  240. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
  241. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
  242. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
  243. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
  244. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
  245. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
  246. data/lib/datadog_api_client/v2/models/powerpack_template_variable.rb +35 -4
  247. data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
  248. data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
  249. data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
  250. data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
  251. data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
  252. data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
  253. data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
  254. data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
  255. data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
  256. data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
  257. data/lib/datadog_api_client/v2/models/rum_metric_response.rb +105 -0
  258. data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
  259. data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
  260. data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
  261. data/lib/datadog_api_client/v2/models/rum_metric_response_filter.rb +105 -0
  262. data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
  263. data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → rum_metric_response_uniqueness.rb} +11 -21
  264. data/lib/datadog_api_client/v2/models/rum_metric_type.rb +26 -0
  265. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
  266. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
  267. data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
  268. data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
  269. data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
  270. data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
  271. data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
  272. data/lib/datadog_api_client/v2/models/security_monitoring_reference_table.rb +145 -0
  273. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
  274. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
  275. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +13 -1
  276. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  277. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_test_payload.rb +13 -1
  278. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
  279. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
  280. data/lib/datadog_api_client/v2/models/team_update_attributes.rb +1 -26
  281. data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
  282. data/lib/datadog_api_client/version.rb +1 -1
  283. metadata +145 -8
  284. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
@@ -195,29 +195,33 @@ module DatadogAPIClient
195
195
  "v2.list_apis": false,
196
196
  "v2.update_open_api": false,
197
197
  "v2.get_active_billing_dimensions": false,
198
+ "v2.get_billing_dimension_mapping": false,
198
199
  "v2.get_monthly_cost_attribution": false,
199
200
  "v2.create_dora_deployment": false,
200
201
  "v2.create_dora_incident": false,
201
202
  "v2.create_incident": false,
202
203
  "v2.create_incident_integration": false,
203
204
  "v2.create_incident_todo": false,
205
+ "v2.create_incident_type": false,
204
206
  "v2.delete_incident": false,
205
207
  "v2.delete_incident_integration": false,
206
208
  "v2.delete_incident_todo": false,
209
+ "v2.delete_incident_type": false,
207
210
  "v2.get_incident": false,
208
211
  "v2.get_incident_integration": false,
209
212
  "v2.get_incident_todo": false,
213
+ "v2.get_incident_type": false,
210
214
  "v2.list_incident_attachments": false,
211
215
  "v2.list_incident_integrations": false,
212
216
  "v2.list_incidents": false,
213
217
  "v2.list_incident_todos": false,
218
+ "v2.list_incident_types": false,
214
219
  "v2.search_incidents": false,
215
220
  "v2.update_incident": false,
216
221
  "v2.update_incident_attachments": false,
217
222
  "v2.update_incident_integration": false,
218
223
  "v2.update_incident_todo": false,
219
- "v2.query_scalar_data": false,
220
- "v2.query_timeseries_data": false,
224
+ "v2.update_incident_type": false,
221
225
  "v2.get_finding": false,
222
226
  "v2.list_findings": false,
223
227
  "v2.mute_findings": false,
@@ -588,6 +588,7 @@ module DatadogAPIClient
588
588
  "v1.synthetics_batch_details" => "SyntheticsBatchDetails",
589
589
  "v1.synthetics_batch_details_data" => "SyntheticsBatchDetailsData",
590
590
  "v1.synthetics_batch_result" => "SyntheticsBatchResult",
591
+ "v1.synthetics_batch_status" => "SyntheticsBatchStatus",
591
592
  "v1.synthetics_browser_error" => "SyntheticsBrowserError",
592
593
  "v1.synthetics_browser_error_type" => "SyntheticsBrowserErrorType",
593
594
  "v1.synthetics_browser_test" => "SyntheticsBrowserTest",
@@ -619,6 +620,7 @@ module DatadogAPIClient
619
620
  "v1.synthetics_delete_tests_response" => "SyntheticsDeleteTestsResponse",
620
621
  "v1.synthetics_device" => "SyntheticsDevice",
621
622
  "v1.synthetics_device_id" => "SyntheticsDeviceID",
623
+ "v1.synthetics_fetch_uptimes_payload" => "SyntheticsFetchUptimesPayload",
622
624
  "v1.synthetics_get_api_test_latest_results_response" => "SyntheticsGetAPITestLatestResultsResponse",
623
625
  "v1.synthetics_get_browser_test_latest_results_response" => "SyntheticsGetBrowserTestLatestResultsResponse",
624
626
  "v1.synthetics_global_variable" => "SyntheticsGlobalVariable",
@@ -635,6 +637,25 @@ module DatadogAPIClient
635
637
  "v1.synthetics_local_variable_parsing_options_type" => "SyntheticsLocalVariableParsingOptionsType",
636
638
  "v1.synthetics_location" => "SyntheticsLocation",
637
639
  "v1.synthetics_locations" => "SyntheticsLocations",
640
+ "v1.synthetics_mobile_step" => "SyntheticsMobileStep",
641
+ "v1.synthetics_mobile_step_params" => "SyntheticsMobileStepParams",
642
+ "v1.synthetics_mobile_step_params_direction" => "SyntheticsMobileStepParamsDirection",
643
+ "v1.synthetics_mobile_step_params_element" => "SyntheticsMobileStepParamsElement",
644
+ "v1.synthetics_mobile_step_params_element_context_type" => "SyntheticsMobileStepParamsElementContextType",
645
+ "v1.synthetics_mobile_step_params_element_relative_position" => "SyntheticsMobileStepParamsElementRelativePosition",
646
+ "v1.synthetics_mobile_step_params_element_user_locator" => "SyntheticsMobileStepParamsElementUserLocator",
647
+ "v1.synthetics_mobile_step_params_element_user_locator_values_items" => "SyntheticsMobileStepParamsElementUserLocatorValuesItems",
648
+ "v1.synthetics_mobile_step_params_element_user_locator_values_items_type" => "SyntheticsMobileStepParamsElementUserLocatorValuesItemsType",
649
+ "v1.synthetics_mobile_step_params_positions_items" => "SyntheticsMobileStepParamsPositionsItems",
650
+ "v1.synthetics_mobile_step_params_value" => "SyntheticsMobileStepParamsValue",
651
+ "v1.synthetics_mobile_step_params_variable" => "SyntheticsMobileStepParamsVariable",
652
+ "v1.synthetics_mobile_step_type" => "SyntheticsMobileStepType",
653
+ "v1.synthetics_mobile_test" => "SyntheticsMobileTest",
654
+ "v1.synthetics_mobile_test_config" => "SyntheticsMobileTestConfig",
655
+ "v1.synthetics_mobile_test_options" => "SyntheticsMobileTestOptions",
656
+ "v1.synthetics_mobile_tests_mobile_application" => "SyntheticsMobileTestsMobileApplication",
657
+ "v1.synthetics_mobile_tests_mobile_application_reference_type" => "SyntheticsMobileTestsMobileApplicationReferenceType",
658
+ "v1.synthetics_mobile_test_type" => "SyntheticsMobileTestType",
638
659
  "v1.synthetics_parsing_options" => "SyntheticsParsingOptions",
639
660
  "v1.synthetics_patch_test_body" => "SyntheticsPatchTestBody",
640
661
  "v1.synthetics_patch_test_operation" => "SyntheticsPatchTestOperation",
@@ -650,7 +671,6 @@ module DatadogAPIClient
650
671
  "v1.synthetics_ssl_certificate" => "SyntheticsSSLCertificate",
651
672
  "v1.synthetics_ssl_certificate_issuer" => "SyntheticsSSLCertificateIssuer",
652
673
  "v1.synthetics_ssl_certificate_subject" => "SyntheticsSSLCertificateSubject",
653
- "v1.synthetics_status" => "SyntheticsStatus",
654
674
  "v1.synthetics_step" => "SyntheticsStep",
655
675
  "v1.synthetics_step_detail" => "SyntheticsStepDetail",
656
676
  "v1.synthetics_step_detail_warning" => "SyntheticsStepDetailWarning",
@@ -666,6 +686,7 @@ module DatadogAPIClient
666
686
  "v1.synthetics_test_options" => "SyntheticsTestOptions",
667
687
  "v1.synthetics_test_options_http_version" => "SyntheticsTestOptionsHTTPVersion",
668
688
  "v1.synthetics_test_options_monitor_options" => "SyntheticsTestOptionsMonitorOptions",
689
+ "v1.synthetics_test_options_monitor_options_notification_preset_name" => "SyntheticsTestOptionsMonitorOptionsNotificationPresetName",
669
690
  "v1.synthetics_test_options_retry" => "SyntheticsTestOptionsRetry",
670
691
  "v1.synthetics_test_options_scheduling" => "SyntheticsTestOptionsScheduling",
671
692
  "v1.synthetics_test_options_scheduling_timeframe" => "SyntheticsTestOptionsSchedulingTimeframe",
@@ -676,7 +697,11 @@ module DatadogAPIClient
676
697
  "v1.synthetics_test_request_body_type" => "SyntheticsTestRequestBodyType",
677
698
  "v1.synthetics_test_request_certificate" => "SyntheticsTestRequestCertificate",
678
699
  "v1.synthetics_test_request_certificate_item" => "SyntheticsTestRequestCertificateItem",
700
+ "v1.synthetics_test_request_port" => "SyntheticsTestRequestPort",
679
701
  "v1.synthetics_test_request_proxy" => "SyntheticsTestRequestProxy",
702
+ "v1.synthetics_test_restriction_policy_binding" => "SyntheticsTestRestrictionPolicyBinding",
703
+ "v1.synthetics_test_restriction_policy_binding_relation" => "SyntheticsTestRestrictionPolicyBindingRelation",
704
+ "v1.synthetics_test_uptime" => "SyntheticsTestUptime",
680
705
  "v1.synthetics_timing" => "SyntheticsTiming",
681
706
  "v1.synthetics_trigger_body" => "SyntheticsTriggerBody",
682
707
  "v1.synthetics_trigger_ci_test_location" => "SyntheticsTriggerCITestLocation",
@@ -684,6 +709,7 @@ module DatadogAPIClient
684
709
  "v1.synthetics_trigger_ci_tests_response" => "SyntheticsTriggerCITestsResponse",
685
710
  "v1.synthetics_trigger_test" => "SyntheticsTriggerTest",
686
711
  "v1.synthetics_update_test_pause_status_payload" => "SyntheticsUpdateTestPauseStatusPayload",
712
+ "v1.synthetics_uptime" => "SyntheticsUptime",
687
713
  "v1.synthetics_variable_parser" => "SyntheticsVariableParser",
688
714
  "v1.synthetics_warning_type" => "SyntheticsWarningType",
689
715
  "v1.table_widget_cell_display_mode" => "TableWidgetCellDisplayMode",
@@ -691,6 +717,15 @@ module DatadogAPIClient
691
717
  "v1.table_widget_definition_type" => "TableWidgetDefinitionType",
692
718
  "v1.table_widget_has_search_bar" => "TableWidgetHasSearchBar",
693
719
  "v1.table_widget_request" => "TableWidgetRequest",
720
+ "v1.table_widget_text_format_match" => "TableWidgetTextFormatMatch",
721
+ "v1.table_widget_text_format_match_type" => "TableWidgetTextFormatMatchType",
722
+ "v1.table_widget_text_format_palette" => "TableWidgetTextFormatPalette",
723
+ "v1.table_widget_text_format_replace" => "TableWidgetTextFormatReplace",
724
+ "v1.table_widget_text_format_replace_all" => "TableWidgetTextFormatReplaceAll",
725
+ "v1.table_widget_text_format_replace_all_type" => "TableWidgetTextFormatReplaceAllType",
726
+ "v1.table_widget_text_format_replace_substring" => "TableWidgetTextFormatReplaceSubstring",
727
+ "v1.table_widget_text_format_replace_substring_type" => "TableWidgetTextFormatReplaceSubstringType",
728
+ "v1.table_widget_text_format_rule" => "TableWidgetTextFormatRule",
694
729
  "v1.tag_to_hosts" => "TagToHosts",
695
730
  "v1.target_format_type" => "TargetFormatType",
696
731
  "v1.timeseries_background" => "TimeseriesBackground",
@@ -953,10 +988,6 @@ module DatadogAPIClient
953
988
  "v2.aws_cur_config_response" => "AwsCURConfigResponse",
954
989
  "v2.aws_cur_configs_response" => "AwsCURConfigsResponse",
955
990
  "v2.aws_cur_config_type" => "AwsCURConfigType",
956
- "v2.aws_related_account" => "AWSRelatedAccount",
957
- "v2.aws_related_account_attributes" => "AWSRelatedAccountAttributes",
958
- "v2.aws_related_accounts_response" => "AWSRelatedAccountsResponse",
959
- "v2.aws_related_account_type" => "AWSRelatedAccountType",
960
991
  "v2.azure_uc_config" => "AzureUCConfig",
961
992
  "v2.azure_uc_config_pair" => "AzureUCConfigPair",
962
993
  "v2.azure_uc_config_pair_attributes" => "AzureUCConfigPairAttributes",
@@ -972,6 +1003,11 @@ module DatadogAPIClient
972
1003
  "v2.azure_uc_config_post_request_type" => "AzureUCConfigPostRequestType",
973
1004
  "v2.azure_uc_configs_response" => "AzureUCConfigsResponse",
974
1005
  "v2.bill_config" => "BillConfig",
1006
+ "v2.billing_dimensions_mapping_body_item" => "BillingDimensionsMappingBodyItem",
1007
+ "v2.billing_dimensions_mapping_body_item_attributes" => "BillingDimensionsMappingBodyItemAttributes",
1008
+ "v2.billing_dimensions_mapping_body_item_attributes_endpoints_items" => "BillingDimensionsMappingBodyItemAttributesEndpointsItems",
1009
+ "v2.billing_dimensions_mapping_body_item_attributes_endpoints_items_status" => "BillingDimensionsMappingBodyItemAttributesEndpointsItemsStatus",
1010
+ "v2.billing_dimensions_mapping_response" => "BillingDimensionsMappingResponse",
975
1011
  "v2.bulk_mute_findings_request" => "BulkMuteFindingsRequest",
976
1012
  "v2.bulk_mute_findings_request_attributes" => "BulkMuteFindingsRequestAttributes",
977
1013
  "v2.bulk_mute_findings_request_data" => "BulkMuteFindingsRequestData",
@@ -1249,6 +1285,13 @@ module DatadogAPIClient
1249
1285
  "v2.device_attributes" => "DeviceAttributes",
1250
1286
  "v2.device_attributes_interface_statuses" => "DeviceAttributesInterfaceStatuses",
1251
1287
  "v2.devices_list_data" => "DevicesListData",
1288
+ "v2.domain_allowlist" => "DomainAllowlist",
1289
+ "v2.domain_allowlist_attributes" => "DomainAllowlistAttributes",
1290
+ "v2.domain_allowlist_request" => "DomainAllowlistRequest",
1291
+ "v2.domain_allowlist_response" => "DomainAllowlistResponse",
1292
+ "v2.domain_allowlist_response_data" => "DomainAllowlistResponseData",
1293
+ "v2.domain_allowlist_response_data_attributes" => "DomainAllowlistResponseDataAttributes",
1294
+ "v2.domain_allowlist_type" => "DomainAllowlistType",
1252
1295
  "v2.dora_deployment_request" => "DORADeploymentRequest",
1253
1296
  "v2.dora_deployment_request_attributes" => "DORADeploymentRequestAttributes",
1254
1297
  "v2.dora_deployment_request_data" => "DORADeploymentRequestData",
@@ -1405,11 +1448,13 @@ module DatadogAPIClient
1405
1448
  "v2.finding_rule" => "FindingRule",
1406
1449
  "v2.finding_status" => "FindingStatus",
1407
1450
  "v2.finding_type" => "FindingType",
1451
+ "v2.finding_vulnerability_type" => "FindingVulnerabilityType",
1408
1452
  "v2.formula_limit" => "FormulaLimit",
1409
1453
  "v2.full_api_key" => "FullAPIKey",
1410
1454
  "v2.full_api_key_attributes" => "FullAPIKeyAttributes",
1411
1455
  "v2.full_application_key" => "FullApplicationKey",
1412
1456
  "v2.full_application_key_attributes" => "FullApplicationKeyAttributes",
1457
+ "v2.gcp_metric_namespace_config" => "GCPMetricNamespaceConfig",
1413
1458
  "v2.gcp_service_account_meta" => "GCPServiceAccountMeta",
1414
1459
  "v2.gcp_service_account_type" => "GCPServiceAccountType",
1415
1460
  "v2.gcpsts_delegate_account" => "GCPSTSDelegateAccount",
@@ -1557,10 +1602,22 @@ module DatadogAPIClient
1557
1602
  "v2.incident_todo_response_included_item" => "IncidentTodoResponseIncludedItem",
1558
1603
  "v2.incident_todo_type" => "IncidentTodoType",
1559
1604
  "v2.incident_type" => "IncidentType",
1605
+ "v2.incident_type_attributes" => "IncidentTypeAttributes",
1606
+ "v2.incident_type_create_data" => "IncidentTypeCreateData",
1607
+ "v2.incident_type_create_request" => "IncidentTypeCreateRequest",
1608
+ "v2.incident_type_list_response" => "IncidentTypeListResponse",
1609
+ "v2.incident_type_object" => "IncidentTypeObject",
1610
+ "v2.incident_type_patch_data" => "IncidentTypePatchData",
1611
+ "v2.incident_type_patch_request" => "IncidentTypePatchRequest",
1612
+ "v2.incident_type_response" => "IncidentTypeResponse",
1613
+ "v2.incident_type_type" => "IncidentTypeType",
1614
+ "v2.incident_type_update_attributes" => "IncidentTypeUpdateAttributes",
1560
1615
  "v2.incident_update_attributes" => "IncidentUpdateAttributes",
1561
1616
  "v2.incident_update_data" => "IncidentUpdateData",
1562
1617
  "v2.incident_update_relationships" => "IncidentUpdateRelationships",
1563
1618
  "v2.incident_update_request" => "IncidentUpdateRequest",
1619
+ "v2.incident_user_attributes" => "IncidentUserAttributes",
1620
+ "v2.incident_user_data" => "IncidentUserData",
1564
1621
  "v2.incident_user_defined_field_type" => "IncidentUserDefinedFieldType",
1565
1622
  "v2.include_type" => "IncludeType",
1566
1623
  "v2.intake_payload_accepted" => "IntakePayloadAccepted",
@@ -1757,6 +1814,7 @@ module DatadogAPIClient
1757
1814
  "v2.metric_tag_configuration_create_attributes" => "MetricTagConfigurationCreateAttributes",
1758
1815
  "v2.metric_tag_configuration_create_data" => "MetricTagConfigurationCreateData",
1759
1816
  "v2.metric_tag_configuration_create_request" => "MetricTagConfigurationCreateRequest",
1817
+ "v2.metric_tag_configuration_metric_type_category" => "MetricTagConfigurationMetricTypeCategory",
1760
1818
  "v2.metric_tag_configuration_metric_types" => "MetricTagConfigurationMetricTypes",
1761
1819
  "v2.metric_tag_configuration_response" => "MetricTagConfigurationResponse",
1762
1820
  "v2.metric_tag_configuration_type" => "MetricTagConfigurationType",
@@ -1766,6 +1824,23 @@ module DatadogAPIClient
1766
1824
  "v2.metric_type" => "MetricType",
1767
1825
  "v2.metric_volumes" => "MetricVolumes",
1768
1826
  "v2.metric_volumes_response" => "MetricVolumesResponse",
1827
+ "v2.microsoft_teams_channel_info_response_attributes" => "MicrosoftTeamsChannelInfoResponseAttributes",
1828
+ "v2.microsoft_teams_channel_info_response_data" => "MicrosoftTeamsChannelInfoResponseData",
1829
+ "v2.microsoft_teams_channel_info_type" => "MicrosoftTeamsChannelInfoType",
1830
+ "v2.microsoft_teams_create_tenant_based_handle_request" => "MicrosoftTeamsCreateTenantBasedHandleRequest",
1831
+ "v2.microsoft_teams_get_channel_by_name_response" => "MicrosoftTeamsGetChannelByNameResponse",
1832
+ "v2.microsoft_teams_tenant_based_handle_attributes" => "MicrosoftTeamsTenantBasedHandleAttributes",
1833
+ "v2.microsoft_teams_tenant_based_handle_info_response_attributes" => "MicrosoftTeamsTenantBasedHandleInfoResponseAttributes",
1834
+ "v2.microsoft_teams_tenant_based_handle_info_response_data" => "MicrosoftTeamsTenantBasedHandleInfoResponseData",
1835
+ "v2.microsoft_teams_tenant_based_handle_info_type" => "MicrosoftTeamsTenantBasedHandleInfoType",
1836
+ "v2.microsoft_teams_tenant_based_handle_request_attributes" => "MicrosoftTeamsTenantBasedHandleRequestAttributes",
1837
+ "v2.microsoft_teams_tenant_based_handle_request_data" => "MicrosoftTeamsTenantBasedHandleRequestData",
1838
+ "v2.microsoft_teams_tenant_based_handle_response" => "MicrosoftTeamsTenantBasedHandleResponse",
1839
+ "v2.microsoft_teams_tenant_based_handle_response_data" => "MicrosoftTeamsTenantBasedHandleResponseData",
1840
+ "v2.microsoft_teams_tenant_based_handles_response" => "MicrosoftTeamsTenantBasedHandlesResponse",
1841
+ "v2.microsoft_teams_tenant_based_handle_type" => "MicrosoftTeamsTenantBasedHandleType",
1842
+ "v2.microsoft_teams_update_tenant_based_handle_request" => "MicrosoftTeamsUpdateTenantBasedHandleRequest",
1843
+ "v2.microsoft_teams_update_tenant_based_handle_request_data" => "MicrosoftTeamsUpdateTenantBasedHandleRequestData",
1769
1844
  "v2.monitor_config_policy_attribute_create_request" => "MonitorConfigPolicyAttributeCreateRequest",
1770
1845
  "v2.monitor_config_policy_attribute_edit_request" => "MonitorConfigPolicyAttributeEditRequest",
1771
1846
  "v2.monitor_config_policy_attribute_response" => "MonitorConfigPolicyAttributeResponse",
@@ -1792,6 +1867,8 @@ module DatadogAPIClient
1792
1867
  "v2.monthly_cost_attribution_meta" => "MonthlyCostAttributionMeta",
1793
1868
  "v2.monthly_cost_attribution_pagination" => "MonthlyCostAttributionPagination",
1794
1869
  "v2.monthly_cost_attribution_response" => "MonthlyCostAttributionResponse",
1870
+ "v2.ms_teams_integration_metadata" => "MSTeamsIntegrationMetadata",
1871
+ "v2.ms_teams_integration_metadata_teams_item" => "MSTeamsIntegrationMetadataTeamsItem",
1795
1872
  "v2.nullable_relationship_to_user" => "NullableRelationshipToUser",
1796
1873
  "v2.nullable_relationship_to_user_data" => "NullableRelationshipToUserData",
1797
1874
  "v2.nullable_user_relationship" => "NullableUserRelationship",
@@ -2022,6 +2099,29 @@ module DatadogAPIClient
2022
2099
  "v2.rum_group_by_histogram" => "RUMGroupByHistogram",
2023
2100
  "v2.rum_group_by_missing" => "RUMGroupByMissing",
2024
2101
  "v2.rum_group_by_total" => "RUMGroupByTotal",
2102
+ "v2.rum_metric_compute" => "RumMetricCompute",
2103
+ "v2.rum_metric_compute_aggregation_type" => "RumMetricComputeAggregationType",
2104
+ "v2.rum_metric_create_attributes" => "RumMetricCreateAttributes",
2105
+ "v2.rum_metric_create_data" => "RumMetricCreateData",
2106
+ "v2.rum_metric_create_request" => "RumMetricCreateRequest",
2107
+ "v2.rum_metric_event_type" => "RumMetricEventType",
2108
+ "v2.rum_metric_filter" => "RumMetricFilter",
2109
+ "v2.rum_metric_group_by" => "RumMetricGroupBy",
2110
+ "v2.rum_metric_response" => "RumMetricResponse",
2111
+ "v2.rum_metric_response_attributes" => "RumMetricResponseAttributes",
2112
+ "v2.rum_metric_response_compute" => "RumMetricResponseCompute",
2113
+ "v2.rum_metric_response_data" => "RumMetricResponseData",
2114
+ "v2.rum_metric_response_filter" => "RumMetricResponseFilter",
2115
+ "v2.rum_metric_response_group_by" => "RumMetricResponseGroupBy",
2116
+ "v2.rum_metric_response_uniqueness" => "RumMetricResponseUniqueness",
2117
+ "v2.rum_metrics_response" => "RumMetricsResponse",
2118
+ "v2.rum_metric_type" => "RumMetricType",
2119
+ "v2.rum_metric_uniqueness" => "RumMetricUniqueness",
2120
+ "v2.rum_metric_uniqueness_when" => "RumMetricUniquenessWhen",
2121
+ "v2.rum_metric_update_attributes" => "RumMetricUpdateAttributes",
2122
+ "v2.rum_metric_update_compute" => "RumMetricUpdateCompute",
2123
+ "v2.rum_metric_update_data" => "RumMetricUpdateData",
2124
+ "v2.rum_metric_update_request" => "RumMetricUpdateRequest",
2025
2125
  "v2.rum_query_filter" => "RUMQueryFilter",
2026
2126
  "v2.rum_query_options" => "RUMQueryOptions",
2027
2127
  "v2.rum_query_page_options" => "RUMQueryPageOptions",
@@ -2068,6 +2168,7 @@ module DatadogAPIClient
2068
2168
  "v2.security_monitoring_filter" => "SecurityMonitoringFilter",
2069
2169
  "v2.security_monitoring_filter_action" => "SecurityMonitoringFilterAction",
2070
2170
  "v2.security_monitoring_list_rules_response" => "SecurityMonitoringListRulesResponse",
2171
+ "v2.security_monitoring_reference_table" => "SecurityMonitoringReferenceTable",
2071
2172
  "v2.security_monitoring_rule_case" => "SecurityMonitoringRuleCase",
2072
2173
  "v2.security_monitoring_rule_case_create" => "SecurityMonitoringRuleCaseCreate",
2073
2174
  "v2.security_monitoring_rule_convert_payload" => "SecurityMonitoringRuleConvertPayload",
@@ -2512,6 +2613,7 @@ module DatadogAPIClient
2512
2613
  "v2.containers_api" => "ContainersAPI",
2513
2614
  "v2.csm_threats_api" => "CSMThreatsAPI",
2514
2615
  "v2.dashboard_lists_api" => "DashboardListsAPI",
2616
+ "v2.domain_allowlist_api" => "DomainAllowlistAPI",
2515
2617
  "v2.dora_metrics_api" => "DORAMetricsAPI",
2516
2618
  "v2.downtimes_api" => "DowntimesAPI",
2517
2619
  "v2.events_api" => "EventsAPI",
@@ -2527,6 +2629,7 @@ module DatadogAPIClient
2527
2629
  "v2.logs_custom_destinations_api" => "LogsCustomDestinationsAPI",
2528
2630
  "v2.logs_metrics_api" => "LogsMetricsAPI",
2529
2631
  "v2.metrics_api" => "MetricsAPI",
2632
+ "v2.microsoft_teams_integration_api" => "MicrosoftTeamsIntegrationAPI",
2530
2633
  "v2.monitors_api" => "MonitorsAPI",
2531
2634
  "v2.network_device_monitoring_api" => "NetworkDeviceMonitoringAPI",
2532
2635
  "v2.okta_integration_api" => "OktaIntegrationAPI",
@@ -2537,6 +2640,7 @@ module DatadogAPIClient
2537
2640
  "v2.restriction_policies_api" => "RestrictionPoliciesAPI",
2538
2641
  "v2.roles_api" => "RolesAPI",
2539
2642
  "v2.rum_api" => "RUMAPI",
2643
+ "v2.rum_metrics_api" => "RumMetricsAPI",
2540
2644
  "v2.security_monitoring_api" => "SecurityMonitoringAPI",
2541
2645
  "v2.sensitive_data_scanner_api" => "SensitiveDataScannerAPI",
2542
2646
  "v2.service_accounts_api" => "ServiceAccountsAPI",
@@ -126,6 +126,7 @@ module DatadogAPIClient::V1
126
126
  # - error-tracking: `error-tracking alert`
127
127
  # - database-monitoring: `database-monitoring alert`
128
128
  # - network-performance: `network-performance alert`
129
+ # - cloud cost: `cost alert`
129
130
  #
130
131
  # **Notes**:
131
132
  # - Synthetic monitors are created through the Synthetics API. See the [Synthetics API](https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
@@ -259,12 +260,14 @@ module DatadogAPIClient::V1
259
260
  #
260
261
  # ##### Error Tracking Alert Query
261
262
  #
262
- # Example(RUM): `error-tracking-rum(query).rollup(rollup_method[, measure]).last(time_window) operator #`
263
- # Example(APM Traces): `error-tracking-traces(query).rollup(rollup_method[, measure]).last(time_window) operator #`
263
+ # "New issue" example: `error-tracking(query).source(issue_source).new().rollup(rollup_method[, measure]).by(group_by).last(time_window) operator #`
264
+ # "High impact issue" example: `error-tracking(query).source(issue_source).impact().rollup(rollup_method[, measure]).by(group_by).last(time_window) operator #`
264
265
  #
265
266
  # - `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
266
- # - `rollup_method` The stats roll-up method - supports `count`, `avg`, and `cardinality`.
267
+ # - `issue_source` The issue source - supports `all`, `browser`, `mobile` and `backend` and defaults to `all` if omitted.
268
+ # - `rollup_method` The stats roll-up method - supports `count`, `avg`, and `cardinality` and defaults to `count` if omitted.
267
269
  # - `measure` For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use.
270
+ # - `group by` Comma-separated list of attributes to group by - should contain at least `issue.id`.
268
271
  # - `time_window` #m (between 1 and 2880), #h (between 1 and 48).
269
272
  # - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.
270
273
  # - `#` an integer or decimal number used to set the threshold.
@@ -291,6 +291,73 @@ module DatadogAPIClient::V1
291
291
  return data, status_code, headers
292
292
  end
293
293
 
294
+ # Create a mobile test.
295
+ #
296
+ # @see #create_synthetics_mobile_test_with_http_info
297
+ def create_synthetics_mobile_test(body, opts = {})
298
+ data, _status_code, _headers = create_synthetics_mobile_test_with_http_info(body, opts)
299
+ data
300
+ end
301
+
302
+ # Create a mobile test.
303
+ #
304
+ # Create a Synthetic mobile test.
305
+ #
306
+ # @param body [SyntheticsMobileTest] Details of the test to create.
307
+ # @param opts [Hash] the optional parameters
308
+ # @return [Array<(SyntheticsMobileTest, Integer, Hash)>] SyntheticsMobileTest data, response status code and response headers
309
+ def create_synthetics_mobile_test_with_http_info(body, opts = {})
310
+
311
+ if @api_client.config.debugging
312
+ @api_client.config.logger.debug 'Calling API: SyntheticsAPI.create_synthetics_mobile_test ...'
313
+ end
314
+ # verify the required parameter 'body' is set
315
+ if @api_client.config.client_side_validation && body.nil?
316
+ fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.create_synthetics_mobile_test"
317
+ end
318
+ # resource path
319
+ local_var_path = '/api/v1/synthetics/tests/mobile'
320
+
321
+ # query parameters
322
+ query_params = opts[:query_params] || {}
323
+
324
+ # header parameters
325
+ header_params = opts[:header_params] || {}
326
+ # HTTP header 'Accept' (if needed)
327
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
328
+ # HTTP header 'Content-Type'
329
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
330
+
331
+ # form parameters
332
+ form_params = opts[:form_params] || {}
333
+
334
+ # http body (model)
335
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
336
+
337
+ # return_type
338
+ return_type = opts[:debug_return_type] || 'SyntheticsMobileTest'
339
+
340
+ # auth_names
341
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
342
+
343
+ new_options = opts.merge(
344
+ :operation => :create_synthetics_mobile_test,
345
+ :header_params => header_params,
346
+ :query_params => query_params,
347
+ :form_params => form_params,
348
+ :body => post_body,
349
+ :auth_names => auth_names,
350
+ :return_type => return_type,
351
+ :api_version => "V1"
352
+ )
353
+
354
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
355
+ if @api_client.config.debugging
356
+ @api_client.config.logger.debug "API called: SyntheticsAPI#create_synthetics_mobile_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
357
+ end
358
+ return data, status_code, headers
359
+ end
360
+
294
361
  # Delete a global variable.
295
362
  #
296
363
  # @see #delete_global_variable_with_http_info
@@ -560,6 +627,73 @@ module DatadogAPIClient::V1
560
627
  return data, status_code, headers
561
628
  end
562
629
 
630
+ # Fetch uptime for multiple tests.
631
+ #
632
+ # @see #fetch_uptimes_with_http_info
633
+ def fetch_uptimes(body, opts = {})
634
+ data, _status_code, _headers = fetch_uptimes_with_http_info(body, opts)
635
+ data
636
+ end
637
+
638
+ # Fetch uptime for multiple tests.
639
+ #
640
+ # Fetch uptime for multiple Synthetic tests by ID.
641
+ #
642
+ # @param body [SyntheticsFetchUptimesPayload] Public ID list of the Synthetic tests and timeframe.
643
+ # @param opts [Hash] the optional parameters
644
+ # @return [Array<(Array<SyntheticsTestUptime>, Integer, Hash)>] Array<SyntheticsTestUptime> data, response status code and response headers
645
+ def fetch_uptimes_with_http_info(body, opts = {})
646
+
647
+ if @api_client.config.debugging
648
+ @api_client.config.logger.debug 'Calling API: SyntheticsAPI.fetch_uptimes ...'
649
+ end
650
+ # verify the required parameter 'body' is set
651
+ if @api_client.config.client_side_validation && body.nil?
652
+ fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.fetch_uptimes"
653
+ end
654
+ # resource path
655
+ local_var_path = '/api/v1/synthetics/tests/uptimes'
656
+
657
+ # query parameters
658
+ query_params = opts[:query_params] || {}
659
+
660
+ # header parameters
661
+ header_params = opts[:header_params] || {}
662
+ # HTTP header 'Accept' (if needed)
663
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
664
+ # HTTP header 'Content-Type'
665
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
666
+
667
+ # form parameters
668
+ form_params = opts[:form_params] || {}
669
+
670
+ # http body (model)
671
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
672
+
673
+ # return_type
674
+ return_type = opts[:debug_return_type] || 'Array<SyntheticsTestUptime>'
675
+
676
+ # auth_names
677
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
678
+
679
+ new_options = opts.merge(
680
+ :operation => :fetch_uptimes,
681
+ :header_params => header_params,
682
+ :query_params => query_params,
683
+ :form_params => form_params,
684
+ :body => post_body,
685
+ :auth_names => auth_names,
686
+ :return_type => return_type,
687
+ :api_version => "V1"
688
+ )
689
+
690
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
691
+ if @api_client.config.debugging
692
+ @api_client.config.logger.debug "API called: SyntheticsAPI#fetch_uptimes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
693
+ end
694
+ return data, status_code, headers
695
+ end
696
+
563
697
  # Get an API test.
564
698
  #
565
699
  # @see #get_api_test_with_http_info
@@ -689,6 +823,7 @@ module DatadogAPIClient::V1
689
823
  :return_type => return_type,
690
824
  :api_version => "V1"
691
825
  )
826
+ new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
692
827
 
693
828
  data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
694
829
  if @api_client.config.debugging
@@ -896,6 +1031,7 @@ module DatadogAPIClient::V1
896
1031
  :return_type => return_type,
897
1032
  :api_version => "V1"
898
1033
  )
1034
+ new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
899
1035
 
900
1036
  data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
901
1037
  if @api_client.config.debugging
@@ -1039,6 +1175,72 @@ module DatadogAPIClient::V1
1039
1175
  return data, status_code, headers
1040
1176
  end
1041
1177
 
1178
+ # Get a Mobile test.
1179
+ #
1180
+ # @see #get_mobile_test_with_http_info
1181
+ def get_mobile_test(public_id, opts = {})
1182
+ data, _status_code, _headers = get_mobile_test_with_http_info(public_id, opts)
1183
+ data
1184
+ end
1185
+
1186
+ # Get a Mobile test.
1187
+ #
1188
+ # Get the detailed configuration associated with
1189
+ # a Synthetic Mobile test.
1190
+ #
1191
+ # @param public_id [String] The public ID of the test to get details from.
1192
+ # @param opts [Hash] the optional parameters
1193
+ # @return [Array<(SyntheticsMobileTest, Integer, Hash)>] SyntheticsMobileTest data, response status code and response headers
1194
+ def get_mobile_test_with_http_info(public_id, opts = {})
1195
+
1196
+ if @api_client.config.debugging
1197
+ @api_client.config.logger.debug 'Calling API: SyntheticsAPI.get_mobile_test ...'
1198
+ end
1199
+ # verify the required parameter 'public_id' is set
1200
+ if @api_client.config.client_side_validation && public_id.nil?
1201
+ fail ArgumentError, "Missing the required parameter 'public_id' when calling SyntheticsAPI.get_mobile_test"
1202
+ end
1203
+ # resource path
1204
+ local_var_path = '/api/v1/synthetics/tests/mobile/{public_id}'.sub('{public_id}', CGI.escape(public_id.to_s).gsub('%2F', '/'))
1205
+
1206
+ # query parameters
1207
+ query_params = opts[:query_params] || {}
1208
+
1209
+ # header parameters
1210
+ header_params = opts[:header_params] || {}
1211
+ # HTTP header 'Accept' (if needed)
1212
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1213
+
1214
+ # form parameters
1215
+ form_params = opts[:form_params] || {}
1216
+
1217
+ # http body (model)
1218
+ post_body = opts[:debug_body]
1219
+
1220
+ # return_type
1221
+ return_type = opts[:debug_return_type] || 'SyntheticsMobileTest'
1222
+
1223
+ # auth_names
1224
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1225
+
1226
+ new_options = opts.merge(
1227
+ :operation => :get_mobile_test,
1228
+ :header_params => header_params,
1229
+ :query_params => query_params,
1230
+ :form_params => form_params,
1231
+ :body => post_body,
1232
+ :auth_names => auth_names,
1233
+ :return_type => return_type,
1234
+ :api_version => "V1"
1235
+ )
1236
+
1237
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1238
+ if @api_client.config.debugging
1239
+ @api_client.config.logger.debug "API called: SyntheticsAPI#get_mobile_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1240
+ end
1241
+ return data, status_code, headers
1242
+ end
1243
+
1042
1244
  # Get a private location.
1043
1245
  #
1044
1246
  # @see #get_private_location_with_http_info
@@ -1851,6 +2053,78 @@ module DatadogAPIClient::V1
1851
2053
  return data, status_code, headers
1852
2054
  end
1853
2055
 
2056
+ # Edit a Mobile test.
2057
+ #
2058
+ # @see #update_mobile_test_with_http_info
2059
+ def update_mobile_test(public_id, body, opts = {})
2060
+ data, _status_code, _headers = update_mobile_test_with_http_info(public_id, body, opts)
2061
+ data
2062
+ end
2063
+
2064
+ # Edit a Mobile test.
2065
+ #
2066
+ # Edit the configuration of a Synthetic Mobile test.
2067
+ #
2068
+ # @param public_id [String] The public ID of the test to get details from.
2069
+ # @param body [SyntheticsMobileTest] New test details to be saved.
2070
+ # @param opts [Hash] the optional parameters
2071
+ # @return [Array<(SyntheticsMobileTest, Integer, Hash)>] SyntheticsMobileTest data, response status code and response headers
2072
+ def update_mobile_test_with_http_info(public_id, body, opts = {})
2073
+
2074
+ if @api_client.config.debugging
2075
+ @api_client.config.logger.debug 'Calling API: SyntheticsAPI.update_mobile_test ...'
2076
+ end
2077
+ # verify the required parameter 'public_id' is set
2078
+ if @api_client.config.client_side_validation && public_id.nil?
2079
+ fail ArgumentError, "Missing the required parameter 'public_id' when calling SyntheticsAPI.update_mobile_test"
2080
+ end
2081
+ # verify the required parameter 'body' is set
2082
+ if @api_client.config.client_side_validation && body.nil?
2083
+ fail ArgumentError, "Missing the required parameter 'body' when calling SyntheticsAPI.update_mobile_test"
2084
+ end
2085
+ # resource path
2086
+ local_var_path = '/api/v1/synthetics/tests/mobile/{public_id}'.sub('{public_id}', CGI.escape(public_id.to_s).gsub('%2F', '/'))
2087
+
2088
+ # query parameters
2089
+ query_params = opts[:query_params] || {}
2090
+
2091
+ # header parameters
2092
+ header_params = opts[:header_params] || {}
2093
+ # HTTP header 'Accept' (if needed)
2094
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2095
+ # HTTP header 'Content-Type'
2096
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2097
+
2098
+ # form parameters
2099
+ form_params = opts[:form_params] || {}
2100
+
2101
+ # http body (model)
2102
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
2103
+
2104
+ # return_type
2105
+ return_type = opts[:debug_return_type] || 'SyntheticsMobileTest'
2106
+
2107
+ # auth_names
2108
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2109
+
2110
+ new_options = opts.merge(
2111
+ :operation => :update_mobile_test,
2112
+ :header_params => header_params,
2113
+ :query_params => query_params,
2114
+ :form_params => form_params,
2115
+ :body => post_body,
2116
+ :auth_names => auth_names,
2117
+ :return_type => return_type,
2118
+ :api_version => "V1"
2119
+ )
2120
+
2121
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Put, local_var_path, new_options)
2122
+ if @api_client.config.debugging
2123
+ @api_client.config.logger.debug "API called: SyntheticsAPI#update_mobile_test\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2124
+ end
2125
+ return data, status_code, headers
2126
+ end
2127
+
1854
2128
  # Edit a private location.
1855
2129
  #
1856
2130
  # @see #update_private_location_with_http_info