datadog_api_client 2.13.0 → 2.15.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 (148) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +346 -36
  4. data/.generator/schemas/v2/openapi.yaml +436 -174
  5. data/.generator/src/generator/formatter.py +34 -29
  6. data/.generator/src/generator/openapi.py +3 -1
  7. data/.generator/src/generator/templates/api.j2 +8 -2
  8. data/.generator/src/generator/templates/api_client.j2 +81 -53
  9. data/.generator/src/generator/templates/configuration.j2 +21 -0
  10. data/.pre-commit-config.yaml +2 -2
  11. data/CHANGELOG.md +57 -0
  12. data/README.md +23 -0
  13. data/examples/v1/azure-integration/CreateAzureIntegration.rb +3 -0
  14. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +3 -0
  15. data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +3 -0
  16. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +3 -0
  17. data/examples/v1/dashboards/CreateDashboard_252716965.rb +6 -0
  18. data/examples/v1/dashboards/CreateDashboard_2618036642.rb +36 -0
  19. data/examples/v1/dashboards/CreateDashboard_2705593938.rb +3 -0
  20. data/examples/v1/dashboards/CreateDashboard_3777304439.rb +50 -0
  21. data/examples/v1/dashboards/DeletePublicDashboardInvitation.rb +3 -3
  22. data/examples/v1/dashboards/ListDashboards_1062671515.rb +8 -0
  23. data/examples/v1/monitors/ListMonitors_2966492814.rb +8 -0
  24. data/examples/v1/notebooks/ListNotebooks_788665428.rb +8 -0
  25. data/examples/v1/service-level-objective-corrections/ListSLOCorrection_2647266873.rb +8 -0
  26. data/examples/v1/service-level-objectives/ListSLOs_3036942817.rb +8 -0
  27. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +2 -0
  28. data/examples/v1/synthetics/ListTests_1938827783.rb +8 -0
  29. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +3 -0
  30. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +3 -0
  31. data/examples/v2/downtimes/CancelDowntime.rb +0 -3
  32. data/examples/v2/downtimes/CreateDowntime.rb +0 -3
  33. data/examples/v2/downtimes/GetDowntime.rb +0 -3
  34. data/examples/v2/downtimes/ListDowntimes.rb +0 -3
  35. data/examples/v2/downtimes/ListDowntimes_805770330.rb +8 -0
  36. data/examples/v2/downtimes/ListMonitorDowntimes.rb +0 -3
  37. data/examples/v2/downtimes/ListMonitorDowntimes_128979780.rb +0 -3
  38. data/examples/v2/downtimes/UpdateDowntime.rb +0 -3
  39. data/examples/v2/logs/AggregateLogs_2955613758.rb +1 -1
  40. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +1 -1
  41. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +1 -1
  42. data/examples/v2/teams/CreateTeam.rb +2 -2
  43. data/examples/v2/teams/CreateTeam_252121814.rb +24 -0
  44. data/examples/v2/teams/GetUserMemberships.rb +8 -0
  45. data/examples/v2/teams/ListTeams_3592098458.rb +8 -0
  46. data/examples/v2/teams/UpdateTeam.rb +9 -0
  47. data/examples/v2/users/ListUsers_4075885358.rb +8 -0
  48. data/lib/datadog_api_client/api_client.rb +81 -53
  49. data/lib/datadog_api_client/configuration.rb +22 -6
  50. data/lib/datadog_api_client/inflector.rb +11 -1
  51. data/lib/datadog_api_client/v1/api/dashboards_api.rb +25 -0
  52. data/lib/datadog_api_client/v1/api/monitors_api.rb +22 -0
  53. data/lib/datadog_api_client/v1/api/notebooks_api.rb +21 -0
  54. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +23 -2
  55. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +31 -10
  56. data/lib/datadog_api_client/v1/api/synthetics_api.rb +25 -3
  57. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  58. data/lib/datadog_api_client/v1/models/azure_account.rb +32 -1
  59. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +13 -1
  60. data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +35 -1
  61. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +4 -0
  62. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  63. data/lib/datadog_api_client/v1/models/monitor.rb +1 -1
  64. data/lib/datadog_api_client/v1/models/monitor_options.rb +1 -1
  65. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +8 -0
  66. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +81 -1
  67. data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +14 -4
  68. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +11 -1
  69. data/lib/datadog_api_client/v1/models/synthetics_assertion_timings_scope.rb +27 -0
  70. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  71. data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +12 -1
  72. data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +12 -1
  73. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +44 -4
  74. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +44 -4
  75. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +44 -4
  76. data/lib/datadog_api_client/v1/models/widget_comparator.rb +1 -0
  77. data/lib/datadog_api_client/v2/api/audit_api.rb +1 -1
  78. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +11 -7
  79. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +1 -1
  80. data/lib/datadog_api_client/v2/api/downtimes_api.rb +25 -36
  81. data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
  82. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
  83. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
  84. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -1
  85. data/lib/datadog_api_client/v2/api/processes_api.rb +1 -1
  86. data/lib/datadog_api_client/v2/api/rum_api.rb +1 -1
  87. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +6 -6
  88. data/lib/datadog_api_client/v2/api/service_definition_api.rb +2 -2
  89. data/lib/datadog_api_client/v2/api/spans_api.rb +1 -1
  90. data/lib/datadog_api_client/v2/api/spans_metrics_api.rb +2 -2
  91. data/lib/datadog_api_client/v2/api/teams_api.rb +87 -0
  92. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  93. data/lib/datadog_api_client/v2/api/users_api.rb +22 -0
  94. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
  95. data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +1 -1
  96. data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +11 -1
  97. data/lib/datadog_api_client/v2/models/ci_app_event_attributes.rb +9 -21
  98. data/lib/datadog_api_client/v2/models/ci_app_pipeline_event.rb +1 -1
  99. data/lib/datadog_api_client/v2/models/{team_data.rb → ci_app_pipeline_event_attributes.rb} +24 -62
  100. data/lib/datadog_api_client/v2/models/ci_app_pipeline_level.rb +30 -0
  101. data/lib/datadog_api_client/v2/models/ci_app_pipelines_query_filter.rb +1 -1
  102. data/lib/datadog_api_client/v2/models/ci_app_test_level.rb +29 -0
  103. data/lib/datadog_api_client/v2/models/ci_app_tests_analytics_aggregate_response.rb +1 -1
  104. data/lib/datadog_api_client/v2/models/ci_app_tests_query_filter.rb +1 -1
  105. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +25 -1
  106. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +25 -1
  107. data/lib/datadog_api_client/v2/models/downtime_relationships_monitor_data.rb +1 -1
  108. data/lib/datadog_api_client/v2/models/downtime_schedule_one_time_response.rb +19 -1
  109. data/lib/datadog_api_client/v2/models/formula_limit.rb +1 -0
  110. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
  111. data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +1 -1
  112. data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +1 -1
  113. data/lib/datadog_api_client/v2/models/logs_group_by.rb +3 -2
  114. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +1 -1
  115. data/lib/datadog_api_client/v2/models/logs_list_request.rb +1 -1
  116. data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
  117. data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +1 -1
  118. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +14 -4
  119. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_type.rb +26 -0
  120. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
  121. data/lib/datadog_api_client/v2/models/query_formula.rb +1 -0
  122. data/lib/datadog_api_client/v2/models/relationship_to_team_links.rb +14 -4
  123. data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +14 -4
  124. data/lib/datadog_api_client/v2/models/security_monitoring_signal_metadata_type.rb +26 -0
  125. data/lib/datadog_api_client/v2/models/security_monitoring_signal_response.rb +80 -0
  126. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +26 -2
  127. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +24 -4
  128. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_data.rb +24 -4
  129. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -19
  130. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +11 -1
  131. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +11 -1
  132. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +11 -1
  133. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +11 -1
  134. data/lib/datadog_api_client/v2/models/team_attributes.rb +50 -4
  135. data/lib/datadog_api_client/v2/models/team_create_attributes.rb +57 -4
  136. data/lib/datadog_api_client/v2/models/team_relationships_links.rb +80 -0
  137. data/lib/datadog_api_client/v2/models/team_response.rb +1 -1
  138. data/lib/datadog_api_client/v2/models/team_update_attributes.rb +57 -4
  139. data/lib/datadog_api_client/v2/models/teams_response.rb +24 -4
  140. data/lib/datadog_api_client/v2/models/teams_response_links.rb +129 -0
  141. data/lib/datadog_api_client/v2/models/teams_response_meta.rb +80 -0
  142. data/lib/datadog_api_client/v2/models/teams_response_meta_pagination.rb +150 -0
  143. data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +11 -1
  144. data/lib/datadog_api_client/v2/models/user_teams_response.rb +24 -4
  145. data/lib/datadog_api_client/version.rb +1 -1
  146. data/spec/configuration_spec.rb +17 -0
  147. data/spec/retry_spec.rb +44 -0
  148. metadata +28 -3
