datadog_api_client 2.27.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 (233) 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 +385 -616
  5. data/.generator/schemas/v2/openapi.yaml +1498 -386
  6. data/.generator/src/generator/formatter.py +2 -43
  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/CHANGELOG.md +39 -0
  11. data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
  12. data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
  13. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
  14. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
  15. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
  16. data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
  17. data/examples/v1/monitors/ValidateMonitor.rb +0 -1
  18. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
  19. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
  20. data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +1 -1
  21. data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
  22. data/examples/v1/synthetics/UpdateMobileTest.rb +1 -1
  23. data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
  24. data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
  25. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
  26. data/examples/v2/incidents/CreateIncidentType.rb +19 -0
  27. data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
  28. data/examples/v2/incidents/GetIncidentType.rb +8 -0
  29. data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
  30. data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
  31. data/examples/v2/metrics/QueryScalarData.rb +0 -3
  32. data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
  33. data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
  34. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
  35. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
  36. data/examples/v2/microsoft-teams-integration/{CreateApiHandle_1540689753.rb → CreateTenantBasedHandle_1540689753.rb} +5 -5
  37. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
  38. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
  39. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
  40. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
  41. data/examples/v2/microsoft-teams-integration/{ListApiHandles.rb → ListTenantBasedHandles.rb} +2 -2
  42. data/examples/v2/microsoft-teams-integration/{ListApiHandles_769592979.rb → ListTenantBasedHandles_769592979.rb} +1 -1
  43. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
  44. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
  45. data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
  46. data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
  47. data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
  48. data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
  49. data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
  50. data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
  51. data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
  52. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
  53. data/lib/datadog_api_client/api_client.rb +1 -0
  54. data/lib/datadog_api_client/configuration.rb +6 -2
  55. data/lib/datadog_api_client/inflector.rb +81 -28
  56. data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
  57. data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -0
  58. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
  59. data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
  60. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -3
  61. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  62. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -6
  63. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +11 -61
  64. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  65. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
  66. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
  67. data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
  68. data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +32 -6
  69. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
  70. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
  71. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
  72. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
  73. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
  74. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
  75. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
  76. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
  77. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_initial_application_arguments.rb → synthetics_mobile_step_params_positions_items.rb} +21 -11
  78. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
  79. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_ci_options.rb → synthetics_mobile_step_params_variable.rb} +38 -17
  80. data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +2 -2
  81. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +1 -1
  82. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +42 -16
  83. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +24 -5
  84. data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
  85. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
  86. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
  87. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
  88. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
  89. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_options_monitor_options_notification_preset_name.rb → synthetics_test_options_monitor_options_notification_preset_name.rb} +2 -2
  90. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
  91. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
  92. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items.rb → synthetics_test_restriction_policy_binding.rb} +11 -11
  93. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items_role.rb → synthetics_test_restriction_policy_binding_relation.rb} +2 -2
  94. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
  95. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  96. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  97. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
  98. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
  99. data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
  100. data/lib/datadog_api_client/v2/api/incidents_api.rb +361 -0
  101. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -13
  102. data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +98 -161
  103. data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
  104. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
  105. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
  106. data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
  107. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
  108. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
  109. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
  110. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
  111. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
  112. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
  113. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
  114. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
  115. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
  116. data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
  117. data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → domain_allowlist_attributes.rb} +20 -18
  118. data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
  119. data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_binding.rb → v2/models/domain_allowlist_response.rb} +13 -13
  120. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
  121. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
  122. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_type.rb → domain_allowlist_type.rb} +3 -3
  123. data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
  124. data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
  125. data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
  126. data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
  127. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
  128. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
  129. data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
  130. data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
  131. data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
  132. data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
  133. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
  134. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
  135. data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
  136. data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
  137. data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
  138. data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
  139. data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
  140. data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
  141. data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
  142. data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
  143. data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
  144. data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
  145. data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
  146. data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
  147. data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
  148. data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
  149. data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
  150. data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
  151. data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
  152. data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
  153. data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
  154. data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
  155. data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
  156. data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
  157. data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
  158. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
  159. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
  160. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
  161. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
  162. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  163. data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
  164. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_request_data.rb → incident_type_create_data.rb} +7 -7
  165. data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_request.rb → incident_type_create_request.rb} +5 -5
  166. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handles_response.rb → incident_type_list_response.rb} +5 -5
  167. data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
  168. data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
  169. data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_response.rb → incident_type_patch_request.rb} +5 -5
  170. data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request.rb → incident_type_response.rb} +5 -5
  171. data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
  172. data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
  173. data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
  174. data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
  175. data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
  176. data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
  177. data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
  178. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_attributes.rb → microsoft_teams_tenant_based_handle_attributes.rb} +4 -4
  179. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response_attributes.rb → microsoft_teams_tenant_based_handle_info_response_attributes.rb} +4 -4
  180. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_response_data.rb → microsoft_teams_tenant_based_handle_info_response_data.rb} +8 -8
  181. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_request_attributes.rb → microsoft_teams_tenant_based_handle_request_attributes.rb} +4 -4
  183. data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request_data.rb → microsoft_teams_tenant_based_handle_request_data.rb} +7 -7
  184. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
  185. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response_data.rb → microsoft_teams_tenant_based_handle_response_data.rb} +8 -8
  186. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
  187. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
  188. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
  189. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
  190. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
  191. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
  192. data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
  193. data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
  194. data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
  195. data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
  196. data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
  197. data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
  198. data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
  199. data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
  200. data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
  201. data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
  202. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response.rb → rum_metric_response.rb} +5 -5
  203. data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
  204. data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
  205. data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
  206. data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_initial_application_arguments_property_names.rb → v2/models/rum_metric_response_filter.rb} +13 -13
  207. data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
  208. data/lib/datadog_api_client/v2/models/rum_metric_response_uniqueness.rb +105 -0
  209. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_type.rb → rum_metric_type.rb} +3 -3
  210. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
  211. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
  212. data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
  213. data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
  214. data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
  215. data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
  216. data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
  217. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
  218. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
  219. data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
  220. data/lib/datadog_api_client/version.rb +1 -1
  221. metadata +110 -43
  222. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
  223. data/examples/v2/microsoft-teams-integration/CreateApiHandle.rb +0 -17
  224. data/examples/v2/microsoft-teams-integration/DeleteApiHandle.rb +0 -5
  225. data/examples/v2/microsoft-teams-integration/DeleteApiHandle_377884154.rb +0 -8
  226. data/examples/v2/microsoft-teams-integration/GetApiHandle.rb +0 -5
  227. data/examples/v2/microsoft-teams-integration/GetApiHandleByName.rb +0 -5
  228. data/examples/v2/microsoft-teams-integration/GetApiHandleByName_1103107145.rb +0 -8
  229. data/examples/v2/microsoft-teams-integration/GetApiHandle_2883785101.rb +0 -8
  230. data/examples/v2/microsoft-teams-integration/UpdateApiHandle.rb +0 -17
  231. data/examples/v2/microsoft-teams-integration/UpdateApiHandle_419892746.rb +0 -18
  232. data/lib/datadog_api_client/v1/models/synthetics_mobile_device_id.rb +0 -251
  233. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options_monitor_options.rb +0 -155
