datadog_api_client 2.8.0 → 2.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 (535) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +5 -24
  4. data/.generator/poetry.lock +164 -189
  5. data/.generator/schemas/v1/openapi.yaml +966 -34
  6. data/.generator/schemas/v2/openapi.yaml +7697 -4475
  7. data/.generator/src/generator/formatter.py +2 -1
  8. data/.generator/src/generator/openapi.py +2 -1
  9. data/.generator/src/generator/templates/api_client.j2 +2 -2
  10. data/.generator/src/generator/templates/example.j2 +1 -1
  11. data/.generator/src/generator/templates/model_base.j2 +8 -4
  12. data/.generator/src/generator/templates/model_oneof.j2 +1 -1
  13. data/.github/workflows/test.yml +1 -1
  14. data/.github/workflows/test_integration.yml +3 -3
  15. data/CHANGELOG.md +60 -0
  16. data/README.md +1 -1
  17. data/examples/v1/dashboard-lists/CreateDashboardList.rb +1 -1
  18. data/examples/v1/dashboard-lists/UpdateDashboardList.rb +1 -1
  19. data/examples/v1/dashboards/CreateDashboard.rb +1 -1
  20. data/examples/v1/dashboards/CreateDashboard_1024858348.rb +1 -1
  21. data/examples/v1/dashboards/CreateDashboard_1039800684.rb +1 -1
  22. data/examples/v1/dashboards/CreateDashboard_109450134.rb +1 -1
  23. data/examples/v1/dashboards/CreateDashboard_1094917386.rb +1 -1
  24. data/examples/v1/dashboards/CreateDashboard_1177423752.rb +1 -1
  25. data/examples/v1/dashboards/CreateDashboard_1200099236.rb +1 -1
  26. data/examples/v1/dashboards/CreateDashboard_1213075383.rb +1 -1
  27. data/examples/v1/dashboards/CreateDashboard_1307120899.rb +1 -1
  28. data/examples/v1/dashboards/CreateDashboard_1423904722.rb +1 -1
  29. data/examples/v1/dashboards/CreateDashboard_1442588603.rb +1 -1
  30. data/examples/v1/dashboards/CreateDashboard_145494973.rb +1 -1
  31. data/examples/v1/dashboards/CreateDashboard_173805046.rb +1 -1
  32. data/examples/v1/dashboards/CreateDashboard_1738608750.rb +1 -1
  33. data/examples/v1/dashboards/CreateDashboard_2029850837.rb +1 -1
  34. data/examples/v1/dashboards/CreateDashboard_2034634967.rb +1 -1
  35. data/examples/v1/dashboards/CreateDashboard_2064651578.rb +64 -0
  36. data/examples/v1/dashboards/CreateDashboard_2104498738.rb +1 -1
  37. data/examples/v1/dashboards/CreateDashboard_2308247857.rb +1 -1
  38. data/examples/v1/dashboards/CreateDashboard_2316374332.rb +1 -1
  39. data/examples/v1/dashboards/CreateDashboard_2336428357.rb +1 -1
  40. data/examples/v1/dashboards/CreateDashboard_2338918735.rb +1 -1
  41. data/examples/v1/dashboards/CreateDashboard_2342457693.rb +1 -1
  42. data/examples/v1/dashboards/CreateDashboard_2349863258.rb +1 -1
  43. data/examples/v1/dashboards/CreateDashboard_2432046716.rb +1 -1
  44. data/examples/v1/dashboards/CreateDashboard_2490110261.rb +1 -1
  45. data/examples/v1/dashboards/CreateDashboard_252716965.rb +1 -1
  46. data/examples/v1/dashboards/CreateDashboard_2607944105.rb +1 -1
  47. data/examples/v1/dashboards/CreateDashboard_2610827685.rb +1 -1
  48. data/examples/v1/dashboards/CreateDashboard_2634813877.rb +1 -1
  49. data/examples/v1/dashboards/CreateDashboard_2644712913.rb +1 -1
  50. data/examples/v1/dashboards/CreateDashboard_2652180930.rb +1 -1
  51. data/examples/v1/dashboards/CreateDashboard_2705593938.rb +1 -1
  52. data/examples/v1/dashboards/CreateDashboard_2800096921.rb +62 -0
  53. data/examples/v1/dashboards/CreateDashboard_2843286292.rb +1 -1
  54. data/examples/v1/dashboards/CreateDashboard_2917274132.rb +1 -1
  55. data/examples/v1/dashboards/CreateDashboard_2921337351.rb +1 -1
  56. data/examples/v1/dashboards/CreateDashboard_3117424216.rb +1 -1
  57. data/examples/v1/dashboards/CreateDashboard_3195475781.rb +32 -0
  58. data/examples/v1/dashboards/CreateDashboard_3250131584.rb +1 -1
  59. data/examples/v1/dashboards/CreateDashboard_3669695268.rb +1 -1
  60. data/examples/v1/dashboards/CreateDashboard_3882428227.rb +2 -2
  61. data/examples/v1/dashboards/CreateDashboard_3982498788.rb +1 -1
  62. data/examples/v1/dashboards/CreateDashboard_4026341408.rb +1 -1
  63. data/examples/v1/dashboards/CreateDashboard_4076476470.rb +1 -1
  64. data/examples/v1/dashboards/CreateDashboard_41622531.rb +1 -1
  65. data/examples/v1/dashboards/CreateDashboard_417992286.rb +1 -1
  66. data/examples/v1/dashboards/CreateDashboard_578885732.rb +1 -1
  67. data/examples/v1/dashboards/CreateDashboard_651038379.rb +1 -1
  68. data/examples/v1/dashboards/CreateDashboard_765140092.rb +1 -1
  69. data/examples/v1/dashboards/CreateDashboard_798168180.rb +1 -1
  70. data/examples/v1/dashboards/CreateDashboard_803346562.rb +1 -1
  71. data/examples/v1/dashboards/CreateDashboard_913313564.rb +1 -1
  72. data/examples/v1/dashboards/CreateDashboard_915214113.rb +1 -1
  73. data/examples/v1/dashboards/CreateDashboard_927141680.rb +1 -1
  74. data/examples/v1/dashboards/CreatePublicDashboard.rb +17 -0
  75. data/examples/v1/dashboards/DeletePublicDashboard.rb +5 -0
  76. data/examples/v1/dashboards/DeletePublicDashboardInvitation.rb +16 -0
  77. data/examples/v1/dashboards/GetPublicDashboard.rb +8 -0
  78. data/examples/v1/dashboards/GetPublicDashboardInvitations.rb +8 -0
  79. data/examples/v1/dashboards/SendPublicDashboardInvitation.rb +17 -0
  80. data/examples/v1/dashboards/UpdateDashboard.rb +1 -1
  81. data/examples/v1/dashboards/UpdateDashboard_3454865944.rb +40 -0
  82. data/examples/v1/dashboards/UpdatePublicDashboard.rb +16 -0
  83. data/examples/v1/downtimes/CreateDowntime.rb +2 -2
  84. data/examples/v1/downtimes/CreateDowntime_1393233946.rb +1 -1
  85. data/examples/v1/downtimes/CreateDowntime_2908359488.rb +1 -1
  86. data/examples/v1/downtimes/CreateDowntime_3059354445.rb +1 -1
  87. data/examples/v1/downtimes/CreateDowntime_3355644446.rb +2 -2
  88. data/examples/v1/downtimes/ListDowntimes.rb +4 -1
  89. data/examples/v1/downtimes/UpdateDowntime.rb +1 -1
  90. data/examples/v1/events/CreateEvent.rb +2 -2
  91. data/examples/v1/events/CreateEvent_19927815.rb +2 -2
  92. data/examples/v1/logs/SubmitLog.rb +2 -2
  93. data/examples/v1/logs/SubmitLog_1920474053.rb +2 -2
  94. data/examples/v1/logs/SubmitLog_3418823904.rb +2 -2
  95. data/examples/v1/metrics/SubmitMetrics.rb +1 -1
  96. data/examples/v1/metrics/SubmitMetrics_2203981258.rb +1 -1
  97. data/examples/v1/monitors/CreateMonitor.rb +2 -2
  98. data/examples/v1/monitors/CreateMonitor_1969035628.rb +2 -2
  99. data/examples/v1/monitors/CreateMonitor_2012680290.rb +1 -1
  100. data/examples/v1/monitors/CreateMonitor_2520912138.rb +2 -2
  101. data/examples/v1/monitors/CreateMonitor_3790803616.rb +2 -2
  102. data/examples/v1/monitors/CreateMonitor_3824294658.rb +2 -2
  103. data/examples/v1/monitors/CreateMonitor_3883669300.rb +2 -2
  104. data/examples/v1/monitors/CreateMonitor_440013737.rb +2 -2
  105. data/examples/v1/monitors/ListMonitors_3448441939.rb +1 -1
  106. data/examples/v1/monitors/ValidateExistingMonitor.rb +2 -2
  107. data/examples/v1/monitors/ValidateMonitor.rb +2 -2
  108. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +2 -2
  109. data/examples/v1/notebooks/CreateNotebook.rb +1 -1
  110. data/examples/v1/notebooks/UpdateNotebook.rb +1 -1
  111. data/examples/v1/service-checks/SubmitServiceCheck.rb +1 -1
  112. data/examples/v1/service-level-objective-corrections/CreateSLOCorrection.rb +1 -1
  113. data/examples/v1/service-level-objective-corrections/CreateSLOCorrection_1326388368.rb +1 -1
  114. data/examples/v1/service-level-objective-corrections/UpdateSLOCorrection.rb +1 -1
  115. data/examples/v1/service-level-objectives/CreateSLO.rb +1 -1
  116. data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +1 -1
  117. data/examples/v1/synthetics/CreatePrivateLocation.rb +3 -3
  118. data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.rb +1 -1
  119. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +2 -2
  120. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +2 -2
  121. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +3 -3
  122. data/examples/v1/synthetics/CreateSyntheticsAPITest_2472747642.rb +2 -2
  123. data/examples/v1/synthetics/CreateSyntheticsAPITest_3829801148.rb +2 -2
  124. data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +3 -3
  125. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  126. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
  127. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_397420811.rb +1 -1
  128. data/examples/v1/synthetics/UpdateAPITest.rb +2 -2
  129. data/examples/v1/webhooks-integration/CreateWebhooksIntegration.rb +1 -1
  130. data/examples/v1/webhooks-integration/CreateWebhooksIntegrationCustomVariable.rb +1 -1
  131. data/examples/v2/authn-mappings/CreateAuthNMapping.rb +2 -2
  132. data/examples/v2/cloud-workload-security/CreateCloudWorkloadSecurityAgentRule.rb +1 -1
  133. data/examples/v2/cloudflare-integration/CreateCloudflareAccount.rb +2 -2
  134. data/examples/v2/cloudflare-integration/UpdateCloudflareAccount.rb +1 -1
  135. data/examples/v2/confluent-cloud/CreateConfluentResource.rb +1 -1
  136. data/examples/v2/events/ListEvents.rb +1 -1
  137. data/examples/v2/events/ListEvents_1527584014.rb +1 -1
  138. data/examples/v2/events/ListEvents_2663715109.rb +1 -1
  139. data/examples/v2/events/SearchEvents.rb +1 -1
  140. data/examples/v2/events/SearchEvents_3856995058.rb +1 -1
  141. data/examples/v2/fastly-integration/CreateFastlyAccount.rb +2 -2
  142. data/examples/v2/incident-services/CreateIncidentService.rb +2 -2
  143. data/examples/v2/incident-services/DeleteIncidentService.rb +1 -1
  144. data/examples/v2/incident-services/GetIncidentService.rb +1 -1
  145. data/examples/v2/incident-services/ListIncidentServices.rb +1 -1
  146. data/examples/v2/incident-services/UpdateIncidentService.rb +1 -1
  147. data/examples/v2/incident-teams/CreateIncidentTeam.rb +2 -2
  148. data/examples/v2/incident-teams/DeleteIncidentTeam.rb +1 -1
  149. data/examples/v2/incident-teams/GetIncidentTeam.rb +1 -1
  150. data/examples/v2/incident-teams/ListIncidentTeams.rb +1 -1
  151. data/examples/v2/incident-teams/UpdateIncidentTeam.rb +1 -1
  152. data/examples/v2/incidents/CreateIncident.rb +2 -2
  153. data/examples/v2/incidents/CreateIncidentIntegration.rb +31 -0
  154. data/examples/v2/incidents/CreateIncidentTodo.rb +23 -0
  155. data/examples/v2/incidents/DeleteIncident.rb +1 -1
  156. data/examples/v2/incidents/DeleteIncidentIntegration.rb +14 -0
  157. data/examples/v2/incidents/DeleteIncidentTodo.rb +14 -0
  158. data/examples/v2/incidents/GetIncident.rb +1 -1
  159. data/examples/v2/incidents/GetIncidentIntegration.rb +14 -0
  160. data/examples/v2/incidents/GetIncidentTodo.rb +14 -0
  161. data/examples/v2/incidents/ListIncidentAttachments.rb +1 -1
  162. data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +1 -1
  163. data/examples/v2/incidents/ListIncidentIntegrations.rb +11 -0
  164. data/examples/v2/incidents/ListIncidentTodos.rb +11 -0
  165. data/examples/v2/incidents/ListIncidents.rb +1 -1
  166. data/examples/v2/incidents/ListIncidents_2665616954.rb +1 -1
  167. data/examples/v2/incidents/SearchIncidents.rb +1 -1
  168. data/examples/v2/incidents/SearchIncidents_1931679109.rb +11 -0
  169. data/examples/v2/incidents/UpdateIncident.rb +1 -1
  170. data/examples/v2/incidents/UpdateIncidentAttachments.rb +1 -1
  171. data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +2 -2
  172. data/examples/v2/incidents/UpdateIncidentIntegration.rb +34 -0
  173. data/examples/v2/incidents/UpdateIncidentTodo.rb +28 -0
  174. data/examples/v2/incidents/UpdateIncident_1009194038.rb +1 -1
  175. data/examples/v2/incidents/UpdateIncident_3369341440.rb +1 -1
  176. data/examples/v2/ip-allowlist/GetIPAllowlist.rb +5 -0
  177. data/examples/v2/ip-allowlist/UpdateIPAllowlist.rb +25 -0
  178. data/examples/v2/key-management/CreateAPIKey.rb +1 -1
  179. data/examples/v2/key-management/CreateCurrentUserApplicationKey_1999509896.rb +1 -1
  180. data/examples/v2/key-management/CreateCurrentUserApplicationKey_3383369233.rb +1 -1
  181. data/examples/v2/key-management/UpdateAPIKey.rb +1 -1
  182. data/examples/v2/logs/SubmitLog.rb +1 -1
  183. data/examples/v2/logs-metrics/CreateLogsMetric.rb +1 -1
  184. data/examples/v2/logs-metrics/DeleteLogsMetric.rb +1 -1
  185. data/examples/v2/metrics/CreateBulkTagsMetricsConfiguration.rb +1 -1
  186. data/examples/v2/metrics/CreateTagConfiguration.rb +2 -2
  187. data/examples/v2/metrics/DeleteTagConfiguration.rb +1 -1
  188. data/examples/v2/metrics/ListActiveMetricConfigurations.rb +1 -1
  189. data/examples/v2/metrics/ListTagConfigurations_265033704.rb +1 -1
  190. data/examples/v2/metrics/ListVolumesByMetricName.rb +1 -1
  191. data/examples/v2/metrics/QueryScalarData.rb +1 -1
  192. data/examples/v2/metrics/QueryScalarData_3112571352.rb +1 -1
  193. data/examples/v2/metrics/QueryTimeseriesData.rb +1 -1
  194. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +1 -1
  195. data/examples/v2/opsgenie-integration/CreateOpsgenieService.rb +1 -1
  196. data/examples/v2/restriction-policies/DeleteRestrictionPolicy.rb +5 -0
  197. data/examples/v2/restriction-policies/GetRestrictionPolicy.rb +5 -0
  198. data/examples/v2/restriction-policies/UpdateRestrictionPolicy.rb +25 -0
  199. data/examples/v2/roles/CloneRole.rb +1 -1
  200. data/examples/v2/roles/CreateRole.rb +1 -1
  201. data/examples/v2/security-monitoring/CreateSecurityFilter.rb +2 -2
  202. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +1 -1
  203. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +1 -1
  204. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +1 -1
  205. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb +1 -1
  206. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb +1 -1
  207. data/examples/v2/security-monitoring/UpdateSecurityFilter.rb +2 -2
  208. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +1 -1
  209. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +1 -1
  210. data/examples/v2/sensitive-data-scanner/CreateScanningGroup.rb +1 -1
  211. data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +1 -1
  212. data/examples/v2/sensitive-data-scanner/UpdateScanningGroup.rb +1 -1
  213. data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +1 -1
  214. data/examples/v2/service-accounts/CreateServiceAccount.rb +1 -1
  215. data/examples/v2/service-accounts/CreateServiceAccountApplicationKey_1761876297.rb +1 -1
  216. data/examples/v2/service-accounts/CreateServiceAccountApplicationKey_3480494373.rb +1 -1
  217. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +19 -27
  218. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions_1808735248.rb +54 -0
  219. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions_2619874414.rb +53 -0
  220. data/examples/v2/service-definition/ListServiceDefinitions_336468013.rb +8 -0
  221. data/examples/v2/spans-metrics/CreateSpansMetric.rb +28 -0
  222. data/examples/v2/spans-metrics/DeleteSpansMetric.rb +8 -0
  223. data/examples/v2/spans-metrics/GetSpansMetric.rb +8 -0
  224. data/examples/v2/spans-metrics/ListSpansMetrics.rb +5 -0
  225. data/examples/v2/spans-metrics/UpdateSpansMetric.rb +29 -0
  226. data/examples/v2/synthetics/GetOnDemandConcurrencyCap.rb +5 -0
  227. data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +5 -0
  228. data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +7 -0
  229. data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +9 -0
  230. data/examples/v2/teams/CreateTeam.rb +20 -0
  231. data/examples/v2/teams/CreateTeamLink.rb +19 -0
  232. data/examples/v2/teams/CreateTeamMembership.rb +22 -0
  233. data/examples/v2/teams/DeleteTeam.rb +8 -0
  234. data/examples/v2/teams/DeleteTeamLink.rb +11 -0
  235. data/examples/v2/teams/DeleteTeamMembership.rb +8 -0
  236. data/examples/v2/teams/GetTeam.rb +8 -0
  237. data/examples/v2/teams/GetTeamLink.rb +11 -0
  238. data/examples/v2/teams/GetTeamLinks.rb +8 -0
  239. data/examples/v2/teams/GetTeamMemberships.rb +8 -0
  240. data/examples/v2/teams/GetTeamPermissionSettings.rb +8 -0
  241. data/examples/v2/teams/ListTeams.rb +5 -0
  242. data/examples/v2/teams/UpdateTeam.rb +20 -0
  243. data/examples/v2/teams/UpdateTeamLink.rb +21 -0
  244. data/examples/v2/teams/UpdateTeamMembership.rb +14 -0
  245. data/examples/v2/teams/UpdateTeamPermissionSetting.rb +17 -0
  246. data/examples/v2/users/CreateUser.rb +1 -1
  247. data/lib/datadog_api_client/api_client.rb +2 -2
  248. data/lib/datadog_api_client/configuration.rb +15 -0
  249. data/lib/datadog_api_client/inflector.rb +161 -0
  250. data/lib/datadog_api_client/v1/api/dashboards_api.rb +482 -0
  251. data/lib/datadog_api_client/v1/api/downtimes_api.rb +2 -0
  252. data/lib/datadog_api_client/v1/api/monitors_api.rb +3 -3
  253. data/lib/datadog_api_client/v1/api/snapshots_api.rb +2 -2
  254. data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -2
  255. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +9 -6
  256. data/lib/datadog_api_client/v1/model_base.rb +7 -3
  257. data/lib/datadog_api_client/v1/models/application_key.rb +16 -16
  258. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
  259. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +8 -0
  260. data/lib/datadog_api_client/v1/models/dashboard.rb +25 -1
  261. data/lib/datadog_api_client/v1/models/dashboard_global_time.rb +91 -0
  262. data/lib/datadog_api_client/v1/models/dashboard_global_time_live_span.rb +33 -0
  263. data/lib/datadog_api_client/v1/models/dashboard_invite_type.rb +26 -0
  264. data/lib/datadog_api_client/v1/models/dashboard_share_type.rb +27 -0
  265. data/lib/datadog_api_client/v1/models/dashboard_type.rb +27 -0
  266. data/lib/datadog_api_client/v1/models/delete_shared_dashboard_response.rb +91 -0
  267. data/lib/datadog_api_client/v1/models/distribution_point_item.rb +1 -1
  268. data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_query.rb +1 -1
  269. data/lib/datadog_api_client/v1/models/downtime.rb +2 -1
  270. data/lib/datadog_api_client/v1/models/downtime_child.rb +2 -1
  271. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
  272. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +1 -1
  273. data/lib/datadog_api_client/v1/models/host.rb +8 -0
  274. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +19 -1
  275. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
  276. data/lib/datadog_api_client/v1/models/list_stream_source.rb +3 -0
  277. data/lib/datadog_api_client/v1/models/logs_list_response.rb +8 -0
  278. data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -1
  279. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +2 -2
  280. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +1 -1
  281. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +19 -1
  282. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
  283. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +66 -6
  284. data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +1 -1
  285. data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +1 -1
  286. data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +1 -1
  287. data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +1 -1
  288. data/lib/datadog_api_client/v1/models/notebook_global_time.rb +1 -1
  289. data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +1 -1
  290. data/lib/datadog_api_client/v1/models/selectable_template_variable_items.rb +131 -0
  291. data/lib/datadog_api_client/v1/models/shared_dashboard.rb +228 -0
  292. data/lib/datadog_api_client/v1/models/shared_dashboard_author.rb +109 -0
  293. data/lib/datadog_api_client/v1/models/shared_dashboard_invites.rb +112 -0
  294. data/lib/datadog_api_client/v1/models/shared_dashboard_invites_data.rb +63 -0
  295. data/lib/datadog_api_client/v1/models/shared_dashboard_invites_data_object.rb +123 -0
  296. data/lib/datadog_api_client/v1/models/shared_dashboard_invites_data_object_attributes.rb +149 -0
  297. data/lib/datadog_api_client/v1/models/shared_dashboard_invites_meta.rb +91 -0
  298. data/lib/datadog_api_client/v1/models/shared_dashboard_invites_meta_page.rb +91 -0
  299. data/lib/datadog_api_client/v1/models/shared_dashboard_update_request.rb +147 -0
  300. data/lib/datadog_api_client/v1/models/shared_dashboard_update_request_global_time.rb +91 -0
  301. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +3 -0
  302. data/lib/datadog_api_client/v1/models/slo_creator.rb +8 -0
  303. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +8 -0
  304. data/lib/datadog_api_client/v1/models/slo_history_response.rb +8 -0
  305. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +9 -0
  306. data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +1 -1
  307. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -1
  308. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +1 -1
  309. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  310. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +8 -0
  311. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +7 -7
  312. data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +11 -0
  313. data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +9 -0
  314. data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +9 -0
  315. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +11 -0
  316. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +22 -0
  317. data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +8 -0
  318. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +9 -0
  319. data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +26 -1
  320. data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +8 -0
  321. data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +9 -0
  322. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +12 -1
  323. data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +2 -0
  324. data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +8 -0
  325. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
  326. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
  327. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
  328. data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +8 -0
  329. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +8 -0
  330. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_pagination.rb +1 -0
  331. data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -1
  332. data/lib/datadog_api_client/v2/api/incidents_api.rb +836 -43
  333. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +153 -0
  334. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -0
  335. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +245 -0
  336. data/lib/datadog_api_client/v2/api/service_definition_api.rb +25 -0
  337. data/lib/datadog_api_client/v2/api/spans_metrics_api.rb +357 -0
  338. data/lib/datadog_api_client/v2/api/synthetics_api.rb +153 -0
  339. data/lib/datadog_api_client/v2/api/teams_api.rb +1166 -0
  340. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  341. data/lib/datadog_api_client/v2/model_base.rb +7 -3
  342. data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +1 -1
  343. data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +1 -1
  344. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +1 -1
  345. data/lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value.rb +1 -1
  346. data/lib/datadog_api_client/v2/models/ci_app_group_by_missing.rb +1 -1
  347. data/lib/datadog_api_client/v2/models/ci_app_group_by_total.rb +1 -1
  348. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +9 -0
  349. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +8 -0
  350. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +8 -0
  351. data/lib/datadog_api_client/v2/models/confluent_account_resource_attributes.rb +12 -1
  352. data/lib/datadog_api_client/v2/models/confluent_resource_request_attributes.rb +12 -1
  353. data/lib/datadog_api_client/v2/models/creator.rb +8 -0
  354. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +8 -0
  355. data/lib/datadog_api_client/v2/models/events_data_source.rb +1 -0
  356. data/lib/datadog_api_client/v2/models/get_team_memberships_sort.rb +33 -0
  357. data/lib/datadog_api_client/v2/models/incident_attachment_attributes.rb +1 -1
  358. data/lib/datadog_api_client/v2/models/incident_attachment_update_attributes.rb +1 -1
  359. data/lib/datadog_api_client/v2/models/incident_attachments_response_included_item.rb +1 -1
  360. data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +1 -1
  361. data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +161 -0
  362. data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_data.rb +123 -0
  363. data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_request.rb +102 -0
  364. data/lib/datadog_api_client/v2/models/incident_integration_metadata_list_response.rb +126 -0
  365. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +63 -0
  366. data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_data.rb +123 -0
  367. data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_request.rb +102 -0
  368. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response.rb +114 -0
  369. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +133 -0
  370. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_included_item.rb +62 -0
  371. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  372. data/lib/datadog_api_client/v2/models/incident_search_response.rb +14 -4
  373. data/lib/datadog_api_client/v2/models/incident_search_response_meta.rb +91 -0
  374. data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +1 -1
  375. data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +1 -1
  376. data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +1 -1
  377. data/lib/datadog_api_client/v2/models/incident_todo_anonymous_assignee.rb +165 -0
  378. data/lib/datadog_api_client/v2/models/incident_todo_anonymous_assignee_source.rb +27 -0
  379. data/lib/datadog_api_client/v2/models/incident_todo_assignee.rb +63 -0
  380. data/lib/datadog_api_client/v2/models/incident_todo_attributes.rb +164 -0
  381. data/lib/datadog_api_client/v2/models/incident_todo_create_data.rb +123 -0
  382. data/lib/datadog_api_client/v2/models/incident_todo_create_request.rb +102 -0
  383. data/lib/datadog_api_client/v2/models/incident_todo_list_response.rb +126 -0
  384. data/lib/datadog_api_client/v2/models/incident_todo_patch_data.rb +123 -0
  385. data/lib/datadog_api_client/v2/models/incident_todo_patch_request.rb +102 -0
  386. data/lib/datadog_api_client/v2/models/incident_todo_response.rb +114 -0
  387. data/lib/datadog_api_client/v2/models/incident_todo_response_data.rb +133 -0
  388. data/lib/datadog_api_client/v2/models/incident_todo_response_included_item.rb +62 -0
  389. data/lib/datadog_api_client/v2/models/incident_todo_type.rb +26 -0
  390. data/lib/datadog_api_client/v2/models/incident_update_data.rb +1 -1
  391. data/lib/datadog_api_client/v2/models/ip_allowlist_attributes.rb +103 -0
  392. data/lib/datadog_api_client/v2/models/ip_allowlist_data.rb +122 -0
  393. data/lib/datadog_api_client/v2/models/ip_allowlist_entry.rb +102 -0
  394. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_attributes.rb +121 -0
  395. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_data.rb +122 -0
  396. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_type.rb +26 -0
  397. data/lib/datadog_api_client/v2/models/ip_allowlist_response.rb +91 -0
  398. data/lib/datadog_api_client/v2/models/ip_allowlist_type.rb +26 -0
  399. data/lib/datadog_api_client/v2/models/ip_allowlist_update_request.rb +102 -0
  400. data/lib/datadog_api_client/v2/models/jira_integration_metadata.rb +104 -0
  401. data/lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb +153 -0
  402. data/lib/datadog_api_client/v2/models/list_teams_include.rb +27 -0
  403. data/lib/datadog_api_client/v2/models/list_teams_sort.rb +29 -0
  404. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +1 -1
  405. data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +1 -1
  406. data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +1 -1
  407. data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +1 -1
  408. data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +1 -1
  409. data/lib/datadog_api_client/v2/models/metric_volumes.rb +1 -1
  410. data/lib/datadog_api_client/v2/models/metrics_aggregator.rb +4 -0
  411. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +1 -1
  412. data/lib/datadog_api_client/v2/models/monitor_config_policy_policy.rb +1 -1
  413. data/lib/datadog_api_client/v2/models/monitor_config_policy_policy_create_request.rb +1 -1
  414. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +91 -0
  415. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb +91 -0
  416. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb +91 -0
  417. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
  418. data/lib/datadog_api_client/v2/models/relationship_to_team_link_data.rb +123 -0
  419. data/lib/datadog_api_client/v2/models/relationship_to_team_links.rb +93 -0
  420. data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +91 -0
  421. data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission_data.rb +123 -0
  422. data/lib/datadog_api_client/v2/models/relationship_to_user_team_user.rb +102 -0
  423. data/lib/datadog_api_client/v2/models/relationship_to_user_team_user_data.rb +123 -0
  424. data/lib/datadog_api_client/v2/models/restriction_policy.rb +144 -0
  425. data/lib/datadog_api_client/v2/models/restriction_policy_attributes.rb +104 -0
  426. data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +127 -0
  427. data/lib/datadog_api_client/v2/models/restriction_policy_response.rb +102 -0
  428. data/lib/datadog_api_client/v2/models/restriction_policy_type.rb +26 -0
  429. data/lib/datadog_api_client/v2/models/restriction_policy_update_request.rb +102 -0
  430. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +1 -1
  431. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +7 -7
  432. data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +7 -7
  433. data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +1 -1
  434. data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +1 -1
  435. data/lib/datadog_api_client/v2/models/scalar_column.rb +1 -1
  436. data/lib/datadog_api_client/v2/models/scalar_query.rb +1 -1
  437. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +1 -1
  438. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +1 -1
  439. data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +1 -1
  440. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +1 -0
  441. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +8 -0
  442. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_included_item.rb +1 -1
  443. data/lib/datadog_api_client/v2/models/service_definition_schema.rb +3 -2
  444. data/lib/datadog_api_client/v2/models/service_definition_v2_contact.rb +3 -2
  445. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1.rb +229 -0
  446. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_contact.rb +64 -0
  447. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_email.rb +133 -0
  448. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_email_type.rb +26 -0
  449. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_integrations.rb +101 -0
  450. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_link.rb +154 -0
  451. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_link_type.rb +30 -0
  452. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_ms_teams.rb +133 -0
  453. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_ms_teams_type.rb +26 -0
  454. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_opsgenie.rb +112 -0
  455. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_opsgenie_region.rb +27 -0
  456. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_pagerduty.rb +91 -0
  457. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_slack.rb +133 -0
  458. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_slack_type.rb +26 -0
  459. data/lib/datadog_api_client/v2/models/service_definition_v2_dot1_version.rb +26 -0
  460. data/lib/datadog_api_client/v2/models/service_definition_v2_ms_teams.rb +133 -0
  461. data/lib/datadog_api_client/v2/models/service_definition_v2_ms_teams_type.rb +26 -0
  462. data/lib/datadog_api_client/v2/models/service_definitions_create_request.rb +2 -1
  463. data/lib/datadog_api_client/v2/models/slack_integration_metadata.rb +104 -0
  464. data/lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb +154 -0
  465. data/lib/datadog_api_client/v2/models/spans_metric_compute.rb +123 -0
  466. data/lib/datadog_api_client/v2/models/spans_metric_compute_aggregation_type.rb +27 -0
  467. data/lib/datadog_api_client/v2/models/spans_metric_create_attributes.rb +124 -0
  468. data/lib/datadog_api_client/v2/models/spans_metric_create_data.rb +144 -0
  469. data/lib/datadog_api_client/v2/models/spans_metric_create_request.rb +102 -0
  470. data/lib/datadog_api_client/v2/models/spans_metric_filter.rb +91 -0
  471. data/lib/datadog_api_client/v2/models/spans_metric_group_by.rb +112 -0
  472. data/lib/datadog_api_client/v2/models/spans_metric_response.rb +91 -0
  473. data/lib/datadog_api_client/v2/models/spans_metric_response_attributes.rb +113 -0
  474. data/lib/datadog_api_client/v2/models/spans_metric_response_compute.rb +112 -0
  475. data/lib/datadog_api_client/v2/models/spans_metric_response_data.rb +111 -0
  476. data/lib/datadog_api_client/v2/models/spans_metric_response_filter.rb +91 -0
  477. data/lib/datadog_api_client/v2/models/spans_metric_response_group_by.rb +101 -0
  478. data/lib/datadog_api_client/v2/models/spans_metric_type.rb +26 -0
  479. data/lib/datadog_api_client/v2/models/spans_metric_update_attributes.rb +113 -0
  480. data/lib/datadog_api_client/v2/models/spans_metric_update_compute.rb +92 -0
  481. data/lib/datadog_api_client/v2/models/spans_metric_update_data.rb +123 -0
  482. data/lib/datadog_api_client/v2/models/spans_metric_update_request.rb +102 -0
  483. data/lib/datadog_api_client/v2/models/spans_metrics_response.rb +93 -0
  484. data/lib/datadog_api_client/v2/models/team.rb +154 -0
  485. data/lib/datadog_api_client/v2/models/team_attributes.rb +233 -0
  486. data/lib/datadog_api_client/v2/models/team_create.rb +133 -0
  487. data/lib/datadog_api_client/v2/models/team_create_attributes.rb +162 -0
  488. data/lib/datadog_api_client/v2/models/team_create_relationships.rb +91 -0
  489. data/lib/datadog_api_client/v2/models/team_create_request.rb +102 -0
  490. data/lib/datadog_api_client/v2/models/team_data.rb +144 -0
  491. data/lib/datadog_api_client/v2/models/team_included.rb +64 -0
  492. data/lib/datadog_api_client/v2/models/team_link.rb +144 -0
  493. data/lib/datadog_api_client/v2/models/team_link_attributes.rb +158 -0
  494. data/lib/datadog_api_client/v2/models/team_link_create.rb +123 -0
  495. data/lib/datadog_api_client/v2/models/team_link_create_request.rb +102 -0
  496. data/lib/datadog_api_client/v2/models/team_link_response.rb +91 -0
  497. data/lib/datadog_api_client/v2/models/team_link_type.rb +26 -0
  498. data/lib/datadog_api_client/v2/models/team_links_response.rb +93 -0
  499. data/lib/datadog_api_client/v2/models/team_permission_setting.rb +133 -0
  500. data/lib/datadog_api_client/v2/models/team_permission_setting_attributes.rb +133 -0
  501. data/lib/datadog_api_client/v2/models/team_permission_setting_response.rb +91 -0
  502. data/lib/datadog_api_client/v2/models/team_permission_setting_serializer_action.rb +27 -0
  503. data/lib/datadog_api_client/v2/models/team_permission_setting_type.rb +26 -0
  504. data/lib/datadog_api_client/v2/models/team_permission_setting_update.rb +112 -0
  505. data/lib/datadog_api_client/v2/models/team_permission_setting_update_attributes.rb +91 -0
  506. data/lib/datadog_api_client/v2/models/team_permission_setting_update_request.rb +102 -0
  507. data/lib/datadog_api_client/v2/models/team_permission_setting_value.rb +30 -0
  508. data/lib/datadog_api_client/v2/models/team_permission_settings_response.rb +93 -0
  509. data/lib/datadog_api_client/v2/models/team_relationships.rb +101 -0
  510. data/lib/datadog_api_client/v2/models/team_response.rb +91 -0
  511. data/lib/datadog_api_client/v2/models/team_type.rb +26 -0
  512. data/lib/datadog_api_client/v2/models/team_update.rb +133 -0
  513. data/lib/datadog_api_client/v2/models/team_update_attributes.rb +187 -0
  514. data/lib/datadog_api_client/v2/models/team_update_relationships.rb +91 -0
  515. data/lib/datadog_api_client/v2/models/team_update_request.rb +102 -0
  516. data/lib/datadog_api_client/v2/models/teams_response.rb +105 -0
  517. data/lib/datadog_api_client/v2/models/timeseries_query.rb +1 -1
  518. data/lib/datadog_api_client/v2/models/user_response_included_item.rb +1 -1
  519. data/lib/datadog_api_client/v2/models/user_team.rb +143 -0
  520. data/lib/datadog_api_client/v2/models/user_team_attributes.rb +99 -0
  521. data/lib/datadog_api_client/v2/models/user_team_create.rb +122 -0
  522. data/lib/datadog_api_client/v2/models/user_team_permission.rb +133 -0
  523. data/lib/datadog_api_client/v2/models/user_team_permission_attributes.rb +91 -0
  524. data/lib/datadog_api_client/v2/models/user_team_permission_type.rb +26 -0
  525. data/lib/datadog_api_client/v2/models/user_team_relationships.rb +91 -0
  526. data/lib/datadog_api_client/v2/models/user_team_request.rb +102 -0
  527. data/lib/datadog_api_client/v2/models/user_team_response.rb +91 -0
  528. data/lib/datadog_api_client/v2/models/user_team_role.rb +26 -0
  529. data/lib/datadog_api_client/v2/models/user_team_type.rb +26 -0
  530. data/lib/datadog_api_client/v2/models/user_team_update.rb +112 -0
  531. data/lib/datadog_api_client/v2/models/user_team_update_request.rb +102 -0
  532. data/lib/datadog_api_client/v2/models/user_team_user_type.rb +26 -0
  533. data/lib/datadog_api_client/v2/models/user_teams_response.rb +93 -0
  534. data/lib/datadog_api_client/version.rb +1 -1
  535. metadata +218 -2
