datadog_api_client 1.7.0 → 1.10.0

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 (1894) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +476 -0
  4. data/.generator/poetry.lock +402 -0
  5. data/.generator/pyproject.toml +22 -0
  6. data/.generator/schemas/v1/openapi.yaml +2154 -1337
  7. data/.generator/schemas/v2/openapi.yaml +2380 -378
  8. data/.generator/src/generator/__init__.py +0 -0
  9. data/.generator/src/generator/__main__.py +3 -0
  10. data/.generator/src/generator/cli.py +100 -0
  11. data/.generator/src/generator/formatter.py +346 -0
  12. data/.generator/src/generator/openapi.py +487 -0
  13. data/.generator/src/generator/replacement.json +1 -0
  14. data/.generator/src/generator/templates/api.j2 +244 -0
  15. data/.generator/{templates/api_client.mustache → src/generator/templates/api_client.j2} +216 -45
  16. data/.generator/{templates/api_error.mustache → src/generator/templates/api_error.j2} +2 -2
  17. data/.generator/src/generator/templates/api_info.j2 +12 -0
  18. data/.generator/{templates/configuration.mustache → src/generator/templates/configuration.j2} +101 -131
  19. data/.generator/src/generator/templates/example.j2 +40 -0
  20. data/.generator/src/generator/templates/model.j2 +18 -0
  21. data/{lib/datadog_api_client/v2/models/auth_n_mapping_update_request.rb → .generator/src/generator/templates/model_base.j2} +101 -113
  22. data/.generator/src/generator/templates/model_enum.j2 +8 -0
  23. data/.generator/src/generator/templates/model_generic.j2 +252 -0
  24. data/.generator/src/generator/templates/model_oneof.j2 +90 -0
  25. data/.generator/src/generator/templates/package.j2 +61 -0
  26. data/.generator/tests/test_scenarios.py +6 -0
  27. data/.github/workflows/prepare_release.yml +27 -20
  28. data/.github/workflows/release.yml +1 -1
  29. data/.github/workflows/test.yml +13 -6
  30. data/.github/workflows/test_integration.yml +6 -7
  31. data/.gitignore +7 -0
  32. data/.pre-commit-config.yaml +28 -10
  33. data/.rubocop.yml +1 -1
  34. data/CHANGELOG.md +90 -1
  35. data/DEVELOPMENT.md +2 -3
  36. data/Gemfile +6 -6
  37. data/LICENSE-3rdparty.csv +0 -3
  38. data/Makefile +5 -14
  39. data/README.md +18 -3
  40. data/RELEASING.md +4 -3
  41. data/check-examples.sh +0 -2
  42. data/datadog_api_client.gemspec +1 -1
  43. data/examples/v1/aws-integration/CreateAWSAccount.rb +26 -0
  44. data/examples/v1/aws-integration/CreateAWSTagFilter.rb +11 -0
  45. data/examples/v1/aws-integration/CreateNewAWSExternalID.rb +26 -0
  46. data/examples/v1/aws-integration/DeleteAWSAccount.rb +10 -0
  47. data/examples/v1/aws-integration/DeleteAWSTagFilter.rb +10 -0
  48. data/examples/v1/aws-integration/ListAWSAccounts.rb +5 -0
  49. data/examples/v1/aws-integration/ListAWSTagFilters.rb +5 -0
  50. data/examples/v1/aws-integration/ListAvailableAWSNamespaces.rb +5 -0
  51. data/examples/v1/aws-integration/UpdateAWSAccount.rb +30 -0
  52. data/examples/v1/aws-logs-integration/CheckAWSLogsLambdaAsync.rb +10 -0
  53. data/examples/v1/aws-logs-integration/CheckAWSLogsServicesAsync.rb +17 -0
  54. data/examples/v1/aws-logs-integration/CreateAWSLambdaARN.rb +10 -0
  55. data/examples/v1/aws-logs-integration/DeleteAWSLambdaARN.rb +10 -0
  56. data/examples/v1/aws-logs-integration/EnableAWSLogServices.rb +17 -0
  57. data/examples/v1/aws-logs-integration/ListAWSLogsIntegrations.rb +5 -0
  58. data/examples/v1/aws-logs-integration/ListAWSLogsServices.rb +5 -0
  59. data/examples/v1/azure-integration/CreateAzureIntegration.rb +18 -0
  60. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +18 -0
  61. data/examples/v1/azure-integration/ListAzureIntegration.rb +5 -0
  62. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +18 -0
  63. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +18 -0
  64. data/examples/v1/dashboards/CreateDashboard_2308247857.rb +1 -1
  65. data/examples/v1/dashboards/CreateDashboard_2316374332.rb +1 -1
  66. data/examples/v1/dashboards/CreateDashboard_2338918735.rb +1 -1
  67. data/examples/v1/dashboards/CreateDashboard_4026341408.rb +32 -0
  68. data/examples/v1/dashboards/CreateDashboard_4076476470.rb +32 -0
  69. data/examples/v1/dashboards/CreateDashboard_765140092.rb +53 -0
  70. data/examples/v1/dashboards/DeleteDashboard.rb +8 -0
  71. data/examples/v1/dashboards/GetDashboard.rb +8 -0
  72. data/examples/v1/dashboards/RestoreDashboards.rb +17 -0
  73. data/examples/v1/dashboards/UpdateDashboard.rb +36 -0
  74. data/examples/v1/downtimes/CreateDowntime_2908359488.rb +1 -0
  75. data/examples/v1/downtimes/CreateDowntime_3059354445.rb +1 -0
  76. data/examples/v1/downtimes/ListDowntimes.rb +5 -0
  77. data/examples/v1/downtimes/ListMonitorDowntimes.rb +5 -0
  78. data/examples/v1/downtimes/UpdateDowntime.rb +1 -0
  79. data/examples/v1/events/GetEvent.rb +5 -0
  80. data/examples/v1/events/ListEvents.rb +5 -0
  81. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +22 -0
  82. data/examples/v1/gcp-integration/DeleteGCPIntegration.rb +22 -0
  83. data/examples/v1/gcp-integration/ListGCPIntegration.rb +5 -0
  84. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +22 -0
  85. data/examples/v1/hosts/GetHostTotals.rb +5 -0
  86. data/examples/v1/hosts/MuteHost.rb +11 -0
  87. data/examples/v1/hosts/UnmuteHost.rb +5 -0
  88. data/examples/v1/key-management/CreateAPIKey.rb +9 -0
  89. data/examples/v1/key-management/CreateApplicationKey.rb +9 -0
  90. data/examples/v1/key-management/DeleteAPIKey.rb +5 -0
  91. data/examples/v1/key-management/DeleteApplicationKey.rb +5 -0
  92. data/examples/v1/key-management/GetAPIKey.rb +5 -0
  93. data/examples/v1/key-management/GetApplicationKey.rb +5 -0
  94. data/examples/v1/key-management/ListAPIKeys.rb +5 -0
  95. data/examples/v1/key-management/ListApplicationKeys.rb +5 -0
  96. data/examples/v1/key-management/UpdateAPIKey.rb +9 -0
  97. data/examples/v1/key-management/UpdateApplicationKey.rb +9 -0
  98. data/examples/v1/logs/ListLogs.rb +15 -0
  99. data/examples/v1/logs/ListLogs_235998668.rb +16 -0
  100. data/examples/v1/logs/SubmitLog_1920474053.rb +1 -1
  101. data/examples/v1/logs/SubmitLog_3418823904.rb +1 -1
  102. data/examples/v1/logs-indexes/CreateLogsIndex.rb +23 -0
  103. data/examples/v1/logs-indexes/GetLogsIndex.rb +5 -0
  104. data/examples/v1/logs-indexes/GetLogsIndexOrder.rb +5 -0
  105. data/examples/v1/logs-indexes/ListLogIndexes.rb +5 -0
  106. data/examples/v1/logs-indexes/UpdateLogsIndex.rb +20 -0
  107. data/examples/v1/logs-indexes/UpdateLogsIndexOrder.rb +13 -0
  108. data/examples/v1/logs-pipelines/CreateLogsPipeline.rb +24 -0
  109. data/examples/v1/logs-pipelines/DeleteLogsPipeline.rb +5 -0
  110. data/examples/v1/logs-pipelines/GetLogsPipeline.rb +5 -0
  111. data/examples/v1/logs-pipelines/GetLogsPipelineOrder.rb +5 -0
  112. data/examples/v1/logs-pipelines/ListLogsPipelines.rb +5 -0
  113. data/examples/v1/logs-pipelines/UpdateLogsPipeline.rb +24 -0
  114. data/examples/v1/logs-pipelines/UpdateLogsPipelineOrder.rb +13 -0
  115. data/examples/v1/metrics/GetMetricMetadata.rb +5 -0
  116. data/examples/v1/metrics/ListActiveMetrics.rb +5 -0
  117. data/examples/v1/metrics/ListMetrics.rb +5 -0
  118. data/examples/v1/metrics/SubmitMetrics_2203981258.rb +1 -1
  119. data/examples/v1/metrics/UpdateMetricMetadata.rb +11 -0
  120. data/examples/v1/monitors/CreateMonitor_1969035628.rb +52 -0
  121. data/examples/v1/monitors/CreateMonitor_2520912138.rb +22 -0
  122. data/examples/v1/monitors/CreateMonitor_3824294658.rb +52 -0
  123. data/examples/v1/monitors/CreateMonitor_440013737.rb +22 -0
  124. data/examples/v1/monitors/ListMonitors_3448441939.rb +9 -0
  125. data/examples/v1/monitors/ValidateExistingMonitor.rb +39 -0
  126. data/examples/v1/organizations/CreateChildOrg.rb +15 -0
  127. data/examples/v1/organizations/GetOrg.rb +5 -0
  128. data/examples/v1/organizations/ListOrgs.rb +5 -0
  129. data/examples/v1/organizations/UpdateOrg.rb +40 -0
  130. data/examples/v1/organizations/UploadIdPForOrg.rb +5 -0
  131. data/examples/v1/pagerduty-integration/CreatePagerDutyIntegrationService.rb +10 -0
  132. data/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb +5 -0
  133. data/examples/v1/pagerduty-integration/GetPagerDutyIntegrationService.rb +5 -0
  134. data/examples/v1/pagerduty-integration/UpdatePagerDutyIntegrationService.rb +9 -0
  135. data/examples/v1/security-monitoring/AddSecurityMonitoringSignalToIncident.rb +9 -0
  136. data/examples/v1/security-monitoring/EditSecurityMonitoringSignalAssignee.rb +9 -0
  137. data/examples/v1/security-monitoring/EditSecurityMonitoringSignalState.rb +10 -0
  138. data/examples/v1/service-level-objective-corrections/CreateSLOCorrection.rb +0 -3
  139. data/examples/v1/service-level-objective-corrections/CreateSLOCorrection_1326388368.rb +0 -3
  140. data/examples/v1/service-level-objective-corrections/DeleteSLOCorrection.rb +5 -0
  141. data/examples/v1/service-level-objective-corrections/GetSLOCorrection.rb +0 -3
  142. data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +0 -3
  143. data/examples/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +0 -3
  144. data/examples/v1/service-level-objectives/CheckCanDeleteSLO.rb +5 -0
  145. data/examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb +15 -0
  146. data/examples/v1/service-level-objectives/GetSLO.rb +8 -0
  147. data/examples/v1/service-level-objectives/GetSLOCorrections.rb +0 -3
  148. data/examples/v1/service-level-objectives/GetSLOHistory.rb +11 -0
  149. data/examples/v1/service-level-objectives/ListSLOs.rb +11 -0
  150. data/examples/v1/service-level-objectives/UpdateSLO.rb +25 -0
  151. data/examples/v1/slack-integration/CreateSlackIntegrationChannel.rb +15 -0
  152. data/examples/v1/slack-integration/GetSlackIntegrationChannel.rb +5 -0
  153. data/examples/v1/slack-integration/GetSlackIntegrationChannels.rb +5 -0
  154. data/examples/v1/slack-integration/RemoveSlackIntegrationChannel.rb +5 -0
  155. data/examples/v1/slack-integration/UpdateSlackIntegrationChannel.rb +15 -0
  156. data/examples/v1/synthetics/CreateGlobalVariable.rb +32 -0
  157. data/examples/v1/synthetics/CreatePrivateLocation.rb +21 -0
  158. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +19 -60
  159. data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +36 -0
  160. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +44 -0
  161. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +88 -0
  162. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  163. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +64 -0
  164. data/examples/v1/synthetics/DeleteGlobalVariable.rb +5 -0
  165. data/examples/v1/synthetics/DeletePrivateLocation.rb +5 -0
  166. data/examples/v1/synthetics/DeleteTests.rb +14 -0
  167. data/examples/v1/synthetics/EditGlobalVariable.rb +32 -0
  168. data/examples/v1/synthetics/GetAPITest.rb +5 -0
  169. data/examples/v1/synthetics/GetAPITestLatestResults.rb +5 -0
  170. data/examples/v1/synthetics/GetAPITestResult.rb +5 -0
  171. data/examples/v1/synthetics/GetBrowserTest.rb +5 -0
  172. data/examples/v1/synthetics/GetBrowserTestLatestResults.rb +5 -0
  173. data/examples/v1/synthetics/GetBrowserTestResult.rb +5 -0
  174. data/examples/v1/synthetics/GetGlobalVariable.rb +5 -0
  175. data/examples/v1/synthetics/GetPrivateLocation.rb +5 -0
  176. data/examples/v1/synthetics/GetSyntheticsCIBatch.rb +5 -0
  177. data/examples/v1/synthetics/GetTest.rb +5 -0
  178. data/examples/v1/synthetics/ListGlobalVariables.rb +5 -0
  179. data/examples/v1/synthetics/ListLocations.rb +5 -0
  180. data/examples/v1/synthetics/ListTests.rb +5 -0
  181. data/examples/v1/synthetics/TriggerCITests.rb +32 -0
  182. data/examples/v1/synthetics/UpdateBrowserTest.rb +69 -0
  183. data/examples/v1/synthetics/UpdatePrivateLocation.rb +18 -0
  184. data/examples/v1/synthetics/UpdateTestPauseStatus.rb +9 -0
  185. data/examples/v1/tags/CreateHostTags.rb +12 -0
  186. data/examples/v1/tags/DeleteHostTags.rb +5 -0
  187. data/examples/v1/tags/GetHostTags.rb +5 -0
  188. data/examples/v1/tags/ListHostTags.rb +5 -0
  189. data/examples/v1/tags/UpdateHostTags.rb +12 -0
  190. data/examples/v1/usage-metering/GetDailyCustomReports.rb +8 -0
  191. data/examples/v1/usage-metering/GetHourlyUsageAttribution.rb +1 -1
  192. data/examples/v1/usage-metering/GetMonthlyCustomReports.rb +8 -0
  193. data/examples/v1/usage-metering/GetMonthlyUsageAttribution.rb +1 -1
  194. data/examples/v1/usage-metering/GetMonthlyUsageAttribution_3849653599.rb +11 -0
  195. data/examples/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +8 -0
  196. data/examples/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +8 -0
  197. data/examples/v1/usage-metering/GetUsageAttribution.rb +1 -1
  198. data/examples/v1/usage-metering/GetUsageAuditLogs.rb +8 -0
  199. data/examples/v1/usage-metering/GetUsageBillableSummary.rb +5 -0
  200. data/examples/v1/usage-metering/GetUsageCIApp.rb +8 -0
  201. data/examples/v1/usage-metering/GetUsageCWS.rb +8 -0
  202. data/examples/v1/usage-metering/GetUsageDBM.rb +8 -0
  203. data/examples/v1/usage-metering/GetUsageFargate.rb +8 -0
  204. data/examples/v1/usage-metering/GetUsageHosts.rb +8 -0
  205. data/examples/v1/usage-metering/GetUsageLambda.rb +8 -0
  206. data/examples/v1/usage-metering/GetUsageLogs.rb +8 -0
  207. data/examples/v1/usage-metering/GetUsageLogsByIndex.rb +8 -0
  208. data/examples/v1/usage-metering/GetUsageLogsByRetention.rb +8 -0
  209. data/examples/v1/usage-metering/GetUsageNetworkFlows.rb +8 -0
  210. data/examples/v1/usage-metering/GetUsageNetworkHosts.rb +8 -0
  211. data/examples/v1/usage-metering/GetUsageOnlineArchive.rb +8 -0
  212. data/examples/v1/usage-metering/GetUsageRumSessions.rb +8 -0
  213. data/examples/v1/usage-metering/GetUsageRumSessions_3271366243.rb +9 -0
  214. data/examples/v1/usage-metering/GetUsageRumUnits.rb +8 -0
  215. data/examples/v1/usage-metering/GetUsageSDS.rb +8 -0
  216. data/examples/v1/usage-metering/GetUsageSummary.rb +5 -0
  217. data/examples/v1/usage-metering/GetUsageSynthetics.rb +5 -0
  218. data/examples/v1/usage-metering/GetUsageSyntheticsAPI.rb +8 -0
  219. data/examples/v1/usage-metering/GetUsageSyntheticsBrowser.rb +8 -0
  220. data/examples/v1/usage-metering/GetUsageTimeseries.rb +8 -0
  221. data/examples/v1/usage-metering/GetUsageTopAvgMetrics.rb +8 -0
  222. data/examples/v1/users/CreateUser.rb +13 -0
  223. data/examples/v1/users/DisableUser.rb +5 -0
  224. data/examples/v1/users/GetUser.rb +5 -0
  225. data/examples/v1/users/ListUsers.rb +5 -0
  226. data/examples/v1/users/UpdateUser.rb +13 -0
  227. data/examples/v1/webhooks-integration/GetWebhooksIntegrationCustomVariable.rb +5 -0
  228. data/examples/v2/audit/ListAuditLogs.rb +5 -0
  229. data/examples/v2/audit/SearchAuditLogs.rb +24 -0
  230. data/examples/v2/authn-mappings/CreateAuthNMapping.rb +1 -1
  231. data/examples/v2/authn-mappings/DeleteAuthNMapping.rb +1 -1
  232. data/examples/v2/authn-mappings/GetAuthNMapping.rb +1 -1
  233. data/examples/v2/authn-mappings/ListAuthNMappings.rb +1 -1
  234. data/examples/v2/authn-mappings/UpdateAuthNMapping.rb +1 -1
  235. data/examples/v2/dashboard-lists/CreateDashboardListItems.rb +14 -0
  236. data/examples/v2/dashboard-lists/CreateDashboardListItems_3995409989.rb +20 -0
  237. data/examples/v2/dashboard-lists/CreateDashboardListItems_825696022.rb +20 -0
  238. data/examples/v2/dashboard-lists/DeleteDashboardListItems.rb +14 -0
  239. data/examples/v2/dashboard-lists/DeleteDashboardListItems_2656706656.rb +20 -0
  240. data/examples/v2/dashboard-lists/DeleteDashboardListItems_3851624753.rb +20 -0
  241. data/examples/v2/dashboard-lists/GetDashboardListItems.rb +8 -0
  242. data/examples/v2/dashboard-lists/UpdateDashboardListItems.rb +20 -0
  243. data/examples/v2/incidents/CreateIncident.rb +4 -4
  244. data/examples/v2/incidents/UpdateIncident.rb +2 -2
  245. data/examples/v2/incidents/UpdateIncident_1009194038.rb +23 -0
  246. data/examples/v2/incidents/UpdateIncident_3369341440.rb +29 -0
  247. data/examples/v2/key-management/CreateCurrentUserApplicationKey.rb +19 -0
  248. data/examples/v2/key-management/DeleteApplicationKey.rb +5 -0
  249. data/examples/v2/key-management/DeleteCurrentUserApplicationKey.rb +5 -0
  250. data/examples/v2/key-management/GetCurrentUserApplicationKey.rb +5 -0
  251. data/examples/v2/key-management/ListApplicationKeys.rb +5 -0
  252. data/examples/v2/key-management/ListCurrentUserApplicationKeys.rb +5 -0
  253. data/examples/v2/logs/AggregateLogs_2955613758.rb +36 -0
  254. data/examples/v2/logs/ListLogs.rb +4 -4
  255. data/examples/v2/logs/ListLogsGet.rb +5 -0
  256. data/examples/v2/logs/SubmitLog.rb +16 -0
  257. data/examples/v2/logs/SubmitLog_3496222707.rb +1 -1
  258. data/examples/v2/logs/SubmitLog_904601870.rb +1 -1
  259. data/examples/v2/logs-archives/AddReadRoleToArchive.rb +12 -0
  260. data/examples/v2/logs-archives/CreateLogsArchive.rb +30 -0
  261. data/examples/v2/logs-archives/DeleteLogsArchive.rb +5 -0
  262. data/examples/v2/logs-archives/GetLogsArchive.rb +5 -0
  263. data/examples/v2/logs-archives/GetLogsArchiveOrder.rb +5 -0
  264. data/examples/v2/logs-archives/ListArchiveReadRoles.rb +5 -0
  265. data/examples/v2/logs-archives/ListLogsArchives.rb +5 -0
  266. data/examples/v2/logs-archives/RemoveRoleFromArchive.rb +12 -0
  267. data/examples/v2/logs-archives/UpdateLogsArchive.rb +30 -0
  268. data/examples/v2/logs-archives/UpdateLogsArchiveOrder.rb +18 -0
  269. data/examples/v2/metrics/CreateTagConfiguration.rb +22 -0
  270. data/examples/v2/metrics/DeleteTagConfiguration.rb +8 -0
  271. data/examples/v2/metrics/EstimateMetricsOutputSeries.rb +9 -0
  272. data/examples/v2/metrics/ListTagConfigurationByName.rb +11 -0
  273. data/examples/v2/metrics/ListTagConfigurations.rb +8 -0
  274. data/examples/v2/metrics/ListTagConfigurations_103226315.rb +11 -0
  275. data/examples/v2/metrics/ListTagsByMetricName.rb +8 -0
  276. data/examples/v2/metrics/ListVolumesByMetricName.rb +5 -0
  277. data/examples/v2/metrics/SubmitMetrics.rb +20 -0
  278. data/examples/v2/metrics/UpdateTagConfiguration.rb +23 -0
  279. data/examples/v2/organizations/UploadIdPMetadata.rb +8 -0
  280. data/examples/v2/rum/AggregateRUMEvents.rb +33 -0
  281. data/examples/v2/rum/ListRUMEvents.rb +5 -0
  282. data/examples/v2/rum/SearchRUMEvents.rb +21 -0
  283. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +42 -0
  284. data/examples/v2/security-monitoring/DeleteSecurityFilter.rb +5 -0
  285. data/examples/v2/security-monitoring/GetSecurityMonitoringRule.rb +5 -0
  286. data/examples/v2/security-monitoring/ListSecurityMonitoringRules.rb +5 -0
  287. data/examples/v2/security-monitoring/ListSecurityMonitoringSignals.rb +8 -0
  288. data/examples/v2/security-monitoring/SearchSecurityMonitoringSignals.rb +24 -0
  289. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +43 -0
  290. data/examples/v2/service-accounts/CreateServiceAccountApplicationKey.rb +19 -0
  291. data/examples/v2/service-accounts/DeleteServiceAccountApplicationKey.rb +5 -0
  292. data/examples/v2/service-accounts/GetServiceAccountApplicationKey.rb +5 -0
  293. data/examples/v2/service-accounts/ListServiceAccountApplicationKeys.rb +5 -0
  294. data/examples/v2/service-accounts/UpdateServiceAccountApplicationKey.rb +20 -0
  295. data/examples/v2/usage-metering/GetCostByOrg.rb +5 -0
  296. data/examples/v2/usage-metering/GetUsageApplicationSecurityMonitoring.rb +8 -0
  297. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +8 -0
  298. data/examples/v2/usage-metering/GetUsageObservabilityPipelines.rb +8 -0
  299. data/examples/v2/users/GetUser.rb +5 -0
  300. data/examples/v2/users/ListUserOrganizations.rb +5 -0
  301. data/lib/datadog_api_client/user_agent.rb +15 -0
  302. data/lib/datadog_api_client/v1/api/authentication_api.rb +11 -9
  303. data/lib/datadog_api_client/v1/api/aws_integration_api.rb +84 -84
  304. data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +78 -59
  305. data/lib/datadog_api_client/v1/api/azure_integration_api.rb +53 -43
  306. data/lib/datadog_api_client/v1/api/dashboard_lists_api.rb +50 -49
  307. data/lib/datadog_api_client/v1/api/dashboards_api.rb +78 -75
  308. data/lib/datadog_api_client/v1/api/downtimes_api.rb +71 -71
  309. data/lib/datadog_api_client/v1/api/events_api.rb +52 -43
  310. data/lib/datadog_api_client/v1/api/gcp_integration_api.rb +38 -33
  311. data/lib/datadog_api_client/v1/api/hosts_api.rb +44 -47
  312. data/lib/datadog_api_client/v1/api/ip_ranges_api.rb +10 -8
  313. data/lib/datadog_api_client/v1/api/key_management_api.rb +88 -87
  314. data/lib/datadog_api_client/v1/api/logs_api.rb +51 -22
  315. data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +64 -56
  316. data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +82 -69
  317. data/lib/datadog_api_client/v1/api/metrics_api.rb +71 -62
  318. data/lib/datadog_api_client/v1/api/monitors_api.rb +357 -111
  319. data/lib/datadog_api_client/v1/api/notebooks_api.rb +56 -64
  320. data/lib/datadog_api_client/v1/api/organizations_api.rb +74 -60
  321. data/lib/datadog_api_client/v1/api/pager_duty_integration_api.rb +39 -39
  322. data/lib/datadog_api_client/v1/api/security_monitoring_api.rb +266 -0
  323. data/lib/datadog_api_client/v1/api/service_checks_api.rb +15 -10
  324. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +47 -46
  325. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +111 -109
  326. data/lib/datadog_api_client/v1/api/slack_integration_api.rb +48 -52
  327. data/lib/datadog_api_client/v1/api/snapshots_api.rb +14 -17
  328. data/lib/datadog_api_client/v1/api/synthetics_api.rb +271 -277
  329. data/lib/datadog_api_client/v1/api/tags_api.rb +54 -56
  330. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +599 -430
  331. data/lib/datadog_api_client/v1/api/users_api.rb +59 -50
  332. data/lib/datadog_api_client/v1/api/webhooks_integration_api.rb +85 -83
  333. data/lib/datadog_api_client/v1/api_client.rb +106 -66
  334. data/lib/datadog_api_client/v1/api_error.rb +2 -2
  335. data/lib/datadog_api_client/v1/configuration.rb +63 -80
  336. data/lib/datadog_api_client/v1/{models/usage_io_t_response.rb → model_base.rb} +100 -100
  337. data/lib/datadog_api_client/v1/models/access_role.rb +4 -19
  338. data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +142 -0
  339. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +39 -156
  340. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition_type.rb +4 -19
  341. data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +28 -152
  342. data/lib/datadog_api_client/v1/models/alert_value_widget_definition_type.rb +4 -19
  343. data/lib/datadog_api_client/v1/models/api_error_response.rb +15 -148
  344. data/lib/datadog_api_client/v1/models/api_key.rb +7 -155
  345. data/lib/datadog_api_client/v1/models/api_key_list_response.rb +5 -144
  346. data/lib/datadog_api_client/v1/models/api_key_response.rb +6 -144
  347. data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +17 -148
  348. data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +54 -162
  349. data/lib/datadog_api_client/v1/models/apm_stats_query_row_type.rb +4 -19
  350. data/lib/datadog_api_client/v1/models/application_key.rb +7 -155
  351. data/lib/datadog_api_client/v1/models/application_key_list_response.rb +5 -144
  352. data/lib/datadog_api_client/v1/models/application_key_response.rb +6 -144
  353. data/lib/datadog_api_client/v1/models/authentication_validation_response.rb +5 -144
  354. data/lib/datadog_api_client/v1/models/aws_account.rb +17 -150
  355. data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +25 -152
  356. data/lib/datadog_api_client/v1/models/aws_account_create_response.rb +5 -144
  357. data/lib/datadog_api_client/v1/models/aws_account_delete_request.rb +5 -144
  358. data/lib/datadog_api_client/v1/models/aws_account_list_response.rb +5 -144
  359. data/lib/datadog_api_client/v1/models/aws_logs_async_error.rb +5 -144
  360. data/lib/datadog_api_client/v1/models/aws_logs_async_response.rb +5 -144
  361. data/lib/datadog_api_client/v1/models/aws_logs_lambda.rb +5 -144
  362. data/lib/datadog_api_client/v1/models/aws_logs_list_response.rb +5 -144
  363. data/lib/datadog_api_client/v1/models/aws_logs_list_services_response.rb +5 -144
  364. data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +25 -152
  365. data/lib/datadog_api_client/v1/models/aws_namespace.rb +4 -19
  366. data/lib/datadog_api_client/v1/models/aws_tag_filter.rb +6 -144
  367. data/lib/datadog_api_client/v1/models/aws_tag_filter_create_request.rb +6 -144
  368. data/lib/datadog_api_client/v1/models/aws_tag_filter_delete_request.rb +6 -144
  369. data/lib/datadog_api_client/v1/models/aws_tag_filter_list_response.rb +5 -144
  370. data/lib/datadog_api_client/v1/models/azure_account.rb +7 -145
  371. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +18 -149
  372. data/lib/datadog_api_client/v1/models/canceled_downtimes_ids.rb +5 -144
  373. data/lib/datadog_api_client/v1/models/change_widget_definition.rb +25 -166
  374. data/lib/datadog_api_client/v1/models/change_widget_definition_type.rb +4 -19
  375. data/lib/datadog_api_client/v1/models/change_widget_request.rb +20 -146
  376. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +17 -151
  377. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +5 -144
  378. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response.rb +7 -147
  379. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +5 -144
  380. data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +39 -156
  381. data/lib/datadog_api_client/v1/models/check_status_widget_definition_type.rb +4 -19
  382. data/lib/datadog_api_client/v1/models/content_encoding.rb +4 -19
  383. data/lib/datadog_api_client/v1/models/creator.rb +6 -145
  384. data/lib/datadog_api_client/v1/models/dashboard.rb +41 -157
  385. data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +26 -152
  386. data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +15 -148
  387. data/lib/datadog_api_client/v1/models/dashboard_delete_response.rb +5 -144
  388. data/lib/datadog_api_client/v1/models/dashboard_layout_type.rb +4 -19
  389. data/lib/datadog_api_client/v1/models/dashboard_list.rb +16 -148
  390. data/lib/datadog_api_client/v1/models/dashboard_list_delete_response.rb +5 -144
  391. data/lib/datadog_api_client/v1/models/dashboard_list_list_response.rb +5 -144
  392. data/lib/datadog_api_client/v1/models/dashboard_reflow_type.rb +6 -19
  393. data/lib/datadog_api_client/v1/models/dashboard_resource_type.rb +4 -19
  394. data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +15 -148
  395. data/lib/datadog_api_client/v1/models/dashboard_summary.rb +5 -144
  396. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +6 -144
  397. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +16 -149
  398. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset.rb +5 -144
  399. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +5 -144
  400. data/lib/datadog_api_client/v1/models/deleted_monitor.rb +5 -144
  401. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +30 -167
  402. data/lib/datadog_api_client/v1/models/distribution_widget_definition_type.rb +4 -19
  403. data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +15 -144
  404. data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +5 -144
  405. data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +5 -144
  406. data/lib/datadog_api_client/v1/models/downtime.rb +48 -172
  407. data/lib/datadog_api_client/v1/models/downtime_child.rb +44 -172
  408. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +24 -162
  409. data/lib/datadog_api_client/v1/models/event.rb +23 -155
  410. data/lib/datadog_api_client/v1/models/event_alert_type.rb +6 -19
  411. data/lib/datadog_api_client/v1/models/event_create_request.rb +36 -171
  412. data/lib/datadog_api_client/v1/models/event_create_response.rb +16 -305
  413. data/lib/datadog_api_client/v1/models/event_list_response.rb +5 -144
  414. data/lib/datadog_api_client/v1/models/event_priority.rb +4 -19
  415. data/lib/datadog_api_client/v1/models/event_query_definition.rb +25 -152
  416. data/lib/datadog_api_client/v1/models/event_response.rb +6 -144
  417. data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +31 -153
  418. data/lib/datadog_api_client/v1/models/event_stream_widget_definition_type.rb +4 -19
  419. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +28 -152
  420. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition_type.rb +4 -19
  421. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb +4 -19
  422. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source.rb +4 -19
  423. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +73 -168
  424. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +4 -19
  425. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source.rb +4 -19
  426. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +55 -162
  427. data/lib/datadog_api_client/v1/models/formula_and_function_event_aggregation.rb +4 -19
  428. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +38 -156
  429. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +16 -148
  430. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +15 -148
  431. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +16 -148
  432. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +17 -148
  433. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +4 -19
  434. data/lib/datadog_api_client/v1/models/formula_and_function_metric_aggregation.rb +4 -19
  435. data/lib/datadog_api_client/v1/models/formula_and_function_metric_data_source.rb +4 -19
  436. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +37 -156
  437. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_data_source.rb +4 -19
  438. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +38 -156
  439. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +7 -62
  440. data/lib/datadog_api_client/v1/models/formula_and_function_response_format.rb +4 -19
  441. data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +27 -152
  442. data/lib/datadog_api_client/v1/models/free_text_widget_definition_type.rb +4 -19
  443. data/lib/datadog_api_client/v1/models/funnel_query.rb +36 -156
  444. data/lib/datadog_api_client/v1/models/funnel_request_type.rb +4 -19
  445. data/lib/datadog_api_client/v1/models/funnel_source.rb +4 -19
  446. data/lib/datadog_api_client/v1/models/funnel_step.rb +25 -152
  447. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +22 -166
  448. data/lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb +4 -19
  449. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +27 -152
  450. data/lib/datadog_api_client/v1/models/gcp_account.rb +9 -146
  451. data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +47 -174
  452. data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +25 -152
  453. data/lib/datadog_api_client/v1/models/geomap_widget_definition_type.rb +4 -19
  454. data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +15 -148
  455. data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +11 -146
  456. data/lib/datadog_api_client/v1/models/graph_snapshot.rb +8 -145
  457. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +38 -156
  458. data/lib/datadog_api_client/v1/models/group_widget_definition_type.rb +4 -19
  459. data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +23 -166
  460. data/lib/datadog_api_client/v1/models/heat_map_widget_definition_type.rb +4 -19
  461. data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +14 -144
  462. data/lib/datadog_api_client/v1/models/host.rb +8 -147
  463. data/lib/datadog_api_client/v1/models/host_list_response.rb +5 -144
  464. data/lib/datadog_api_client/v1/models/host_map_request.rb +13 -144
  465. data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +30 -152
  466. data/lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb +7 -144
  467. data/lib/datadog_api_client/v1/models/host_map_widget_definition_style.rb +5 -144
  468. data/lib/datadog_api_client/v1/models/host_map_widget_definition_type.rb +4 -19
  469. data/lib/datadog_api_client/v1/models/host_meta.rb +7 -145
  470. data/lib/datadog_api_client/v1/models/host_meta_install_method.rb +5 -144
  471. data/lib/datadog_api_client/v1/models/host_metrics.rb +5 -144
  472. data/lib/datadog_api_client/v1/models/host_mute_response.rb +5 -144
  473. data/lib/datadog_api_client/v1/models/host_mute_settings.rb +5 -144
  474. data/lib/datadog_api_client/v1/models/host_tags.rb +5 -144
  475. data/lib/datadog_api_client/v1/models/host_totals.rb +5 -144
  476. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +7 -147
  477. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_metadata.rb +6 -144
  478. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_pagination.rb +6 -144
  479. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_response.rb +6 -144
  480. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +4 -19
  481. data/lib/datadog_api_client/v1/models/http_log_error.rb +18 -160
  482. data/lib/datadog_api_client/v1/models/http_log_item.rb +53 -155
  483. data/lib/datadog_api_client/v1/models/http_method.rb +4 -19
  484. data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +26 -152
  485. data/lib/datadog_api_client/v1/models/i_frame_widget_definition_type.rb +4 -19
  486. data/lib/datadog_api_client/v1/models/idp_form_data.rb +15 -148
  487. data/lib/datadog_api_client/v1/models/idp_response.rb +15 -148
  488. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +32 -152
  489. data/lib/datadog_api_client/v1/models/image_widget_definition_type.rb +4 -19
  490. data/lib/datadog_api_client/v1/models/intake_payload_accepted.rb +5 -144
  491. data/lib/datadog_api_client/v1/models/ip_prefixes_agents.rb +5 -144
  492. data/lib/datadog_api_client/v1/models/ip_prefixes_api.rb +5 -144
  493. data/lib/datadog_api_client/v1/models/ip_prefixes_apm.rb +5 -144
  494. data/lib/datadog_api_client/v1/models/ip_prefixes_logs.rb +5 -144
  495. data/lib/datadog_api_client/v1/models/ip_prefixes_process.rb +5 -144
  496. data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics.rb +7 -150
  497. data/lib/datadog_api_client/v1/models/ip_prefixes_webhooks.rb +5 -144
  498. data/lib/datadog_api_client/v1/models/ip_ranges.rb +12 -144
  499. data/lib/datadog_api_client/v1/models/list_stream_column.rb +26 -152
  500. data/lib/datadog_api_client/v1/models/list_stream_column_width.rb +4 -19
  501. data/lib/datadog_api_client/v1/models/list_stream_query.rb +27 -153
  502. data/lib/datadog_api_client/v1/models/list_stream_response_format.rb +4 -19
  503. data/lib/datadog_api_client/v1/models/list_stream_source.rb +6 -20
  504. data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +24 -167
  505. data/lib/datadog_api_client/v1/models/list_stream_widget_definition_type.rb +4 -19
  506. data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +37 -156
  507. data/lib/datadog_api_client/v1/models/log.rb +6 -144
  508. data/lib/datadog_api_client/v1/models/log_content.rb +13 -150
  509. data/lib/datadog_api_client/v1/models/log_query_definition.rb +8 -145
  510. data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +16 -148
  511. data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +26 -152
  512. data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +15 -148
  513. data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +20 -148
  514. data/lib/datadog_api_client/v1/models/log_stream_widget_definition_type.rb +4 -19
  515. data/lib/datadog_api_client/v1/models/logs_api_error.rb +5 -144
  516. data/lib/datadog_api_client/v1/models/logs_api_error_response.rb +6 -144
  517. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +59 -158
  518. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor_type.rb +4 -19
  519. data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +42 -157
  520. data/lib/datadog_api_client/v1/models/logs_attribute_remapper_type.rb +4 -19
  521. data/lib/datadog_api_client/v1/models/logs_by_retention.rb +7 -144
  522. data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +6 -145
  523. data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +5 -144
  524. data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +5 -144
  525. data/lib/datadog_api_client/v1/models/logs_category_processor.rb +51 -158
  526. data/lib/datadog_api_client/v1/models/logs_category_processor_category.rb +6 -144
  527. data/lib/datadog_api_client/v1/models/logs_category_processor_type.rb +4 -19
  528. data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +45 -153
  529. data/lib/datadog_api_client/v1/models/logs_date_remapper_type.rb +4 -19
  530. data/lib/datadog_api_client/v1/models/logs_exclusion.rb +16 -148
  531. data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +19 -150
  532. data/lib/datadog_api_client/v1/models/logs_filter.rb +5 -144
  533. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +40 -157
  534. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser_type.rb +4 -19
  535. data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +41 -163
  536. data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +15 -148
  537. data/lib/datadog_api_client/v1/models/logs_grok_parser_type.rb +4 -19
  538. data/lib/datadog_api_client/v1/models/logs_index.rb +33 -155
  539. data/lib/datadog_api_client/v1/models/logs_index_list_response.rb +5 -144
  540. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +27 -151
  541. data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +18 -149
  542. data/lib/datadog_api_client/v1/models/logs_list_request.rb +26 -156
  543. data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +27 -153
  544. data/lib/datadog_api_client/v1/models/logs_list_response.rb +7 -145
  545. data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +55 -162
  546. data/lib/datadog_api_client/v1/models/logs_lookup_processor_type.rb +4 -19
  547. data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +34 -153
  548. data/lib/datadog_api_client/v1/models/logs_message_remapper_type.rb +4 -19
  549. data/lib/datadog_api_client/v1/models/logs_pipeline.rb +21 -149
  550. data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +22 -149
  551. data/lib/datadog_api_client/v1/models/logs_pipeline_processor_type.rb +4 -19
  552. data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +17 -149
  553. data/lib/datadog_api_client/v1/models/logs_processor.rb +14 -69
  554. data/lib/datadog_api_client/v1/models/logs_query_compute.rb +15 -148
  555. data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +6 -145
  556. data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +6 -145
  557. data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +30 -153
  558. data/lib/datadog_api_client/v1/models/logs_service_remapper_type.rb +4 -19
  559. data/lib/datadog_api_client/v1/models/logs_sort.rb +4 -19
  560. data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +44 -153
  561. data/lib/datadog_api_client/v1/models/logs_status_remapper_type.rb +4 -19
  562. data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +51 -158
  563. data/lib/datadog_api_client/v1/models/logs_string_builder_processor_type.rb +4 -19
  564. data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +24 -149
  565. data/lib/datadog_api_client/v1/models/logs_trace_remapper_type.rb +4 -19
  566. data/lib/datadog_api_client/v1/models/logs_url_parser.rb +38 -156
  567. data/lib/datadog_api_client/v1/models/logs_url_parser_type.rb +4 -19
  568. data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +40 -157
  569. data/lib/datadog_api_client/v1/models/logs_user_agent_parser_type.rb +4 -19
  570. data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +4 -19
  571. data/lib/datadog_api_client/v1/models/metric_metadata.rb +5 -144
  572. data/lib/datadog_api_client/v1/models/metric_search_response.rb +6 -144
  573. data/lib/datadog_api_client/v1/models/metric_search_response_results.rb +5 -144
  574. data/lib/datadog_api_client/v1/models/metrics_list_response.rb +5 -144
  575. data/lib/datadog_api_client/v1/models/metrics_payload.rb +15 -148
  576. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +11 -157
  577. data/lib/datadog_api_client/v1/models/metrics_query_response.rb +5 -144
  578. data/lib/datadog_api_client/v1/models/metrics_query_unit.rb +5 -144
  579. data/lib/datadog_api_client/v1/models/monitor.rb +33 -164
  580. data/lib/datadog_api_client/v1/models/monitor_device_id.rb +4 -19
  581. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_aggregation.rb +4 -19
  582. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +38 -156
  583. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +16 -148
  584. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +15 -148
  585. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +16 -148
  586. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +17 -148
  587. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +6 -19
  588. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +3 -58
  589. data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +7 -144
  590. data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +7 -146
  591. data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +6 -144
  592. data/lib/datadog_api_client/v1/models/monitor_options.rb +45 -168
  593. data/lib/datadog_api_client/v1/models/monitor_options_aggregation.rb +5 -144
  594. data/lib/datadog_api_client/v1/models/monitor_overall_states.rb +4 -19
  595. data/lib/datadog_api_client/v1/models/monitor_renotify_status_type.rb +4 -19
  596. data/lib/datadog_api_client/v1/models/monitor_search_count_item.rb +121 -0
  597. data/lib/datadog_api_client/v1/models/monitor_search_response.rb +7 -144
  598. data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +9 -148
  599. data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +5 -144
  600. data/lib/datadog_api_client/v1/models/monitor_search_result.rb +12 -145
  601. data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +5 -144
  602. data/lib/datadog_api_client/v1/models/monitor_state.rb +8 -148
  603. data/lib/datadog_api_client/v1/models/monitor_state_group.rb +6 -144
  604. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +31 -152
  605. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition_type.rb +4 -19
  606. data/lib/datadog_api_client/v1/models/monitor_threshold_window_options.rb +6 -145
  607. data/lib/datadog_api_client/v1/models/monitor_thresholds.rb +6 -145
  608. data/lib/datadog_api_client/v1/models/monitor_type.rb +6 -19
  609. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +13 -156
  610. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +7 -147
  611. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_metadata.rb +6 -144
  612. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_pagination.rb +6 -144
  613. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_response.rb +7 -145
  614. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -19
  615. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +5 -144
  616. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +29 -152
  617. data/lib/datadog_api_client/v1/models/note_widget_definition_type.rb +4 -19
  618. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +25 -152
  619. data/lib/datadog_api_client/v1/models/notebook_author.rb +5 -144
  620. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +28 -152
  621. data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +9 -63
  622. data/lib/datadog_api_client/v1/models/notebook_cell_resource_type.rb +4 -19
  623. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +38 -156
  624. data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +9 -63
  625. data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +5 -60
  626. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +38 -156
  627. data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +9 -63
  628. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +27 -152
  629. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +31 -169
  630. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +16 -148
  631. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +22 -149
  632. data/lib/datadog_api_client/v1/models/notebook_global_time.rb +5 -60
  633. data/lib/datadog_api_client/v1/models/notebook_graph_size.rb +4 -19
  634. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +20 -149
  635. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +19 -149
  636. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +16 -148
  637. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +26 -152
  638. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition_type.rb +4 -19
  639. data/lib/datadog_api_client/v1/models/notebook_metadata.rb +7 -145
  640. data/lib/datadog_api_client/v1/models/notebook_metadata_type.rb +4 -19
  641. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +16 -148
  642. data/lib/datadog_api_client/v1/models/notebook_resource_type.rb +4 -19
  643. data/lib/datadog_api_client/v1/models/notebook_response.rb +6 -144
  644. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +37 -156
  645. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +32 -169
  646. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +25 -152
  647. data/lib/datadog_api_client/v1/models/notebook_status.rb +4 -19
  648. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +20 -149
  649. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +20 -149
  650. data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +5 -59
  651. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +27 -152
  652. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +31 -169
  653. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +16 -148
  654. data/lib/datadog_api_client/v1/models/notebooks_response.rb +6 -144
  655. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +37 -156
  656. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +12 -161
  657. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +6 -144
  658. data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +5 -144
  659. data/lib/datadog_api_client/v1/models/organization.rb +14 -145
  660. data/lib/datadog_api_client/v1/models/organization_billing.rb +5 -144
  661. data/lib/datadog_api_client/v1/models/organization_create_body.rb +14 -151
  662. data/lib/datadog_api_client/v1/models/organization_create_response.rb +9 -144
  663. data/lib/datadog_api_client/v1/models/organization_list_response.rb +5 -144
  664. data/lib/datadog_api_client/v1/models/organization_response.rb +6 -144
  665. data/lib/datadog_api_client/v1/models/organization_settings.rb +11 -144
  666. data/lib/datadog_api_client/v1/models/organization_settings_saml.rb +7 -145
  667. data/lib/datadog_api_client/v1/models/organization_settings_saml_autocreate_users_domains.rb +5 -144
  668. data/lib/datadog_api_client/v1/models/organization_settings_saml_idp_initiated_login.rb +7 -145
  669. data/lib/datadog_api_client/v1/models/organization_settings_saml_strict_mode.rb +7 -145
  670. data/lib/datadog_api_client/v1/models/organization_subscription.rb +5 -144
  671. data/lib/datadog_api_client/v1/models/pager_duty_service.rb +25 -152
  672. data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +15 -148
  673. data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +15 -148
  674. data/lib/datadog_api_client/v1/models/pagination.rb +5 -144
  675. data/lib/datadog_api_client/v1/models/process_query_definition.rb +17 -154
  676. data/lib/datadog_api_client/v1/models/query_sort_order.rb +4 -19
  677. data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +33 -166
  678. data/lib/datadog_api_client/v1/models/query_value_widget_definition_type.rb +4 -19
  679. data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +18 -146
  680. data/lib/datadog_api_client/v1/models/response_meta_attributes.rb +6 -144
  681. data/lib/datadog_api_client/v1/models/scatter_plot_request.rb +14 -144
  682. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +31 -152
  683. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +8 -144
  684. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_type.rb +4 -19
  685. data/lib/datadog_api_client/v1/models/scatterplot_dimension.rb +4 -19
  686. data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +8 -146
  687. data/lib/datadog_api_client/v1/models/scatterplot_widget_aggregator.rb +4 -19
  688. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +26 -152
  689. data/lib/datadog_api_client/v1/models/series.rb +30 -156
  690. data/lib/datadog_api_client/v1/models/service_check.rb +45 -159
  691. data/lib/datadog_api_client/v1/models/service_check_status.rb +4 -19
  692. data/lib/datadog_api_client/v1/models/service_level_objective.rb +73 -166
  693. data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +28 -153
  694. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +57 -162
  695. data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +30 -164
  696. data/lib/datadog_api_client/v1/models/service_map_widget_definition_type.rb +4 -19
  697. data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +49 -159
  698. data/lib/datadog_api_client/v1/models/service_summary_widget_definition_type.rb +4 -19
  699. data/lib/datadog_api_client/v1/models/signal_archive_reason.rb +29 -0
  700. data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +132 -0
  701. data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +152 -0
  702. data/lib/datadog_api_client/v1/models/signal_triage_state.rb +28 -0
  703. data/lib/datadog_api_client/v1/models/slack_integration_channel.rb +6 -144
  704. data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +5 -144
  705. data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +39 -157
  706. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response.rb +12 -145
  707. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response_data.rb +10 -146
  708. data/lib/datadog_api_client/v1/models/slo_correction.rb +7 -144
  709. data/lib/datadog_api_client/v1/models/slo_correction_category.rb +4 -19
  710. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +17 -148
  711. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +6 -144
  712. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +40 -159
  713. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +6 -144
  714. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +6 -144
  715. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +14 -149
  716. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes_modifier.rb +5 -144
  717. data/lib/datadog_api_client/v1/models/slo_correction_type.rb +4 -19
  718. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +7 -144
  719. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +6 -144
  720. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +9 -146
  721. data/lib/datadog_api_client/v1/models/slo_delete_response.rb +6 -147
  722. data/lib/datadog_api_client/v1/models/slo_error_timeframe.rb +5 -19
  723. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +78 -169
  724. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +38 -157
  725. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata.rb +9 -146
  726. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb +6 -145
  727. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +10 -149
  728. data/lib/datadog_api_client/v1/models/slo_history_response.rb +6 -144
  729. data/lib/datadog_api_client/v1/models/slo_history_response_data.rb +24 -150
  730. data/lib/datadog_api_client/v1/models/slo_history_response_error.rb +5 -144
  731. data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +25 -152
  732. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +11 -152
  733. data/lib/datadog_api_client/v1/models/slo_list_response.rb +8 -145
  734. data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +6 -144
  735. data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +5 -144
  736. data/lib/datadog_api_client/v1/models/slo_response.rb +9 -145
  737. data/lib/datadog_api_client/v1/models/slo_response_data.rb +43 -154
  738. data/lib/datadog_api_client/v1/models/slo_threshold.rb +38 -155
  739. data/lib/datadog_api_client/v1/models/slo_timeframe.rb +4 -19
  740. data/lib/datadog_api_client/v1/models/slo_type.rb +4 -19
  741. data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +6 -19
  742. data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +28 -152
  743. data/lib/datadog_api_client/v1/models/slo_widget_definition_type.rb +4 -19
  744. data/lib/datadog_api_client/v1/models/successful_signal_update_response.rb +111 -0
  745. data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +22 -160
  746. data/lib/datadog_api_client/v1/models/sunburst_widget_definition_type.rb +4 -19
  747. data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +5 -60
  748. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +16 -148
  749. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic_type.rb +4 -19
  750. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +16 -148
  751. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table_type.rb +4 -19
  752. data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +17 -146
  753. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +51 -160
  754. data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +4 -19
  755. data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +60 -162
  756. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +8 -144
  757. data/lib/datadog_api_client/v1/models/synthetics_api_test_failure_code.rb +4 -19
  758. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_data.rb +12 -150
  759. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_failure.rb +6 -144
  760. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full.rb +11 -144
  761. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +16 -148
  762. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short.rb +10 -144
  763. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short_result.rb +7 -144
  764. data/lib/datadog_api_client/v1/models/synthetics_api_test_type.rb +4 -19
  765. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +7 -61
  766. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_operator.rb +4 -19
  767. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +28 -152
  768. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb +5 -145
  769. data/lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb +4 -19
  770. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +38 -153
  771. data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +6 -19
  772. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +5 -60
  773. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +16 -148
  774. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm_type.rb +4 -19
  775. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +36 -156
  776. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4_type.rb +4 -19
  777. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +26 -157
  778. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web_type.rb +4 -19
  779. data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +6 -144
  780. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +7 -144
  781. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +10 -145
  782. data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +36 -156
  783. data/lib/datadog_api_client/v1/models/synthetics_browser_error_type.rb +4 -19
  784. data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +58 -162
  785. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +28 -152
  786. data/lib/datadog_api_client/v1/models/synthetics_browser_test_failure_code.rb +4 -19
  787. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb +9 -145
  788. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_failure.rb +6 -144
  789. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb +11 -144
  790. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +16 -148
  791. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short.rb +10 -144
  792. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short_result.rb +6 -144
  793. data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +152 -0
  794. data/lib/datadog_api_client/v1/models/synthetics_browser_test_type.rb +4 -19
  795. data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +28 -153
  796. data/lib/datadog_api_client/v1/models/synthetics_browser_variable_type.rb +4 -19
  797. data/lib/datadog_api_client/v1/models/synthetics_check_type.rb +4 -19
  798. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata.rb +7 -144
  799. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_ci.rb +7 -144
  800. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_git.rb +5 -144
  801. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_pipeline.rb +5 -144
  802. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_provider.rb +5 -144
  803. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +20 -154
  804. data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +5 -144
  805. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +26 -152
  806. data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +4 -19
  807. data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +5 -144
  808. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +7 -145
  809. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_response.rb +7 -145
  810. data/lib/datadog_api_client/v1/models/synthetics_deleted_test.rb +7 -145
  811. data/lib/datadog_api_client/v1/models/synthetics_device.rb +45 -159
  812. data/lib/datadog_api_client/v1/models/synthetics_device_id.rb +4 -19
  813. data/lib/datadog_api_client/v1/models/synthetics_get_api_test_latest_results_response.rb +5 -144
  814. data/lib/datadog_api_client/v1/models/synthetics_get_browser_test_latest_results_response.rb +5 -144
  815. data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +47 -159
  816. data/lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb +6 -145
  817. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +27 -152
  818. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +4 -19
  819. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parser_type.rb +4 -19
  820. data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +7 -145
  821. data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +5 -144
  822. data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +5 -144
  823. data/lib/datadog_api_client/v1/models/synthetics_location.rb +7 -145
  824. data/lib/datadog_api_client/v1/models/synthetics_locations.rb +5 -144
  825. data/lib/datadog_api_client/v1/models/synthetics_parsing_options.rb +7 -144
  826. data/lib/datadog_api_client/v1/models/synthetics_playing_tab.rb +4 -19
  827. data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +47 -157
  828. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response.rb +7 -144
  829. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response_result_encryption.rb +5 -144
  830. data/lib/datadog_api_client/v1/models/synthetics_private_location_metadata.rb +113 -0
  831. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets.rb +7 -144
  832. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_authentication.rb +5 -144
  833. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_config_decryption.rb +5 -144
  834. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate.rb +7 -144
  835. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_issuer.rb +5 -144
  836. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_subject.rb +5 -144
  837. data/lib/datadog_api_client/v1/models/synthetics_status.rb +4 -19
  838. data/lib/datadog_api_client/v1/models/synthetics_step.rb +6 -144
  839. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +10 -146
  840. data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +26 -152
  841. data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +4 -19
  842. data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +8 -144
  843. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +13 -144
  844. data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +6 -19
  845. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +4 -19
  846. data/lib/datadog_api_client/v1/models/synthetics_test_execution_rule.rb +4 -19
  847. data/lib/datadog_api_client/v1/models/synthetics_test_monitor_status.rb +7 -19
  848. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +59 -169
  849. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +11 -157
  850. data/lib/datadog_api_client/v1/models/synthetics_test_options_retry.rb +9 -146
  851. data/lib/datadog_api_client/v1/models/synthetics_test_pause_status.rb +5 -19
  852. data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +4 -19
  853. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +38 -171
  854. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb +7 -144
  855. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb +5 -144
  856. data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +16 -151
  857. data/lib/datadog_api_client/v1/models/synthetics_timing.rb +7 -145
  858. data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +15 -148
  859. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_location.rb +5 -144
  860. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_run_result.rb +6 -144
  861. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_tests_response.rb +5 -144
  862. data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +16 -148
  863. data/lib/datadog_api_client/v1/models/synthetics_update_test_pause_status_payload.rb +7 -144
  864. data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +16 -148
  865. data/lib/datadog_api_client/v1/models/synthetics_warning_type.rb +4 -19
  866. data/lib/datadog_api_client/v1/models/table_widget_cell_display_mode.rb +4 -19
  867. data/lib/datadog_api_client/v1/models/table_widget_definition.rb +29 -152
  868. data/lib/datadog_api_client/v1/models/table_widget_definition_type.rb +4 -19
  869. data/lib/datadog_api_client/v1/models/table_widget_has_search_bar.rb +4 -19
  870. data/lib/datadog_api_client/v1/models/table_widget_request.rb +19 -146
  871. data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +6 -147
  872. data/lib/datadog_api_client/v1/models/target_format_type.rb +6 -19
  873. data/lib/datadog_api_client/v1/models/timeseries_background.rb +134 -0
  874. data/lib/datadog_api_client/v1/models/timeseries_background_type.rb +27 -0
  875. data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +25 -161
  876. data/lib/datadog_api_client/v1/models/timeseries_widget_definition_type.rb +4 -19
  877. data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +15 -148
  878. data/lib/datadog_api_client/v1/models/timeseries_widget_legend_column.rb +4 -19
  879. data/lib/datadog_api_client/v1/models/timeseries_widget_legend_layout.rb +4 -19
  880. data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +19 -146
  881. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +28 -152
  882. data/lib/datadog_api_client/v1/models/toplist_widget_definition_type.rb +4 -19
  883. data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +20 -152
  884. data/lib/datadog_api_client/v1/models/tree_map_color_by.rb +4 -19
  885. data/lib/datadog_api_client/v1/models/tree_map_group_by.rb +4 -19
  886. data/lib/datadog_api_client/v1/models/tree_map_size_by.rb +4 -19
  887. data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +22 -165
  888. data/lib/datadog_api_client/v1/models/tree_map_widget_definition_type.rb +4 -19
  889. data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +8 -146
  890. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb +5 -144
  891. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb +5 -144
  892. data/lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb +5 -144
  893. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +7 -147
  894. data/lib/datadog_api_client/v1/models/usage_attribution_metadata.rb +6 -144
  895. data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +5 -144
  896. data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +7 -145
  897. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +4 -21
  898. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +4 -21
  899. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +6 -165
  900. data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +5 -144
  901. data/lib/datadog_api_client/v1/models/usage_audit_logs_response.rb +5 -144
  902. data/lib/datadog_api_client/v1/models/usage_billable_summary_body.rb +5 -144
  903. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +6 -144
  904. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +37 -144
  905. data/lib/datadog_api_client/v1/models/usage_billable_summary_response.rb +5 -144
  906. data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +161 -0
  907. data/lib/datadog_api_client/v1/models/usage_ci_visibility_response.rb +113 -0
  908. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +5 -144
  909. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +5 -144
  910. data/lib/datadog_api_client/v1/models/usage_custom_reports_attributes.rb +5 -144
  911. data/lib/datadog_api_client/v1/models/usage_custom_reports_data.rb +7 -144
  912. data/lib/datadog_api_client/v1/models/usage_custom_reports_meta.rb +6 -144
  913. data/lib/datadog_api_client/v1/models/usage_custom_reports_page.rb +5 -144
  914. data/lib/datadog_api_client/v1/models/usage_custom_reports_response.rb +6 -144
  915. data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +5 -144
  916. data/lib/datadog_api_client/v1/models/usage_cws_response.rb +5 -144
  917. data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +5 -144
  918. data/lib/datadog_api_client/v1/models/usage_dbm_response.rb +5 -144
  919. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +5 -144
  920. data/lib/datadog_api_client/v1/models/usage_fargate_response.rb +5 -144
  921. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +23 -153
  922. data/lib/datadog_api_client/v1/models/usage_hosts_response.rb +5 -144
  923. data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +5 -144
  924. data/lib/datadog_api_client/v1/models/usage_incident_management_response.rb +5 -144
  925. data/lib/datadog_api_client/v1/models/usage_indexed_spans_hour.rb +5 -144
  926. data/lib/datadog_api_client/v1/models/usage_indexed_spans_response.rb +5 -144
  927. data/lib/datadog_api_client/v1/models/usage_ingested_spans_hour.rb +6 -145
  928. data/lib/datadog_api_client/v1/models/usage_ingested_spans_response.rb +5 -144
  929. data/lib/datadog_api_client/v1/models/usage_iot_hour.rb +141 -0
  930. data/lib/datadog_api_client/v1/models/usage_iot_response.rb +113 -0
  931. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +7 -145
  932. data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +7 -145
  933. data/lib/datadog_api_client/v1/models/usage_logs_by_index_hour.rb +5 -144
  934. data/lib/datadog_api_client/v1/models/usage_logs_by_index_response.rb +5 -144
  935. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +6 -145
  936. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +5 -144
  937. data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +5 -144
  938. data/lib/datadog_api_client/v1/models/usage_logs_response.rb +5 -144
  939. data/lib/datadog_api_client/v1/models/usage_metric_category.rb +4 -19
  940. data/lib/datadog_api_client/v1/models/usage_network_flows_hour.rb +5 -144
  941. data/lib/datadog_api_client/v1/models/usage_network_flows_response.rb +5 -144
  942. data/lib/datadog_api_client/v1/models/usage_network_hosts_hour.rb +5 -144
  943. data/lib/datadog_api_client/v1/models/usage_network_hosts_response.rb +5 -144
  944. data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +141 -0
  945. data/lib/datadog_api_client/v1/models/usage_online_archive_response.rb +113 -0
  946. data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +5 -144
  947. data/lib/datadog_api_client/v1/models/usage_profiling_response.rb +5 -144
  948. data/lib/datadog_api_client/v1/models/usage_reports_type.rb +4 -19
  949. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +22 -147
  950. data/lib/datadog_api_client/v1/models/usage_rum_sessions_response.rb +5 -144
  951. data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +6 -145
  952. data/lib/datadog_api_client/v1/models/usage_rum_units_response.rb +5 -144
  953. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +5 -144
  954. data/lib/datadog_api_client/v1/models/usage_sds_response.rb +5 -144
  955. data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +5 -144
  956. data/lib/datadog_api_client/v1/models/usage_snmp_response.rb +5 -144
  957. data/lib/datadog_api_client/v1/models/usage_sort.rb +4 -19
  958. data/lib/datadog_api_client/v1/models/usage_sort_direction.rb +4 -19
  959. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_attributes.rb +5 -144
  960. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_data.rb +7 -144
  961. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_meta.rb +6 -144
  962. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_page.rb +5 -144
  963. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_response.rb +7 -144
  964. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +77 -146
  965. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +77 -146
  966. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +78 -146
  967. data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +5 -144
  968. data/lib/datadog_api_client/v1/models/usage_synthetics_api_response.rb +5 -144
  969. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +5 -144
  970. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_response.rb +5 -144
  971. data/lib/datadog_api_client/v1/models/usage_synthetics_hour.rb +5 -144
  972. data/lib/datadog_api_client/v1/models/usage_synthetics_response.rb +5 -144
  973. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +5 -144
  974. data/lib/datadog_api_client/v1/models/usage_timeseries_response.rb +5 -144
  975. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_hour.rb +6 -144
  976. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +7 -145
  977. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_pagination.rb +132 -0
  978. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_response.rb +6 -144
  979. data/lib/datadog_api_client/v1/models/user.rb +6 -144
  980. data/lib/datadog_api_client/v1/models/user_disable_response.rb +5 -144
  981. data/lib/datadog_api_client/v1/models/user_list_response.rb +5 -144
  982. data/lib/datadog_api_client/v1/models/user_response.rb +6 -144
  983. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +35 -155
  984. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +37 -157
  985. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +27 -153
  986. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_update_request.rb +10 -146
  987. data/lib/datadog_api_client/v1/models/webhooks_integration_encoding.rb +4 -19
  988. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +18 -148
  989. data/lib/datadog_api_client/v1/models/widget.rb +23 -149
  990. data/lib/datadog_api_client/v1/models/widget_aggregator.rb +4 -19
  991. data/lib/datadog_api_client/v1/models/widget_axis.rb +5 -144
  992. data/lib/datadog_api_client/v1/models/widget_change_type.rb +4 -19
  993. data/lib/datadog_api_client/v1/models/widget_color_preference.rb +4 -19
  994. data/lib/datadog_api_client/v1/models/widget_comparator.rb +4 -19
  995. data/lib/datadog_api_client/v1/models/widget_compare_to.rb +4 -19
  996. data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +37 -156
  997. data/lib/datadog_api_client/v1/models/widget_custom_link.rb +5 -144
  998. data/lib/datadog_api_client/v1/models/widget_definition.rb +7 -62
  999. data/lib/datadog_api_client/v1/models/widget_display_type.rb +4 -19
  1000. data/lib/datadog_api_client/v1/models/widget_event.rb +19 -149
  1001. data/lib/datadog_api_client/v1/models/widget_event_size.rb +4 -19
  1002. data/lib/datadog_api_client/v1/models/widget_field_sort.rb +26 -152
  1003. data/lib/datadog_api_client/v1/models/widget_formula.rb +17 -148
  1004. data/lib/datadog_api_client/v1/models/widget_formula_limit.rb +6 -144
  1005. data/lib/datadog_api_client/v1/models/widget_grouping.rb +4 -19
  1006. data/lib/datadog_api_client/v1/models/widget_horizontal_align.rb +4 -19
  1007. data/lib/datadog_api_client/v1/models/widget_image_sizing.rb +5 -19
  1008. data/lib/datadog_api_client/v1/models/widget_layout.rb +19 -193
  1009. data/lib/datadog_api_client/v1/models/widget_layout_type.rb +4 -19
  1010. data/lib/datadog_api_client/v1/models/widget_line_type.rb +4 -19
  1011. data/lib/datadog_api_client/v1/models/widget_line_width.rb +4 -19
  1012. data/lib/datadog_api_client/v1/models/widget_live_span.rb +4 -19
  1013. data/lib/datadog_api_client/v1/models/widget_margin.rb +5 -19
  1014. data/lib/datadog_api_client/v1/models/widget_marker.rb +20 -149
  1015. data/lib/datadog_api_client/v1/models/widget_message_display.rb +4 -19
  1016. data/lib/datadog_api_client/v1/models/widget_monitor_summary_display_format.rb +4 -19
  1017. data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +4 -19
  1018. data/lib/datadog_api_client/v1/models/widget_node_type.rb +4 -19
  1019. data/lib/datadog_api_client/v1/models/widget_order_by.rb +4 -19
  1020. data/lib/datadog_api_client/v1/models/widget_palette.rb +4 -19
  1021. data/lib/datadog_api_client/v1/models/widget_request_style.rb +7 -144
  1022. data/lib/datadog_api_client/v1/models/widget_service_summary_display_format.rb +4 -19
  1023. data/lib/datadog_api_client/v1/models/widget_size_format.rb +4 -19
  1024. data/lib/datadog_api_client/v1/models/widget_sort.rb +4 -19
  1025. data/lib/datadog_api_client/v1/models/widget_style.rb +5 -144
  1026. data/lib/datadog_api_client/v1/models/widget_summary_type.rb +4 -19
  1027. data/lib/datadog_api_client/v1/models/widget_text_align.rb +4 -19
  1028. data/lib/datadog_api_client/v1/models/widget_tick_edge.rb +4 -19
  1029. data/lib/datadog_api_client/v1/models/widget_time.rb +6 -144
  1030. data/lib/datadog_api_client/v1/models/widget_time_windows.rb +4 -19
  1031. data/lib/datadog_api_client/v1/models/widget_vertical_align.rb +4 -19
  1032. data/lib/datadog_api_client/v1/models/widget_view_mode.rb +4 -19
  1033. data/lib/datadog_api_client/v1/models/widget_viz_type.rb +4 -19
  1034. data/lib/datadog_api_client/v1.rb +109 -68
  1035. data/lib/datadog_api_client/v2/api/audit_api.rb +234 -0
  1036. data/lib/datadog_api_client/v2/api/{auth_n_mappings_api.rb → authn_mappings_api.rb} +108 -110
  1037. data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +60 -55
  1038. data/lib/datadog_api_client/v2/api/dashboard_lists_api.rb +39 -41
  1039. data/lib/datadog_api_client/v2/api/incident_services_api.rb +62 -57
  1040. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +62 -57
  1041. data/lib/datadog_api_client/v2/api/incidents_api.rb +74 -55
  1042. data/lib/datadog_api_client/v2/api/key_management_api.rb +139 -149
  1043. data/lib/datadog_api_client/v2/api/logs_api.rb +129 -47
  1044. data/lib/datadog_api_client/v2/api/logs_archives_api.rb +106 -98
  1045. data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +52 -49
  1046. data/lib/datadog_api_client/v2/api/metrics_api.rb +286 -96
  1047. data/lib/datadog_api_client/v2/api/organizations_api.rb +100 -0
  1048. data/lib/datadog_api_client/v2/api/processes_api.rb +34 -20
  1049. data/lib/datadog_api_client/v2/api/roles_api.rb +179 -186
  1050. data/lib/datadog_api_client/v2/api/rum_api.rb +313 -0
  1051. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +179 -129
  1052. data/lib/datadog_api_client/v2/api/service_accounts_api.rb +51 -57
  1053. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +330 -0
  1054. data/lib/datadog_api_client/v2/api/users_api.rb +116 -112
  1055. data/lib/datadog_api_client/v2/api_client.rb +106 -66
  1056. data/lib/datadog_api_client/v2/api_error.rb +2 -2
  1057. data/lib/datadog_api_client/v2/configuration.rb +57 -68
  1058. data/lib/datadog_api_client/v2/{models/auth_n_mappings_response.rb → model_base.rb} +100 -109
  1059. data/lib/datadog_api_client/v2/models/api_error_response.rb +15 -148
  1060. data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +15 -148
  1061. data/lib/datadog_api_client/v2/models/api_key_create_data.rb +27 -152
  1062. data/lib/datadog_api_client/v2/models/api_key_create_request.rb +16 -148
  1063. data/lib/datadog_api_client/v2/models/api_key_relationships.rb +7 -144
  1064. data/lib/datadog_api_client/v2/models/api_key_response.rb +6 -144
  1065. data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +3 -58
  1066. data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +15 -148
  1067. data/lib/datadog_api_client/v2/models/api_key_update_data.rb +37 -156
  1068. data/lib/datadog_api_client/v2/models/api_key_update_request.rb +16 -148
  1069. data/lib/datadog_api_client/v2/models/api_keys_response.rb +5 -144
  1070. data/lib/datadog_api_client/v2/models/api_keys_sort.rb +4 -19
  1071. data/lib/datadog_api_client/v2/models/api_keys_type.rb +4 -19
  1072. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +16 -149
  1073. data/lib/datadog_api_client/v2/models/application_key_create_data.rb +27 -152
  1074. data/lib/datadog_api_client/v2/models/application_key_create_request.rb +16 -148
  1075. data/lib/datadog_api_client/v2/models/application_key_relationships.rb +6 -144
  1076. data/lib/datadog_api_client/v2/models/application_key_response.rb +6 -144
  1077. data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +5 -60
  1078. data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +6 -145
  1079. data/lib/datadog_api_client/v2/models/application_key_update_data.rb +37 -156
  1080. data/lib/datadog_api_client/v2/models/application_key_update_request.rb +16 -148
  1081. data/lib/datadog_api_client/v2/models/application_keys_sort.rb +4 -19
  1082. data/lib/datadog_api_client/v2/models/application_keys_type.rb +4 -19
  1083. data/lib/datadog_api_client/v2/models/audit_logs_event.rb +133 -0
  1084. data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +145 -0
  1085. data/lib/datadog_api_client/v2/models/audit_logs_event_type.rb +26 -0
  1086. data/lib/datadog_api_client/v2/models/audit_logs_events_response.rb +133 -0
  1087. data/lib/datadog_api_client/v2/models/audit_logs_query_filter.rb +137 -0
  1088. data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +124 -0
  1089. data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +134 -0
  1090. data/lib/datadog_api_client/v2/models/audit_logs_response_links.rb +112 -0
  1091. data/lib/datadog_api_client/v2/models/audit_logs_response_metadata.rb +154 -0
  1092. data/lib/datadog_api_client/v2/models/audit_logs_response_page.rb +111 -0
  1093. data/lib/datadog_api_client/v2/models/audit_logs_response_status.rb +27 -0
  1094. data/lib/datadog_api_client/v2/models/audit_logs_search_events_request.rb +142 -0
  1095. data/lib/datadog_api_client/v2/models/audit_logs_sort.rb +27 -0
  1096. data/lib/datadog_api_client/v2/models/audit_logs_warning.rb +131 -0
  1097. data/lib/datadog_api_client/v2/models/authn_mapping.rb +165 -0
  1098. data/lib/datadog_api_client/v2/models/authn_mapping_attributes.rb +151 -0
  1099. data/lib/datadog_api_client/v2/models/authn_mapping_create_attributes.rb +121 -0
  1100. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +144 -0
  1101. data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +111 -0
  1102. data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +122 -0
  1103. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +63 -0
  1104. data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +121 -0
  1105. data/lib/datadog_api_client/v2/models/authn_mapping_response.rb +123 -0
  1106. data/lib/datadog_api_client/v2/models/authn_mapping_update_attributes.rb +121 -0
  1107. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +165 -0
  1108. data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +111 -0
  1109. data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +122 -0
  1110. data/lib/datadog_api_client/v2/models/authn_mappings_response.rb +135 -0
  1111. data/lib/datadog_api_client/v2/models/{auth_n_mappings_sort.rb → authn_mappings_sort.rb} +4 -19
  1112. data/lib/datadog_api_client/v2/models/authn_mappings_type.rb +26 -0
  1113. data/lib/datadog_api_client/v2/models/chargeback_breakdown.rb +131 -0
  1114. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +7 -144
  1115. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +25 -152
  1116. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +27 -152
  1117. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +16 -148
  1118. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +5 -144
  1119. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_data.rb +7 -144
  1120. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_response.rb +6 -144
  1121. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_type.rb +4 -19
  1122. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb +5 -144
  1123. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +27 -152
  1124. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +16 -148
  1125. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +5 -144
  1126. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rules_list_response.rb +5 -144
  1127. data/lib/datadog_api_client/v2/models/content_encoding.rb +4 -19
  1128. data/lib/datadog_api_client/v2/models/cost_by_org.rb +133 -0
  1129. data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +153 -0
  1130. data/lib/datadog_api_client/v2/models/cost_by_org_response.rb +113 -0
  1131. data/lib/datadog_api_client/v2/models/cost_by_org_type.rb +26 -0
  1132. data/lib/datadog_api_client/v2/models/creator.rb +5 -144
  1133. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb +5 -144
  1134. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb +5 -144
  1135. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb +5 -144
  1136. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_response.rb +5 -144
  1137. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +29 -158
  1138. data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +26 -152
  1139. data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +26 -152
  1140. data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +15 -148
  1141. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_request.rb +5 -144
  1142. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_response.rb +5 -144
  1143. data/lib/datadog_api_client/v2/models/dashboard_type.rb +4 -19
  1144. data/lib/datadog_api_client/v2/models/full_api_key.rb +8 -144
  1145. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +7 -155
  1146. data/lib/datadog_api_client/v2/models/full_application_key.rb +8 -144
  1147. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +8 -156
  1148. data/lib/datadog_api_client/v2/models/hourly_usage_type.rb +28 -0
  1149. data/lib/datadog_api_client/v2/models/http_log_error.rb +5 -144
  1150. data/lib/datadog_api_client/v2/models/http_log_errors.rb +5 -144
  1151. data/lib/datadog_api_client/v2/models/http_log_item.rb +54 -151
  1152. data/lib/datadog_api_client/v2/models/idp_metadata_form_data.rb +111 -0
  1153. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +26 -155
  1154. data/lib/datadog_api_client/v2/models/incident_create_data.rb +28 -152
  1155. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +24 -156
  1156. data/lib/datadog_api_client/v2/models/incident_create_request.rb +16 -148
  1157. data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +5 -60
  1158. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +7 -145
  1159. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +7 -145
  1160. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value_type.rb +4 -19
  1161. data/lib/datadog_api_client/v2/models/incident_field_attributes_value_type.rb +4 -19
  1162. data/lib/datadog_api_client/v2/models/incident_integration_metadata_type.rb +4 -19
  1163. data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +5 -144
  1164. data/lib/datadog_api_client/v2/models/incident_postmortem_type.rb +4 -19
  1165. data/lib/datadog_api_client/v2/models/incident_related_object.rb +4 -19
  1166. data/lib/datadog_api_client/v2/models/incident_response.rb +16 -148
  1167. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +20 -153
  1168. data/lib/datadog_api_client/v2/models/incident_response_data.rb +28 -152
  1169. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +3 -58
  1170. data/lib/datadog_api_client/v2/models/incident_response_meta.rb +6 -144
  1171. data/lib/datadog_api_client/v2/models/incident_response_meta_pagination.rb +5 -144
  1172. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +11 -145
  1173. data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +15 -148
  1174. data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +18 -148
  1175. data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +16 -148
  1176. data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +3 -58
  1177. data/lib/datadog_api_client/v2/models/incident_service_relationships.rb +7 -144
  1178. data/lib/datadog_api_client/v2/models/incident_service_response.rb +16 -148
  1179. data/lib/datadog_api_client/v2/models/incident_service_response_attributes.rb +5 -144
  1180. data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +28 -152
  1181. data/lib/datadog_api_client/v2/models/incident_service_type.rb +4 -19
  1182. data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +15 -148
  1183. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +18 -148
  1184. data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +16 -148
  1185. data/lib/datadog_api_client/v2/models/incident_services_response.rb +16 -148
  1186. data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +15 -148
  1187. data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +18 -148
  1188. data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +16 -148
  1189. data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +3 -58
  1190. data/lib/datadog_api_client/v2/models/incident_team_relationships.rb +7 -144
  1191. data/lib/datadog_api_client/v2/models/incident_team_response.rb +16 -148
  1192. data/lib/datadog_api_client/v2/models/incident_team_response_attributes.rb +5 -144
  1193. data/lib/datadog_api_client/v2/models/incident_team_response_data.rb +8 -144
  1194. data/lib/datadog_api_client/v2/models/incident_team_type.rb +4 -19
  1195. data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +15 -148
  1196. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +18 -148
  1197. data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +16 -148
  1198. data/lib/datadog_api_client/v2/models/incident_teams_response.rb +16 -148
  1199. data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +3 -58
  1200. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_content_type.rb +4 -19
  1201. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +27 -152
  1202. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes_content.rb +5 -144
  1203. data/lib/datadog_api_client/v2/models/incident_type.rb +4 -19
  1204. data/lib/datadog_api_client/v2/models/incident_update_attributes.rb +6 -147
  1205. data/lib/datadog_api_client/v2/models/incident_update_data.rb +28 -152
  1206. data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +10 -164
  1207. data/lib/datadog_api_client/v2/models/incident_update_request.rb +16 -148
  1208. data/lib/datadog_api_client/v2/models/incidents_response.rb +16 -148
  1209. data/lib/datadog_api_client/v2/models/intake_payload_accepted.rb +111 -0
  1210. data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +5 -144
  1211. data/lib/datadog_api_client/v2/models/log.rb +7 -144
  1212. data/lib/datadog_api_client/v2/models/log_attributes.rb +12 -149
  1213. data/lib/datadog_api_client/v2/models/log_type.rb +4 -19
  1214. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +7 -150
  1215. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +5 -60
  1216. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +5 -144
  1217. data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +9 -144
  1218. data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +5 -144
  1219. data/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +7 -144
  1220. data/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +5 -144
  1221. data/lib/datadog_api_client/v2/models/logs_aggregate_response_status.rb +4 -19
  1222. data/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +8 -144
  1223. data/lib/datadog_api_client/v2/models/logs_aggregate_sort_type.rb +4 -19
  1224. data/lib/datadog_api_client/v2/models/logs_aggregation_function.rb +5 -19
  1225. data/lib/datadog_api_client/v2/models/logs_archive.rb +6 -144
  1226. data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +41 -154
  1227. data/lib/datadog_api_client/v2/models/logs_archive_create_request.rb +6 -144
  1228. data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +50 -158
  1229. data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +16 -148
  1230. data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +3 -58
  1231. data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +16 -148
  1232. data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +3 -58
  1233. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +46 -159
  1234. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure_type.rb +4 -19
  1235. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +37 -156
  1236. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs_type.rb +4 -19
  1237. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +37 -156
  1238. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3_type.rb +4 -19
  1239. data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +25 -152
  1240. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +25 -152
  1241. data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +25 -152
  1242. data/lib/datadog_api_client/v2/models/logs_archive_order.rb +6 -144
  1243. data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +17 -149
  1244. data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +27 -152
  1245. data/lib/datadog_api_client/v2/models/logs_archive_order_definition_type.rb +4 -19
  1246. data/lib/datadog_api_client/v2/models/logs_archive_state.rb +4 -19
  1247. data/lib/datadog_api_client/v2/models/logs_archives.rb +5 -144
  1248. data/lib/datadog_api_client/v2/models/logs_compute.rb +19 -149
  1249. data/lib/datadog_api_client/v2/models/logs_compute_type.rb +4 -19
  1250. data/lib/datadog_api_client/v2/models/logs_group_by.rb +22 -148
  1251. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +41 -159
  1252. data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +5 -60
  1253. data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +5 -60
  1254. data/lib/datadog_api_client/v2/models/logs_list_request.rb +10 -144
  1255. data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +7 -150
  1256. data/lib/datadog_api_client/v2/models/logs_list_response.rb +7 -144
  1257. data/lib/datadog_api_client/v2/models/logs_list_response_links.rb +7 -145
  1258. data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +17 -149
  1259. data/lib/datadog_api_client/v2/models/logs_metric_compute_aggregation_type.rb +4 -19
  1260. data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +17 -148
  1261. data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +37 -156
  1262. data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +16 -148
  1263. data/lib/datadog_api_client/v2/models/logs_metric_filter.rb +5 -144
  1264. data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +15 -148
  1265. data/lib/datadog_api_client/v2/models/logs_metric_response.rb +6 -144
  1266. data/lib/datadog_api_client/v2/models/logs_metric_response_attributes.rb +7 -144
  1267. data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +7 -145
  1268. data/lib/datadog_api_client/v2/models/logs_metric_response_compute_aggregation_type.rb +4 -19
  1269. data/lib/datadog_api_client/v2/models/logs_metric_response_data.rb +7 -144
  1270. data/lib/datadog_api_client/v2/models/logs_metric_response_filter.rb +5 -144
  1271. data/lib/datadog_api_client/v2/models/logs_metric_response_group_by.rb +5 -144
  1272. data/lib/datadog_api_client/v2/models/logs_metric_type.rb +4 -19
  1273. data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +6 -144
  1274. data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +27 -152
  1275. data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +16 -148
  1276. data/lib/datadog_api_client/v2/models/logs_metrics_response.rb +5 -144
  1277. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +7 -144
  1278. data/lib/datadog_api_client/v2/models/logs_query_options.rb +8 -146
  1279. data/lib/datadog_api_client/v2/models/logs_response_metadata.rb +9 -145
  1280. data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +7 -145
  1281. data/lib/datadog_api_client/v2/models/logs_sort.rb +4 -19
  1282. data/lib/datadog_api_client/v2/models/logs_sort_order.rb +4 -19
  1283. data/lib/datadog_api_client/v2/models/logs_warning.rb +5 -144
  1284. data/lib/datadog_api_client/v2/models/metric.rb +6 -144
  1285. data/lib/datadog_api_client/v2/models/metric_all_tags.rb +7 -144
  1286. data/lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb +5 -144
  1287. data/lib/datadog_api_client/v2/models/metric_all_tags_response.rb +6 -144
  1288. data/lib/datadog_api_client/v2/models/metric_bulk_configure_tags_type.rb +4 -19
  1289. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +27 -152
  1290. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +5 -144
  1291. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +16 -148
  1292. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +27 -152
  1293. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_attributes.rb +5 -144
  1294. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +16 -148
  1295. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_response.rb +7 -144
  1296. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +29 -153
  1297. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +5 -144
  1298. data/lib/datadog_api_client/v2/models/metric_content_encoding.rb +26 -0
  1299. data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +27 -152
  1300. data/lib/datadog_api_client/v2/models/metric_custom_space_aggregation.rb +4 -19
  1301. data/lib/datadog_api_client/v2/models/metric_custom_time_aggregation.rb +4 -19
  1302. data/lib/datadog_api_client/v2/models/metric_distinct_volume.rb +7 -144
  1303. data/lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb +5 -144
  1304. data/lib/datadog_api_client/v2/models/metric_distinct_volume_type.rb +4 -19
  1305. data/lib/datadog_api_client/v2/models/metric_estimate.rb +133 -0
  1306. data/lib/datadog_api_client/v2/models/metric_estimate_attributes.rb +133 -0
  1307. data/lib/datadog_api_client/v2/models/metric_estimate_resource_type.rb +26 -0
  1308. data/lib/datadog_api_client/v2/models/metric_estimate_response.rb +111 -0
  1309. data/lib/datadog_api_client/v2/models/metric_estimate_type.rb +28 -0
  1310. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume.rb +7 -144
  1311. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +5 -144
  1312. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_type.rb +4 -19
  1313. data/lib/datadog_api_client/v2/models/metric_intake_type.rb +30 -0
  1314. data/lib/datadog_api_client/v2/models/metric_metadata.rb +111 -0
  1315. data/lib/datadog_api_client/v2/models/metric_origin.rb +170 -0
  1316. data/lib/datadog_api_client/v2/models/metric_payload.rb +124 -0
  1317. data/lib/datadog_api_client/v2/models/metric_point.rb +122 -0
  1318. data/lib/datadog_api_client/v2/models/metric_resource.rb +121 -0
  1319. data/lib/datadog_api_client/v2/models/metric_series.rb +220 -0
  1320. data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +7 -144
  1321. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +24 -146
  1322. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +46 -154
  1323. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +27 -152
  1324. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +16 -148
  1325. data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb +4 -19
  1326. data/lib/datadog_api_client/v2/models/metric_tag_configuration_response.rb +6 -144
  1327. data/lib/datadog_api_client/v2/models/metric_tag_configuration_type.rb +4 -19
  1328. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +25 -146
  1329. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +27 -152
  1330. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +16 -148
  1331. data/lib/datadog_api_client/v2/models/metric_type.rb +4 -19
  1332. data/lib/datadog_api_client/v2/models/metric_volumes.rb +3 -58
  1333. data/lib/datadog_api_client/v2/models/metric_volumes_response.rb +6 -144
  1334. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +3 -58
  1335. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +5 -144
  1336. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb +112 -0
  1337. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +145 -0
  1338. data/lib/datadog_api_client/v2/models/organization.rb +17 -148
  1339. data/lib/datadog_api_client/v2/models/organization_attributes.rb +5 -144
  1340. data/lib/datadog_api_client/v2/models/organizations_type.rb +4 -19
  1341. data/lib/datadog_api_client/v2/models/pagination.rb +5 -144
  1342. data/lib/datadog_api_client/v2/models/partial_api_key.rb +8 -144
  1343. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +7 -155
  1344. data/lib/datadog_api_client/v2/models/partial_application_key.rb +8 -144
  1345. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +8 -156
  1346. data/lib/datadog_api_client/v2/models/partial_application_key_response.rb +6 -144
  1347. data/lib/datadog_api_client/v2/models/permission.rb +17 -148
  1348. data/lib/datadog_api_client/v2/models/permission_attributes.rb +5 -144
  1349. data/lib/datadog_api_client/v2/models/permissions_response.rb +5 -144
  1350. data/lib/datadog_api_client/v2/models/permissions_type.rb +4 -19
  1351. data/lib/datadog_api_client/v2/models/process_summaries_meta.rb +6 -144
  1352. data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +9 -156
  1353. data/lib/datadog_api_client/v2/models/process_summaries_response.rb +6 -144
  1354. data/lib/datadog_api_client/v2/models/process_summary.rb +7 -144
  1355. data/lib/datadog_api_client/v2/models/process_summary_attributes.rb +5 -144
  1356. data/lib/datadog_api_client/v2/models/process_summary_type.rb +4 -19
  1357. data/lib/datadog_api_client/v2/models/query_sort_order.rb +4 -19
  1358. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +26 -152
  1359. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +15 -148
  1360. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +16 -148
  1361. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +26 -152
  1362. data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +16 -148
  1363. data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +26 -152
  1364. data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +15 -148
  1365. data/lib/datadog_api_client/v2/models/relationship_to_permission.rb +6 -144
  1366. data/lib/datadog_api_client/v2/models/relationship_to_permission_data.rb +6 -144
  1367. data/lib/datadog_api_client/v2/models/relationship_to_permissions.rb +5 -144
  1368. data/lib/datadog_api_client/v2/models/relationship_to_role.rb +6 -144
  1369. data/lib/datadog_api_client/v2/models/relationship_to_role_data.rb +7 -145
  1370. data/lib/datadog_api_client/v2/models/relationship_to_roles.rb +6 -145
  1371. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +16 -148
  1372. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +19 -164
  1373. data/lib/datadog_api_client/v2/models/relationship_to_user.rb +16 -148
  1374. data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +26 -152
  1375. data/lib/datadog_api_client/v2/models/relationship_to_users.rb +15 -148
  1376. data/lib/datadog_api_client/v2/models/response_meta_attributes.rb +6 -144
  1377. data/lib/datadog_api_client/v2/models/role.rb +19 -149
  1378. data/lib/datadog_api_client/v2/models/role_attributes.rb +6 -145
  1379. data/lib/datadog_api_client/v2/models/role_clone.rb +27 -152
  1380. data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +15 -148
  1381. data/lib/datadog_api_client/v2/models/role_clone_request.rb +16 -148
  1382. data/lib/datadog_api_client/v2/models/role_create_attributes.rb +15 -148
  1383. data/lib/datadog_api_client/v2/models/role_create_data.rb +18 -148
  1384. data/lib/datadog_api_client/v2/models/role_create_request.rb +16 -148
  1385. data/lib/datadog_api_client/v2/models/role_create_response.rb +6 -144
  1386. data/lib/datadog_api_client/v2/models/role_create_response_data.rb +19 -149
  1387. data/lib/datadog_api_client/v2/models/role_relationships.rb +7 -144
  1388. data/lib/datadog_api_client/v2/models/role_response.rb +6 -144
  1389. data/lib/datadog_api_client/v2/models/role_response_relationships.rb +6 -144
  1390. data/lib/datadog_api_client/v2/models/role_update_attributes.rb +5 -144
  1391. data/lib/datadog_api_client/v2/models/role_update_data.rb +38 -157
  1392. data/lib/datadog_api_client/v2/models/role_update_request.rb +16 -148
  1393. data/lib/datadog_api_client/v2/models/role_update_response.rb +6 -144
  1394. data/lib/datadog_api_client/v2/models/role_update_response_data.rb +19 -149
  1395. data/lib/datadog_api_client/v2/models/roles_response.rb +6 -144
  1396. data/lib/datadog_api_client/v2/models/roles_sort.rb +4 -19
  1397. data/lib/datadog_api_client/v2/models/roles_type.rb +4 -19
  1398. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +64 -0
  1399. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value_timeseries_point.rb +121 -0
  1400. data/lib/datadog_api_client/v2/models/rum_aggregate_request.rb +156 -0
  1401. data/lib/datadog_api_client/v2/models/rum_aggregate_sort.rb +143 -0
  1402. data/lib/datadog_api_client/v2/models/rum_aggregate_sort_type.rb +27 -0
  1403. data/lib/datadog_api_client/v2/models/rum_aggregation_buckets_response.rb +113 -0
  1404. data/lib/datadog_api_client/v2/models/rum_aggregation_function.rb +37 -0
  1405. data/lib/datadog_api_client/v2/models/rum_analytics_aggregate_response.rb +131 -0
  1406. data/lib/datadog_api_client/v2/models/rum_bucket_response.rb +121 -0
  1407. data/lib/datadog_api_client/v2/models/rum_compute.rb +155 -0
  1408. data/lib/datadog_api_client/v2/models/rum_compute_type.rb +27 -0
  1409. data/lib/datadog_api_client/v2/models/rum_event.rb +133 -0
  1410. data/lib/datadog_api_client/v2/models/rum_event_attributes.rb +145 -0
  1411. data/lib/datadog_api_client/v2/models/rum_event_type.rb +26 -0
  1412. data/lib/datadog_api_client/v2/models/rum_events_response.rb +133 -0
  1413. data/lib/datadog_api_client/v2/models/rum_group_by.rb +177 -0
  1414. data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +167 -0
  1415. data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +63 -0
  1416. data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +64 -0
  1417. data/lib/datadog_api_client/v2/models/rum_query_filter.rb +137 -0
  1418. data/lib/datadog_api_client/v2/models/rum_query_options.rb +124 -0
  1419. data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +134 -0
  1420. data/lib/datadog_api_client/v2/models/rum_response_links.rb +112 -0
  1421. data/lib/datadog_api_client/v2/models/rum_response_metadata.rb +154 -0
  1422. data/lib/datadog_api_client/v2/models/rum_response_page.rb +111 -0
  1423. data/lib/datadog_api_client/v2/models/rum_response_status.rb +27 -0
  1424. data/lib/datadog_api_client/v2/models/rum_search_events_request.rb +142 -0
  1425. data/lib/datadog_api_client/v2/models/rum_sort.rb +27 -0
  1426. data/lib/datadog_api_client/v2/models/rum_sort_order.rb +27 -0
  1427. data/lib/datadog_api_client/v2/models/rum_warning.rb +131 -0
  1428. data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +20 -164
  1429. data/lib/datadog_api_client/v2/models/saml_assertion_attribute_attributes.rb +5 -144
  1430. data/lib/datadog_api_client/v2/models/saml_assertion_attributes_type.rb +4 -19
  1431. data/lib/datadog_api_client/v2/models/security_filter.rb +7 -144
  1432. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +8 -150
  1433. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +54 -162
  1434. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +27 -152
  1435. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +16 -148
  1436. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +25 -152
  1437. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +5 -144
  1438. data/lib/datadog_api_client/v2/models/security_filter_filtered_data_type.rb +4 -19
  1439. data/lib/datadog_api_client/v2/models/security_filter_meta.rb +5 -144
  1440. data/lib/datadog_api_client/v2/models/security_filter_response.rb +7 -144
  1441. data/lib/datadog_api_client/v2/models/security_filter_type.rb +4 -19
  1442. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +8 -150
  1443. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +27 -152
  1444. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +16 -148
  1445. data/lib/datadog_api_client/v2/models/security_filters_response.rb +6 -144
  1446. data/lib/datadog_api_client/v2/models/security_monitoring_filter.rb +6 -144
  1447. data/lib/datadog_api_client/v2/models/security_monitoring_filter_action.rb +4 -19
  1448. data/lib/datadog_api_client/v2/models/security_monitoring_list_rules_response.rb +6 -144
  1449. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +8 -145
  1450. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +18 -149
  1451. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +64 -165
  1452. data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +6 -19
  1453. data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +5 -19
  1454. data/lib/datadog_api_client/v2/models/security_monitoring_rule_hardcoded_evaluator_type.rb +26 -0
  1455. data/lib/datadog_api_client/v2/models/security_monitoring_rule_impossible_travel_options.rb +112 -0
  1456. data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +5 -19
  1457. data/lib/datadog_api_client/v2/models/security_monitoring_rule_max_signal_duration.rb +5 -19
  1458. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +8 -144
  1459. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_forget_after.rb +4 -19
  1460. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_duration.rb +5 -19
  1461. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +34 -145
  1462. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +8 -145
  1463. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_aggregation.rb +5 -19
  1464. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_create.rb +18 -149
  1465. data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +7 -144
  1466. data/lib/datadog_api_client/v2/models/security_monitoring_rule_severity.rb +4 -19
  1467. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +4 -19
  1468. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +4 -19
  1469. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +8 -150
  1470. data/lib/datadog_api_client/v2/models/security_monitoring_signal.rb +8 -144
  1471. data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +8 -148
  1472. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb +8 -144
  1473. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb +5 -144
  1474. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +7 -150
  1475. data/lib/datadog_api_client/v2/models/security_monitoring_signal_type.rb +4 -19
  1476. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response.rb +9 -145
  1477. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_links.rb +7 -145
  1478. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta.rb +6 -144
  1479. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta_page.rb +7 -145
  1480. data/lib/datadog_api_client/v2/models/security_monitoring_signals_sort.rb +4 -19
  1481. data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +25 -152
  1482. data/lib/datadog_api_client/v2/models/service_account_create_data.rb +28 -152
  1483. data/lib/datadog_api_client/v2/models/service_account_create_request.rb +16 -148
  1484. data/lib/datadog_api_client/v2/models/usage_application_security_monitoring_response.rb +113 -0
  1485. data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +153 -0
  1486. data/lib/datadog_api_client/v2/models/usage_data_object.rb +133 -0
  1487. data/lib/datadog_api_client/v2/models/usage_lambda_traced_invocations_response.rb +113 -0
  1488. data/lib/datadog_api_client/v2/models/usage_observability_pipelines_response.rb +113 -0
  1489. data/lib/datadog_api_client/v2/models/usage_time_series_object.rb +122 -0
  1490. data/lib/datadog_api_client/v2/models/usage_time_series_type.rb +26 -0
  1491. data/lib/datadog_api_client/v2/models/user.rb +8 -144
  1492. data/lib/datadog_api_client/v2/models/user_attributes.rb +5 -144
  1493. data/lib/datadog_api_client/v2/models/user_create_attributes.rb +15 -148
  1494. data/lib/datadog_api_client/v2/models/user_create_data.rb +28 -152
  1495. data/lib/datadog_api_client/v2/models/user_create_request.rb +16 -148
  1496. data/lib/datadog_api_client/v2/models/user_invitation_data.rb +27 -152
  1497. data/lib/datadog_api_client/v2/models/user_invitation_data_attributes.rb +5 -144
  1498. data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +16 -148
  1499. data/lib/datadog_api_client/v2/models/user_invitation_response.rb +6 -144
  1500. data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +7 -144
  1501. data/lib/datadog_api_client/v2/models/user_invitations_request.rb +15 -148
  1502. data/lib/datadog_api_client/v2/models/user_invitations_response.rb +5 -144
  1503. data/lib/datadog_api_client/v2/models/user_invitations_type.rb +4 -19
  1504. data/lib/datadog_api_client/v2/models/user_relationships.rb +6 -144
  1505. data/lib/datadog_api_client/v2/models/user_response.rb +6 -144
  1506. data/lib/datadog_api_client/v2/models/user_response_included_item.rb +3 -58
  1507. data/lib/datadog_api_client/v2/models/user_response_relationships.rb +9 -144
  1508. data/lib/datadog_api_client/v2/models/user_update_attributes.rb +5 -144
  1509. data/lib/datadog_api_client/v2/models/user_update_data.rb +37 -156
  1510. data/lib/datadog_api_client/v2/models/user_update_request.rb +16 -148
  1511. data/lib/datadog_api_client/v2/models/users_response.rb +6 -144
  1512. data/lib/datadog_api_client/v2/models/users_type.rb +4 -19
  1513. data/lib/datadog_api_client/v2.rb +145 -41
  1514. data/lib/datadog_api_client/version.rb +1 -11
  1515. data/lib/datadog_api_client.rb +1 -0
  1516. data/spec/spec_helper.rb +3 -3
  1517. data/spec/v1/api_client_spec.rb +9 -28
  1518. data/spec/v2/api_client_spec.rb +9 -28
  1519. metadata +380 -394
  1520. data/.generator/config/v1.json +0 -9
  1521. data/.generator/config/v2.json +0 -9
  1522. data/.generator/openapitools.json +0 -33
  1523. data/.generator/templates/Gemfile.mustache +0 -9
  1524. data/.generator/templates/README.mustache +0 -82
  1525. data/.generator/templates/Rakefile.mustache +0 -10
  1526. data/.generator/templates/api.mustache +0 -216
  1527. data/.generator/templates/api_client_faraday_partial.mustache +0 -138
  1528. data/.generator/templates/api_client_spec.mustache +0 -220
  1529. data/.generator/templates/api_client_typhoeus_partial.mustache +0 -166
  1530. data/.generator/templates/api_doc.mustache +0 -105
  1531. data/.generator/templates/api_info.mustache +0 -15
  1532. data/.generator/templates/api_test.mustache +0 -47
  1533. data/.generator/templates/base_object.mustache +0 -134
  1534. data/.generator/templates/configuration_spec.mustache +0 -34
  1535. data/.generator/templates/configuration_tls_faraday_partial.mustache +0 -29
  1536. data/.generator/templates/configuration_tls_typhoeus_partial.mustache +0 -34
  1537. data/.generator/templates/gem.mustache +0 -40
  1538. data/.generator/templates/gemspec.mustache +0 -35
  1539. data/.generator/templates/git_push.sh.mustache +0 -57
  1540. data/.generator/templates/gitignore.mustache +0 -39
  1541. data/.generator/templates/model.mustache +0 -26
  1542. data/.generator/templates/model_doc.mustache +0 -12
  1543. data/.generator/templates/model_test.mustache +0 -77
  1544. data/.generator/templates/partial_model_enum_class.mustache +0 -21
  1545. data/.generator/templates/partial_model_generic.mustache +0 -384
  1546. data/.generator/templates/partial_model_generic_doc.mustache +0 -28
  1547. data/.generator/templates/partial_oneof_module.mustache +0 -146
  1548. data/.generator/templates/partial_oneof_module_doc.mustache +0 -92
  1549. data/.generator/templates/rspec.mustache +0 -2
  1550. data/.generator/templates/rubocop.mustache +0 -148
  1551. data/.generator/templates/spec_helper.mustache +0 -103
  1552. data/.generator/templates/travis.mustache +0 -14
  1553. data/.generator/templates/version.mustache +0 -7
  1554. data/.openapi-generator/FILES +0 -1036
  1555. data/.openapi-generator/VERSION +0 -1
  1556. data/.openapi-generator-ignore +0 -32
  1557. data/examples/generated/v1/authentication/Validate.rb +0 -10
  1558. data/examples/generated/v1/aws-integration/CreateAWSAccount.rb +0 -11
  1559. data/examples/generated/v1/aws-integration/CreateAWSTagFilter.rb +0 -11
  1560. data/examples/generated/v1/aws-integration/CreateNewAWSExternalId.rb +0 -11
  1561. data/examples/generated/v1/aws-integration/DeleteAWSAccount.rb +0 -11
  1562. data/examples/generated/v1/aws-integration/DeleteAWSTagFilter.rb +0 -11
  1563. data/examples/generated/v1/aws-integration/ListAWSAccounts.rb +0 -15
  1564. data/examples/generated/v1/aws-integration/ListAWSTagFilters.rb +0 -11
  1565. data/examples/generated/v1/aws-integration/ListAvailableAWSNamespaces.rb +0 -10
  1566. data/examples/generated/v1/aws-integration/UpdateAWSAccount.rb +0 -16
  1567. data/examples/generated/v1/aws-logs-integration/CheckAWSLogsLambdaAsync.rb +0 -11
  1568. data/examples/generated/v1/aws-logs-integration/CheckAWSLogsServicesAsync.rb +0 -11
  1569. data/examples/generated/v1/aws-logs-integration/CreateAWSLambdaArn.rb +0 -11
  1570. data/examples/generated/v1/aws-logs-integration/DeleteAWSLambdaArn.rb +0 -11
  1571. data/examples/generated/v1/aws-logs-integration/EnableAWSLogServices.rb +0 -11
  1572. data/examples/generated/v1/aws-logs-integration/ListAWSLogsIntegrations.rb +0 -10
  1573. data/examples/generated/v1/aws-logs-integration/ListAWSLogsServices.rb +0 -10
  1574. data/examples/generated/v1/azure-integration/CreateAzureIntegration.rb +0 -11
  1575. data/examples/generated/v1/azure-integration/DeleteAzureIntegration.rb +0 -11
  1576. data/examples/generated/v1/azure-integration/ListAzureIntegration.rb +0 -10
  1577. data/examples/generated/v1/azure-integration/UpdateAzureHostFilters.rb +0 -11
  1578. data/examples/generated/v1/azure-integration/UpdateAzureIntegration.rb +0 -11
  1579. data/examples/generated/v1/dashboard-lists/CreateDashboardList.rb +0 -11
  1580. data/examples/generated/v1/dashboard-lists/DeleteDashboardList.rb +0 -11
  1581. data/examples/generated/v1/dashboard-lists/GetDashboardList.rb +0 -11
  1582. data/examples/generated/v1/dashboard-lists/ListDashboardLists.rb +0 -10
  1583. data/examples/generated/v1/dashboard-lists/UpdateDashboardList.rb +0 -12
  1584. data/examples/generated/v1/dashboards/CreateDashboard.rb +0 -11
  1585. data/examples/generated/v1/dashboards/DeleteDashboard.rb +0 -11
  1586. data/examples/generated/v1/dashboards/DeleteDashboards.rb +0 -10
  1587. data/examples/generated/v1/dashboards/GetDashboard.rb +0 -11
  1588. data/examples/generated/v1/dashboards/ListDashboards.rb +0 -14
  1589. data/examples/generated/v1/dashboards/RestoreDashboards.rb +0 -10
  1590. data/examples/generated/v1/dashboards/UpdateDashboard.rb +0 -12
  1591. data/examples/generated/v1/downtimes/CancelDowntime.rb +0 -10
  1592. data/examples/generated/v1/downtimes/CancelDowntimesByScope.rb +0 -11
  1593. data/examples/generated/v1/downtimes/CreateDowntime.rb +0 -11
  1594. data/examples/generated/v1/downtimes/GetDowntime.rb +0 -11
  1595. data/examples/generated/v1/downtimes/ListDowntimes.rb +0 -13
  1596. data/examples/generated/v1/downtimes/ListMonitorDowntimes.rb +0 -11
  1597. data/examples/generated/v1/downtimes/UpdateDowntime.rb +0 -12
  1598. data/examples/generated/v1/events/CreateEvent.rb +0 -11
  1599. data/examples/generated/v1/events/GetEvent.rb +0 -11
  1600. data/examples/generated/v1/events/ListEvents.rb +0 -20
  1601. data/examples/generated/v1/gcp-integration/CreateGCPIntegration.rb +0 -11
  1602. data/examples/generated/v1/gcp-integration/DeleteGCPIntegration.rb +0 -11
  1603. data/examples/generated/v1/gcp-integration/ListGCPIntegration.rb +0 -10
  1604. data/examples/generated/v1/gcp-integration/UpdateGCPIntegration.rb +0 -11
  1605. data/examples/generated/v1/hosts/GetHostTotals.rb +0 -13
  1606. data/examples/generated/v1/hosts/ListHosts.rb +0 -20
  1607. data/examples/generated/v1/hosts/MuteHost.rb +0 -12
  1608. data/examples/generated/v1/hosts/UnmuteHost.rb +0 -11
  1609. data/examples/generated/v1/ip-ranges/GetIPRanges.rb +0 -10
  1610. data/examples/generated/v1/key-management/CreateApiKey.rb +0 -11
  1611. data/examples/generated/v1/key-management/CreateApplicationKey.rb +0 -11
  1612. data/examples/generated/v1/key-management/DeleteApiKey.rb +0 -11
  1613. data/examples/generated/v1/key-management/DeleteApplicationKey.rb +0 -11
  1614. data/examples/generated/v1/key-management/GetApiKey.rb +0 -11
  1615. data/examples/generated/v1/key-management/GetApplicationKey.rb +0 -11
  1616. data/examples/generated/v1/key-management/ListApiKeys.rb +0 -10
  1617. data/examples/generated/v1/key-management/ListApplicationKeys.rb +0 -10
  1618. data/examples/generated/v1/key-management/UpdateApiKey.rb +0 -12
  1619. data/examples/generated/v1/key-management/UpdateApplicationKey.rb +0 -12
  1620. data/examples/generated/v1/logs/ListLogs.rb +0 -11
  1621. data/examples/generated/v1/logs/SubmitLog.rb +0 -15
  1622. data/examples/generated/v1/logs-indexes/CreateLogsIndex.rb +0 -11
  1623. data/examples/generated/v1/logs-indexes/GetLogsIndex.rb +0 -11
  1624. data/examples/generated/v1/logs-indexes/GetLogsIndexOrder.rb +0 -10
  1625. data/examples/generated/v1/logs-indexes/ListLogIndexes.rb +0 -10
  1626. data/examples/generated/v1/logs-indexes/UpdateLogsIndex.rb +0 -12
  1627. data/examples/generated/v1/logs-indexes/UpdateLogsIndexOrder.rb +0 -11
  1628. data/examples/generated/v1/logs-pipelines/CreateLogsPipeline.rb +0 -11
  1629. data/examples/generated/v1/logs-pipelines/DeleteLogsPipeline.rb +0 -10
  1630. data/examples/generated/v1/logs-pipelines/GetLogsPipeline.rb +0 -11
  1631. data/examples/generated/v1/logs-pipelines/GetLogsPipelineOrder.rb +0 -10
  1632. data/examples/generated/v1/logs-pipelines/ListLogsPipelines.rb +0 -10
  1633. data/examples/generated/v1/logs-pipelines/UpdateLogsPipeline.rb +0 -12
  1634. data/examples/generated/v1/logs-pipelines/UpdateLogsPipelineOrder.rb +0 -11
  1635. data/examples/generated/v1/metrics/GetMetricMetadata.rb +0 -11
  1636. data/examples/generated/v1/metrics/ListActiveMetrics.rb +0 -15
  1637. data/examples/generated/v1/metrics/ListMetrics.rb +0 -11
  1638. data/examples/generated/v1/metrics/QueryMetrics.rb +0 -13
  1639. data/examples/generated/v1/metrics/SubmitMetrics.rb +0 -14
  1640. data/examples/generated/v1/metrics/UpdateMetricMetadata.rb +0 -12
  1641. data/examples/generated/v1/monitors/CheckCanDeleteMonitor.rb +0 -11
  1642. data/examples/generated/v1/monitors/CreateMonitor.rb +0 -11
  1643. data/examples/generated/v1/monitors/DeleteMonitor.rb +0 -14
  1644. data/examples/generated/v1/monitors/GetMonitor.rb +0 -14
  1645. data/examples/generated/v1/monitors/ListMonitors.rb +0 -20
  1646. data/examples/generated/v1/monitors/SearchMonitorGroups.rb +0 -16
  1647. data/examples/generated/v1/monitors/SearchMonitors.rb +0 -16
  1648. data/examples/generated/v1/monitors/UpdateMonitor.rb +0 -12
  1649. data/examples/generated/v1/monitors/ValidateMonitor.rb +0 -11
  1650. data/examples/generated/v1/notebooks/CreateNotebook.rb +0 -11
  1651. data/examples/generated/v1/notebooks/DeleteNotebook.rb +0 -10
  1652. data/examples/generated/v1/notebooks/GetNotebook.rb +0 -11
  1653. data/examples/generated/v1/notebooks/ListNotebooks.rb +0 -22
  1654. data/examples/generated/v1/notebooks/UpdateNotebook.rb +0 -12
  1655. data/examples/generated/v1/organizations/CreateChildOrg.rb +0 -11
  1656. data/examples/generated/v1/organizations/GetOrg.rb +0 -11
  1657. data/examples/generated/v1/organizations/ListOrgs.rb +0 -10
  1658. data/examples/generated/v1/organizations/UpdateOrg.rb +0 -12
  1659. data/examples/generated/v1/organizations/UploadIDPForOrg.rb +0 -12
  1660. data/examples/generated/v1/pager-duty-integration/CreatePagerDutyIntegrationService.rb +0 -11
  1661. data/examples/generated/v1/pager-duty-integration/DeletePagerDutyIntegrationService.rb +0 -10
  1662. data/examples/generated/v1/pager-duty-integration/GetPagerDutyIntegrationService.rb +0 -11
  1663. data/examples/generated/v1/pager-duty-integration/UpdatePagerDutyIntegrationService.rb +0 -11
  1664. data/examples/generated/v1/service-checks/SubmitServiceCheck.rb +0 -11
  1665. data/examples/generated/v1/service-level-objective-corrections/CreateSLOCorrection.rb +0 -16
  1666. data/examples/generated/v1/service-level-objective-corrections/DeleteSLOCorrection.rb +0 -15
  1667. data/examples/generated/v1/service-level-objective-corrections/GetSLOCorrection.rb +0 -16
  1668. data/examples/generated/v1/service-level-objective-corrections/ListSLOCorrection.rb +0 -15
  1669. data/examples/generated/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +0 -17
  1670. data/examples/generated/v1/service-level-objectives/CheckCanDeleteSLO.rb +0 -11
  1671. data/examples/generated/v1/service-level-objectives/CreateSLO.rb +0 -11
  1672. data/examples/generated/v1/service-level-objectives/DeleteSLO.rb +0 -14
  1673. data/examples/generated/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb +0 -11
  1674. data/examples/generated/v1/service-level-objectives/GetSLO.rb +0 -14
  1675. data/examples/generated/v1/service-level-objectives/GetSLOCorrections.rb +0 -16
  1676. data/examples/generated/v1/service-level-objectives/GetSLOHistory.rb +0 -22
  1677. data/examples/generated/v1/service-level-objectives/ListSLOs.rb +0 -18
  1678. data/examples/generated/v1/service-level-objectives/UpdateSLO.rb +0 -12
  1679. data/examples/generated/v1/slack-integration/CreateSlackIntegrationChannel.rb +0 -12
  1680. data/examples/generated/v1/slack-integration/GetSlackIntegrationChannel.rb +0 -12
  1681. data/examples/generated/v1/slack-integration/GetSlackIntegrationChannels.rb +0 -11
  1682. data/examples/generated/v1/slack-integration/RemoveSlackIntegrationChannel.rb +0 -11
  1683. data/examples/generated/v1/slack-integration/UpdateSlackIntegrationChannel.rb +0 -13
  1684. data/examples/generated/v1/snapshots/GetGraphSnapshot.rb +0 -18
  1685. data/examples/generated/v1/synthetics/CreateGlobalVariable.rb +0 -11
  1686. data/examples/generated/v1/synthetics/CreatePrivateLocation.rb +0 -11
  1687. data/examples/generated/v1/synthetics/CreateSyntheticsApiTest.rb +0 -11
  1688. data/examples/generated/v1/synthetics/CreateSyntheticsBrowserTest.rb +0 -11
  1689. data/examples/generated/v1/synthetics/DeleteGlobalVariable.rb +0 -10
  1690. data/examples/generated/v1/synthetics/DeletePrivateLocation.rb +0 -10
  1691. data/examples/generated/v1/synthetics/DeleteTests.rb +0 -11
  1692. data/examples/generated/v1/synthetics/EditGlobalVariable.rb +0 -12
  1693. data/examples/generated/v1/synthetics/GetApiTest.rb +0 -11
  1694. data/examples/generated/v1/synthetics/GetApiTestLatestResults.rb +0 -16
  1695. data/examples/generated/v1/synthetics/GetApiTestResult.rb +0 -12
  1696. data/examples/generated/v1/synthetics/GetBrowserTest.rb +0 -11
  1697. data/examples/generated/v1/synthetics/GetBrowserTestLatestResults.rb +0 -16
  1698. data/examples/generated/v1/synthetics/GetBrowserTestResult.rb +0 -12
  1699. data/examples/generated/v1/synthetics/GetGlobalVariable.rb +0 -11
  1700. data/examples/generated/v1/synthetics/GetPrivateLocation.rb +0 -11
  1701. data/examples/generated/v1/synthetics/GetSyntheticsCiBatch.rb +0 -11
  1702. data/examples/generated/v1/synthetics/GetTest.rb +0 -11
  1703. data/examples/generated/v1/synthetics/ListGlobalVariables.rb +0 -10
  1704. data/examples/generated/v1/synthetics/ListLocations.rb +0 -10
  1705. data/examples/generated/v1/synthetics/ListTests.rb +0 -10
  1706. data/examples/generated/v1/synthetics/TriggerCiTests.rb +0 -11
  1707. data/examples/generated/v1/synthetics/TriggerTests.rb +0 -11
  1708. data/examples/generated/v1/synthetics/UpdateApiTest.rb +0 -12
  1709. data/examples/generated/v1/synthetics/UpdateBrowserTest.rb +0 -12
  1710. data/examples/generated/v1/synthetics/UpdatePrivateLocation.rb +0 -12
  1711. data/examples/generated/v1/synthetics/UpdateTestPauseStatus.rb +0 -12
  1712. data/examples/generated/v1/tags/CreateHostTags.rb +0 -15
  1713. data/examples/generated/v1/tags/DeleteHostTags.rb +0 -13
  1714. data/examples/generated/v1/tags/GetHostTags.rb +0 -14
  1715. data/examples/generated/v1/tags/ListHostTags.rb +0 -13
  1716. data/examples/generated/v1/tags/UpdateHostTags.rb +0 -15
  1717. data/examples/generated/v1/usage-metering/GetDailyCustomReports.rb +0 -21
  1718. data/examples/generated/v1/usage-metering/GetHourlyUsageAttribution.rb +0 -22
  1719. data/examples/generated/v1/usage-metering/GetIncidentManagement.rb +0 -14
  1720. data/examples/generated/v1/usage-metering/GetIngestedSpans.rb +0 -14
  1721. data/examples/generated/v1/usage-metering/GetMonthlyCustomReports.rb +0 -21
  1722. data/examples/generated/v1/usage-metering/GetMonthlyUsageAttribution.rb +0 -24
  1723. data/examples/generated/v1/usage-metering/GetSpecifiedDailyCustomReports.rb +0 -16
  1724. data/examples/generated/v1/usage-metering/GetSpecifiedMonthlyCustomReports.rb +0 -16
  1725. data/examples/generated/v1/usage-metering/GetUsageAnalyzedLogs.rb +0 -14
  1726. data/examples/generated/v1/usage-metering/GetUsageAttribution.rb +0 -25
  1727. data/examples/generated/v1/usage-metering/GetUsageAuditLogs.rb +0 -14
  1728. data/examples/generated/v1/usage-metering/GetUsageBillableSummary.rb +0 -13
  1729. data/examples/generated/v1/usage-metering/GetUsageCloudSecurityPostureManagement.rb +0 -14
  1730. data/examples/generated/v1/usage-metering/GetUsageCws.rb +0 -14
  1731. data/examples/generated/v1/usage-metering/GetUsageDbm.rb +0 -14
  1732. data/examples/generated/v1/usage-metering/GetUsageFargate.rb +0 -14
  1733. data/examples/generated/v1/usage-metering/GetUsageHosts.rb +0 -14
  1734. data/examples/generated/v1/usage-metering/GetUsageIndexedSpans.rb +0 -14
  1735. data/examples/generated/v1/usage-metering/GetUsageInternetOfThings.rb +0 -14
  1736. data/examples/generated/v1/usage-metering/GetUsageLambda.rb +0 -14
  1737. data/examples/generated/v1/usage-metering/GetUsageLogs.rb +0 -14
  1738. data/examples/generated/v1/usage-metering/GetUsageLogsByIndex.rb +0 -15
  1739. data/examples/generated/v1/usage-metering/GetUsageLogsByRetention.rb +0 -14
  1740. data/examples/generated/v1/usage-metering/GetUsageNetworkFlows.rb +0 -14
  1741. data/examples/generated/v1/usage-metering/GetUsageNetworkHosts.rb +0 -14
  1742. data/examples/generated/v1/usage-metering/GetUsageProfiling.rb +0 -14
  1743. data/examples/generated/v1/usage-metering/GetUsageRumSessions.rb +0 -15
  1744. data/examples/generated/v1/usage-metering/GetUsageRumUnits.rb +0 -14
  1745. data/examples/generated/v1/usage-metering/GetUsageSds.rb +0 -14
  1746. data/examples/generated/v1/usage-metering/GetUsageSnmp.rb +0 -14
  1747. data/examples/generated/v1/usage-metering/GetUsageSummary.rb +0 -15
  1748. data/examples/generated/v1/usage-metering/GetUsageSynthetics.rb +0 -14
  1749. data/examples/generated/v1/usage-metering/GetUsageSyntheticsApi.rb +0 -14
  1750. data/examples/generated/v1/usage-metering/GetUsageSyntheticsBrowser.rb +0 -14
  1751. data/examples/generated/v1/usage-metering/GetUsageTimeseries.rb +0 -14
  1752. data/examples/generated/v1/usage-metering/GetUsageTopAvgMetrics.rb +0 -17
  1753. data/examples/generated/v1/users/CreateUser.rb +0 -11
  1754. data/examples/generated/v1/users/DisableUser.rb +0 -11
  1755. data/examples/generated/v1/users/GetUser.rb +0 -11
  1756. data/examples/generated/v1/users/ListUsers.rb +0 -10
  1757. data/examples/generated/v1/users/UpdateUser.rb +0 -12
  1758. data/examples/generated/v1/webhooks-integration/CreateWebhooksIntegration.rb +0 -11
  1759. data/examples/generated/v1/webhooks-integration/CreateWebhooksIntegrationCustomVariable.rb +0 -11
  1760. data/examples/generated/v1/webhooks-integration/DeleteWebhooksIntegration.rb +0 -10
  1761. data/examples/generated/v1/webhooks-integration/DeleteWebhooksIntegrationCustomVariable.rb +0 -10
  1762. data/examples/generated/v1/webhooks-integration/GetWebhooksIntegration.rb +0 -11
  1763. data/examples/generated/v1/webhooks-integration/GetWebhooksIntegrationCustomVariable.rb +0 -11
  1764. data/examples/generated/v1/webhooks-integration/UpdateWebhooksIntegration.rb +0 -12
  1765. data/examples/generated/v1/webhooks-integration/UpdateWebhooksIntegrationCustomVariable.rb +0 -12
  1766. data/examples/generated/v2/authn-mappings/CreateAuthNMapping.rb +0 -11
  1767. data/examples/generated/v2/authn-mappings/DeleteAuthNMapping.rb +0 -10
  1768. data/examples/generated/v2/authn-mappings/GetAuthNMapping.rb +0 -11
  1769. data/examples/generated/v2/authn-mappings/ListAuthNMappings.rb +0 -17
  1770. data/examples/generated/v2/authn-mappings/UpdateAuthNMapping.rb +0 -12
  1771. data/examples/generated/v2/cloud-workload-security/CreateCloudWorkloadSecurityAgentRule.rb +0 -11
  1772. data/examples/generated/v2/cloud-workload-security/DeleteCloudWorkloadSecurityAgentRule.rb +0 -10
  1773. data/examples/generated/v2/cloud-workload-security/DownloadCloudWorkloadPolicyFile.rb +0 -10
  1774. data/examples/generated/v2/cloud-workload-security/GetCloudWorkloadSecurityAgentRule.rb +0 -11
  1775. data/examples/generated/v2/cloud-workload-security/ListCloudWorkloadSecurityAgentRules.rb +0 -10
  1776. data/examples/generated/v2/cloud-workload-security/UpdateCloudWorkloadSecurityAgentRule.rb +0 -12
  1777. data/examples/generated/v2/dashboard-lists/CreateDashboardListItems.rb +0 -12
  1778. data/examples/generated/v2/dashboard-lists/DeleteDashboardListItems.rb +0 -12
  1779. data/examples/generated/v2/dashboard-lists/GetDashboardListItems.rb +0 -11
  1780. data/examples/generated/v2/dashboard-lists/UpdateDashboardListItems.rb +0 -12
  1781. data/examples/generated/v2/incident-services/CreateIncidentService.rb +0 -16
  1782. data/examples/generated/v2/incident-services/DeleteIncidentService.rb +0 -15
  1783. data/examples/generated/v2/incident-services/GetIncidentService.rb +0 -19
  1784. data/examples/generated/v2/incident-services/ListIncidentServices.rb +0 -21
  1785. data/examples/generated/v2/incident-services/UpdateIncidentService.rb +0 -17
  1786. data/examples/generated/v2/incident-teams/CreateIncidentTeam.rb +0 -16
  1787. data/examples/generated/v2/incident-teams/DeleteIncidentTeam.rb +0 -15
  1788. data/examples/generated/v2/incident-teams/GetIncidentTeam.rb +0 -19
  1789. data/examples/generated/v2/incident-teams/ListIncidentTeams.rb +0 -21
  1790. data/examples/generated/v2/incident-teams/UpdateIncidentTeam.rb +0 -17
  1791. data/examples/generated/v2/incidents/CreateIncident.rb +0 -16
  1792. data/examples/generated/v2/incidents/DeleteIncident.rb +0 -15
  1793. data/examples/generated/v2/incidents/GetIncident.rb +0 -19
  1794. data/examples/generated/v2/incidents/ListIncidents.rb +0 -20
  1795. data/examples/generated/v2/incidents/UpdateIncident.rb +0 -17
  1796. data/examples/generated/v2/key-management/CreateApiKey.rb +0 -11
  1797. data/examples/generated/v2/key-management/CreateCurrentUserApplicationKey.rb +0 -11
  1798. data/examples/generated/v2/key-management/DeleteApiKey.rb +0 -10
  1799. data/examples/generated/v2/key-management/DeleteApplicationKey.rb +0 -10
  1800. data/examples/generated/v2/key-management/DeleteCurrentUserApplicationKey.rb +0 -10
  1801. data/examples/generated/v2/key-management/GetApiKey.rb +0 -14
  1802. data/examples/generated/v2/key-management/GetApplicationKey.rb +0 -14
  1803. data/examples/generated/v2/key-management/GetCurrentUserApplicationKey.rb +0 -11
  1804. data/examples/generated/v2/key-management/ListApiKeys.rb +0 -21
  1805. data/examples/generated/v2/key-management/ListApplicationKeys.rb +0 -18
  1806. data/examples/generated/v2/key-management/ListCurrentUserApplicationKeys.rb +0 -18
  1807. data/examples/generated/v2/key-management/UpdateApiKey.rb +0 -12
  1808. data/examples/generated/v2/key-management/UpdateApplicationKey.rb +0 -12
  1809. data/examples/generated/v2/key-management/UpdateCurrentUserApplicationKey.rb +0 -12
  1810. data/examples/generated/v2/logs/AggregateLogs.rb +0 -11
  1811. data/examples/generated/v2/logs/ListLogs.rb +0 -13
  1812. data/examples/generated/v2/logs/ListLogsGet.rb +0 -19
  1813. data/examples/generated/v2/logs/SubmitLog.rb +0 -15
  1814. data/examples/generated/v2/logs-archives/AddReadRoleToArchive.rb +0 -11
  1815. data/examples/generated/v2/logs-archives/CreateLogsArchive.rb +0 -11
  1816. data/examples/generated/v2/logs-archives/DeleteLogsArchive.rb +0 -10
  1817. data/examples/generated/v2/logs-archives/GetLogsArchive.rb +0 -11
  1818. data/examples/generated/v2/logs-archives/GetLogsArchiveOrder.rb +0 -10
  1819. data/examples/generated/v2/logs-archives/ListArchiveReadRoles.rb +0 -11
  1820. data/examples/generated/v2/logs-archives/ListLogsArchives.rb +0 -10
  1821. data/examples/generated/v2/logs-archives/RemoveRoleFromArchive.rb +0 -11
  1822. data/examples/generated/v2/logs-archives/UpdateLogsArchive.rb +0 -12
  1823. data/examples/generated/v2/logs-archives/UpdateLogsArchiveOrder.rb +0 -11
  1824. data/examples/generated/v2/logs-metrics/CreateLogsMetric.rb +0 -11
  1825. data/examples/generated/v2/logs-metrics/DeleteLogsMetric.rb +0 -10
  1826. data/examples/generated/v2/logs-metrics/GetLogsMetric.rb +0 -11
  1827. data/examples/generated/v2/logs-metrics/ListLogsMetrics.rb +0 -10
  1828. data/examples/generated/v2/logs-metrics/UpdateLogsMetric.rb +0 -12
  1829. data/examples/generated/v2/metrics/CreateBulkTagsMetricsConfiguration.rb +0 -11
  1830. data/examples/generated/v2/metrics/CreateTagConfiguration.rb +0 -17
  1831. data/examples/generated/v2/metrics/DeleteBulkTagsMetricsConfiguration.rb +0 -11
  1832. data/examples/generated/v2/metrics/DeleteTagConfiguration.rb +0 -15
  1833. data/examples/generated/v2/metrics/ListTagConfigurationByName.rb +0 -16
  1834. data/examples/generated/v2/metrics/ListTagConfigurations.rb +0 -23
  1835. data/examples/generated/v2/metrics/ListTagsByMetricName.rb +0 -11
  1836. data/examples/generated/v2/metrics/ListVolumesByMetricName.rb +0 -11
  1837. data/examples/generated/v2/metrics/UpdateTagConfiguration.rb +0 -17
  1838. data/examples/generated/v2/processes/ListProcesses.rb +0 -18
  1839. data/examples/generated/v2/roles/AddPermissionToRole.rb +0 -12
  1840. data/examples/generated/v2/roles/AddUserToRole.rb +0 -12
  1841. data/examples/generated/v2/roles/CloneRole.rb +0 -12
  1842. data/examples/generated/v2/roles/CreateRole.rb +0 -11
  1843. data/examples/generated/v2/roles/DeleteRole.rb +0 -10
  1844. data/examples/generated/v2/roles/GetRole.rb +0 -11
  1845. data/examples/generated/v2/roles/ListPermissions.rb +0 -10
  1846. data/examples/generated/v2/roles/ListRolePermissions.rb +0 -11
  1847. data/examples/generated/v2/roles/ListRoleUsers.rb +0 -17
  1848. data/examples/generated/v2/roles/ListRoles.rb +0 -16
  1849. data/examples/generated/v2/roles/RemovePermissionFromRole.rb +0 -12
  1850. data/examples/generated/v2/roles/RemoveUserFromRole.rb +0 -12
  1851. data/examples/generated/v2/roles/UpdateRole.rb +0 -12
  1852. data/examples/generated/v2/security-monitoring/CreateSecurityFilter.rb +0 -11
  1853. data/examples/generated/v2/security-monitoring/CreateSecurityMonitoringRule.rb +0 -11
  1854. data/examples/generated/v2/security-monitoring/DeleteSecurityFilter.rb +0 -10
  1855. data/examples/generated/v2/security-monitoring/DeleteSecurityMonitoringRule.rb +0 -10
  1856. data/examples/generated/v2/security-monitoring/GetSecurityFilter.rb +0 -11
  1857. data/examples/generated/v2/security-monitoring/GetSecurityMonitoringRule.rb +0 -11
  1858. data/examples/generated/v2/security-monitoring/ListSecurityFilters.rb +0 -10
  1859. data/examples/generated/v2/security-monitoring/ListSecurityMonitoringRules.rb +0 -14
  1860. data/examples/generated/v2/security-monitoring/ListSecurityMonitoringSignals.rb +0 -23
  1861. data/examples/generated/v2/security-monitoring/SearchSecurityMonitoringSignals.rb +0 -18
  1862. data/examples/generated/v2/security-monitoring/UpdateSecurityFilter.rb +0 -12
  1863. data/examples/generated/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +0 -12
  1864. data/examples/generated/v2/service-accounts/CreateServiceAccountApplicationKey.rb +0 -12
  1865. data/examples/generated/v2/service-accounts/DeleteServiceAccountApplicationKey.rb +0 -11
  1866. data/examples/generated/v2/service-accounts/GetServiceAccountApplicationKey.rb +0 -12
  1867. data/examples/generated/v2/service-accounts/ListServiceAccountApplicationKeys.rb +0 -19
  1868. data/examples/generated/v2/service-accounts/UpdateServiceAccountApplicationKey.rb +0 -13
  1869. data/examples/generated/v2/users/CreateServiceAccount.rb +0 -11
  1870. data/examples/generated/v2/users/CreateUser.rb +0 -11
  1871. data/examples/generated/v2/users/DisableUser.rb +0 -10
  1872. data/examples/generated/v2/users/GetInvitation.rb +0 -11
  1873. data/examples/generated/v2/users/GetUser.rb +0 -11
  1874. data/examples/generated/v2/users/ListUserOrganizations.rb +0 -11
  1875. data/examples/generated/v2/users/ListUserPermissions.rb +0 -11
  1876. data/examples/generated/v2/users/ListUsers.rb +0 -18
  1877. data/examples/generated/v2/users/SendInvitations.rb +0 -11
  1878. data/examples/generated/v2/users/UpdateUser.rb +0 -12
  1879. data/extract-code-blocks.awk +0 -81
  1880. data/extract-code-blocks.sh +0 -12
  1881. data/lib/datadog_api_client/v1/models/usage_io_t_hour.rb +0 -280
  1882. data/lib/datadog_api_client/v2/models/auth_n_mapping.rb +0 -301
  1883. data/lib/datadog_api_client/v2/models/auth_n_mapping_attributes.rb +0 -305
  1884. data/lib/datadog_api_client/v2/models/auth_n_mapping_create_attributes.rb +0 -260
  1885. data/lib/datadog_api_client/v2/models/auth_n_mapping_create_data.rb +0 -274
  1886. data/lib/datadog_api_client/v2/models/auth_n_mapping_create_relationships.rb +0 -249
  1887. data/lib/datadog_api_client/v2/models/auth_n_mapping_create_request.rb +0 -254
  1888. data/lib/datadog_api_client/v2/models/auth_n_mapping_included.rb +0 -118
  1889. data/lib/datadog_api_client/v2/models/auth_n_mapping_relationships.rb +0 -258
  1890. data/lib/datadog_api_client/v2/models/auth_n_mapping_response.rb +0 -249
  1891. data/lib/datadog_api_client/v2/models/auth_n_mapping_update_attributes.rb +0 -260
  1892. data/lib/datadog_api_client/v2/models/auth_n_mapping_update_data.rb +0 -289
  1893. data/lib/datadog_api_client/v2/models/auth_n_mapping_update_relationships.rb +0 -249
  1894. data/lib/datadog_api_client/v2/models/auth_n_mappings_type.rb +0 -41