@@ -0,0 +1,17 @@
1
+ # Update tenant-based handle returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::MicrosoftTeamsIntegrationAPI.new
5
+
6
+ body = DatadogAPIClient::V2::MicrosoftTeamsUpdateTenantBasedHandleRequest.new({
7
+ data: DatadogAPIClient::V2::MicrosoftTeamsUpdateTenantBasedHandleRequestData.new({
8
+ attributes: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleAttributes.new({
9
+ channel_id: "fake-channel-id",
10
+ name: "fake-handle-name",
11
+ team_id: "00000000-0000-0000-0000-000000000000",
12
+ tenant_id: "00000000-0000-0000-0000-000000000001",
13
+ }),
14
+ type: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleType::TENANT_BASED_HANDLE,
15
+ }),
16
+ })
17
+ p api_instance.update_tenant_based_handle("handle_id", body)
@@ -0,0 +1,18 @@
1
+ # Update api handle returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::MicrosoftTeamsIntegrationAPI.new
5
+
6
+ # there is a valid "tenant_based_handle" in the system
7
+ TENANT_BASED_HANDLE_DATA_ATTRIBUTES_NAME = ENV["TENANT_BASED_HANDLE_DATA_ATTRIBUTES_NAME"]
8
+ TENANT_BASED_HANDLE_DATA_ID = ENV["TENANT_BASED_HANDLE_DATA_ID"]
9
+
10
+ body = DatadogAPIClient::V2::MicrosoftTeamsUpdateTenantBasedHandleRequest.new({
11
+ data: DatadogAPIClient::V2::MicrosoftTeamsUpdateTenantBasedHandleRequestData.new({
12
+ attributes: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleAttributes.new({
13
+ name: "fake-handle-name--updated",
14
+ }),
15
+ type: DatadogAPIClient::V2::MicrosoftTeamsTenantBasedHandleType::TENANT_BASED_HANDLE,
16
+ }),
17
+ })
18
+ p api_instance.update_tenant_based_handle(TENANT_BASED_HANDLE_DATA_ID, body)
@@ -0,0 +1,32 @@
1
+ # Create a rum-based metric returns "Created" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::RumMetricsAPI.new
5
+
6
+ body = DatadogAPIClient::V2::RumMetricCreateRequest.new({
7
+ data: DatadogAPIClient::V2::RumMetricCreateData.new({
8
+ attributes: DatadogAPIClient::V2::RumMetricCreateAttributes.new({
9
+ compute: DatadogAPIClient::V2::RumMetricCompute.new({
10
+ aggregation_type: DatadogAPIClient::V2::RumMetricComputeAggregationType::DISTRIBUTION,
11
+ include_percentiles: true,
12
+ path: "@duration",
13
+ }),
14
+ event_type: DatadogAPIClient::V2::RumMetricEventType::SESSION,
15
+ filter: DatadogAPIClient::V2::RumMetricFilter.new({
16
+ query: "@service:web-ui",
17
+ }),
18
+ group_by: [
19
+ DatadogAPIClient::V2::RumMetricGroupBy.new({
20
+ path: "@browser.name",
21
+ tag_name: "browser_name",
22
+ }),
23
+ ],
24
+ uniqueness: DatadogAPIClient::V2::RumMetricUniqueness.new({
25
+ _when: DatadogAPIClient::V2::RumMetricUniquenessWhen::WHEN_MATCH,
26
+ }),
27
+ }),
28
+ id: "rum.sessions.webui.count",
29
+ type: DatadogAPIClient::V2::RumMetricType::RUM_METRICS,
30
+ }),
31
+ })
32
+ p api_instance.create_rum_metric(body)
@@ -0,0 +1,8 @@
1
+ # Delete a rum-based metric returns "No Content" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::RumMetricsAPI.new
5
+
6
+ # there is a valid "rum_metric" in the system
7
+ RUM_METRIC_DATA_ID = ENV["RUM_METRIC_DATA_ID"]
8
+ api_instance.delete_rum_metric(RUM_METRIC_DATA_ID)
@@ -0,0 +1,8 @@
1
+ # Get a rum-based metric returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::RumMetricsAPI.new
5
+
6
+ # there is a valid "rum_metric" in the system
7
+ RUM_METRIC_DATA_ID = ENV["RUM_METRIC_DATA_ID"]
8
+ p api_instance.get_rum_metric(RUM_METRIC_DATA_ID)
@@ -0,0 +1,5 @@
1
+ # Get all rum-based metrics returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::RumMetricsAPI.new
5
+ p api_instance.list_rum_metrics()
@@ -0,0 +1,29 @@
1
+ # Update a rum-based metric returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ api_instance = DatadogAPIClient::V2::RumMetricsAPI.new
5
+
6
+ # there is a valid "rum_metric" in the system
7
+ RUM_METRIC_DATA_ID = ENV["RUM_METRIC_DATA_ID"]
8
+
9
+ body = DatadogAPIClient::V2::RumMetricUpdateRequest.new({
10
+ data: DatadogAPIClient::V2::RumMetricUpdateData.new({
11
+ id: RUM_METRIC_DATA_ID,
12
+ type: DatadogAPIClient::V2::RumMetricType::RUM_METRICS,
13
+ attributes: DatadogAPIClient::V2::RumMetricUpdateAttributes.new({
14
+ compute: DatadogAPIClient::V2::RumMetricUpdateCompute.new({
15
+ include_percentiles: false,
16
+ }),
17
+ filter: DatadogAPIClient::V2::RumMetricFilter.new({
18
+ query: "@service:rum-config",
19
+ }),
20
+ group_by: [
21
+ DatadogAPIClient::V2::RumMetricGroupBy.new({
22
+ path: "@browser.version",
23
+ tag_name: "browser_version",
24
+ }),
25
+ ],
26
+ }),
27
+ }),
28
+ })
29
+ p api_instance.update_rum_metric(RUM_METRIC_DATA_ID, body)
@@ -0,0 +1,14 @@
1
+ # List findings with detection_type query param returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ DatadogAPIClient.configure do |config|
5
+ config.unstable_operations["v2.list_findings".to_sym] = true
6
+ end
7
+ api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
8
+ opts = {
9
+ filter_vulnerability_type: [
10
+ FindingVulnerabilityType::MISCONFIGURATION,
11
+ FindingVulnerabilityType::ATTACK_PATH,
12
+ ],
13
+ }
14
+ p api_instance.list_findings(opts)
@@ -0,0 +1,8 @@
1
+ # Get billing dimension mapping for usage endpoints returns "OK" response
2
+
3
+ require "datadog_api_client"
4
+ DatadogAPIClient.configure do |config|
5
+ config.unstable_operations["v2.get_billing_dimension_mapping".to_sym] = true
6
+ end
7
+ api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
8
+ p api_instance.get_billing_dimension_mapping()
@@ -5,4 +5,7 @@ DatadogAPIClient.configure do |config|
5
5
  config.unstable_operations["v2.get_monthly_cost_attribution".to_sym] = true