@@ -29,10 +29,14 @@ module DatadogAPIClient::V1
29
29
  APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
30
30
  APM_HOST_USAGE = "apm_host_usage".freeze
31
31
  APM_HOST_PERCENTAGE = "apm_host_percentage".freeze
32
+ APM_USM_USAGE = "apm_usm_usage".freeze
33
+ APM_USM_PERCENTAGE = "apm_usm_percentage".freeze
32
34
  APPSEC_USAGE = "appsec_usage".freeze
33
35
  APPSEC_PERCENTAGE = "appsec_percentage".freeze
34
36
  BROWSER_USAGE = "browser_usage".freeze
35
37
  BROWSER_PERCENTAGE = "browser_percentage".freeze
38
+ CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage".freeze
39
+ CI_VISIBILITY_ITR_PERCENTAGE = "ci_visibility_itr_percentage".freeze
36
40
  CONTAINER_EXCL_AGENT_USAGE = "container_excl_agent_usage".freeze
37
41
  CONTAINER_EXCL_AGENT_PERCENTAGE = "container_excl_agent_percentage".freeze
38
42
  CONTAINER_USAGE = "container_usage".freeze
@@ -69,6 +73,8 @@ module DatadogAPIClient::V1
69
73
  INFRA_HOST_PERCENTAGE = "infra_host_percentage".freeze