@@ -5,7 +5,7 @@
5
5
 
6
6
  The version of the OpenAPI document: 1.0
7
7
  Contact: support@datadoghq.com
8
- Generated by: https://openapi-generator.tech
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
9
 
10
10
  Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
11
  This product includes software developed at Datadog (https://www.datadoghq.com/).
@@ -22,26 +22,24 @@ module DatadogAPIClient::V1
22
22
  def initialize(api_client = APIClient.default)
23
23
  @api_client = api_client
24
24
  end
25
- # Get the list of available daily custom reports
26
- # Get daily custom reports.
27
- # @param [Hash] opts the optional parameters
28
- # @option opts [Integer] :page_size The number of files to return in the response. `[default=60]`.
29
- # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
30
- # @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`. (default to 'desc')
31
- # @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`. (default to 'start_date')
32
- # @return [UsageCustomReportsResponse]
25
+
26
+ # Get the list of available daily custom reports.
27
+ #
28
+ # @see #get_daily_custom_reports_with_http_info
33
29
  def get_daily_custom_reports(opts = {})
34
30
  data, _status_code, _headers = get_daily_custom_reports_with_http_info(opts)
35
31
  data
36
32
  end
37
33
 
38
- # Get the list of available daily custom reports
34
+ # Get the list of available daily custom reports.
35
+ #
39
36
  # Get daily custom reports.
40
- # @param [Hash] opts the optional parameters
41
- # @option opts [Integer] :page_size The number of files to return in the response. `[default=60]`.
42
- # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
43
- # @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
44
- # @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
37
+ #
38
+ # @param opts [Hash] the optional parameters
39
+ # @option opts [Integer] :page_size The number of files to return in the response. `[default=60]`.
40
+ # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
41
+ # @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
42
+ # @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
45
43
  # @return [Array<(UsageCustomReportsResponse, Integer, Hash)>] UsageCustomReportsResponse data, response status code and response headers
46
44
  def get_daily_custom_reports_with_http_info(opts = {})
47
45
 
@@ -57,6 +55,14 @@ module DatadogAPIClient::V1
57
55
  if @api_client.config.debugging
58
56
  @api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_daily_custom_reports ...'
59
57
  end
58
+ allowable_values = ['desc', 'asc']
59
+ if @api_client.config.client_side_validation && opts[:'sort_dir'] && !allowable_values.include?(opts[:'sort_dir'])
60
+ fail ArgumentError, "invalid value for \"sort_dir\", must be one of #{allowable_values}"
61
+ end
62
+ allowable_values = ['computed_on', 'size', 'start_date', 'end_date']
63
+ if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
64
+ fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
65
+ end
60
66
  # resource path
61
67
  local_var_path = '/api/v1/daily_custom_reports'
62
68
 
@@ -82,7 +88,7 @@ module DatadogAPIClient::V1
82
88
  return_type = opts[:debug_return_type] || 'UsageCustomReportsResponse'
83
89
 
84
90
  # auth_names
85
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
91
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
86
92
 
87
93
  new_options = opts.merge(
88
94
  :operation => :get_daily_custom_reports,
@@ -94,35 +100,45 @@ module DatadogAPIClient::V1
94
100
  :return_type => return_type
95
101
  )
96
102
 
97
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
103
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
98
104
  if @api_client.config.debugging
99
105
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_daily_custom_reports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
100
106
  end
101
107
  return data, status_code, headers
102
108
  end
103
109
 
104
- # Get Hourly Usage Attribution
105
- # Get Hourly Usage Attribution.
106
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
107
- # @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve.
108
- # @param [Hash] opts the optional parameters
109
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
110
- # @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
111
- # @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
112
- # @return [HourlyUsageAttributionResponse]
110
+ # Get hourly usage attribution.
111
+ #
112
+ # @see #get_hourly_usage_attribution_with_http_info
113
113
  def get_hourly_usage_attribution(start_hr, usage_type, opts = {})
114
114
  data, _status_code, _headers = get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts)