6
6
  end
7
7
  api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
8
- p api_instance.get_monthly_cost_attribution((Time.now + -5 * 86400), (Time.now + -3 * 86400), "infra_host_total_cost")
8
+ opts = {
9
+ end_month: (Time.now + -3 * 86400),
10
+ }
11
+ p api_instance.get_monthly_cost_attribution((Time.now + -5 * 86400), "infra_host_total_cost", opts)
@@ -199,6 +199,7 @@ module DatadogAPIClient
199
199
 
200
200
  req_opts[:pem] = File.read(@config.cert_file) if @config.cert_file
201
201
  req_opts[:pem_password] = File.read(@config.key_file) if @config.key_file
202
+ req_opts[:query_string_normalizer] = opts[:query_string_normalizer] if opts[:query_string_normalizer]
202
203
 
203
204
  opts[:stream_body] = true if opts[:return_type] == 'File'
204
205
 
@@ -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",
@@ -636,20 +637,22 @@ module DatadogAPIClient
636
637
  "v1.synthetics_local_variable_parsing_options_type" => "SyntheticsLocalVariableParsingOptionsType",
637
638
  "v1.synthetics_location" => "SyntheticsLocation",
638
639
  "v1.synthetics_locations" => "SyntheticsLocations",
639
- "v1.synthetics_mobile_device_id" => "SyntheticsMobileDeviceID",
640
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",
641
652
  "v1.synthetics_mobile_step_type" => "SyntheticsMobileStepType",