@@ -34,6 +34,9 @@ module DatadogAPIClient::V1
34
34
  # The organization public ID.
35
35
  attr_accessor :public_id
36
36
 
37
+ # The region of the Datadog instance that the organization belongs to.
38
+ attr_accessor :region
39
+
37
40
  # The source of the usage attribution tag configuration and the selected tags in the format of `<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
38
41
  attr_accessor :tag_config_source
39
42
 
@@ -60,6 +63,7 @@ module DatadogAPIClient::V1
60
63
  :'hour' => :'hour',
61
64
  :'org_name' => :'org_name',
62
65
  :'public_id' => :'public_id',
66
+ :'region' => :'region',
63
67
  :'tag_config_source' => :'tag_config_source',
64
68
  :'tags' => :'tags',
65
69
  :'total_usage_sum' => :'total_usage_sum',
@@ -75,6 +79,7 @@ module DatadogAPIClient::V1
75
79
  :'hour' => :'Time',
76
80
  :'org_name' => :'String',
77
81
  :'public_id' => :'String',
82
+ :'region' => :'String',
78
83
  :'tag_config_source' => :'String',
79
84
  :'tags' => :'Hash<String, Array<String>>',
80
85
  :'total_usage_sum' => :'Float',
@@ -83,6 +88,14 @@ module DatadogAPIClient::V1
83
88
  }