115
115
  data
116
116
  end
117
117
 
118
- # Get Hourly Usage Attribution
119
- # Get Hourly Usage Attribution.
120
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
118
+ # Get hourly usage attribution.
119
+ #
120
+ # Get hourly usage attribution.
121
+ #
122
+ # This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is
123
+ # set in the response. If it is, make another request and pass `next_record_id` as a parameter.
124
+ # Pseudo code example:
125
+ #
126
+ # ```
127
+ # response := GetHourlyUsageAttribution(start_month)
128
+ # cursor := response.metadata.pagination.next_record_id
129
+ # WHILE cursor != null BEGIN
130
+ # sleep(5 seconds) # Avoid running into rate limit
131
+ # response := GetHourlyUsageAttribution(start_month, next_record_id=cursor)
132
+ # cursor := response.metadata.pagination.next_record_id
133
+ # END
134
+ # ```
135
+ #
136
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
121
137
  # @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve.
122
- # @param [Hash] opts the optional parameters
123
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
138
+ # @param opts [Hash] the optional parameters
139
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
124
140
  # @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
125
- # @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
141
+ # @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value of `tag_config_source` in the API response.
126
142
  # @return [Array<(HourlyUsageAttributionResponse, Integer, Hash)>] HourlyUsageAttributionResponse data, response status code and response headers