642
653
  "v1.synthetics_mobile_test" => "SyntheticsMobileTest",
643
- "v1.synthetics_mobile_test_binding" => "SyntheticsMobileTestBinding",
644
- "v1.synthetics_mobile_test_binding_items" => "SyntheticsMobileTestBindingItems",
645
- "v1.synthetics_mobile_test_binding_items_role" => "SyntheticsMobileTestBindingItemsRole",
646
- "v1.synthetics_mobile_test_ci_options" => "SyntheticsMobileTestCiOptions",
647
654
  "v1.synthetics_mobile_test_config" => "SyntheticsMobileTestConfig",
648
- "v1.synthetics_mobile_test_initial_application_arguments" => "SyntheticsMobileTestInitialApplicationArguments",
649
- "v1.synthetics_mobile_test_initial_application_arguments_property_names" => "SyntheticsMobileTestInitialApplicationArgumentsPropertyNames",
650
655
  "v1.synthetics_mobile_test_options" => "SyntheticsMobileTestOptions",
651
- "v1.synthetics_mobile_test_options_monitor_options" => "SyntheticsMobileTestOptionsMonitorOptions",
652
- "v1.synthetics_mobile_test_options_monitor_options_notification_preset_name" => "SyntheticsMobileTestOptionsMonitorOptionsNotificationPresetName",
653
656
  "v1.synthetics_mobile_tests_mobile_application" => "SyntheticsMobileTestsMobileApplication",