70
74
  INVOCATIONS_USAGE = "invocations_usage".freeze
71
75
  INVOCATIONS_PERCENTAGE = "invocations_percentage".freeze
76
+ MOBILE_APP_TESTING_USAGE = "mobile_app_testing_percentage".freeze
77
+ MOBILE_APP_TESTING_PERCENTAGE = "mobile_app_testing_usage".freeze
72
78
  NPM_HOST_USAGE = "npm_host_usage".freeze
73
79
  NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
74
80
  OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze
@@ -87,6 +93,8 @@ module DatadogAPIClient::V1
87
93
  UNIVERSAL_SERVICE_MONITORING_PERCENTAGE = "universal_service_monitoring_percentage".freeze
88
94
  VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage".freeze
89
95
  VULN_MANAGEMENT_HOSTS_PERCENTAGE = "vuln_management_hosts_percentage".freeze
96
+ SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage".freeze
97
+ SDS_SCANNED_BYTES_PERCENTAGE = "sds_scanned_bytes_percentage".freeze
90
98
  ALL = "*".freeze
91
99
  end
92
100
  end
@@ -39,6 +39,12 @@ module DatadogAPIClient::V1
39
39
  # The APM host usage by tag(s).
40
40
  attr_accessor :apm_host_usage
41
41
 
42
+ # The percentage of APM and Universal Service Monitoring host usage by tag(s).
43
+ attr_accessor :apm_usm_percentage
44
+
45
+ # The APM and Universal Service Monitoring host usage by tag(s).
46
+ attr_accessor :apm_usm_usage
47
+
42
48
  # The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
43
49
  attr_accessor :appsec_fargate_percentage
44
50
 
@@ -57,6 +63,12 @@ module DatadogAPIClient::V1
57
63
  # The synthetic browser test usage by tag(s).
58
64
  attr_accessor :browser_usage
59
65
 
66
+ # The percentage of Git committers for Intelligent Test Runner usage by tag(s).
67
+ attr_accessor :ci_visibility_itr_percentage
68
+
69
+ # The Git committers for Intelligent Test Runner usage by tag(s).
70
+ attr_accessor :ci_visibility_itr_usage
71
+
60
72
  # The percentage of container usage without the Datadog Agent by tag(s).
61
73
  attr_accessor :container_excl_agent_percentage
62
74
 
@@ -171,6 +183,12 @@ module DatadogAPIClient::V1
171
183
  # The Lambda invocation usage by tag(s).
172
184
  attr_accessor :invocations_usage
173
185
 
186
+ # The percentage of Synthetic mobile application test usage by tag(s).
187
+ attr_accessor :mobile_app_testing_percentage
188
+
189
+ # The Synthetic mobile application test usage by tag(s).
190
+ attr_accessor :mobile_app_testing_usage
191
+
174
192
  # The percentage of network host usage by tag(s).
175
193
  attr_accessor :npm_host_percentage
176
194
 
@@ -201,6 +219,12 @@ module DatadogAPIClient::V1
201
219
  # The profiled hosts usage by tag(s).
202
220
  attr_accessor :profiled_host_usage
203
221
 
222
+ # The percentage of Sensitive Data Scanner usage by tag(s).
223
+ attr_accessor :sds_scanned_bytes_percentage
224
+
225
+ # The total Sensitive Data Scanner usage by tag(s).
226
+ attr_accessor :sds_scanned_bytes_usage
227
+
204
228
  # The percentage of network device usage by tag(s).
205
229
  attr_accessor :snmp_percentage
206
230
 
@@ -229,12 +253,16 @@ module DatadogAPIClient::V1
229
253
  :'apm_fargate_usage' => :'apm_fargate_usage',
230
254
  :'apm_host_percentage' => :'apm_host_percentage',
231
255
  :'apm_host_usage' => :'apm_host_usage',
256
+ :'apm_usm_percentage' => :'apm_usm_percentage',
257
+ :'apm_usm_usage' => :'apm_usm_usage',
232
258
  :'appsec_fargate_percentage' => :'appsec_fargate_percentage',
233
259
  :'appsec_fargate_usage' => :'appsec_fargate_usage',
234
260
  :'appsec_percentage' => :'appsec_percentage',
235
261
  :'appsec_usage' => :'appsec_usage',
236
262
  :'browser_percentage' => :'browser_percentage',