127
143
  def get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts = {})
128
144
 
@@ -146,6 +162,11 @@ module DatadogAPIClient::V1
146
162
  if @api_client.config.client_side_validation && usage_type.nil?
147
163
  fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
148
164
  end
165
+ # verify enum value
166
+ allowable_values = ['api_usage', 'apm_host_usage', 'browser_usage', 'container_usage', 'custom_timeseries_usage', 'estimated_indexed_logs_usage', 'fargate_usage', 'functions_usage', 'indexed_logs_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_host_usage', 'snmp_usage']
167
+ if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
168
+ fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
169
+ end
149
170
  # resource path
150
171
  local_var_path = '/api/v1/usage/hourly-attribution'
151
172
 
@@ -172,7 +193,7 @@ module DatadogAPIClient::V1
172
193
  return_type = opts[:debug_return_type] || 'HourlyUsageAttributionResponse'
173
194
 
174
195
  # auth_names
175
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
196
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
176
197
 
177
198
  new_options = opts.merge(
178
199
  :operation => :get_hourly_usage_attribution,
@@ -184,29 +205,28 @@ module DatadogAPIClient::V1
184
205
  :return_type => return_type
185
206
  )
186
207
 
187
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
208
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
188
209
  if @api_client.config.debugging
189
210
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_hourly_usage_attribution\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
190
211
  end