654
657
  "v1.synthetics_mobile_tests_mobile_application_reference_type" => "SyntheticsMobileTestsMobileApplicationReferenceType",
655
658
  "v1.synthetics_mobile_test_type" => "SyntheticsMobileTestType",
@@ -668,7 +671,6 @@ module DatadogAPIClient
668
671
  "v1.synthetics_ssl_certificate" => "SyntheticsSSLCertificate",
669
672
  "v1.synthetics_ssl_certificate_issuer" => "SyntheticsSSLCertificateIssuer",
670
673
  "v1.synthetics_ssl_certificate_subject" => "SyntheticsSSLCertificateSubject",
671
- "v1.synthetics_status" => "SyntheticsStatus",
672
674
  "v1.synthetics_step" => "SyntheticsStep",
673
675
  "v1.synthetics_step_detail" => "SyntheticsStepDetail",
674
676
  "v1.synthetics_step_detail_warning" => "SyntheticsStepDetailWarning",
@@ -684,6 +686,7 @@ module DatadogAPIClient
684
686
  "v1.synthetics_test_options" => "SyntheticsTestOptions",
685
687
  "v1.synthetics_test_options_http_version" => "SyntheticsTestOptionsHTTPVersion",
686
688
  "v1.synthetics_test_options_monitor_options" => "SyntheticsTestOptionsMonitorOptions",
689
+ "v1.synthetics_test_options_monitor_options_notification_preset_name" => "SyntheticsTestOptionsMonitorOptionsNotificationPresetName",
687
690
  "v1.synthetics_test_options_retry" => "SyntheticsTestOptionsRetry",
688
691
  "v1.synthetics_test_options_scheduling" => "SyntheticsTestOptionsScheduling",
689
692
  "v1.synthetics_test_options_scheduling_timeframe" => "SyntheticsTestOptionsSchedulingTimeframe",
@@ -696,6 +699,8 @@ module DatadogAPIClient
696
699
  "v1.synthetics_test_request_certificate_item" => "SyntheticsTestRequestCertificateItem",
697
700
  "v1.synthetics_test_request_port" => "SyntheticsTestRequestPort",
698
701
  "v1.synthetics_test_request_proxy" => "SyntheticsTestRequestProxy",
702
+ "v1.synthetics_test_restriction_policy_binding" => "SyntheticsTestRestrictionPolicyBinding",
703
+ "v1.synthetics_test_restriction_policy_binding_relation" => "SyntheticsTestRestrictionPolicyBindingRelation",
699
704
  "v1.synthetics_test_uptime" => "SyntheticsTestUptime",
700
705
  "v1.synthetics_timing" => "SyntheticsTiming",
701
706
  "v1.synthetics_trigger_body" => "SyntheticsTriggerBody",