237
263
  :'browser_usage' => :'browser_usage',
264
+ :'ci_visibility_itr_percentage' => :'ci_visibility_itr_percentage',
265
+ :'ci_visibility_itr_usage' => :'ci_visibility_itr_usage',
238
266
  :'container_excl_agent_percentage' => :'container_excl_agent_percentage',
239
267
  :'container_excl_agent_usage' => :'container_excl_agent_usage',
240
268
  :'container_percentage' => :'container_percentage',
@@ -273,6 +301,8 @@ module DatadogAPIClient::V1
273
301
  :'infra_host_usage' => :'infra_host_usage',
274
302
  :'invocations_percentage' => :'invocations_percentage',
275
303
  :'invocations_usage' => :'invocations_usage',
304
+ :'mobile_app_testing_percentage' => :'mobile_app_testing_percentage',
305
+ :'mobile_app_testing_usage' => :'mobile_app_testing_usage',
276
306
  :'npm_host_percentage' => :'npm_host_percentage',
277
307
  :'npm_host_usage' => :'npm_host_usage',
278
308
  :'obs_pipeline_bytes_percentage' => :'obs_pipeline_bytes_percentage',
@@ -283,6 +313,8 @@ module DatadogAPIClient::V1
283
313
  :'profiled_fargate_usage' => :'profiled_fargate_usage',
284
314
  :'profiled_host_percentage' => :'profiled_host_percentage',
285
315
  :'profiled_host_usage' => :'profiled_host_usage',
316
+ :'sds_scanned_bytes_percentage' => :'sds_scanned_bytes_percentage',
317
+ :'sds_scanned_bytes_usage' => :'sds_scanned_bytes_usage',
286
318
  :'snmp_percentage' => :'snmp_percentage',
287
319
  :'snmp_usage' => :'snmp_usage',
288
320
  :'universal_service_monitoring_percentage' => :'universal_service_monitoring_percentage',
@@ -302,12 +334,16 @@ module DatadogAPIClient::V1
302
334
  :'apm_fargate_usage' => :'Float',
303
335
  :'apm_host_percentage' => :'Float',
304
336
  :'apm_host_usage' => :'Float',
337
+ :'apm_usm_percentage' => :'Float',
338
+ :'apm_usm_usage' => :'Float',
305
339
  :'appsec_fargate_percentage' => :'Float',
306
340
  :'appsec_fargate_usage' => :'Float',
307
341
  :'appsec_percentage' => :'Float',
308
342
  :'appsec_usage' => :'Float',
309
343
  :'browser_percentage' => :'Float',
310
344
  :'browser_usage' => :'Float',
345
+ :'ci_visibility_itr_percentage' => :'Float',
346
+ :'ci_visibility_itr_usage' => :'Float',
311
347
  :'container_excl_agent_percentage' => :'Float',
312
348
  :'container_excl_agent_usage' => :'Float',
313
349
  :'container_percentage' => :'Float',
@@ -346,6 +382,8 @@ module DatadogAPIClient::V1
346
382
  :'infra_host_usage' => :'Float',
347
383
  :'invocations_percentage' => :'Float',
348
384
  :'invocations_usage' => :'Float',
385
+ :'mobile_app_testing_percentage' => :'Float',
386
+ :'mobile_app_testing_usage' => :'Float',
349
387
  :'npm_host_percentage' => :'Float',
350
388
  :'npm_host_usage' => :'Float',
351
389
  :'obs_pipeline_bytes_percentage' => :'Float',
@@ -356,6 +394,8 @@ module DatadogAPIClient::V1
356
394
  :'profiled_fargate_usage' => :'Float',
357
395
  :'profiled_host_percentage' => :'Float',
358
396
  :'profiled_host_usage' => :'Float',
397
+ :'sds_scanned_bytes_percentage' => :'Float',
398
+ :'sds_scanned_bytes_usage' => :'Float',
359
399
  :'snmp_percentage' => :'Float',
360
400
  :'snmp_usage' => :'Float',
361
401
  :'universal_service_monitoring_percentage' => :'Float',
@@ -405,6 +445,14 @@ module DatadogAPIClient::V1
405
445
  self.apm_host_usage = attributes[:'apm_host_usage']
406
446
  end
407
447
 
448
+ if attributes.key?(:'apm_usm_percentage')
449
+ self.apm_usm_percentage = attributes[:'apm_usm_percentage']
450
+ end
451
+
452
+ if attributes.key?(:'apm_usm_usage')
453
+ self.apm_usm_usage = attributes[:'apm_usm_usage']
454
+ end
455
+
408
456
  if attributes.key?(:'appsec_fargate_percentage')
409
457
  self.appsec_fargate_percentage = attributes[:'appsec_fargate_percentage']
410
458
  end
@@ -429,6 +477,14 @@ module DatadogAPIClient::V1
429
477
  self.browser_usage = attributes[:'browser_usage']