191
212
  return data, status_code, headers
192
213
  end
193
214
 
194
- # Get hourly usage for incident management
195
215
  # Get hourly usage for incident management.
196
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
197
- # @param [Hash] opts the optional parameters
198
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
199
- # @return [UsageIncidentManagementResponse]
216
+ #
217
+ # @see #get_incident_management_with_http_info
200
218
  def get_incident_management(start_hr, opts = {})
201
219
  data, _status_code, _headers = get_incident_management_with_http_info(start_hr, opts)
202
220
  data
203
221
  end
204
222
 
205
- # Get hourly usage for incident management
206
223
  # Get hourly usage for incident management.
207
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
208
- # @param [Hash] opts the optional parameters
209
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
224
+ #
225
+ # Get hourly usage for incident management.
226
+ #
227
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
228
+ # @param opts [Hash] the optional parameters
229
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
210
230
  # @return [Array<(UsageIncidentManagementResponse, Integer, Hash)>] UsageIncidentManagementResponse data, response status code and response headers
211
231
  def get_incident_management_with_http_info(start_hr, opts = {})
212
232
 
@@ -249,7 +269,7 @@ module DatadogAPIClient::V1
249
269
  return_type = opts[:debug_return_type] || 'UsageIncidentManagementResponse'
250
270
 