@@ -983,10 +988,6 @@ module DatadogAPIClient
983
988
  "v2.aws_cur_config_response" => "AwsCURConfigResponse",
984
989
  "v2.aws_cur_configs_response" => "AwsCURConfigsResponse",
985
990
  "v2.aws_cur_config_type" => "AwsCURConfigType",
986
- "v2.aws_related_account" => "AWSRelatedAccount",
987
- "v2.aws_related_account_attributes" => "AWSRelatedAccountAttributes",
988
- "v2.aws_related_accounts_response" => "AWSRelatedAccountsResponse",
989
- "v2.aws_related_account_type" => "AWSRelatedAccountType",
990
991
  "v2.azure_uc_config" => "AzureUCConfig",
991
992
  "v2.azure_uc_config_pair" => "AzureUCConfigPair",
992
993
  "v2.azure_uc_config_pair_attributes" => "AzureUCConfigPairAttributes",
@@ -1002,6 +1003,11 @@ module DatadogAPIClient
1002
1003
  "v2.azure_uc_config_post_request_type" => "AzureUCConfigPostRequestType",
1003
1004
  "v2.azure_uc_configs_response" => "AzureUCConfigsResponse",
1004
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",
1005
1011
  "v2.bulk_mute_findings_request" => "BulkMuteFindingsRequest",
1006
1012
  "v2.bulk_mute_findings_request_attributes" => "BulkMuteFindingsRequestAttributes",
1007
1013
  "v2.bulk_mute_findings_request_data" => "BulkMuteFindingsRequestData",
@@ -1279,6 +1285,13 @@ module DatadogAPIClient
1279
1285
  "v2.device_attributes" => "DeviceAttributes",
1280
1286
  "v2.device_attributes_interface_statuses" => "DeviceAttributesInterfaceStatuses",
1281
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",
1282
1295
  "v2.dora_deployment_request" => "DORADeploymentRequest",
1283
1296
  "v2.dora_deployment_request_attributes" => "DORADeploymentRequestAttributes",
1284
1297
  "v2.dora_deployment_request_data" => "DORADeploymentRequestData",
@@ -1435,11 +1448,13 @@ module DatadogAPIClient
1435
1448
  "v2.finding_rule" => "FindingRule",
1436
1449
  "v2.finding_status" => "FindingStatus",
1437
1450
  "v2.finding_type" => "FindingType",
1451
+ "v2.finding_vulnerability_type" => "FindingVulnerabilityType",
1438
1452
  "v2.formula_limit" => "FormulaLimit",
1439
1453
  "v2.full_api_key" => "FullAPIKey",
1440
1454
  "v2.full_api_key_attributes" => "FullAPIKeyAttributes",
1441
1455
  "v2.full_application_key" => "FullApplicationKey",
1442
1456
  "v2.full_application_key_attributes" => "FullApplicationKeyAttributes",
1457
+ "v2.gcp_metric_namespace_config" => "GCPMetricNamespaceConfig",
1443
1458
  "v2.gcp_service_account_meta" => "GCPServiceAccountMeta",
1444
1459
  "v2.gcp_service_account_type" => "GCPServiceAccountType",
1445
1460
  "v2.gcpsts_delegate_account" => "GCPSTSDelegateAccount",
@@ -1587,10 +1602,22 @@ module DatadogAPIClient
1587
1602
  "v2.incident_todo_response_included_item" => "IncidentTodoResponseIncludedItem",
1588
1603
  "v2.incident_todo_type" => "IncidentTodoType",
1589
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",
1590
1615
  "v2.incident_update_attributes" => "IncidentUpdateAttributes",
1591
1616
  "v2.incident_update_data" => "IncidentUpdateData",
1592
1617
  "v2.incident_update_relationships" => "IncidentUpdateRelationships",
1593
1618
  "v2.incident_update_request" => "IncidentUpdateRequest",
1619
+ "v2.incident_user_attributes" => "IncidentUserAttributes",
1620
+ "v2.incident_user_data" => "IncidentUserData",
1594
1621
  "v2.incident_user_defined_field_type" => "IncidentUserDefinedFieldType",