430
478
  end
431
479
 
480
+ if attributes.key?(:'ci_visibility_itr_percentage')
481
+ self.ci_visibility_itr_percentage = attributes[:'ci_visibility_itr_percentage']
482
+ end
483
+
484
+ if attributes.key?(:'ci_visibility_itr_usage')
485
+ self.ci_visibility_itr_usage = attributes[:'ci_visibility_itr_usage']
486
+ end
487
+
432
488
  if attributes.key?(:'container_excl_agent_percentage')
433
489
  self.container_excl_agent_percentage = attributes[:'container_excl_agent_percentage']
434
490
  end
@@ -581,6 +637,14 @@ module DatadogAPIClient::V1
581
637
  self.invocations_usage = attributes[:'invocations_usage']
582
638
  end
583
639
 
640
+ if attributes.key?(:'mobile_app_testing_percentage')
641
+ self.mobile_app_testing_percentage = attributes[:'mobile_app_testing_percentage']
642
+ end
643
+
644
+ if attributes.key?(:'mobile_app_testing_usage')
645
+ self.mobile_app_testing_usage = attributes[:'mobile_app_testing_usage']
646
+ end
647
+
584
648
  if attributes.key?(:'npm_host_percentage')
585
649
  self.npm_host_percentage = attributes[:'npm_host_percentage']
586
650
  end
@@ -621,6 +685,14 @@ module DatadogAPIClient::V1
621
685
  self.profiled_host_usage = attributes[:'profiled_host_usage']
622
686
  end
623
687
 
688
+ if attributes.key?(:'sds_scanned_bytes_percentage')
689
+ self.sds_scanned_bytes_percentage = attributes[:'sds_scanned_bytes_percentage']
690
+ end
691
+
692
+ if attributes.key?(:'sds_scanned_bytes_usage')
693
+ self.sds_scanned_bytes_usage = attributes[:'sds_scanned_bytes_usage']
694
+ end
695
+
624
696
  if attributes.key?(:'snmp_percentage')
625
697
  self.snmp_percentage = attributes[:'snmp_percentage']
626
698
  end
@@ -658,12 +730,16 @@ module DatadogAPIClient::V1
658
730
  apm_fargate_usage == o.apm_fargate_usage &&
659
731
  apm_host_percentage == o.apm_host_percentage &&
660
732
  apm_host_usage == o.apm_host_usage &&
733
+ apm_usm_percentage == o.apm_usm_percentage &&
734
+ apm_usm_usage == o.apm_usm_usage &&
661
735
  appsec_fargate_percentage == o.appsec_fargate_percentage &&
662
736
  appsec_fargate_usage == o.appsec_fargate_usage &&
663
737
  appsec_percentage == o.appsec_percentage &&
664
738
  appsec_usage == o.appsec_usage &&
665
739
  browser_percentage == o.browser_percentage &&
666
740
  browser_usage == o.browser_usage &&
741
+ ci_visibility_itr_percentage == o.ci_visibility_itr_percentage &&
742
+ ci_visibility_itr_usage == o.ci_visibility_itr_usage &&
667
743
  container_excl_agent_percentage == o.container_excl_agent_percentage &&
668
744
  container_excl_agent_usage == o.container_excl_agent_usage &&
669
745
  container_percentage == o.container_percentage &&
@@ -702,6 +778,8 @@ module DatadogAPIClient::V1
702
778
  infra_host_usage == o.infra_host_usage &&
703
779
  invocations_percentage == o.invocations_percentage &&
704
780
  invocations_usage == o.invocations_usage &&
781
+ mobile_app_testing_percentage == o.mobile_app_testing_percentage &&
782
+ mobile_app_testing_usage == o.mobile_app_testing_usage &&
705
783
  npm_host_percentage == o.npm_host_percentage &&
706
784
  npm_host_usage == o.npm_host_usage &&
707
785
  obs_pipeline_bytes_percentage == o.obs_pipeline_bytes_percentage &&
@@ -712,6 +790,8 @@ module DatadogAPIClient::V1
712
790
  profiled_fargate_usage == o.profiled_fargate_usage &&
713
791
  profiled_host_percentage == o.profiled_host_percentage &&
714
792
  profiled_host_usage == o.profiled_host_usage &&
793
+ sds_scanned_bytes_percentage == o.sds_scanned_bytes_percentage &&
794
+ sds_scanned_bytes_usage == o.sds_scanned_bytes_usage &&
715
795
  snmp_percentage == o.snmp_percentage &&
716
796
  snmp_usage == o.snmp_usage &&
717
797
  universal_service_monitoring_percentage == o.universal_service_monitoring_percentage &&
@@ -724,7 +804,7 @@ module DatadogAPIClient::V1
724
804
  # @return [Integer] Hash code
725
805
  # @!visibility private
726
806
  def hash