251
271
  # auth_names
252
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
272
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
253
273
 
254
274
  new_options = opts.merge(
255
275
  :operation => :get_incident_management,
@@ -261,29 +281,28 @@ module DatadogAPIClient::V1
261
281
  :return_type => return_type
262
282
  )
263
283
 
264
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
284
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
265
285
  if @api_client.config.debugging
266
286
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_incident_management\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
267
287
  end
268
288
  return data, status_code, headers
269
289
  end
270
290
 
271
- # Get hourly usage for ingested spans
272
291
  # Get hourly usage for ingested spans.
273
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
274
- # @param [Hash] opts the optional parameters
275
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
276
- # @return [UsageIngestedSpansResponse]
292
+ #
293
+ # @see #get_ingested_spans_with_http_info
277
294
  def get_ingested_spans(start_hr, opts = {})
278
295
  data, _status_code, _headers = get_ingested_spans_with_http_info(start_hr, opts)
279
296
  data
280
297
  end
281
298
 
282
- # Get hourly usage for ingested spans
283
299
  # Get hourly usage for ingested spans.
284
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
285
- # @param [Hash] opts the optional parameters
286
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
300
+ #
301
+ # Get hourly usage for ingested spans.
302
+ #
303
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
304
+ # @param opts [Hash] the optional parameters
305
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
287
306
  # @return [Array<(UsageIngestedSpansResponse, Integer, Hash)>] UsageIngestedSpansResponse data, response status code and response headers
288
307
  def get_ingested_spans_with_http_info(start_hr, opts = {})
289
308
 
@@ -326,7 +345,7 @@ module DatadogAPIClient::V1
326
345
  return_type = opts[:debug_return_type] || 'UsageIngestedSpansResponse'
327
346
 
328
347
  # auth_names
329
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
348
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
330
349
 
331
350
  new_options = opts.merge(
332
351
  :operation => :get_ingested_spans,
@@ -338,33 +357,30 @@ module DatadogAPIClient::V1
338
357
  :return_type => return_type
339
358
  )
340
359
 
341
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
360
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
342
361
  if @api_client.config.debugging
343
362
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_ingested_spans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
344
363
  end
345
364
  return data, status_code, headers
346
365
  end
347
366
 
348
- # Get the list of available monthly custom reports
349
- # Get monthly custom reports.
350
- # @param [Hash] opts the optional parameters
351
- # @option opts [Integer] :page_size The number of files to return in the response &#x60;[default&#x3D;60].&#x60;
352
- # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature &#x60;[default&#x3D;0]&#x60;.
353
- # @option opts [UsageSortDirection] :sort_dir The direction to sort by: &#x60;[desc, asc]&#x60;. (default to 'desc')
354
- # @option opts [UsageSort] :sort The field to sort by: &#x60;[computed_on, size, start_date, end_date]&#x60;. (default to 'start_date')
355
- # @return [UsageCustomReportsResponse]
367
+ # Get the list of available monthly custom reports.
368
+ #
369
+ # @see #get_monthly_custom_reports_with_http_info
356
370
  def get_monthly_custom_reports(opts = {})
357
371
  data, _status_code, _headers = get_monthly_custom_reports_with_http_info(opts)
358
372
  data
359
373
  end
360
374
 
361
- # Get the list of available monthly custom reports
375
+ # Get the list of available monthly custom reports.
376
+ #
362
377
  # Get monthly custom reports.
363
- # @param [Hash] opts the optional parameters
364
- # @option opts [Integer] :page_size The number of files to return in the response &#x60;[default&#x3D;60].&#x60;
365
- # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature &#x60;[default&#x3D;0]&#x60;.
366
- # @option opts [UsageSortDirection] :sort_dir The direction to sort by: &#x60;[desc, asc]&#x60;.
367
- # @option opts [UsageSort] :sort The field to sort by: &#x60;[computed_on, size, start_date, end_date]&#x60;.
378
+ #
379
+ # @param opts [Hash] the optional parameters
380
+ # @option opts [Integer] :page_size The number of files to return in the response `[default=60].`
381
+ # @option opts [Integer] :page_number The identifier of the first page to return. This parameter is used for the pagination feature `[default=0]`.
382
+ # @option opts [UsageSortDirection] :sort_dir The direction to sort by: `[desc, asc]`.
383
+ # @option opts [UsageSort] :sort The field to sort by: `[computed_on, size, start_date, end_date]`.
368
384
  # @return [Array<(UsageCustomReportsResponse, Integer, Hash)>] UsageCustomReportsResponse data, response status code and response headers
369
385
  def get_monthly_custom_reports_with_http_info(opts = {})
370
386
 
@@ -380,6 +396,14 @@ module DatadogAPIClient::V1
380
396
  if @api_client.config.debugging
381
397
  @api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_monthly_custom_reports ...'
382
398
  end
399
+ allowable_values = ['desc', 'asc']
400
+ if @api_client.config.client_side_validation && opts[:'sort_dir'] && !allowable_values.include?(opts[:'sort_dir'])
401
+ fail ArgumentError, "invalid value for \"sort_dir\", must be one of #{allowable_values}"
402
+ end
403
+ allowable_values = ['computed_on', 'size', 'start_date', 'end_date']
404
+ if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
405
+ fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
406
+ end
383
407
  # resource path
384
408
  local_var_path = '/api/v1/monthly_custom_reports'
385
409
 
@@ -405,7 +429,7 @@ module DatadogAPIClient::V1
405
429
  return_type = opts[:debug_return_type] || 'UsageCustomReportsResponse'
406
430
 
407
431
  # auth_names
408
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
432
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
409
433
 
410
434
  new_options = opts.merge(
411
435
  :operation => :get_monthly_custom_reports,
@@ -417,38 +441,46 @@ module DatadogAPIClient::V1
417
441
  :return_type => return_type
418
442
  )
419
443
 
420
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
444
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
421
445
  if @api_client.config.debugging
422
446
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_monthly_custom_reports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
423
447
  end
424
448
  return data, status_code, headers
425
449
  end
426
450
 
427
- # Get Monthly Usage Attribution
428
- # Get Monthly Usage Attribution.
429
- # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago.
430
- # @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or &#x60;*&#x60; for all usage types.
431
- # @param [Hash] opts the optional parameters
432
- # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.
433
- # @option opts [UsageSortDirection] :sort_direction The direction to sort by: &#x60;[desc, asc]&#x60;. (default to 'desc')
434
- # @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
435
- # @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
436
- # @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
437
- # @return [MonthlyUsageAttributionResponse]
451
+ # Get monthly usage attribution.
452
+ #
453
+ # @see #get_monthly_usage_attribution_with_http_info
438
454
  def get_monthly_usage_attribution(start_month, fields, opts = {})
439
455
  data, _status_code, _headers = get_monthly_usage_attribution_with_http_info(start_month, fields, opts)
440
456
  data
441
457
  end
442
458
 
443
- # Get Monthly Usage Attribution
444
- # Get Monthly Usage Attribution.
445
- # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago.
446
- # @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or &#x60;*&#x60; for all usage types.
447
- # @param [Hash] opts the optional parameters
448
- # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.
449
- # @option opts [UsageSortDirection] :sort_direction The direction to sort by: &#x60;[desc, asc]&#x60;.
459
+ # Get monthly usage attribution.
460
+ #
461
+ # Get monthly usage attribution.
462
+ #
463
+ # This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is
464
+ # set in the response. If it is, make another request and pass `next_record_id` as a parameter.
465
+ # Pseudo code example:
466
+ #
467
+ # ```
468
+ # response := GetMonthlyUsageAttribution(start_month)
469
+ # cursor := response.metadata.pagination.next_record_id
470
+ # WHILE cursor != null BEGIN
471
+ # sleep(5 seconds) # Avoid running into rate limit
472
+ # response := GetMonthlyUsageAttribution(start_month, next_record_id=cursor)
473
+ # cursor := response.metadata.pagination.next_record_id
474
+ # END
475
+ # ```
476
+ #
477
+ # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
478
+ # @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
479
+ # @param opts [Hash] the optional parameters
480
+ # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
481
+ # @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
450
482
  # @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
451
- # @option opts [String] :tag_breakdown_keys Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags.
483
+ # @option opts [String] :tag_breakdown_keys Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value of `tag_config_source` in the API response.
452
484
  # @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
453
485
  # @return [Array<(MonthlyUsageAttributionResponse, Integer, Hash)>] MonthlyUsageAttributionResponse data, response status code and response headers
454
486
  def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {})
@@ -473,6 +505,19 @@ module DatadogAPIClient::V1
473
505
  if @api_client.config.client_side_validation && fields.nil?
474
506
  fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
475
507
  end
508
+ # verify enum value
509
+ allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
510
+ if @api_client.config.client_side_validation && !allowable_values.include?(fields)
511
+ fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
512
+ end
513
+ allowable_values = ['desc', 'asc']
514
+ if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
515
+ fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
516
+ end
517
+ allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
518
+ if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
519
+ fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
520
+ end
476
521
  # resource path
477
522
  local_var_path = '/api/v1/usage/monthly-attribution'
478
523
 
@@ -501,7 +546,7 @@ module DatadogAPIClient::V1
501
546
  return_type = opts[:debug_return_type] || 'MonthlyUsageAttributionResponse'
502
547
 
503
548
  # auth_names
504
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
549
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
505
550
 
506
551
  new_options = opts.merge(
507
552
  :operation => :get_monthly_usage_attribution,
@@ -513,27 +558,27 @@ module DatadogAPIClient::V1
513
558
  :return_type => return_type
514
559
  )
515
560
 
516
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
561
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
517
562
  if @api_client.config.debugging
518
563
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_monthly_usage_attribution\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
519
564
  end
520
565
  return data, status_code, headers
521
566
  end
522
567
 
523
- # Get specified daily custom reports
524
568
  # Get specified daily custom reports.
525
- # @param report_id [String] Date of the report in the format &#x60;YYYY-MM-DD&#x60;.
526
- # @param [Hash] opts the optional parameters
527
- # @return [UsageSpecifiedCustomReportsResponse]
569
+ #
570
+ # @see #get_specified_daily_custom_reports_with_http_info
528
571
  def get_specified_daily_custom_reports(report_id, opts = {})
529
572
  data, _status_code, _headers = get_specified_daily_custom_reports_with_http_info(report_id, opts)
530
573
  data
531
574
  end
532
575
 
533
- # Get specified daily custom reports
534
576
  # Get specified daily custom reports.
535
- # @param report_id [String] Date of the report in the format &#x60;YYYY-MM-DD&#x60;.
536
- # @param [Hash] opts the optional parameters
577
+ #
578
+ # Get specified daily custom reports.
579
+ #
580
+ # @param report_id [String] Date of the report in the format `YYYY-MM-DD`.
581
+ # @param opts [Hash] the optional parameters
537
582
  # @return [Array<(UsageSpecifiedCustomReportsResponse, Integer, Hash)>] UsageSpecifiedCustomReportsResponse data, response status code and response headers
538
583
  def get_specified_daily_custom_reports_with_http_info(report_id, opts = {})
539
584
 
@@ -554,7 +599,7 @@ module DatadogAPIClient::V1
554
599
  fail ArgumentError, "Missing the required parameter 'report_id' when calling UsageMeteringAPI.get_specified_daily_custom_reports"
555
600
  end
556
601
  # resource path
557
- local_var_path = '/api/v1/daily_custom_reports/{report_id}'.sub('{' + 'report_id' + '}', CGI.escape(report_id.to_s))
602
+ local_var_path = '/api/v1/daily_custom_reports/{report_id}'.sub('{report_id}', CGI.escape(report_id.to_s).gsub('%2F', '/'))
558
603
 
559
604
  # query parameters
560
605
  query_params = opts[:query_params] || {}
@@ -574,7 +619,7 @@ module DatadogAPIClient::V1
574
619
  return_type = opts[:debug_return_type] || 'UsageSpecifiedCustomReportsResponse'
575
620
 
576
621
  # auth_names
577
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
622
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
578
623
 
579
624
  new_options = opts.merge(
580
625
  :operation => :get_specified_daily_custom_reports,
@@ -586,27 +631,27 @@ module DatadogAPIClient::V1
586
631
  :return_type => return_type
587
632
  )
588
633
 
589
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
634
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
590
635
  if @api_client.config.debugging
591
636
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_specified_daily_custom_reports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
592
637
  end
593
638
  return data, status_code, headers
594
639
  end
595
640
 
596
- # Get specified monthly custom reports
597
641
  # Get specified monthly custom reports.
598
- # @param report_id [String] Date of the report in the format &#x60;YYYY-MM-DD&#x60;.
599
- # @param [Hash] opts the optional parameters
600
- # @return [UsageSpecifiedCustomReportsResponse]
642
+ #
643
+ # @see #get_specified_monthly_custom_reports_with_http_info
601
644
  def get_specified_monthly_custom_reports(report_id, opts = {})
602
645
  data, _status_code, _headers = get_specified_monthly_custom_reports_with_http_info(report_id, opts)
603
646
  data
604
647
  end
605
648
 
606
- # Get specified monthly custom reports
607
649
  # Get specified monthly custom reports.
608
- # @param report_id [String] Date of the report in the format &#x60;YYYY-MM-DD&#x60;.
609
- # @param [Hash] opts the optional parameters
650
+ #
651
+ # Get specified monthly custom reports.
652
+ #
653
+ # @param report_id [String] Date of the report in the format `YYYY-MM-DD`.
654
+ # @param opts [Hash] the optional parameters
610
655
  # @return [Array<(UsageSpecifiedCustomReportsResponse, Integer, Hash)>] UsageSpecifiedCustomReportsResponse data, response status code and response headers
611
656
  def get_specified_monthly_custom_reports_with_http_info(report_id, opts = {})
612
657
 
@@ -627,7 +672,7 @@ module DatadogAPIClient::V1
627
672
  fail ArgumentError, "Missing the required parameter 'report_id' when calling UsageMeteringAPI.get_specified_monthly_custom_reports"
628
673
  end
629
674
  # resource path
630
- local_var_path = '/api/v1/monthly_custom_reports/{report_id}'.sub('{' + 'report_id' + '}', CGI.escape(report_id.to_s))
675
+ local_var_path = '/api/v1/monthly_custom_reports/{report_id}'.sub('{report_id}', CGI.escape(report_id.to_s).gsub('%2F', '/'))
631
676
 
632
677
  # query parameters
633
678
  query_params = opts[:query_params] || {}
@@ -647,7 +692,7 @@ module DatadogAPIClient::V1
647
692
  return_type = opts[:debug_return_type] || 'UsageSpecifiedCustomReportsResponse'
648
693
 
649
694
  # auth_names
650
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
695
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
651
696
 
652
697
  new_options = opts.merge(
653
698
  :operation => :get_specified_monthly_custom_reports,
@@ -659,29 +704,28 @@ module DatadogAPIClient::V1
659
704
  :return_type => return_type
660
705
  )
661
706
 
662
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
707
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
663
708
  if @api_client.config.debugging
664
709
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_specified_monthly_custom_reports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
665
710
  end
666
711
  return data, status_code, headers
667
712
  end
668
713
 
669
- # Get hourly usage for analyzed logs
670
- # Get hourly usage for analyzed logs (Security Monitoring).
671
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
672
- # @param [Hash] opts the optional parameters
673
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
674
- # @return [UsageAnalyzedLogsResponse]
714
+ # Get hourly usage for analyzed logs.
715
+ #
716
+ # @see #get_usage_analyzed_logs_with_http_info
675
717
  def get_usage_analyzed_logs(start_hr, opts = {})
676
718
  data, _status_code, _headers = get_usage_analyzed_logs_with_http_info(start_hr, opts)
677
719
  data
678
720
  end
679
721
 
680
- # Get hourly usage for analyzed logs
722
+ # Get hourly usage for analyzed logs.
723
+ #
681
724
  # Get hourly usage for analyzed logs (Security Monitoring).
682
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
683
- # @param [Hash] opts the optional parameters
684
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
725
+ #
726
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
727
+ # @param opts [Hash] the optional parameters
728
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
685
729
  # @return [Array<(UsageAnalyzedLogsResponse, Integer, Hash)>] UsageAnalyzedLogsResponse data, response status code and response headers
686
730
  def get_usage_analyzed_logs_with_http_info(start_hr, opts = {})
687
731
 
@@ -724,7 +768,7 @@ module DatadogAPIClient::V1
724
768
  return_type = opts[:debug_return_type] || 'UsageAnalyzedLogsResponse'
725
769
 
726
770
  # auth_names
727
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
771
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
728
772
 
729
773
  new_options = opts.merge(
730
774
  :operation => :get_usage_analyzed_logs,
@@ -736,37 +780,30 @@ module DatadogAPIClient::V1
736
780
  :return_type => return_type
737
781
  )
738
782
 
739
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
783
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
740
784
  if @api_client.config.debugging
741
785
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_analyzed_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
742
786
  end
743
787
  return data, status_code, headers
744
788
  end
745
789
 
746
- # Get Usage Attribution
747
- # Get Usage Attribution.
748
- # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago.
749
- # @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or &#x60;*&#x60; for all usage types.
750
- # @param [Hash] opts the optional parameters
751
- # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.
752
- # @option opts [UsageSortDirection] :sort_direction The direction to sort by: &#x60;[desc, asc]&#x60;. (default to 'desc')
753
- # @option opts [UsageAttributionSort] :sort_name The field to sort by. (default to 'custom_timeseries_usage')
754
- # @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to false. (default to false)
755
- # @option opts [Integer] :offset Number of records to skip before beginning to return. (default to 0)
756
- # @option opts [Integer] :limit Maximum number of records to be returned. (default to 5000)
757
- # @return [UsageAttributionResponse]
790
+ # Get usage attribution.
791
+ #
792
+ # @see #get_usage_attribution_with_http_info
758
793
  def get_usage_attribution(start_month, fields, opts = {})
759
794
  data, _status_code, _headers = get_usage_attribution_with_http_info(start_month, fields, opts)
760
795
  data
761
796
  end
762
797
 
763
- # Get Usage Attribution
764
- # Get Usage Attribution.
765
- # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago.
766
- # @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or &#x60;*&#x60; for all usage types.
767
- # @param [Hash] opts the optional parameters
768
- # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.
769
- # @option opts [UsageSortDirection] :sort_direction The direction to sort by: &#x60;[desc, asc]&#x60;.
798
+ # Get usage attribution.
799
+ #
800
+ # Get usage attribution.
801
+ #
802
+ # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
803
+ # @param fields [UsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
804
+ # @param opts [Hash] the optional parameters
805
+ # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
806
+ # @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
770
807
  # @option opts [UsageAttributionSort] :sort_name The field to sort by.
771
808
  # @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to false.
772
809
  # @option opts [Integer] :offset Number of records to skip before beginning to return.
@@ -794,6 +831,19 @@ module DatadogAPIClient::V1
794
831
  if @api_client.config.client_side_validation && fields.nil?
795
832
  fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_usage_attribution"
796
833
  end
834
+ # verify enum value
835
+ allowable_values = ['custom_timeseries_usage', 'container_usage', 'snmp_percentage', 'apm_host_usage', 'browser_usage', 'npm_host_percentage', 'infra_host_usage', 'custom_timeseries_percentage', 'container_percentage', 'api_usage', 'apm_host_percentage', 'infra_host_percentage', 'snmp_usage', 'browser_percentage', 'api_percentage', 'npm_host_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'fargate_usage', 'fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'dbm_hosts_usage', 'dbm_hosts_percentage', 'dbm_queries_usage', 'dbm_queries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', '*']
836
+ if @api_client.config.client_side_validation && !allowable_values.include?(fields)
837
+ fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
838
+ end
839
+ allowable_values = ['desc', 'asc']
840
+ if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
841
+ fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
842
+ end
843
+ allowable_values = ['api_percentage', 'snmp_usage', 'apm_host_usage', 'api_usage', 'container_usage', 'custom_timeseries_percentage', 'container_percentage', 'apm_host_percentage', 'npm_host_percentage', 'browser_percentage', 'browser_usage', 'infra_host_percentage', 'snmp_percentage', 'npm_host_usage', 'infra_host_usage', 'custom_timeseries_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage']
844
+ if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
845
+ fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
846
+ end
797
847
  # resource path
798
848
  local_var_path = '/api/v1/usage/attribution'
799
849
 
@@ -823,7 +873,7 @@ module DatadogAPIClient::V1
823
873
  return_type = opts[:debug_return_type] || 'UsageAttributionResponse'
824
874
 
825
875
  # auth_names
826
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
876
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
827
877
 
828
878
  new_options = opts.merge(
829
879
  :operation => :get_usage_attribution,
@@ -835,29 +885,28 @@ module DatadogAPIClient::V1
835
885
  :return_type => return_type
836
886
  )
837
887
 
838
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
888
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
839
889
  if @api_client.config.debugging
840
890
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_attribution\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
841
891
  end
842
892
  return data, status_code, headers
843
893
  end
844
894
 
845
- # Get hourly usage for audit logs
846
895
  # Get hourly usage for audit logs.
847
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
848
- # @param [Hash] opts the optional parameters
849
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
850
- # @return [UsageAuditLogsResponse]
896
+ #
897
+ # @see #get_usage_audit_logs_with_http_info
851
898
  def get_usage_audit_logs(start_hr, opts = {})
852
899
  data, _status_code, _headers = get_usage_audit_logs_with_http_info(start_hr, opts)
853
900
  data
854
901
  end
855
902
 
856
- # Get hourly usage for audit logs
857
903
  # Get hourly usage for audit logs.
858
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
859
- # @param [Hash] opts the optional parameters
860
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
904
+ #
905
+ # Get hourly usage for audit logs.
906
+ #
907
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
908
+ # @param opts [Hash] the optional parameters
909
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
861
910
  # @return [Array<(UsageAuditLogsResponse, Integer, Hash)>] UsageAuditLogsResponse data, response status code and response headers
862
911
  def get_usage_audit_logs_with_http_info(start_hr, opts = {})
863
912
 
@@ -900,7 +949,7 @@ module DatadogAPIClient::V1
900
949
  return_type = opts[:debug_return_type] || 'UsageAuditLogsResponse'