84
89
  end
85
90
 
91
+ # List of attributes with nullable: true
92
+ # @!visibility private
93
+ def self.openapi_nullable
94
+ Set.new([
95
+ :'tags',
96
+ ])
97
+ end
98
+
86
99
  # Initializes the object
87
100
  # @param attributes [Hash] Model attributes in the form of hash
88
101
  # @!visibility private
@@ -111,6 +124,10 @@ module DatadogAPIClient::V1
111
124
  self.public_id = attributes[:'public_id']
112
125
  end
113
126
 
127
+ if attributes.key?(:'region')
128
+ self.region = attributes[:'region']
129
+ end
130
+
114
131
  if attributes.key?(:'tag_config_source')
115
132
  self.tag_config_source = attributes[:'tag_config_source']
116
133
  end
@@ -148,6 +165,7 @@ module DatadogAPIClient::V1
148
165
  hour == o.hour &&
149
166
  org_name == o.org_name &&
150
167
  public_id == o.public_id &&
168
+ region == o.region &&
151
169
  tag_config_source == o.tag_config_source &&
152
170
  tags == o.tags &&
153
171
  total_usage_sum == o.total_usage_sum &&
@@ -159,7 +177,7 @@ module DatadogAPIClient::V1
159
177
  # @return [Integer] Hash code