727
- [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, obs_pipeline_bytes_percentage, obs_pipeline_bytes_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, vuln_management_hosts_percentage, vuln_management_hosts_usage].hash
807
+ [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, ci_visibility_itr_percentage, ci_visibility_itr_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, mobile_app_testing_percentage, mobile_app_testing_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage].hash
728
808
  end
729
809
  end
730
810
  end
@@ -60,6 +60,9 @@ module DatadogAPIClient::V1
60
60
  # The log query.
61
61
  attr_accessor :security_query
62
62
 
63
+ # Widget style definition.
64
+ attr_accessor :style
65
+
63
66
  # Attribute mapping from ruby-style variable name to JSON key.
64
67
  # @!visibility private
65
68
  def self.attribute_map
@@ -76,7 +79,8 @@ module DatadogAPIClient::V1
76
79
  :'queries' => :'queries',
77
80
  :'response_format' => :'response_format',
78
81
  :'rum_query' => :'rum_query',
79
- :'security_query' => :'security_query'
82
+ :'security_query' => :'security_query',
83
+ :'style' => :'style'
80
84
  }
81
85
  end
82
86
 
@@ -96,7 +100,8 @@ module DatadogAPIClient::V1
96
100
  :'queries' => :'Array<FormulaAndFunctionQueryDefinition>',
97
101
  :'response_format' => :'FormulaAndFunctionResponseFormat',
98
102
  :'rum_query' => :'LogQueryDefinition',
99
- :'security_query' => :'LogQueryDefinition'
103
+ :'security_query' => :'LogQueryDefinition',
104
+ :'style' => :'WidgetStyle'
100
105
  }
101
106
  end
102
107
 
@@ -171,6 +176,10 @@ module DatadogAPIClient::V1
171
176
  if attributes.key?(:'security_query')
172
177
  self.security_query = attributes[:'security_query']
173
178
  end
179
+
180
+ if attributes.key?(:'style')
181
+ self.style = attributes[:'style']
182
+ end
174
183
  end
175
184
 
176
185
  # Checks equality by comparing each attribute.
@@ -191,14 +200,15 @@ module DatadogAPIClient::V1
191
200
  queries == o.queries &&
192
201
  response_format == o.response_format &&
193
202
  rum_query == o.rum_query &&
194
- security_query == o.security_query
203
+ security_query == o.security_query &&
204
+ style == o.style
195
205
  end
196
206
 
197
207
  # Calculates hash code according to all attributes.
198
208
  # @return [Integer] Hash code
199
209
  # @!visibility private
200
210
  def hash
201
- [apm_query, audit_query, event_query, formulas, log_query, network_query, process_query, profile_metrics_query, q, queries, response_format, rum_query, security_query].hash
211
+ [apm_query, audit_query, event_query, formulas, log_query, network_query, process_query, profile_metrics_query, q, queries, response_format, rum_query, security_query, style].hash
202
212
  end
203
213
  end
204
214
  end
@@ -30,6 +30,9 @@ module DatadogAPIClient::V1
30
30
  # Value used by the operator.
31
31
  attr_reader :target
32
32
 
33
+ # Timings scope for response time assertions.
34
+ attr_accessor :timings_scope
35
+
33
36
  # Type of the assertion.
34
37
  attr_reader :type
35
38
 
@@ -40,6 +43,7 @@ module DatadogAPIClient::V1
40
43
  :'operator' => :'operator',
41
44
  :'property' => :'property',
42
45
  :'target' => :'target',
46
+ :'timings_scope' => :'timingsScope',
43
47
  :'type' => :'type'
44
48
  }
45
49
  end
@@ -51,6 +55,7 @@ module DatadogAPIClient::V1
51
55
  :'operator' => :'SyntheticsAssertionOperator',
52
56
  :'property' => :'String',
53
57
  :'target' => :'Object',
58
+ :'timings_scope' => :'SyntheticsAssertionTimingsScope',
54
59
  :'type' => :'SyntheticsAssertionType'
55
60
  }
56
61
  end
@@ -83,6 +88,10 @@ module DatadogAPIClient::V1
83
88
  self.target = attributes[:'target']
84
89
  end
85
90
 
91
+ if attributes.key?(:'timings_scope')
92
+ self.timings_scope = attributes[:'timings_scope']
93
+ end
94
+
86
95
  if attributes.key?(:'type')
87
96
  self.type = attributes[:'type']
88
97
  end
@@ -137,6 +146,7 @@ module DatadogAPIClient::V1
137
146
  operator == o.operator &&
138
147
  property == o.property &&
139
148
  target == o.target &&
149
+ timings_scope == o.timings_scope &&
140
150
  type == o.type
141
151
  end
142
152
 
@@ -144,7 +154,7 @@ module DatadogAPIClient::V1
144
154
  # @return [Integer] Hash code
145
155
  # @!visibility private
146
156
  def hash
147
- [operator, property, target, type].hash
157
+ [operator, property, target, timings_scope, type].hash
148
158
  end