901
950
 
902
951
  # auth_names
903
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
952
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
904
953
 
905
954
  new_options = opts.merge(
906
955
  :operation => :get_usage_audit_logs,
@@ -912,27 +961,27 @@ module DatadogAPIClient::V1
912
961
  :return_type => return_type
913
962
  )
914
963
 
915
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
964
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
916
965
  if @api_client.config.debugging
917
966
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_audit_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
918
967
  end
919
968
  return data, status_code, headers
920
969
  end
921
970
 
922
- # Get billable usage across your account
923
971
  # Get billable usage across your account.
924
- # @param [Hash] opts the optional parameters
925
- # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage starting this month.
926
- # @return [UsageBillableSummaryResponse]
972
+ #
973
+ # @see #get_usage_billable_summary_with_http_info
927
974
  def get_usage_billable_summary(opts = {})
928
975
  data, _status_code, _headers = get_usage_billable_summary_with_http_info(opts)
929
976
  data
930
977
  end
931
978
 
932
- # Get billable usage across your account
933
979
  # Get billable usage across your account.
934
- # @param [Hash] opts the optional parameters
935
- # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage starting this month.
980
+ #
981
+ # Get billable usage across your account.
982
+ #
983
+ # @param opts [Hash] the optional parameters
984
+ # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage starting this month.
936
985
  # @return [Array<(UsageBillableSummaryResponse, Integer, Hash)>] UsageBillableSummaryResponse data, response status code and response headers
937
986
  def get_usage_billable_summary_with_http_info(opts = {})
938
987
 
@@ -970,7 +1019,7 @@ module DatadogAPIClient::V1
970
1019
  return_type = opts[:debug_return_type] || 'UsageBillableSummaryResponse'
971
1020
 
972
1021
  # auth_names
973
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1022
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
974
1023
 
975
1024
  new_options = opts.merge(
976
1025
  :operation => :get_usage_billable_summary,
@@ -982,29 +1031,104 @@ module DatadogAPIClient::V1
982
1031
  :return_type => return_type
983
1032
  )
984
1033
 
985
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1034
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
986
1035
  if @api_client.config.debugging
987
1036
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_billable_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
988
1037
  end
989
1038
  return data, status_code, headers
990
1039
  end
991
1040
 
992
- # Get hourly usage for CSPM
993
- # Get hourly usage for Cloud Security Posture Management (CSPM).
994
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
995
- # @param [Hash] opts the optional parameters
996
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
997
- # @return [UsageCloudSecurityPostureManagementResponse]
1041
+ # Get hourly usage for CI Visibility.
1042
+ #
1043
+ # @see #get_usage_ci_app_with_http_info
1044
+ def get_usage_ci_app(start_hr, opts = {})
1045
+ data, _status_code, _headers = get_usage_ci_app_with_http_info(start_hr, opts)
1046
+ data
1047
+ end
1048
+
1049
+ # Get hourly usage for CI Visibility.
1050
+ #
1051
+ # Get hourly usage for CI Visibility (Tests, Pipeline, and Spans).
1052
+ #
1053
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1054
+ # @param opts [Hash] the optional parameters
1055
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1056
+ # @return [Array<(UsageCIVisibilityResponse, Integer, Hash)>] UsageCIVisibilityResponse data, response status code and response headers
1057
+ def get_usage_ci_app_with_http_info(start_hr, opts = {})
1058
+
1059
+ if @api_client.config.unstable_operations.has_key?(:get_usage_ci_app)
1060
+ unstable_enabled = @api_client.config.unstable_operations[:get_usage_ci_app]
1061
+ if unstable_enabled
1062
+ @api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_ci_app")
1063
+ else
1064
+ raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_ci_app"))
1065
+ end
1066
+ end
1067
+
1068
+ if @api_client.config.debugging
1069
+ @api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_ci_app ...'
1070
+ end
1071
+ # verify the required parameter 'start_hr' is set
1072
+ if @api_client.config.client_side_validation && start_hr.nil?
1073
+ fail ArgumentError, "Missing the required parameter 'start_hr' when calling UsageMeteringAPI.get_usage_ci_app"
1074
+ end
1075
+ # resource path
1076
+ local_var_path = '/api/v1/usage/ci-app'
1077
+
1078
+ # query parameters
1079
+ query_params = opts[:query_params] || {}
1080
+ query_params[:'start_hr'] = start_hr
1081
+ query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil?
1082
+
1083
+ # header parameters
1084
+ header_params = opts[:header_params] || {}
1085
+ # HTTP header 'Accept' (if needed)
1086
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;datetime-format=rfc3339'])
1087
+
1088
+ # form parameters
1089
+ form_params = opts[:form_params] || {}
1090
+
1091
+ # http body (model)
1092
+ post_body = opts[:debug_body]
1093
+
1094
+ # return_type
1095
+ return_type = opts[:debug_return_type] || 'UsageCIVisibilityResponse'
1096
+
1097
+ # auth_names
1098
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1099
+
1100
+ new_options = opts.merge(
1101
+ :operation => :get_usage_ci_app,
1102
+ :header_params => header_params,
1103
+ :query_params => query_params,
1104
+ :form_params => form_params,
1105
+ :body => post_body,
1106
+ :auth_names => auth_names,
1107
+ :return_type => return_type
1108
+ )
1109
+
1110
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1111
+ if @api_client.config.debugging
1112
+ @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_ci_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1113
+ end
1114
+ return data, status_code, headers
1115
+ end
1116
+
1117
+ # Get hourly usage for CSPM.
1118
+ #
1119
+ # @see #get_usage_cloud_security_posture_management_with_http_info
998
1120
  def get_usage_cloud_security_posture_management(start_hr, opts = {})
999
1121
  data, _status_code, _headers = get_usage_cloud_security_posture_management_with_http_info(start_hr, opts)
1000
1122
  data
1001
1123
  end
1002
1124
 
1003
- # Get hourly usage for CSPM
1125
+ # Get hourly usage for CSPM.
1126
+ #
1004
1127
  # Get hourly usage for Cloud Security Posture Management (CSPM).
1005
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1006
- # @param [Hash] opts the optional parameters
1007
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1128
+ #
1129
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1130
+ # @param opts [Hash] the optional parameters
1131
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1008
1132
  # @return [Array<(UsageCloudSecurityPostureManagementResponse, Integer, Hash)>] UsageCloudSecurityPostureManagementResponse data, response status code and response headers
1009
1133
  def get_usage_cloud_security_posture_management_with_http_info(start_hr, opts = {})
1010
1134
 
@@ -1047,7 +1171,7 @@ module DatadogAPIClient::V1
1047
1171
  return_type = opts[:debug_return_type] || 'UsageCloudSecurityPostureManagementResponse'
1048
1172
 
1049
1173
  # auth_names
1050
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1174
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1051
1175
 
1052
1176
  new_options = opts.merge(
1053
1177
  :operation => :get_usage_cloud_security_posture_management,
@@ -1059,29 +1183,28 @@ module DatadogAPIClient::V1
1059
1183
  :return_type => return_type
1060
1184
  )
1061
1185
 
1062
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1186
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1063
1187
  if @api_client.config.debugging
1064
1188
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_cloud_security_posture_management\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1065
1189
  end
1066
1190
  return data, status_code, headers
1067
1191
  end
1068
1192
 
1069
- # Get hourly usage for Cloud Workload Security
1070
1193
  # Get hourly usage for Cloud Workload Security.
1071
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1072
- # @param [Hash] opts the optional parameters
1073
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1074
- # @return [UsageCWSResponse]
1194
+ #
1195
+ # @see #get_usage_cws_with_http_info
1075
1196
  def get_usage_cws(start_hr, opts = {})
1076
1197
  data, _status_code, _headers = get_usage_cws_with_http_info(start_hr, opts)
1077
1198
  data
1078
1199
  end
1079
1200
 
1080
- # Get hourly usage for Cloud Workload Security
1081
1201
  # Get hourly usage for Cloud Workload Security.
1082
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1083
- # @param [Hash] opts the optional parameters
1084
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1202
+ #
1203
+ # Get hourly usage for Cloud Workload Security.
1204
+ #
1205
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1206
+ # @param opts [Hash] the optional parameters
1207
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1085
1208
  # @return [Array<(UsageCWSResponse, Integer, Hash)>] UsageCWSResponse data, response status code and response headers
1086
1209
  def get_usage_cws_with_http_info(start_hr, opts = {})
1087
1210
 
@@ -1124,7 +1247,7 @@ module DatadogAPIClient::V1
1124
1247
  return_type = opts[:debug_return_type] || 'UsageCWSResponse'
1125
1248
 
1126
1249
  # auth_names
1127
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1250
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1128
1251
 
1129
1252
  new_options = opts.merge(
1130
1253
  :operation => :get_usage_cws,
@@ -1136,29 +1259,28 @@ module DatadogAPIClient::V1
1136
1259
  :return_type => return_type
1137
1260
  )
1138
1261
 
1139
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1262
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1140
1263
  if @api_client.config.debugging
1141
1264
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_cws\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1142
1265
  end
1143
1266
  return data, status_code, headers
1144
1267
  end
1145
1268
 
1146
- # Get hourly usage for Database Monitoring
1147
- # Get hourly usage for Database Monitoring
1148
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1149
- # @param [Hash] opts the optional parameters
1150
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1151
- # @return [UsageDBMResponse]
1269
+ # Get hourly usage for Database Monitoring.
1270
+ #
1271
+ # @see #get_usage_dbm_with_http_info
1152
1272
  def get_usage_dbm(start_hr, opts = {})
1153
1273
  data, _status_code, _headers = get_usage_dbm_with_http_info(start_hr, opts)
1154
1274
  data
1155
1275
  end
1156
1276
 
1277
+ # Get hourly usage for Database Monitoring.
1278
+ #
1157
1279
  # Get hourly usage for Database Monitoring
1158
- # Get hourly usage for Database Monitoring
1159
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1160
- # @param [Hash] opts the optional parameters
1161
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1280
+ #
1281
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1282
+ # @param opts [Hash] the optional parameters
1283
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1162
1284
  # @return [Array<(UsageDBMResponse, Integer, Hash)>] UsageDBMResponse data, response status code and response headers
1163
1285
  def get_usage_dbm_with_http_info(start_hr, opts = {})
1164
1286
 
@@ -1201,7 +1323,7 @@ module DatadogAPIClient::V1
1201
1323
  return_type = opts[:debug_return_type] || 'UsageDBMResponse'
1202
1324
 
1203
1325
  # auth_names
1204
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1326
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1205
1327
 
1206
1328
  new_options = opts.merge(
1207
1329
  :operation => :get_usage_dbm,
@@ -1213,28 +1335,27 @@ module DatadogAPIClient::V1
1213
1335
  :return_type => return_type
1214
1336
  )
1215
1337
 
1216
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1338
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1217
1339
  if @api_client.config.debugging
1218
1340
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_dbm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1219
1341
  end
1220
1342
  return data, status_code, headers
1221
1343
  end
1222
1344
 
1223
- # Get hourly usage for Fargate
1224
- # Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
1225
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1226
- # @param [Hash] opts the optional parameters
1227
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1228
- # @return [UsageFargateResponse]
1345
+ # Get hourly usage for Fargate.
1346
+ #
1347
+ # @see #get_usage_fargate_with_http_info
1229
1348
  def get_usage_fargate(start_hr, opts = {})
1230
1349
  data, _status_code, _headers = get_usage_fargate_with_http_info(start_hr, opts)
1231
1350
  data
1232
1351
  end
1233
1352
 
1234
- # Get hourly usage for Fargate
1353
+ # Get hourly usage for Fargate.
1354
+ #
1235
1355
  # Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
1356
+ #
1236
1357
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1237
- # @param [Hash] opts the optional parameters
1358
+ # @param opts [Hash] the optional parameters
1238
1359
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1239
1360
  # @return [Array<(UsageFargateResponse, Integer, Hash)>] UsageFargateResponse data, response status code and response headers
1240
1361
  def get_usage_fargate_with_http_info(start_hr, opts = {})
@@ -1278,7 +1399,7 @@ module DatadogAPIClient::V1
1278
1399
  return_type = opts[:debug_return_type] || 'UsageFargateResponse'
1279
1400
 
1280
1401
  # auth_names
1281
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1402
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1282
1403
 
1283
1404
  new_options = opts.merge(
1284
1405
  :operation => :get_usage_fargate,
@@ -1290,28 +1411,27 @@ module DatadogAPIClient::V1
1290
1411
  :return_type => return_type
1291
1412
  )
1292
1413
 
1293
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1414
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1294
1415
  if @api_client.config.debugging
1295
1416
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_fargate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1296
1417
  end
1297
1418
  return data, status_code, headers
1298
1419
  end
1299
1420
 
1300
- # Get hourly usage for hosts and containers
1301
1421
  # Get hourly usage for hosts and containers.
1302
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1303
- # @param [Hash] opts the optional parameters
1304
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1305
- # @return [UsageHostsResponse]
1422
+ #
1423
+ # @see #get_usage_hosts_with_http_info
1306
1424
  def get_usage_hosts(start_hr, opts = {})
1307
1425
  data, _status_code, _headers = get_usage_hosts_with_http_info(start_hr, opts)
1308
1426
  data
1309
1427
  end
1310
1428
 
1311
- # Get hourly usage for hosts and containers
1312
1429
  # Get hourly usage for hosts and containers.
1430
+ #
1431
+ # Get hourly usage for hosts and containers.
1432
+ #
1313
1433
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1314
- # @param [Hash] opts the optional parameters
1434
+ # @param opts [Hash] the optional parameters
1315
1435
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1316
1436
  # @return [Array<(UsageHostsResponse, Integer, Hash)>] UsageHostsResponse data, response status code and response headers
1317
1437
  def get_usage_hosts_with_http_info(start_hr, opts = {})
@@ -1355,7 +1475,7 @@ module DatadogAPIClient::V1
1355
1475
  return_type = opts[:debug_return_type] || 'UsageHostsResponse'
1356
1476
 
1357
1477
  # auth_names
1358
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1478
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1359
1479
 
1360
1480
  new_options = opts.merge(
1361
1481
  :operation => :get_usage_hosts,
@@ -1367,29 +1487,28 @@ module DatadogAPIClient::V1
1367
1487
  :return_type => return_type
1368
1488
  )
1369
1489
 
1370
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1490
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1371
1491
  if @api_client.config.debugging
1372
1492
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_hosts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1373
1493
  end
1374
1494
  return data, status_code, headers
1375
1495
  end
1376
1496
 
1377
- # Get hourly usage for indexed spans
1378
1497
  # Get hourly usage for indexed spans.
1379
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1380
- # @param [Hash] opts the optional parameters
1381
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1382
- # @return [UsageIndexedSpansResponse]
1498
+ #
1499
+ # @see #get_usage_indexed_spans_with_http_info
1383
1500
  def get_usage_indexed_spans(start_hr, opts = {})
1384
1501
  data, _status_code, _headers = get_usage_indexed_spans_with_http_info(start_hr, opts)
1385
1502
  data
1386
1503
  end
1387
1504
 
1388
- # Get hourly usage for indexed spans
1389
1505
  # Get hourly usage for indexed spans.
1390
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1391
- # @param [Hash] opts the optional parameters
1392
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1506
+ #
1507
+ # Get hourly usage for indexed spans.
1508
+ #
1509
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1510
+ # @param opts [Hash] the optional parameters
1511
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1393
1512
  # @return [Array<(UsageIndexedSpansResponse, Integer, Hash)>] UsageIndexedSpansResponse data, response status code and response headers
1394
1513
  def get_usage_indexed_spans_with_http_info(start_hr, opts = {})
1395
1514
 
@@ -1432,7 +1551,7 @@ module DatadogAPIClient::V1
1432
1551
  return_type = opts[:debug_return_type] || 'UsageIndexedSpansResponse'
1433
1552
 
1434
1553
  # auth_names
1435
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1554
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1436
1555
 
1437
1556
  new_options = opts.merge(
1438
1557
  :operation => :get_usage_indexed_spans,
@@ -1444,29 +1563,28 @@ module DatadogAPIClient::V1
1444
1563
  :return_type => return_type
1445
1564
  )
1446
1565
 
1447
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1566
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1448
1567
  if @api_client.config.debugging
1449
1568
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_indexed_spans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1450
1569
  end
1451
1570
  return data, status_code, headers
1452
1571
  end
1453
1572
 
1454
- # Get hourly usage for IoT
1455
1573
  # Get hourly usage for IoT.
1456
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1457
- # @param [Hash] opts the optional parameters
1458
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1459
- # @return [UsageIoTResponse]
1574
+ #
1575
+ # @see #get_usage_internet_of_things_with_http_info
1460
1576
  def get_usage_internet_of_things(start_hr, opts = {})
1461
1577
  data, _status_code, _headers = get_usage_internet_of_things_with_http_info(start_hr, opts)
1462
1578
  data
1463
1579
  end
1464
1580
 
1465
- # Get hourly usage for IoT
1466
1581
  # Get hourly usage for IoT.
1467
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1468
- # @param [Hash] opts the optional parameters
1469
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1582
+ #
1583
+ # Get hourly usage for IoT.
1584
+ #
1585
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1586
+ # @param opts [Hash] the optional parameters
1587
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1470
1588
  # @return [Array<(UsageIoTResponse, Integer, Hash)>] UsageIoTResponse data, response status code and response headers
1471
1589
  def get_usage_internet_of_things_with_http_info(start_hr, opts = {})
1472
1590
 
@@ -1509,7 +1627,7 @@ module DatadogAPIClient::V1
1509
1627
  return_type = opts[:debug_return_type] || 'UsageIoTResponse'
1510
1628
 
1511
1629
  # auth_names
1512
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1630
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1513
1631
 
1514
1632
  new_options = opts.merge(
1515
1633
  :operation => :get_usage_internet_of_things,
@@ -1521,28 +1639,27 @@ module DatadogAPIClient::V1
1521
1639
  :return_type => return_type
1522
1640
  )
1523
1641
 
1524
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1642
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1525
1643
  if @api_client.config.debugging
1526
1644
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_internet_of_things\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1527
1645
  end
1528
1646
  return data, status_code, headers
1529
1647
  end
1530
1648
 
1531
- # Get hourly usage for Lambda
1532
- # Get hourly usage for lambda.
1533
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1534
- # @param [Hash] opts the optional parameters
1535
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1536
- # @return [UsageLambdaResponse]
1649
+ # Get hourly usage for Lambda.
1650
+ #
1651
+ # @see #get_usage_lambda_with_http_info
1537
1652
  def get_usage_lambda(start_hr, opts = {})
1538
1653
  data, _status_code, _headers = get_usage_lambda_with_http_info(start_hr, opts)
1539
1654
  data
1540
1655
  end
1541
1656
 
1542
- # Get hourly usage for Lambda
1657
+ # Get hourly usage for Lambda.
1658
+ #
1543
1659
  # Get hourly usage for lambda.
1660
+ #
1544
1661
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1545
- # @param [Hash] opts the optional parameters
1662
+ # @param opts [Hash] the optional parameters
1546
1663
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1547
1664
  # @return [Array<(UsageLambdaResponse, Integer, Hash)>] UsageLambdaResponse data, response status code and response headers
1548
1665
  def get_usage_lambda_with_http_info(start_hr, opts = {})
@@ -1586,7 +1703,7 @@ module DatadogAPIClient::V1
1586
1703
  return_type = opts[:debug_return_type] || 'UsageLambdaResponse'
1587
1704
 
1588
1705
  # auth_names
1589
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1706
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1590
1707
 
1591
1708
  new_options = opts.merge(
1592
1709
  :operation => :get_usage_lambda,
@@ -1598,28 +1715,27 @@ module DatadogAPIClient::V1
1598
1715
  :return_type => return_type
1599
1716
  )
1600
1717
 
1601
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1718
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1602
1719
  if @api_client.config.debugging
1603
1720
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_lambda\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1604
1721
  end
1605
1722
  return data, status_code, headers
1606
1723
  end
1607
1724
 
1608
- # Get hourly usage for Logs
1609
- # Get hourly usage for logs.
1610
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1611
- # @param [Hash] opts the optional parameters
1612
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1613
- # @return [UsageLogsResponse]
1725
+ # Get hourly usage for Logs.
1726
+ #
1727
+ # @see #get_usage_logs_with_http_info
1614
1728
  def get_usage_logs(start_hr, opts = {})
1615
1729
  data, _status_code, _headers = get_usage_logs_with_http_info(start_hr, opts)
1616
1730
  data
1617
1731
  end
1618
1732
 
1619
- # Get hourly usage for Logs
1733
+ # Get hourly usage for Logs.
1734
+ #
1620
1735
  # Get hourly usage for logs.
1736
+ #
1621
1737
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1622
- # @param [Hash] opts the optional parameters
1738
+ # @param opts [Hash] the optional parameters
1623
1739
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1624
1740
  # @return [Array<(UsageLogsResponse, Integer, Hash)>] UsageLogsResponse data, response status code and response headers
1625
1741
  def get_usage_logs_with_http_info(start_hr, opts = {})
@@ -1663,7 +1779,7 @@ module DatadogAPIClient::V1
1663
1779
  return_type = opts[:debug_return_type] || 'UsageLogsResponse'
1664
1780
 
1665
1781
  # auth_names
1666
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1782
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1667
1783
 
1668
1784
  new_options = opts.merge(
1669
1785
  :operation => :get_usage_logs,
@@ -1675,29 +1791,27 @@ module DatadogAPIClient::V1
1675
1791
  :return_type => return_type
1676
1792
  )
1677
1793
 
1678
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1794
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1679
1795
  if @api_client.config.debugging
1680
1796
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1681
1797
  end
1682
1798
  return data, status_code, headers
1683
1799
  end
1684
1800
 
1685
- # Get hourly usage for Logs by Index
1686
- # Get hourly usage for logs by index.
1687
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1688
- # @param [Hash] opts the optional parameters
1689
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1690
- # @option opts [Array<String>] :index_name Comma-separated list of log index names.
1691
- # @return [UsageLogsByIndexResponse]
1801
+ # Get hourly usage for Logs by Index.
1802
+ #
1803
+ # @see #get_usage_logs_by_index_with_http_info
1692
1804
  def get_usage_logs_by_index(start_hr, opts = {})
1693
1805
  data, _status_code, _headers = get_usage_logs_by_index_with_http_info(start_hr, opts)
1694
1806
  data
1695
1807
  end
1696
1808
 
1697
- # Get hourly usage for Logs by Index
1809
+ # Get hourly usage for Logs by Index.
1810
+ #
1698
1811
  # Get hourly usage for logs by index.
1812
+ #
1699
1813
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1700
- # @param [Hash] opts the optional parameters
1814
+ # @param opts [Hash] the optional parameters
1701
1815
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1702
1816
  # @option opts [Array<String>] :index_name Comma-separated list of log index names.
1703
1817
  # @return [Array<(UsageLogsByIndexResponse, Integer, Hash)>] UsageLogsByIndexResponse data, response status code and response headers
@@ -1743,7 +1857,7 @@ module DatadogAPIClient::V1
1743
1857
  return_type = opts[:debug_return_type] || 'UsageLogsByIndexResponse'
1744
1858
 
1745
1859
  # auth_names
1746
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1860
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1747
1861
 
1748
1862
  new_options = opts.merge(
1749
1863
  :operation => :get_usage_logs_by_index,
@@ -1755,29 +1869,28 @@ module DatadogAPIClient::V1
1755
1869
  :return_type => return_type
1756
1870
  )
1757
1871
 
1758
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1872
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1759
1873
  if @api_client.config.debugging
1760
1874
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_logs_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1761
1875
  end
1762
1876
  return data, status_code, headers
1763
1877
  end
1764
1878
 
1765
- # Get hourly logs usage by retention
1766
- # Get hourly usage for indexed logs by retention period.
1767
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1768
- # @param [Hash] opts the optional parameters
1769
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1770
- # @return [UsageLogsByRetentionResponse]
1879
+ # Get hourly logs usage by retention.
1880
+ #
1881
+ # @see #get_usage_logs_by_retention_with_http_info
1771
1882
  def get_usage_logs_by_retention(start_hr, opts = {})
1772
1883
  data, _status_code, _headers = get_usage_logs_by_retention_with_http_info(start_hr, opts)
1773
1884
  data
1774
1885
  end
1775
1886
 
1776
- # Get hourly logs usage by retention
1887
+ # Get hourly logs usage by retention.
1888
+ #
1777
1889
  # Get hourly usage for indexed logs by retention period.
1778
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1779
- # @param [Hash] opts the optional parameters
1780
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1890
+ #
1891
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1892
+ # @param opts [Hash] the optional parameters
1893
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1781
1894
  # @return [Array<(UsageLogsByRetentionResponse, Integer, Hash)>] UsageLogsByRetentionResponse data, response status code and response headers
1782
1895
  def get_usage_logs_by_retention_with_http_info(start_hr, opts = {})
1783
1896
 
@@ -1820,7 +1933,7 @@ module DatadogAPIClient::V1
1820
1933
  return_type = opts[:debug_return_type] || 'UsageLogsByRetentionResponse'
1821
1934
 
1822
1935
  # auth_names
1823
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
1936
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1824
1937
 
1825
1938
  new_options = opts.merge(
1826
1939
  :operation => :get_usage_logs_by_retention,
@@ -1832,29 +1945,28 @@ module DatadogAPIClient::V1
1832
1945
  :return_type => return_type
1833
1946
  )
1834
1947
 
1835
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1948
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1836
1949
  if @api_client.config.debugging
1837
1950
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_logs_by_retention\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1838
1951
  end
1839
1952
  return data, status_code, headers
1840
1953
  end
1841
1954
 
1842
- # Get hourly usage for Network Flows
1843
- # Get hourly usage for network flows.
1844
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1845
- # @param [Hash] opts the optional parameters
1846
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1847
- # @return [UsageNetworkFlowsResponse]
1955
+ # Get hourly usage for Network Flows.
1956
+ #
1957
+ # @see #get_usage_network_flows_with_http_info
1848
1958
  def get_usage_network_flows(start_hr, opts = {})
1849
1959
  data, _status_code, _headers = get_usage_network_flows_with_http_info(start_hr, opts)
1850
1960
  data
1851
1961
  end
1852
1962
 
1853
- # Get hourly usage for Network Flows
1963
+ # Get hourly usage for Network Flows.
1964
+ #
1854
1965
  # Get hourly usage for network flows.
1855
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1856
- # @param [Hash] opts the optional parameters
1857
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
1966
+ #
1967
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
1968
+ # @param opts [Hash] the optional parameters
1969
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
1858
1970
  # @return [Array<(UsageNetworkFlowsResponse, Integer, Hash)>] UsageNetworkFlowsResponse data, response status code and response headers
1859
1971
  def get_usage_network_flows_with_http_info(start_hr, opts = {})
1860
1972
 
@@ -1897,7 +2009,7 @@ module DatadogAPIClient::V1
1897
2009
  return_type = opts[:debug_return_type] || 'UsageNetworkFlowsResponse'
1898
2010
 
1899
2011
  # auth_names
1900
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2012
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1901
2013
 
1902
2014
  new_options = opts.merge(
1903
2015
  :operation => :get_usage_network_flows,
@@ -1909,28 +2021,27 @@ module DatadogAPIClient::V1
1909
2021
  :return_type => return_type
1910
2022
  )
1911
2023
 
1912
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2024
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1913
2025
  if @api_client.config.debugging
1914
2026
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_network_flows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1915
2027
  end