160
178
  # @!visibility private
161
179
  def hash
162
- [hour, org_name, public_id, tag_config_source, tags, total_usage_sum, updated_at, usage_type].hash
180
+ [hour, org_name, public_id, region, tag_config_source, tags, total_usage_sum, updated_at, usage_type].hash
163
181
  end
164
182
  end
165
183
  end
@@ -31,6 +31,7 @@ module DatadogAPIClient::V1
31
31
  CONTAINER_USAGE = "container_usage".freeze
32
32
  CSPM_CONTAINERS_USAGE = "cspm_containers_usage".freeze
33
33
  CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
34
+ CUSTOM_INGESTED_TIMESERIES_USAGE = "custom_ingested_timeseries_usage".freeze
34
35
  CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
35
36
  CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
36
37
  CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
@@ -46,8 +47,10 @@ module DatadogAPIClient::V1
46
47
  INVOCATIONS_USAGE = "invocations_usage".freeze
47
48
  NPM_HOST_USAGE = "npm_host_usage".freeze
48
49
  PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
50
+ PROFILED_FARGATE_USAGE = "profiled_fargate_usage".freeze
49
51
  PROFILED_HOST_USAGE = "profiled_host_usage".freeze
50
52
  SNMP_USAGE = "snmp_usage".freeze