149
159
  end
150
160
  end
@@ -0,0 +1,27 @@
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
+ # Timings scope for response time assertions.
21
+ class SyntheticsAssertionTimingsScope
22
+ include BaseEnumModel
23
+
24
+ ALL = "all".freeze
25
+ WITHOUT_DNS = "withoutDNS".freeze
26
+ end
27
+ end
@@ -75,6 +75,9 @@ module DatadogAPIClient::V1
75
75
  # Number of pings to use per test.
76
76
  attr_reader :number_of_packets
77
77
 
78
+ # Persist cookies across redirects.
79
+ attr_accessor :persist_cookies
80
+
78
81
  # Port to use when performing the test.
79
82
  attr_accessor :port
80
83
 
@@ -123,6 +126,7 @@ module DatadogAPIClient::V1
123
126
  :'method' => :'method',
124
127
  :'no_saving_response_body' => :'noSavingResponseBody',
125
128
  :'number_of_packets' => :'numberOfPackets',
129
+ :'persist_cookies' => :'persistCookies',
126
130
  :'port' => :'port',
127
131
  :'proxy' => :'proxy',
128
132
  :'query' => :'query',
@@ -156,6 +160,7 @@ module DatadogAPIClient::V1
156
160
  :'method' => :'String',
157
161
  :'no_saving_response_body' => :'Boolean',
158
162
  :'number_of_packets' => :'Integer',
163
+ :'persist_cookies' => :'Boolean',
159
164
  :'port' => :'Integer',
160
165
  :'proxy' => :'SyntheticsTestRequestProxy',
161
166
  :'query' => :'Object',
@@ -257,6 +262,10 @@ module DatadogAPIClient::V1
257
262
  self.number_of_packets = attributes[:'number_of_packets']
258
263
  end
259
264
 
265
+ if attributes.key?(:'persist_cookies')
266
+ self.persist_cookies = attributes[:'persist_cookies']
267
+ end
268
+
260
269
  if attributes.key?(:'port')
261
270
  self.port = attributes[:'port']
262
271
  end
@@ -351,6 +360,7 @@ module DatadogAPIClient::V1
351
360
  method == o.method &&
352
361
  no_saving_response_body == o.no_saving_response_body &&
353
362
  number_of_packets == o.number_of_packets &&
363
+ persist_cookies == o.persist_cookies &&
354
364
  port == o.port &&
355
365
  proxy == o.proxy &&
356
366
  query == o.query &&
@@ -365,7 +375,7 @@ module DatadogAPIClient::V1
365
375
  # @return [Integer] Hash code
366
376
  # @!visibility private
367
377
  def hash
368
- [allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, dns_server, dns_server_port, follow_redirects, headers, host, message, metadata, method, no_saving_response_body, number_of_packets, port, proxy, query, servername, service, should_track_hops, timeout, url].hash
378
+ [allow_insecure, basic_auth, body, body_type, call_type, certificate, certificate_domains, compressed_json_descriptor, dns_server, dns_server_port, follow_redirects, headers, host, message, metadata, method, no_saving_response_body, number_of_packets, persist_cookies, port, proxy, query, servername, service, should_track_hops, timeout, url].hash
369
379
  end
370
380
  end
371
381
  end
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
27
27
  # The number of spans for tests in the queried hour.
28
28
  attr_accessor :ci_test_indexed_spans
29
29
 
30
+ # Shows the total count of all active Git committers for Intelligent Test Runner in the current month. A committer is active if they commit at least 3 times in a given month.
31
+ attr_accessor :ci_visibility_itr_committers
32
+
30
33
  # Shows the total count of all active Git committers for Pipelines in the current month. A committer is active if they commit at least 3 times in a given month.
31
34
  attr_accessor :ci_visibility_pipeline_committers
32
35
 