1916
2028
  return data, status_code, headers
1917
2029
  end
1918
2030
 
1919
- # Get hourly usage for Network Hosts
1920
- # Get hourly usage for network hosts.
1921
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1922
- # @param [Hash] opts the optional parameters
1923
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1924
- # @return [UsageNetworkHostsResponse]
2031
+ # Get hourly usage for Network Hosts.
2032
+ #
2033
+ # @see #get_usage_network_hosts_with_http_info
1925
2034
  def get_usage_network_hosts(start_hr, opts = {})
1926
2035
  data, _status_code, _headers = get_usage_network_hosts_with_http_info(start_hr, opts)
1927
2036
  data
1928
2037
  end
1929
2038
 
1930
- # Get hourly usage for Network Hosts
2039
+ # Get hourly usage for Network Hosts.
2040
+ #
1931
2041
  # Get hourly usage for network hosts.
2042
+ #
1932
2043
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1933
- # @param [Hash] opts the optional parameters
2044
+ # @param opts [Hash] the optional parameters
1934
2045
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
1935
2046
  # @return [Array<(UsageNetworkHostsResponse, Integer, Hash)>] UsageNetworkHostsResponse data, response status code and response headers
1936
2047
  def get_usage_network_hosts_with_http_info(start_hr, opts = {})
@@ -1974,7 +2085,7 @@ module DatadogAPIClient::V1
1974
2085
  return_type = opts[:debug_return_type] || 'UsageNetworkHostsResponse'
1975
2086
 
1976
2087
  # auth_names
1977
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2088
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1978
2089
 
1979
2090
  new_options = opts.merge(
1980
2091
  :operation => :get_usage_network_hosts,
@@ -1986,29 +2097,104 @@ module DatadogAPIClient::V1
1986
2097
  :return_type => return_type
1987
2098
  )
1988
2099
 
1989
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2100
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
1990
2101
  if @api_client.config.debugging
1991
2102
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_network_hosts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1992
2103
  end
1993
2104
  return data, status_code, headers
1994
2105
  end
1995
2106
 
1996
- # Get hourly usage for profiled hosts
2107
+ # Get hourly usage for Online Archive.
2108
+ #
2109
+ # @see #get_usage_online_archive_with_http_info
2110
+ def get_usage_online_archive(start_hr, opts = {})
2111
+ data, _status_code, _headers = get_usage_online_archive_with_http_info(start_hr, opts)
2112
+ data
2113
+ end
2114
+
2115
+ # Get hourly usage for Online Archive.
2116
+ #
2117
+ # Get hourly usage for Online Archive.
2118
+ #
2119
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
2120
+ # @param opts [Hash] the optional parameters
2121
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
2122
+ # @return [Array<(UsageOnlineArchiveResponse, Integer, Hash)>] UsageOnlineArchiveResponse data, response status code and response headers
2123
+ def get_usage_online_archive_with_http_info(start_hr, opts = {})
2124
+
2125
+ if @api_client.config.unstable_operations.has_key?(:get_usage_online_archive)
2126
+ unstable_enabled = @api_client.config.unstable_operations[:get_usage_online_archive]
2127
+ if unstable_enabled
2128
+ @api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_online_archive")
2129
+ else
2130
+ raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_online_archive"))
2131
+ end
2132
+ end
2133
+
2134
+ if @api_client.config.debugging
2135
+ @api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_online_archive ...'
2136
+ end
2137
+ # verify the required parameter 'start_hr' is set
2138
+ if @api_client.config.client_side_validation && start_hr.nil?
2139
+ fail ArgumentError, "Missing the required parameter 'start_hr' when calling UsageMeteringAPI.get_usage_online_archive"
2140
+ end
2141
+ # resource path
2142
+ local_var_path = '/api/v1/usage/online-archive'
2143
+
2144
+ # query parameters
2145
+ query_params = opts[:query_params] || {}
2146
+ query_params[:'start_hr'] = start_hr
2147
+ query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil?
2148
+
2149
+ # header parameters
2150
+ header_params = opts[:header_params] || {}
2151
+ # HTTP header 'Accept' (if needed)
2152
+ header_params['Accept'] = @api_client.select_header_accept(['application/json;datetime-format=rfc3339'])
2153
+
2154
+ # form parameters
2155
+ form_params = opts[:form_params] || {}
2156
+
2157
+ # http body (model)
2158
+ post_body = opts[:debug_body]
2159
+
2160
+ # return_type
2161
+ return_type = opts[:debug_return_type] || 'UsageOnlineArchiveResponse'
2162
+
2163
+ # auth_names
2164
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2165
+
2166
+ new_options = opts.merge(
2167
+ :operation => :get_usage_online_archive,
2168
+ :header_params => header_params,
2169
+ :query_params => query_params,
2170
+ :form_params => form_params,
2171
+ :body => post_body,
2172
+ :auth_names => auth_names,
2173
+ :return_type => return_type
2174
+ )
2175
+
2176
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2177
+ if @api_client.config.debugging
2178
+ @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_online_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2179
+ end
2180
+ return data, status_code, headers
2181
+ end
2182
+
1997
2183
  # Get hourly usage for profiled hosts.
1998
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
1999
- # @param [Hash] opts the optional parameters
2000
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
2001
- # @return [UsageProfilingResponse]
2184
+ #
2185
+ # @see #get_usage_profiling_with_http_info
2002
2186
  def get_usage_profiling(start_hr, opts = {})
2003
2187
  data, _status_code, _headers = get_usage_profiling_with_http_info(start_hr, opts)
2004
2188
  data
2005
2189
  end
2006
2190
 
2007
- # Get hourly usage for profiled hosts
2008
2191
  # Get hourly usage for profiled hosts.
2009
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
2010
- # @param [Hash] opts the optional parameters
2011
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
2192
+ #
2193
+ # Get hourly usage for profiled hosts.
2194
+ #
2195
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
2196
+ # @param opts [Hash] the optional parameters
2197
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
2012
2198
  # @return [Array<(UsageProfilingResponse, Integer, Hash)>] UsageProfilingResponse data, response status code and response headers
2013
2199
  def get_usage_profiling_with_http_info(start_hr, opts = {})
2014
2200
 
@@ -2051,7 +2237,7 @@ module DatadogAPIClient::V1
2051
2237
  return_type = opts[:debug_return_type] || 'UsageProfilingResponse'
2052
2238
 
2053
2239
  # auth_names
2054
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2240
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2055
2241
 
2056
2242
  new_options = opts.merge(
2057
2243
  :operation => :get_usage_profiling,
@@ -2063,31 +2249,29 @@ module DatadogAPIClient::V1
2063
2249
  :return_type => return_type
2064
2250
  )
2065
2251
 
2066
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2252
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2067
2253
  if @api_client.config.debugging
2068
2254
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_profiling\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2069
2255
  end
2070
2256
  return data, status_code, headers
2071
2257
  end
2072
2258
 
2073
- # Get hourly usage for RUM Sessions
2074
- # Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.
2075
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2076
- # @param [Hash] opts the optional parameters
2077
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2078
- # @option opts [String] :type RUM type: &#x60;[browser, mobile]&#x60;. Defaults to &#x60;browser&#x60;.
2079
- # @return [UsageRumSessionsResponse]
2259
+ # Get hourly usage for RUM Sessions.
2260
+ #
2261
+ # @see #get_usage_rum_sessions_with_http_info
2080
2262
  def get_usage_rum_sessions(start_hr, opts = {})
2081
2263
  data, _status_code, _headers = get_usage_rum_sessions_with_http_info(start_hr, opts)
2082
2264
  data
2083
2265
  end
2084
2266
 
2085
- # Get hourly usage for RUM Sessions
2267
+ # Get hourly usage for RUM Sessions.
2268
+ #
2086
2269
  # Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Sessions.
2270
+ #
2087
2271
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2088
- # @param [Hash] opts the optional parameters
2272
+ # @param opts [Hash] the optional parameters
2089
2273
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2090
- # @option opts [String] :type RUM type: &#x60;[browser, mobile]&#x60;. Defaults to &#x60;browser&#x60;.
2274
+ # @option opts [String] :type RUM type: `[browser, mobile]`. Defaults to `browser`.
2091
2275
  # @return [Array<(UsageRumSessionsResponse, Integer, Hash)>] UsageRumSessionsResponse data, response status code and response headers
2092
2276
  def get_usage_rum_sessions_with_http_info(start_hr, opts = {})
2093
2277
 
@@ -2131,7 +2315,7 @@ module DatadogAPIClient::V1
2131
2315
  return_type = opts[:debug_return_type] || 'UsageRumSessionsResponse'
2132
2316
 
2133
2317
  # auth_names
2134
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2318
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2135
2319
 
2136
2320
  new_options = opts.merge(
2137
2321
  :operation => :get_usage_rum_sessions,
@@ -2143,28 +2327,27 @@ module DatadogAPIClient::V1
2143
2327
  :return_type => return_type
2144
2328
  )
2145
2329
 
2146
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2330
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2147
2331
  if @api_client.config.debugging
2148
2332
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_rum_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2149
2333
  end
2150
2334
  return data, status_code, headers
2151
2335
  end
2152
2336
 
2153
- # Get hourly usage for RUM Units
2154
- # Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.
2155
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2156
- # @param [Hash] opts the optional parameters
2157
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2158
- # @return [UsageRumUnitsResponse]
2337
+ # Get hourly usage for RUM Units.
2338
+ #
2339
+ # @see #get_usage_rum_units_with_http_info
2159
2340
  def get_usage_rum_units(start_hr, opts = {})
2160
2341
  data, _status_code, _headers = get_usage_rum_units_with_http_info(start_hr, opts)
2161
2342
  data
2162
2343
  end
2163
2344
 
2164
- # Get hourly usage for RUM Units
2345
+ # Get hourly usage for RUM Units.
2346
+ #
2165
2347
  # Get hourly usage for [RUM](https://docs.datadoghq.com/real_user_monitoring/) Units.
2348
+ #
2166
2349
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2167
- # @param [Hash] opts the optional parameters
2350
+ # @param opts [Hash] the optional parameters
2168
2351
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2169
2352
  # @return [Array<(UsageRumUnitsResponse, Integer, Hash)>] UsageRumUnitsResponse data, response status code and response headers
2170
2353
  def get_usage_rum_units_with_http_info(start_hr, opts = {})
@@ -2208,7 +2391,7 @@ module DatadogAPIClient::V1
2208
2391
  return_type = opts[:debug_return_type] || 'UsageRumUnitsResponse'
2209
2392
 
2210
2393
  # auth_names
2211
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2394
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2212
2395
 
2213
2396
  new_options = opts.merge(
2214
2397
  :operation => :get_usage_rum_units,
@@ -2220,29 +2403,28 @@ module DatadogAPIClient::V1
2220
2403
  :return_type => return_type
2221
2404
  )
2222
2405
 
2223
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2406
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2224
2407
  if @api_client.config.debugging
2225
2408
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_rum_units\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2226
2409
  end
2227
2410
  return data, status_code, headers
2228
2411
  end
2229
2412
 
2230
- # Get hourly usage for Sensitive Data Scanner
2231
2413
  # Get hourly usage for Sensitive Data Scanner.
2232
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
2233
- # @param [Hash] opts the optional parameters
2234
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
2235
- # @return [UsageSDSResponse]
2414
+ #
2415
+ # @see #get_usage_sds_with_http_info
2236
2416
  def get_usage_sds(start_hr, opts = {})
2237
2417
  data, _status_code, _headers = get_usage_sds_with_http_info(start_hr, opts)
2238
2418
  data
2239
2419
  end
2240
2420
 
2241
- # Get hourly usage for Sensitive Data Scanner
2242
2421
  # Get hourly usage for Sensitive Data Scanner.
2243
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
2244
- # @param [Hash] opts the optional parameters
2245
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
2422
+ #
2423
+ # Get hourly usage for Sensitive Data Scanner.
2424
+ #
2425
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
2426
+ # @param opts [Hash] the optional parameters
2427
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
2246
2428
  # @return [Array<(UsageSDSResponse, Integer, Hash)>] UsageSDSResponse data, response status code and response headers
2247
2429
  def get_usage_sds_with_http_info(start_hr, opts = {})
2248
2430
 
@@ -2285,7 +2467,7 @@ module DatadogAPIClient::V1
2285
2467
  return_type = opts[:debug_return_type] || 'UsageSDSResponse'
2286
2468
 
2287
2469
  # auth_names
2288
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2470
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2289
2471
 
2290
2472
  new_options = opts.merge(
2291
2473
  :operation => :get_usage_sds,
@@ -2297,29 +2479,28 @@ module DatadogAPIClient::V1
2297
2479
  :return_type => return_type
2298
2480
  )
2299
2481
 
2300
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2482
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2301
2483
  if @api_client.config.debugging
2302
2484
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_sds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2303
2485
  end
2304
2486
  return data, status_code, headers
2305
2487
  end
2306
2488
 
2307
- # Get hourly usage for SNMP devices
2308
2489
  # Get hourly usage for SNMP devices.
2309
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
2310
- # @param [Hash] opts the optional parameters
2311
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
2312
- # @return [UsageSNMPResponse]
2490
+ #
2491
+ # @see #get_usage_snmp_with_http_info
2313
2492
  def get_usage_snmp(start_hr, opts = {})
2314
2493
  data, _status_code, _headers = get_usage_snmp_with_http_info(start_hr, opts)
2315
2494
  data
2316
2495
  end
2317
2496
 
2318
- # Get hourly usage for SNMP devices
2319
2497
  # Get hourly usage for SNMP devices.
2320
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour.
2321
- # @param [Hash] opts the optional parameters
2322
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour.
2498
+ #
2499
+ # Get hourly usage for SNMP devices.
2500
+ #
2501
+ # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
2502
+ # @param opts [Hash] the optional parameters
2503
+ # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
2323
2504
  # @return [Array<(UsageSNMPResponse, Integer, Hash)>] UsageSNMPResponse data, response status code and response headers
2324
2505
  def get_usage_snmp_with_http_info(start_hr, opts = {})
2325
2506
 
@@ -2362,7 +2543,7 @@ module DatadogAPIClient::V1
2362
2543
  return_type = opts[:debug_return_type] || 'UsageSNMPResponse'
2363
2544
 
2364
2545
  # auth_names
2365
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2546
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2366
2547
 
2367
2548
  new_options = opts.merge(
2368
2549
  :operation => :get_usage_snmp,
@@ -2374,30 +2555,28 @@ module DatadogAPIClient::V1
2374
2555
  :return_type => return_type
2375
2556
  )
2376
2557
 
2377
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2558
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2378
2559
  if @api_client.config.debugging
2379
2560
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_snmp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2380
2561
  end
2381
2562
  return data, status_code, headers
2382
2563
  end
2383
2564
 
2384
- # Get usage across your multi-org account
2385
- # Get usage across your multi-org account. You must have the multi-org feature enabled.
2386
- # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago.
2387
- # @param [Hash] opts the optional parameters
2388
- # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.
2389
- # @option opts [Boolean] :include_org_details Include usage summaries for each sub-org.
2390
- # @return [UsageSummaryResponse]
2565
+ # Get usage across your multi-org account.
2566
+ #
2567
+ # @see #get_usage_summary_with_http_info
2391
2568
  def get_usage_summary(start_month, opts = {})
2392
2569
  data, _status_code, _headers = get_usage_summary_with_http_info(start_month, opts)
2393
2570
  data
2394
2571
  end
2395
2572
 
2396
- # Get usage across your multi-org account
2573
+ # Get usage across your multi-org account.
2574
+ #
2397
2575
  # Get usage across your multi-org account. You must have the multi-org feature enabled.
2398
- # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage beginning in this month. Maximum of 15 months ago.
2399
- # @param [Hash] opts the optional parameters
2400
- # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: &#x60;[YYYY-MM]&#x60; for usage ending this month.
2576
+ #
2577
+ # @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
2578
+ # @param opts [Hash] the optional parameters
2579
+ # @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
2401
2580
  # @option opts [Boolean] :include_org_details Include usage summaries for each sub-org.
2402
2581
  # @return [Array<(UsageSummaryResponse, Integer, Hash)>] UsageSummaryResponse data, response status code and response headers
2403
2582
  def get_usage_summary_with_http_info(start_month, opts = {})
@@ -2442,7 +2621,7 @@ module DatadogAPIClient::V1
2442
2621
  return_type = opts[:debug_return_type] || 'UsageSummaryResponse'
2443
2622
 
2444
2623
  # auth_names
2445
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2624
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2446
2625
 
2447
2626
  new_options = opts.merge(
2448
2627
  :operation => :get_usage_summary,
@@ -2454,28 +2633,27 @@ module DatadogAPIClient::V1
2454
2633
  :return_type => return_type
2455
2634
  )
2456
2635
 
2457
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2636
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2458
2637
  if @api_client.config.debugging
2459
2638
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2460
2639
  end
2461
2640
  return data, status_code, headers
2462
2641
  end
2463
2642
 
2464
- # Get hourly usage for Synthetics Checks
2465
- # Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/).
2466
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2467
- # @param [Hash] opts the optional parameters
2468
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2469
- # @return [UsageSyntheticsResponse]
2643
+ # Get hourly usage for Synthetics Checks.
2644
+ #
2645
+ # @see #get_usage_synthetics_with_http_info
2470
2646
  def get_usage_synthetics(start_hr, opts = {})
2471
2647
  data, _status_code, _headers = get_usage_synthetics_with_http_info(start_hr, opts)
2472
2648
  data
2473
2649
  end
2474
2650
 
2475
- # Get hourly usage for Synthetics Checks
2651
+ # Get hourly usage for Synthetics Checks.
2652
+ #
2476
2653
  # Get hourly usage for [Synthetics checks](https://docs.datadoghq.com/synthetics/).
2654
+ #
2477
2655
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2478
- # @param [Hash] opts the optional parameters
2656
+ # @param opts [Hash] the optional parameters
2479
2657
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2480
2658
  # @return [Array<(UsageSyntheticsResponse, Integer, Hash)>] UsageSyntheticsResponse data, response status code and response headers
2481
2659
  def get_usage_synthetics_with_http_info(start_hr, opts = {})
@@ -2519,7 +2697,7 @@ module DatadogAPIClient::V1
2519
2697
  return_type = opts[:debug_return_type] || 'UsageSyntheticsResponse'
2520
2698
 
2521
2699
  # auth_names
2522
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2700
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2523
2701
 
2524
2702
  new_options = opts.merge(
2525
2703
  :operation => :get_usage_synthetics,
@@ -2531,28 +2709,27 @@ module DatadogAPIClient::V1
2531
2709
  :return_type => return_type
2532
2710
  )
2533
2711
 
2534
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2712
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2535
2713
  if @api_client.config.debugging
2536
2714
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_synthetics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2537
2715
  end
2538
2716
  return data, status_code, headers
2539
2717
  end
2540
2718
 
2541
- # Get hourly usage for Synthetics API Checks
2542
- # Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
2543
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2544
- # @param [Hash] opts the optional parameters
2545
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2546
- # @return [UsageSyntheticsAPIResponse]
2719
+ # Get hourly usage for Synthetics API Checks.
2720
+ #
2721
+ # @see #get_usage_synthetics_api_with_http_info
2547
2722
  def get_usage_synthetics_api(start_hr, opts = {})
2548
2723
  data, _status_code, _headers = get_usage_synthetics_api_with_http_info(start_hr, opts)
2549
2724
  data
2550
2725
  end
2551
2726
 
2552
- # Get hourly usage for Synthetics API Checks
2727
+ # Get hourly usage for Synthetics API Checks.
2728
+ #
2553
2729
  # Get hourly usage for [synthetics API checks](https://docs.datadoghq.com/synthetics/).
2730
+ #
2554
2731
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2555
- # @param [Hash] opts the optional parameters
2732
+ # @param opts [Hash] the optional parameters
2556
2733
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2557
2734
  # @return [Array<(UsageSyntheticsAPIResponse, Integer, Hash)>] UsageSyntheticsAPIResponse data, response status code and response headers
2558
2735
  def get_usage_synthetics_api_with_http_info(start_hr, opts = {})
@@ -2596,7 +2773,7 @@ module DatadogAPIClient::V1
2596
2773
  return_type = opts[:debug_return_type] || 'UsageSyntheticsAPIResponse'
2597
2774
 
2598
2775
  # auth_names
2599
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2776
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2600
2777
 
2601
2778
  new_options = opts.merge(
2602
2779
  :operation => :get_usage_synthetics_api,
@@ -2608,28 +2785,27 @@ module DatadogAPIClient::V1
2608
2785
  :return_type => return_type
2609
2786
  )
2610
2787
 
2611
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2788
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2612
2789
  if @api_client.config.debugging
2613
2790
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_synthetics_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2614
2791
  end
2615
2792
  return data, status_code, headers
2616
2793
  end
2617
2794
 
2618
- # Get hourly usage for Synthetics Browser Checks
2619
- # Get hourly usage for synthetics browser checks.
2620
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2621
- # @param [Hash] opts the optional parameters
2622
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2623
- # @return [UsageSyntheticsBrowserResponse]
2795
+ # Get hourly usage for Synthetics Browser Checks.
2796
+ #
2797
+ # @see #get_usage_synthetics_browser_with_http_info
2624
2798
  def get_usage_synthetics_browser(start_hr, opts = {})
2625
2799
  data, _status_code, _headers = get_usage_synthetics_browser_with_http_info(start_hr, opts)
2626
2800
  data
2627
2801
  end
2628
2802
 
2629
- # Get hourly usage for Synthetics Browser Checks
2803
+ # Get hourly usage for Synthetics Browser Checks.
2804
+ #
2630
2805
  # Get hourly usage for synthetics browser checks.
2806
+ #
2631
2807
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2632
- # @param [Hash] opts the optional parameters
2808
+ # @param opts [Hash] the optional parameters
2633
2809
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2634
2810
  # @return [Array<(UsageSyntheticsBrowserResponse, Integer, Hash)>] UsageSyntheticsBrowserResponse data, response status code and response headers
2635
2811
  def get_usage_synthetics_browser_with_http_info(start_hr, opts = {})
@@ -2673,7 +2849,7 @@ module DatadogAPIClient::V1
2673
2849
  return_type = opts[:debug_return_type] || 'UsageSyntheticsBrowserResponse'
2674
2850
 
2675
2851
  # auth_names
2676
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2852
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2677
2853
 
2678
2854
  new_options = opts.merge(
2679
2855
  :operation => :get_usage_synthetics_browser,
@@ -2685,28 +2861,27 @@ module DatadogAPIClient::V1
2685
2861
  :return_type => return_type
2686
2862
  )
2687
2863
 
2688
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2864
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2689
2865
  if @api_client.config.debugging
2690
2866
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_synthetics_browser\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2691
2867
  end
2692
2868
  return data, status_code, headers
2693
2869
  end
2694
2870
 
2695
- # Get hourly usage for custom metrics
2696
- # Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
2697
- # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2698
- # @param [Hash] opts the optional parameters
2699
- # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2700
- # @return [UsageTimeseriesResponse]
2871
+ # Get hourly usage for custom metrics.
2872
+ #
2873
+ # @see #get_usage_timeseries_with_http_info
2701
2874
  def get_usage_timeseries(start_hr, opts = {})
2702
2875
  data, _status_code, _headers = get_usage_timeseries_with_http_info(start_hr, opts)
2703
2876
  data
2704
2877
  end
2705
2878
 
2706
- # Get hourly usage for custom metrics
2879
+ # Get hourly usage for custom metrics.
2880
+ #
2707
2881
  # Get hourly usage for [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/).
2882
+ #
2708
2883
  # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
2709
- # @param [Hash] opts the optional parameters
2884
+ # @param opts [Hash] the optional parameters
2710
2885
  # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
2711
2886
  # @return [Array<(UsageTimeseriesResponse, Integer, Hash)>] UsageTimeseriesResponse data, response status code and response headers
2712
2887
  def get_usage_timeseries_with_http_info(start_hr, opts = {})
@@ -2750,7 +2925,7 @@ module DatadogAPIClient::V1
2750
2925
  return_type = opts[:debug_return_type] || 'UsageTimeseriesResponse'
2751
2926
 
2752
2927
  # auth_names
2753
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
2928
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2754
2929
 
2755
2930
  new_options = opts.merge(
2756
2931
  :operation => :get_usage_timeseries,
@@ -2762,30 +2937,26 @@ module DatadogAPIClient::V1
2762
2937
  :return_type => return_type
2763
2938
  )
2764
2939
 
2765
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2940
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2766
2941
  if @api_client.config.debugging
2767
2942
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_timeseries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2768
2943
  end
2769
2944
  return data, status_code, headers
2770
2945
  end
2771
2946
 
2772
- # Get all custom metrics by hourly average
2773
- # Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.
2774
- # @param [Hash] opts the optional parameters
2775
- # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both)
2776
- # @option opts [Time] :day Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for usage beginning at this hour. (Either month or day should be specified, but not both)
2777
- # @option opts [Array<String>] :names Comma-separated list of metric names.
2778
- # @option opts [Integer] :limit Maximum number of results to return (between 1 and 5000) - defaults to 500 results if limit not specified. (default to 500)
2779
- # @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
2780
- # @return [UsageTopAvgMetricsResponse]
2947
+ # Get all custom metrics by hourly average.
2948
+ #
2949
+ # @see #get_usage_top_avg_metrics_with_http_info
2781
2950
  def get_usage_top_avg_metrics(opts = {})
2782
2951
  data, _status_code, _headers = get_usage_top_avg_metrics_with_http_info(opts)
2783
2952
  data
2784
2953
  end
2785
2954
 
2786
- # Get all custom metrics by hourly average
2955
+ # Get all custom metrics by hourly average.
2956
+ #
2787
2957
  # Get all [custom metrics](https://docs.datadoghq.com/developers/metrics/custom_metrics/) by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.
2788
- # @param [Hash] opts the optional parameters
2958
+ #
2959
+ # @param opts [Hash] the optional parameters
2789
2960
  # @option opts [Time] :month Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both)
2790
2961
  # @option opts [Time] :day Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for usage beginning at this hour. (Either month or day should be specified, but not both)
2791
2962
  # @option opts [Array<String>] :names Comma-separated list of metric names.
@@ -2809,11 +2980,9 @@ module DatadogAPIClient::V1
2809
2980
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 5000
2810
2981
  fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsageMeteringAPI.get_usage_top_avg_metrics, must be smaller than or equal to 5000.'
2811
2982
  end
2812
-
2813
2983
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
2814
2984
  fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsageMeteringAPI.get_usage_top_avg_metrics, must be greater than or equal to 1.'
2815
2985
  end
2816
-
2817
2986
  # resource path
2818
2987
  local_var_path = '/api/v1/usage/top_avg_metrics'
2819
2988
 
@@ -2840,7 +3009,7 @@ module DatadogAPIClient::V1
2840
3009
  return_type = opts[:debug_return_type] || 'UsageTopAvgMetricsResponse'
2841
3010
 
2842
3011
  # auth_names
2843
- auth_names = opts[:debug_auth_names] || [:AuthZ, :apiKeyAuth, :appKeyAuth]
3012
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2844
3013
 
2845
3014
  new_options = opts.merge(
2846
3015
  :operation => :get_usage_top_avg_metrics,
@@ -2852,7 +3021,7 @@ module DatadogAPIClient::V1
2852
3021
  :return_type => return_type
2853
3022
  )
2854
3023
 
2855
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3024
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2856
3025
  if @api_client.config.debugging
2857
3026
  @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_top_avg_metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2858
3027
  end