51
53
  ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
54
+ UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
52
55
  end
53
56
  end
@@ -23,8 +23,11 @@ module DatadogAPIClient::V1
23
23
 
24
24
  LOGS_STREAM = "logs_stream".freeze
25
25
  AUDIT_STREAM = "audit_stream".freeze
26
+ CI_PIPELINE_STREAM = "ci_pipeline_stream".freeze
27
+ CI_TEST_STREAM = "ci_test_stream".freeze
26
28
  RUM_ISSUE_STREAM = "rum_issue_stream".freeze
27
29
  APM_ISSUE_STREAM = "apm_issue_stream".freeze
30
+ LOGS_ISSUE_STREAM = "logs_issue_stream".freeze
28
31
  LOGS_PATTERN_STREAM = "logs_pattern_stream".freeze
29
32
  LOGS_TRANSACTION_STREAM = "logs_transaction_stream".freeze
30
33
  EVENT_STREAM = "event_stream".freeze
@@ -55,6 +55,14 @@ module DatadogAPIClient::V1
55
55
  }
56
56
  end
57
57
 
58
+ # List of attributes with nullable: true
59
+ # @!visibility private
60
+ def self.openapi_nullable
61
+ Set.new([
62
+ :'next_log_id',
63
+ ])
64
+ end
65
+
58
66
  # Initializes the object