@@ -45,6 +48,7 @@ module DatadogAPIClient::V1
45
48
  {
46
49
  :'ci_pipeline_indexed_spans' => :'ci_pipeline_indexed_spans',
47
50
  :'ci_test_indexed_spans' => :'ci_test_indexed_spans',
51
+ :'ci_visibility_itr_committers' => :'ci_visibility_itr_committers',
48
52
  :'ci_visibility_pipeline_committers' => :'ci_visibility_pipeline_committers',
49
53
  :'ci_visibility_test_committers' => :'ci_visibility_test_committers',
50
54
  :'org_name' => :'org_name',
@@ -58,6 +62,7 @@ module DatadogAPIClient::V1
58
62
  {
59
63
  :'ci_pipeline_indexed_spans' => :'Integer',
60
64
  :'ci_test_indexed_spans' => :'Integer',
65
+ :'ci_visibility_itr_committers' => :'Integer',
61
66
  :'ci_visibility_pipeline_committers' => :'Integer',
62
67
  :'ci_visibility_test_committers' => :'Integer',
63
68
  :'org_name' => :'String',
@@ -71,6 +76,7 @@ module DatadogAPIClient::V1
71
76
  Set.new([
72
77
  :'ci_pipeline_indexed_spans',
73
78
  :'ci_test_indexed_spans',
79
+ :'ci_visibility_itr_committers',
74
80
  :'ci_visibility_pipeline_committers',
75
81
  :'ci_visibility_test_committers',
76
82
  ])
@@ -100,6 +106,10 @@ module DatadogAPIClient::V1
100
106
  self.ci_test_indexed_spans = attributes[:'ci_test_indexed_spans']
101
107
  end
102
108
 
109
+ if attributes.key?(:'ci_visibility_itr_committers')
110
+ self.ci_visibility_itr_committers = attributes[:'ci_visibility_itr_committers']
111
+ end
112
+
103
113
  if attributes.key?(:'ci_visibility_pipeline_committers')
104
114
  self.ci_visibility_pipeline_committers = attributes[:'ci_visibility_pipeline_committers']
105
115
  end
@@ -125,6 +135,7 @@ module DatadogAPIClient::V1
125
135
  self.class == o.class &&
126
136
  ci_pipeline_indexed_spans == o.ci_pipeline_indexed_spans &&
127
137
  ci_test_indexed_spans == o.ci_test_indexed_spans &&
138
+ ci_visibility_itr_committers == o.ci_visibility_itr_committers &&
128
139
  ci_visibility_pipeline_committers == o.ci_visibility_pipeline_committers &&
129
140
  ci_visibility_test_committers == o.ci_visibility_test_committers &&
130
141
  org_name == o.org_name &&
@@ -135,7 +146,7 @@ module DatadogAPIClient::V1
135
146
  # @return [Integer] Hash code
136
147
  # @!visibility private
137
148
  def hash
138
- [ci_pipeline_indexed_spans, ci_test_indexed_spans, ci_visibility_pipeline_committers, ci_visibility_test_committers, org_name, public_id].hash
149
+ [ci_pipeline_indexed_spans, ci_test_indexed_spans, ci_visibility_itr_committers, ci_visibility_pipeline_committers, ci_visibility_test_committers, org_name, public_id].hash
139
150
  end
140
151
  end
141
152
  end
@@ -21,6 +21,9 @@ module DatadogAPIClient::V1
21
21
  class UsageProfilingHour
22
22
  include BaseGenericModel
23
23
 
24
+ # Contains the total number of profiled Azure app services reporting during a given hour.
25
+ attr_accessor :aas_count
26
+
24
27
  # Get average number of container agents for that hour.
25
28
  attr_accessor :avg_container_agent_count
26
29
 
@@ -40,6 +43,7 @@ module DatadogAPIClient::V1
40
43
  # @!visibility private
41
44
  def self.attribute_map
42
45
  {
46
+ :'aas_count' => :'aas_count',
43
47
  :'avg_container_agent_count' => :'avg_container_agent_count',
44
48
  :'host_count' => :'host_count',
45
49
  :'hour' => :'hour',
@@ -52,6 +56,7 @@ module DatadogAPIClient::V1
52
56
  # @!visibility private
53
57
  def self.openapi_types
54
58
  {
59
+ :'aas_count' => :'Integer',
55
60
  :'avg_container_agent_count' => :'Integer',
56
61
  :'host_count' => :'Integer',
57
62
  :'hour' => :'Time',
@@ -64,6 +69,7 @@ module DatadogAPIClient::V1
64
69
  # @!visibility private
65
70
  def self.openapi_nullable
66
71
  Set.new([
72
+ :'aas_count',
67
73
  :'avg_container_agent_count',
68
74
  :'host_count',
69
75
  ])
@@ -85,6 +91,10 @@ module DatadogAPIClient::V1
85
91
  h[k.to_sym] = v
86
92
  }
87
93
 
94
+ if attributes.key?(:'aas_count')
95
+ self.aas_count = attributes[:'aas_count']
96
+ end
97
+
88
98
  if attributes.key?(:'avg_container_agent_count')
89
99
  self.avg_container_agent_count = attributes[:'avg_container_agent_count']
90
100
  end
@@ -112,6 +122,7 @@ module DatadogAPIClient::V1
112
122
  def ==(o)
113
123
  return true if self.equal?(o)
114
124
  self.class == o.class &&
125
+ aas_count == o.aas_count &&
115
126
  avg_container_agent_count == o.avg_container_agent_count &&
116
127
  host_count == o.host_count &&
117
128
  hour == o.hour &&
@@ -123,7 +134,7 @@ module DatadogAPIClient::V1
123
134
  # @return [Integer] Hash code
124
135
  # @!visibility private
125
136
  def hash
126
- [avg_container_agent_count, host_count, hour, org_name, public_id].hash
137
+ [aas_count, avg_container_agent_count, host_count, hour, org_name, public_id].hash
127
138
  end
128
139
  end
129
140
  end