1595
1622
  "v2.include_type" => "IncludeType",
1596
1623
  "v2.intake_payload_accepted" => "IntakePayloadAccepted",
@@ -1797,24 +1824,23 @@ module DatadogAPIClient
1797
1824
  "v2.metric_type" => "MetricType",
1798
1825
  "v2.metric_volumes" => "MetricVolumes",
1799
1826
  "v2.metric_volumes_response" => "MetricVolumesResponse",
1800
- "v2.microsoft_teams_api_handle_attributes" => "MicrosoftTeamsApiHandleAttributes",
1801
- "v2.microsoft_teams_api_handle_info_response" => "MicrosoftTeamsApiHandleInfoResponse",
1802
- "v2.microsoft_teams_api_handle_info_response_attributes" => "MicrosoftTeamsApiHandleInfoResponseAttributes",
1803
- "v2.microsoft_teams_api_handle_info_response_data" => "MicrosoftTeamsApiHandleInfoResponseData",
1804
- "v2.microsoft_teams_api_handle_info_type" => "MicrosoftTeamsApiHandleInfoType",
1805
- "v2.microsoft_teams_api_handle_request_attributes" => "MicrosoftTeamsApiHandleRequestAttributes",
1806
- "v2.microsoft_teams_api_handle_request_data" => "MicrosoftTeamsApiHandleRequestData",
1807
- "v2.microsoft_teams_api_handle_response_data" => "MicrosoftTeamsApiHandleResponseData",
1808
- "v2.microsoft_teams_api_handles_response" => "MicrosoftTeamsApiHandlesResponse",
1809
- "v2.microsoft_teams_api_handle_type" => "MicrosoftTeamsApiHandleType",
1810
1827
  "v2.microsoft_teams_channel_info_response_attributes" => "MicrosoftTeamsChannelInfoResponseAttributes",
1811
1828
  "v2.microsoft_teams_channel_info_response_data" => "MicrosoftTeamsChannelInfoResponseData",
1812
1829
  "v2.microsoft_teams_channel_info_type" => "MicrosoftTeamsChannelInfoType",
1813
- "v2.microsoft_teams_create_api_handle_request" => "MicrosoftTeamsCreateApiHandleRequest",
1814
- "v2.microsoft_teams_create_api_handle_response" => "MicrosoftTeamsCreateApiHandleResponse",
1830
+ "v2.microsoft_teams_create_tenant_based_handle_request" => "MicrosoftTeamsCreateTenantBasedHandleRequest",
1815
1831
  "v2.microsoft_teams_get_channel_by_name_response" => "MicrosoftTeamsGetChannelByNameResponse",
1816
- "v2.microsoft_teams_update_api_handle_request" => "MicrosoftTeamsUpdateApiHandleRequest",
1817
- "v2.microsoft_teams_update_api_handle_request_data" => "MicrosoftTeamsUpdateApiHandleRequestData",
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",
1818
1844
  "v2.monitor_config_policy_attribute_create_request" => "MonitorConfigPolicyAttributeCreateRequest",
1819
1845
  "v2.monitor_config_policy_attribute_edit_request" => "MonitorConfigPolicyAttributeEditRequest",
1820
1846
  "v2.monitor_config_policy_attribute_response" => "MonitorConfigPolicyAttributeResponse",
@@ -1841,6 +1867,8 @@ module DatadogAPIClient
1841
1867
  "v2.monthly_cost_attribution_meta" => "MonthlyCostAttributionMeta",
1842
1868
  "v2.monthly_cost_attribution_pagination" => "MonthlyCostAttributionPagination",
1843
1869
  "v2.monthly_cost_attribution_response" => "MonthlyCostAttributionResponse",
1870
+ "v2.ms_teams_integration_metadata" => "MSTeamsIntegrationMetadata",
1871
+ "v2.ms_teams_integration_metadata_teams_item" => "MSTeamsIntegrationMetadataTeamsItem",
1844
1872
  "v2.nullable_relationship_to_user" => "NullableRelationshipToUser",