59
67
  # @param attributes [Hash] Model attributes in the form of hash
60
68
  # @!visibility private
@@ -59,7 +59,7 @@ module DatadogAPIClient::V1
59
59
  begin
60
60
  next if klass == :AnyType # "nullable: true"
61
61
  typed_data = find_and_cast_into_type(klass, data)
62
- next if typed_data._unparsed
62
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
63
63
  return typed_data if typed_data
64
64
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
65
65
  end
@@ -37,7 +37,7 @@ module DatadogAPIClient::V1
37
37
  # Metric expression.
38
38
  attr_accessor :expression
39
39
 
40
- # Number of seconds between data samples.
40
+ # Number of milliseconds between data samples.
41
41
  attr_accessor :interval
42
42
 
43
43
  # Number of data samples.
@@ -46,7 +46,7 @@ module DatadogAPIClient::V1
46
46
  # Metric name.
47
47
  attr_accessor :metric
48
48
 
49
- # List of points of the time series.
49
+ # List of points of the time series in milliseconds.
50
50
  attr_accessor :pointlist
51
51
 
52
52
  # The index of the series' query within the request.
@@ -44,7 +44,7 @@ module DatadogAPIClient::V1
44
44
  begin
45
45
  next if klass == :AnyType # "nullable: true"
46
46
  typed_data = find_and_cast_into_type(klass, data)
47
- next if typed_data._unparsed
47
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
48
48
  return typed_data if typed_data
49
49
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
50
50
  end
@@ -34,6 +34,9 @@ module DatadogAPIClient::V1
34
34
  # The organization public ID.
35
35
  attr_accessor :public_id
36
36
 
37
+ # The region of the Datadog instance that the organization belongs to.
38
+ attr_accessor :region
39
+
37
40
  # The source of the usage attribution tag configuration and the selected tags in the format `<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>`.
38
41
  attr_accessor :tag_config_source
39
42
 
@@ -57,6 +60,7 @@ module DatadogAPIClient::V1
57
60
  :'month' => :'month',
58
61
  :'org_name' => :'org_name',
59
62
  :'public_id' => :'public_id',
63
+ :'region' => :'region',
60
64
  :'tag_config_source' => :'tag_config_source',
61
65
  :'tags' => :'tags',
62
66
  :'updated_at' => :'updated_at',
@@ -71,6 +75,7 @@ module DatadogAPIClient::V1
71
75
  :'month' => :'Time',
72
76
  :'org_name' => :'String',
73
77
  :'public_id' => :'String',
78
+ :'region' => :'String',
74
79
  :'tag_config_source' => :'String',
75
80
  :'tags' => :'Hash<String, Array<String>>',
76
81
  :'updated_at' => :'Time',
@@ -78,6 +83,14 @@ module DatadogAPIClient::V1
78
83
  }
79
84
  end
80
85
 
86
+ # List of attributes with nullable: true
87
+ # @!visibility private
88
+ def self.openapi_nullable
89
+ Set.new([
90
+ :'tags',
91
+ ])
92
+ end
93
+
81
94
  # Initializes the object
82
95
  # @param attributes [Hash] Model attributes in the form of hash
83
96
  # @!visibility private
@@ -106,6 +119,10 @@ module DatadogAPIClient::V1
106
119
  self.public_id = attributes[:'public_id']
107
120
  end
108
121
 
122
+ if attributes.key?(:'region')
123
+ self.region = attributes[:'region']
124
+ end
125
+
109
126
  if attributes.key?(:'tag_config_source')
110
127
  self.tag_config_source = attributes[:'tag_config_source']
111
128
  end
@@ -139,6 +156,7 @@ module DatadogAPIClient::V1
139
156
  month == o.month &&
140
157
  org_name == o.org_name &&
141
158
  public_id == o.public_id &&
159
+ region == o.region &&
142
160
  tag_config_source == o.tag_config_source &&
143
161
  tags == o.tags &&
144
162
  updated_at == o.updated_at &&
@@ -149,7 +167,7 @@ module DatadogAPIClient::V1
149
167
  # @return [Integer] Hash code
150
168
  # @!visibility private
151
169
  def hash
152
- [month, org_name, public_id, tag_config_source, tags, updated_at, values].hash
170
+ [month, org_name, public_id, region, tag_config_source, tags, updated_at, values].hash
153
171
  end
154
172
  end
155
173
  end
@@ -43,6 +43,8 @@ module DatadogAPIClient::V1
43
43
  CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
44
44
  CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
45
45
  CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage".freeze
46
+ CUSTOM_INGESTED_TIMESERIES_USAGE = "custom_ingested_timeseries_usage".freeze
47
+ CUSTOM_INGESTED_TIMESERIES_PERCENTAGE = "custom_ingested_timeseries_percentage".freeze
46
48
  CWS_CONTAINERS_PERCENTAGE = "cws_containers_percentage".freeze
47
49
  CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
48
50
  CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage".freeze
@@ -71,12 +73,16 @@ module DatadogAPIClient::V1
71
73
  NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
72
74
  PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze
73
75
  PROFILED_CONTAINER_PERCENTAGE = "profiled_container_percentage".freeze
76
+ PROFILED_FARGATE_USAGE = "profiled_fargate_usage".freeze
77
+ PROFILED_FARGATE_PERCENTAGE = "profiled_fargate_percentage".freeze
74
78
  PROFILED_HOST_USAGE = "profiled_host_usage".freeze
75
79
  PROFILED_HOST_PERCENTAGE = "profiled_host_percentage".freeze
76
80
  SNMP_USAGE = "snmp_usage".freeze
77
81
  SNMP_PERCENTAGE = "snmp_percentage".freeze
78
82
  ESTIMATED_RUM_SESSIONS_USAGE = "estimated_rum_sessions_usage".freeze
79
83
  ESTIMATED_RUM_SESSIONS_PERCENTAGE = "estimated_rum_sessions_percentage".freeze
84
+ UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
85
+ UNIVERSAL_SERVICE_MONITORING_PERCENTAGE = "universal_service_monitoring_percentage".freeze
80
86
  ALL = "*".freeze
81
87
  end
82
88
  end
@@ -85,10 +85,16 @@ module DatadogAPIClient::V1
85
85
  # The CSPM host usage by tag(s).
86
86
  attr_accessor :cspm_hosts_usage
87
87
 
88
- # The percentage of custom metrics usage by tag(s).
88
+ # The percentage of ingested custom metrics usage by tag(s).
89
+ attr_accessor :custom_ingested_timeseries_percentage
90
+
91
+ # The ingested custom metrics usage by tag(s).
92
+ attr_accessor :custom_ingested_timeseries_usage
93
+
94
+ # The percentage of indexed custom metrics usage by tag(s).
89
95
  attr_accessor :custom_timeseries_percentage
90
96
 
91
- # The custom metrics usage by tag(s).
97
+ # The indexed custom metrics usage by tag(s).
92
98
  attr_accessor :custom_timeseries_usage
93
99
 
94
100
  # The percentage of Cloud Workload Security container usage by tag(s).
@@ -181,6 +187,12 @@ module DatadogAPIClient::V1
181
187
  # The profiled container usage by tag(s).
182
188
  attr_accessor :profiled_container_usage
183
189
 
190
+ # The percentage of profiled Fargate task usage by tag(s).
191
+ attr_accessor :profiled_fargate_percentage
192
+
193
+ # The profiled Fargate task usage by tag(s).
194
+ attr_accessor :profiled_fargate_usage
195
+
184
196
  # The percentage of profiled hosts usage by tag(s).
185
197
  attr_accessor :profiled_host_percentage
186
198
 
@@ -193,6 +205,12 @@ module DatadogAPIClient::V1
193
205
  # The network device usage by tag(s).
194
206
  attr_accessor :snmp_usage
195
207
 
208
+ # The percentage of universal service monitoring usage by tag(s).
209
+ attr_accessor :universal_service_monitoring_percentage
210
+
211
+ # The universal service monitoring usage by tag(s).
212
+ attr_accessor :universal_service_monitoring_usage
213
+
196
214
  # Attribute mapping from ruby-style variable name to JSON key.
197
215
  # @!visibility private
198
216
  def self.attribute_map
@@ -217,6 +235,8 @@ module DatadogAPIClient::V1
217
235
  :'cspm_containers_usage' => :'cspm_containers_usage',
218
236
  :'cspm_hosts_percentage' => :'cspm_hosts_percentage',
219
237
  :'cspm_hosts_usage' => :'cspm_hosts_usage',
238
+ :'custom_ingested_timeseries_percentage' => :'custom_ingested_timeseries_percentage',
239
+ :'custom_ingested_timeseries_usage' => :'custom_ingested_timeseries_usage',
220
240
  :'custom_timeseries_percentage' => :'custom_timeseries_percentage',
221
241
  :'custom_timeseries_usage' => :'custom_timeseries_usage',
222
242
  :'cws_containers_percentage' => :'cws_containers_percentage',
@@ -249,10 +269,14 @@ module DatadogAPIClient::V1
249
269
  :'npm_host_usage' => :'npm_host_usage',
250
270
  :'profiled_container_percentage' => :'profiled_container_percentage',
251
271
  :'profiled_container_usage' => :'profiled_container_usage',
272
+ :'profiled_fargate_percentage' => :'profiled_fargate_percentage',
273
+ :'profiled_fargate_usage' => :'profiled_fargate_usage',
252
274
  :'profiled_host_percentage' => :'profiled_host_percentage',
253
275
  :'profiled_host_usage' => :'profiled_host_usage',
254
276
  :'snmp_percentage' => :'snmp_percentage',
255
- :'snmp_usage' => :'snmp_usage'
277
+ :'snmp_usage' => :'snmp_usage',
278
+ :'universal_service_monitoring_percentage' => :'universal_service_monitoring_percentage',
279
+ :'universal_service_monitoring_usage' => :'universal_service_monitoring_usage'
256
280
  }
257
281
  end
258
282
 
@@ -280,6 +304,8 @@ module DatadogAPIClient::V1
280
304
  :'cspm_containers_usage' => :'Float',
281
305
  :'cspm_hosts_percentage' => :'Float',
282
306
  :'cspm_hosts_usage' => :'Float',
307
+ :'custom_ingested_timeseries_percentage' => :'Float',
308
+ :'custom_ingested_timeseries_usage' => :'Float',
283
309
  :'custom_timeseries_percentage' => :'Float',
284
310
  :'custom_timeseries_usage' => :'Float',
285
311
  :'cws_containers_percentage' => :'Float',
@@ -312,10 +338,14 @@ module DatadogAPIClient::V1
312
338
  :'npm_host_usage' => :'Float',
313
339
  :'profiled_container_percentage' => :'Float',
314
340
  :'profiled_container_usage' => :'Float',
341
+ :'profiled_fargate_percentage' => :'Float',
342
+ :'profiled_fargate_usage' => :'Float',
315
343
  :'profiled_host_percentage' => :'Float',
316
344
  :'profiled_host_usage' => :'Float',
317
345
  :'snmp_percentage' => :'Float',
318
- :'snmp_usage' => :'Float'
346
+ :'snmp_usage' => :'Float',
347
+ :'universal_service_monitoring_percentage' => :'Float',
348
+ :'universal_service_monitoring_usage' => :'Float'
319
349
  }
320
350
  end
321
351
 
@@ -415,6 +445,14 @@ module DatadogAPIClient::V1
415
445
  self.cspm_hosts_usage = attributes[:'cspm_hosts_usage']
416
446
  end
417
447
 
448
+ if attributes.key?(:'custom_ingested_timeseries_percentage')
449
+ self.custom_ingested_timeseries_percentage = attributes[:'custom_ingested_timeseries_percentage']
450
+ end
451
+
452
+ if attributes.key?(:'custom_ingested_timeseries_usage')
453
+ self.custom_ingested_timeseries_usage = attributes[:'custom_ingested_timeseries_usage']
454
+ end
455
+
418
456
  if attributes.key?(:'custom_timeseries_percentage')
419
457
  self.custom_timeseries_percentage = attributes[:'custom_timeseries_percentage']
420
458
  end
@@ -543,6 +581,14 @@ module DatadogAPIClient::V1
543
581
  self.profiled_container_usage = attributes[:'profiled_container_usage']
544
582
  end
545
583
 
584
+ if attributes.key?(:'profiled_fargate_percentage')
585
+ self.profiled_fargate_percentage = attributes[:'profiled_fargate_percentage']
586
+ end
587
+
588
+ if attributes.key?(:'profiled_fargate_usage')
589
+ self.profiled_fargate_usage = attributes[:'profiled_fargate_usage']
590
+ end
591
+
546
592
  if attributes.key?(:'profiled_host_percentage')
547
593
  self.profiled_host_percentage = attributes[:'profiled_host_percentage']
548
594
  end
@@ -558,6 +604,14 @@ module DatadogAPIClient::V1
558
604
  if attributes.key?(:'snmp_usage')
559
605
  self.snmp_usage = attributes[:'snmp_usage']