1845
1873
  "v2.nullable_relationship_to_user_data" => "NullableRelationshipToUserData",
1846
1874
  "v2.nullable_user_relationship" => "NullableUserRelationship",
@@ -2071,6 +2099,29 @@ module DatadogAPIClient
2071
2099
  "v2.rum_group_by_histogram" => "RUMGroupByHistogram",
2072
2100
  "v2.rum_group_by_missing" => "RUMGroupByMissing",
2073
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",
2074
2125
  "v2.rum_query_filter" => "RUMQueryFilter",
2075
2126
  "v2.rum_query_options" => "RUMQueryOptions",
2076
2127
  "v2.rum_query_page_options" => "RUMQueryPageOptions",
@@ -2562,6 +2613,7 @@ module DatadogAPIClient
2562
2613
  "v2.containers_api" => "ContainersAPI",
2563
2614
  "v2.csm_threats_api" => "CSMThreatsAPI",
2564
2615
  "v2.dashboard_lists_api" => "DashboardListsAPI",
2616
+ "v2.domain_allowlist_api" => "DomainAllowlistAPI",
2565
2617
  "v2.dora_metrics_api" => "DORAMetricsAPI",
2566
2618
  "v2.downtimes_api" => "DowntimesAPI",
2567
2619
  "v2.events_api" => "EventsAPI",
@@ -2588,6 +2640,7 @@ module DatadogAPIClient
2588
2640
  "v2.restriction_policies_api" => "RestrictionPoliciesAPI",
2589
2641
  "v2.roles_api" => "RolesAPI",
2590
2642
  "v2.rum_api" => "RUMAPI",
2643
+ "v2.rum_metrics_api" => "RumMetricsAPI",
2591
2644
  "v2.security_monitoring_api" => "SecurityMonitoringAPI",
2592
2645
  "v2.sensitive_data_scanner_api" => "SensitiveDataScannerAPI",
2593
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.
@@ -823,6 +823,7 @@ module DatadogAPIClient::V1
823
823
  :return_type => return_type,
824
824
  :api_version => "V1"
825
825
  )
826
+ new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
826
827
 
827
828
  data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
828
829
  if @api_client.config.debugging
@@ -1030,6 +1031,7 @@ module DatadogAPIClient::V1
1030
1031
  :return_type => return_type,
1031
1032
  :api_version => "V1"
1032
1033
  )
1034
+ new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
1033
1035
 
1034
1036
  data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1035
1037
  if @api_client.config.debugging
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
152
152
  fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
153
153
  end
154
154
  # verify enum value
155
- allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_logs_usage', 'estimated_ingested_spans_usage', 'estimated_rum_sessions_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
155
+ allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_stream_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
156
156
  if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
157
157
  fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
158
158
  end
@@ -478,7 +478,7 @@ module DatadogAPIClient::V1
478
478
  fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
479
479
  end
480
480
  # verify enum value
481
- allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
481
+ allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
482
482
  if @api_client.config.client_side_validation && !allowable_values.include?(fields)
483
483
  fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
484
484
  end
@@ -486,7 +486,7 @@ module DatadogAPIClient::V1
486
486
  if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
487
487
  fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
488
488
  end
489
- allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
489
+ allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
490
490
  if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
491
491
  fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
492
492
  end
@@ -1671,6 +1671,7 @@ module DatadogAPIClient::V1
1671
1671
  :return_type => return_type,
1672
1672
  :api_version => "V1"
1673
1673
  )
1674
+ new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
1674
1675
 
1675
1676
  data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1676
1677
  if @api_client.config.debugging
@@ -2759,6 +2760,7 @@ module DatadogAPIClient::V1
2759
2760
  :return_type => return_type,
2760
2761
  :api_version => "V1"
2761
2762
  )
2763
+ new_options[:query_string_normalizer] = HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER
2762
2764
 
2763
2765
  data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2764
2766
  if @api_client.config.debugging