560
606
  end
607
+
608
+ if attributes.key?(:'universal_service_monitoring_percentage')
609
+ self.universal_service_monitoring_percentage = attributes[:'universal_service_monitoring_percentage']
610
+ end
611
+
612
+ if attributes.key?(:'universal_service_monitoring_usage')
613
+ self.universal_service_monitoring_usage = attributes[:'universal_service_monitoring_usage']
614
+ end
561
615
  end
562
616
 
563
617
  # Check to see if the all the properties in the model are valid
@@ -593,6 +647,8 @@ module DatadogAPIClient::V1
593
647
  cspm_containers_usage == o.cspm_containers_usage &&
594
648
  cspm_hosts_percentage == o.cspm_hosts_percentage &&
595
649
  cspm_hosts_usage == o.cspm_hosts_usage &&
650
+ custom_ingested_timeseries_percentage == o.custom_ingested_timeseries_percentage &&
651
+ custom_ingested_timeseries_usage == o.custom_ingested_timeseries_usage &&
596
652
  custom_timeseries_percentage == o.custom_timeseries_percentage &&
597
653
  custom_timeseries_usage == o.custom_timeseries_usage &&
598
654
  cws_containers_percentage == o.cws_containers_percentage &&
@@ -625,17 +681,21 @@ module DatadogAPIClient::V1
625
681
  npm_host_usage == o.npm_host_usage &&
626
682
  profiled_container_percentage == o.profiled_container_percentage &&
627
683
  profiled_container_usage == o.profiled_container_usage &&
684
+ profiled_fargate_percentage == o.profiled_fargate_percentage &&
685
+ profiled_fargate_usage == o.profiled_fargate_usage &&
628
686
  profiled_host_percentage == o.profiled_host_percentage &&
629
687
  profiled_host_usage == o.profiled_host_usage &&
630
688
  snmp_percentage == o.snmp_percentage &&
631
- snmp_usage == o.snmp_usage
689
+ snmp_usage == o.snmp_usage &&
690
+ universal_service_monitoring_percentage == o.universal_service_monitoring_percentage &&
691
+ universal_service_monitoring_usage == o.universal_service_monitoring_usage
632
692
  end
633
693
 
634
694
  # Calculates hash code according to all attributes.
635
695
  # @return [Integer] Hash code
636
696
  # @!visibility private
637
697
  def hash
638
- [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage].hash
698
+ [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage].hash
639
699
  end
640
700
  end
641
701
  end
@@ -50,7 +50,7 @@ module DatadogAPIClient::V1
50
50
  begin
51
51
  next if klass == :AnyType # "nullable: true"
52
52
  typed_data = find_and_cast_into_type(klass, data)
53
- next if typed_data._unparsed
53
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
54
54
  return typed_data if typed_data
55
55
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
56
56
  end
@@ -50,7 +50,7 @@ module DatadogAPIClient::V1
50
50
  begin
51
51
  next if klass == :AnyType # "nullable: true"
52
52
  typed_data = find_and_cast_into_type(klass, data)
53
- next if typed_data._unparsed
53
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
54
54
  return typed_data if typed_data
55
55
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
56
56
  end
@@ -45,7 +45,7 @@ module DatadogAPIClient::V1
45
45
  begin
46
46
  next if klass == :AnyType # "nullable: true"
47
47
  typed_data = find_and_cast_into_type(klass, data)
48
- next if typed_data._unparsed
48
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
49
49
  return typed_data if typed_data
50
50
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
51
51
  end
@@ -50,7 +50,7 @@ module DatadogAPIClient::V1
50
50
  begin
51
51
  next if klass == :AnyType # "nullable: true"
52
52
  typed_data = find_and_cast_into_type(klass, data)
53
- next if typed_data._unparsed
53
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
54
54
  return typed_data if typed_data
55
55
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
56
56
  end
@@ -45,7 +45,7 @@ module DatadogAPIClient::V1
45
45
  begin
46
46
  next if klass == :AnyType # "nullable: true"
47
47
  typed_data = find_and_cast_into_type(klass, data)
48
- next if typed_data._unparsed
48
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
49
49
  return typed_data if typed_data
50
50
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
51
51
  end
@@ -46,7 +46,7 @@ module DatadogAPIClient::V1
46
46
  begin
47
47
  next if klass == :AnyType # "nullable: true"
48
48
  typed_data = find_and_cast_into_type(klass, data)
49
- next if typed_data._unparsed
49
+ next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
50
50
  return typed_data if typed_data
51
51
  rescue # rescue all errors so we keep iterating even if the current item lookup raises
52
52
  end
@@ -0,0 +1,131 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'date'
17
+ require 'time'
18
+
19
+ module DatadogAPIClient::V1
20
+ # Object containing the template variable's name, associated tag/attribute, default value and selectable values.
21
+ class SelectableTemplateVariableItems
22
+ include BaseGenericModel
23
+
24
+ # Whether the object has unparsed attributes
25
+ # @!visibility private
26
+ attr_accessor :_unparsed
27
+
28
+ # The default value of the template variable.
29
+ attr_accessor :default_value
30
+
31
+ # Name of the template variable.
32
+ attr_accessor :name
33
+
34
+ # The tag/attribute key associated with the template variable.
35
+ attr_accessor :prefix
36
+
37
+ # List of visible tag values on the shared dashboard.
38
+ attr_accessor :visible_tags
39
+
40
+ # Attribute mapping from ruby-style variable name to JSON key.
41
+ # @!visibility private
42
+ def self.attribute_map
43
+ {
44
+ :'default_value' => :'default_value',
45
+ :'name' => :'name',
46
+ :'prefix' => :'prefix',
47
+ :'visible_tags' => :'visible_tags'
48
+ }
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ # @!visibility private
53
+ def self.openapi_types
54
+ {
55
+ :'default_value' => :'String',
56
+ :'name' => :'String',
57
+ :'prefix' => :'String',
58
+ :'visible_tags' => :'Array<String>'
59
+ }
60
+ end
61
+
62
+ # List of attributes with nullable: true
63
+ # @!visibility private
64
+ def self.openapi_nullable
65
+ Set.new([
66
+ :'visible_tags',
67
+ ])
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param attributes [Hash] Model attributes in the form of hash
72
+ # @!visibility private
73
+ def initialize(attributes = {})
74
+ if (!attributes.is_a?(Hash))
75
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SelectableTemplateVariableItems` initialize method"
76
+ end
77
+
78
+ # check to see if the attribute exists and convert string to symbol for hash key
79
+ attributes = attributes.each_with_object({}) { |(k, v), h|
80
+ if (!self.class.attribute_map.key?(k.to_sym))
81
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SelectableTemplateVariableItems`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
82
+ end
83
+ h[k.to_sym] = v
84
+ }
85
+
86
+ if attributes.key?(:'default_value')
87
+ self.default_value = attributes[:'default_value']
88
+ end
89
+
90
+ if attributes.key?(:'name')
91
+ self.name = attributes[:'name']
92
+ end
93
+
94
+ if attributes.key?(:'prefix')
95
+ self.prefix = attributes[:'prefix']
96
+ end
97
+
98
+ if attributes.key?(:'visible_tags')
99
+ if (value = attributes[:'visible_tags']).is_a?(Array)
100
+ self.visible_tags = value
101
+ end
102
+ end
103
+ end
104
+
105
+ # Check to see if the all the properties in the model are valid
106
+ # @return true if the model is valid
107
+ # @!visibility private
108
+ def valid?
109
+ true
110
+ end
111
+
112
+ # Checks equality by comparing each attribute.
113
+ # @param o [Object] Object to be compared
114
+ # @!visibility private
115
+ def ==(o)
116
+ return true if self.equal?(o)
117
+ self.class == o.class &&
118
+ default_value == o.default_value &&
119
+ name == o.name &&
120
+ prefix == o.prefix &&
121
+ visible_tags == o.visible_tags
122
+ end
123
+
124
+ # Calculates hash code according to all attributes.
125
+ # @return [Integer] Hash code
126
+ # @!visibility private
127
+ def hash
128
+ [default_value, name, prefix, visible_tags].hash
129
+ end
130
+ end
131
+ end