datadog_api_client 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +229 -6
  4. data/.generator/schemas/v2/openapi.yaml +1295 -335
  5. data/.github/workflows/docs.yml +2 -0
  6. data/.github/workflows/test.yml +2 -0
  7. data/CHANGELOG.md +19 -0
  8. data/examples/v1/logs-indexes/UpdateLogsIndex.rb +3 -0
  9. data/examples/v1/monitors/CreateMonitor_2012680290.rb +23 -0
  10. data/examples/v1/service-level-objectives/GetSLOHistory.rb +0 -3
  11. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +9 -0
  12. data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -0
  13. data/examples/v2/ci-visibility-pipelines/AggregateCIAppPipelineEvents.rb +33 -0
  14. data/examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb +11 -0
  15. data/examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents_1270618359.rb +10 -0
  16. data/examples/v2/ci-visibility-pipelines/SearchCIAppPipelineEvents.rb +23 -0
  17. data/examples/v2/ci-visibility-pipelines/SearchCIAppPipelineEvents_3246135003.rb +22 -0
  18. data/examples/v2/ci-visibility-tests/AggregateCIAppTestEvents.rb +36 -0
  19. data/examples/v2/ci-visibility-tests/ListCIAppTestEvents.rb +11 -0
  20. data/examples/v2/ci-visibility-tests/ListCIAppTestEvents_3852605281.rb +10 -0
  21. data/examples/v2/ci-visibility-tests/SearchCIAppTestEvents.rb +23 -0
  22. data/examples/v2/ci-visibility-tests/SearchCIAppTestEvents_1675695429.rb +20 -0
  23. data/examples/v2/security-monitoring/GetSecurityMonitoringRule.rb +4 -1
  24. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +23 -33
  25. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +1 -1
  26. data/examples/v2/service-definition/DeleteServiceDefinition.rb +1 -1
  27. data/examples/v2/service-definition/GetServiceDefinition.rb +1 -1
  28. data/examples/v2/usage-metering/GetEstimatedCostByOrg_3186693804.rb +1 -1
  29. data/lib/datadog_api_client/configuration.rb +0 -1
  30. data/lib/datadog_api_client/inflector.rb +49 -0
  31. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +0 -6
  32. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -5
  33. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  34. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +4 -0
  35. data/lib/datadog_api_client/v1/models/monitor_options.rb +11 -1
  36. data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options.rb +98 -0
  37. data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options_evaluation_window.rb +148 -0
  38. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  39. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
  40. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +2 -1
  41. data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_operator.rb +26 -0
  42. data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_target.rb +150 -0
  43. data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_target_target.rb +118 -0
  44. data/lib/datadog_api_client/v1/models/synthetics_step.rb +11 -1
  45. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +2 -2
  46. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  47. data/lib/datadog_api_client/v1/models/synthetics_test_request_body_type.rb +31 -0
  48. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
  49. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
  50. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -1
  51. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +11 -1
  52. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +31 -1
  53. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
  54. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
  55. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
  56. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +283 -0
  57. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +283 -0
  58. data/lib/datadog_api_client/v2/api/cloud_workload_security_api.rb +1 -1
  59. data/lib/datadog_api_client/v2/api/logs_api.rb +6 -0
  60. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +3 -2
  61. data/lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value.rb +64 -0
  62. data/lib/datadog_api_client/v2/models/ci_app_aggregate_bucket_value_timeseries_point.rb +108 -0
  63. data/lib/datadog_api_client/v2/models/ci_app_aggregate_sort.rb +128 -0
  64. data/lib/datadog_api_client/v2/models/ci_app_aggregate_sort_type.rb +27 -0
  65. data/lib/datadog_api_client/v2/models/ci_app_aggregation_function.rb +37 -0
  66. data/lib/datadog_api_client/v2/models/ci_app_compute.rb +140 -0
  67. data/lib/datadog_api_client/v2/models/ci_app_compute_type.rb +27 -0
  68. data/lib/datadog_api_client/v2/models/ci_app_event_attributes.rb +132 -0
  69. data/lib/datadog_api_client/v2/models/ci_app_group_by_histogram.rb +154 -0
  70. data/lib/datadog_api_client/v2/models/ci_app_group_by_missing.rb +63 -0
  71. data/lib/datadog_api_client/v2/models/ci_app_group_by_total.rb +64 -0
  72. data/lib/datadog_api_client/v2/models/ci_app_pipeline_event.rb +118 -0
  73. data/lib/datadog_api_client/v2/models/ci_app_pipeline_event_type_name.rb +26 -0
  74. data/lib/datadog_api_client/v2/models/ci_app_pipeline_events_request.rb +129 -0
  75. data/lib/datadog_api_client/v2/models/ci_app_pipeline_events_response.rb +120 -0
  76. data/lib/datadog_api_client/v2/models/ci_app_pipelines_aggregate_request.rb +143 -0
  77. data/lib/datadog_api_client/v2/models/ci_app_pipelines_aggregation_buckets_response.rb +100 -0
  78. data/lib/datadog_api_client/v2/models/ci_app_pipelines_analytics_aggregate_response.rb +118 -0
  79. data/lib/datadog_api_client/v2/models/ci_app_pipelines_bucket_response.rb +108 -0
  80. data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +160 -0
  81. data/lib/datadog_api_client/v2/models/ci_app_pipelines_query_filter.rb +118 -0
  82. data/lib/datadog_api_client/v2/models/ci_app_query_options.rb +109 -0
  83. data/lib/datadog_api_client/v2/models/ci_app_query_page_options.rb +119 -0
  84. data/lib/datadog_api_client/v2/models/ci_app_response_links.rb +99 -0
  85. data/lib/datadog_api_client/v2/models/ci_app_response_metadata.rb +141 -0
  86. data/lib/datadog_api_client/v2/models/ci_app_response_page.rb +98 -0
  87. data/lib/datadog_api_client/v2/models/ci_app_response_status.rb +27 -0
  88. data/lib/datadog_api_client/v2/models/ci_app_sort.rb +27 -0
  89. data/lib/datadog_api_client/v2/models/ci_app_sort_order.rb +27 -0
  90. data/lib/datadog_api_client/v2/models/ci_app_test_event.rb +118 -0
  91. data/lib/datadog_api_client/v2/models/ci_app_test_event_type_name.rb +26 -0
  92. data/lib/datadog_api_client/v2/models/ci_app_test_events_request.rb +129 -0
  93. data/lib/datadog_api_client/v2/models/ci_app_test_events_response.rb +120 -0
  94. data/lib/datadog_api_client/v2/models/ci_app_tests_aggregate_request.rb +143 -0
  95. data/lib/datadog_api_client/v2/models/ci_app_tests_aggregation_buckets_response.rb +100 -0
  96. data/lib/datadog_api_client/v2/models/ci_app_tests_analytics_aggregate_response.rb +118 -0
  97. data/lib/datadog_api_client/v2/models/ci_app_tests_bucket_response.rb +108 -0
  98. data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +160 -0
  99. data/lib/datadog_api_client/v2/models/ci_app_tests_query_filter.rb +118 -0
  100. data/lib/datadog_api_client/v2/models/ci_app_warning.rb +118 -0
  101. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +11 -1
  102. data/lib/datadog_api_client/v2/models/logs_storage_tier.rb +27 -0
  103. data/lib/datadog_api_client/v2/models/rum_query_filter.rb +2 -2
  104. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +14 -14
  105. data/lib/datadog_api_client/version.rb +1 -1
  106. metadata +62 -3
  107. data/examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb +0 -9
@@ -0,0 +1,118 @@
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
+ # Composed target for `validatesXPath` operator.
21
+ class SyntheticsAssertionXPathTargetTarget
22
+ include BaseGenericModel
23
+
24
+ # Whether the object has unparsed attributes
25
+ # @!visibility private
26
+ attr_accessor :_unparsed
27
+
28
+ # The specific operator to use on the path.
29
+ attr_accessor :operator
30
+
31
+ # The path target value to compare to.
32
+ attr_accessor :target_value
33
+
34
+ # The X path to assert.
35
+ attr_accessor :x_path
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ # @!visibility private
39
+ def self.attribute_map
40
+ {
41
+ :'operator' => :'operator',
42
+ :'target_value' => :'targetValue',
43
+ :'x_path' => :'xPath'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ # @!visibility private
49
+ def self.openapi_types
50
+ {
51
+ :'operator' => :'String',
52
+ :'target_value' => :'Object',
53
+ :'x_path' => :'String'
54
+ }
55
+ end
56
+
57
+ # List of attributes with nullable: true
58
+ # @!visibility private
59
+ def self.openapi_nullable
60
+ Set.new([
61
+ ])
62
+ end
63
+
64
+ # Initializes the object
65
+ # @param attributes [Hash] Model attributes in the form of hash
66
+ # @!visibility private
67
+ def initialize(attributes = {})
68
+ if (!attributes.is_a?(Hash))
69
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsAssertionXPathTargetTarget` initialize method"
70
+ end
71
+
72
+ # check to see if the attribute exists and convert string to symbol for hash key
73
+ attributes = attributes.each_with_object({}) { |(k, v), h|
74
+ if (!self.class.attribute_map.key?(k.to_sym))
75
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SyntheticsAssertionXPathTargetTarget`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
76
+ end
77
+ h[k.to_sym] = v
78
+ }
79
+
80
+ if attributes.key?(:'operator')
81
+ self.operator = attributes[:'operator']
82
+ end
83
+
84
+ if attributes.key?(:'target_value')
85
+ self.target_value = attributes[:'target_value']
86
+ end
87
+
88
+ if attributes.key?(:'x_path')
89
+ self.x_path = attributes[:'x_path']
90
+ end
91
+ end
92
+
93
+ # Check to see if the all the properties in the model are valid
94
+ # @return true if the model is valid
95
+ # @!visibility private
96
+ def valid?
97
+ true
98
+ end
99
+
100
+ # Checks equality by comparing each attribute.
101
+ # @param o [Object] Object to be compared
102
+ # @!visibility private
103
+ def ==(o)
104
+ return true if self.equal?(o)
105
+ self.class == o.class &&
106
+ operator == o.operator &&
107
+ target_value == o.target_value &&
108
+ x_path == o.x_path
109
+ end
110
+
111
+ # Calculates hash code according to all attributes.
112
+ # @return [Integer] Hash code
113
+ # @!visibility private
114
+ def hash
115
+ [operator, target_value, x_path].hash
116
+ end
117
+ end
118
+ end
@@ -34,6 +34,9 @@ module DatadogAPIClient::V1
34
34
  # The name of the step.
35
35
  attr_accessor :name
36
36
 
37
+ # A boolean set to not take a screenshot for the step.
38
+ attr_accessor :no_screenshot
39
+
37
40
  # The parameters of the step.
38
41
  attr_accessor :params
39
42
 
@@ -50,6 +53,7 @@ module DatadogAPIClient::V1
50
53
  :'allow_failure' => :'allowFailure',
51
54
  :'is_critical' => :'isCritical',
52
55
  :'name' => :'name',
56
+ :'no_screenshot' => :'noScreenshot',
53
57
  :'params' => :'params',
54
58
  :'timeout' => :'timeout',
55
59
  :'type' => :'type'
@@ -63,6 +67,7 @@ module DatadogAPIClient::V1
63
67
  :'allow_failure' => :'Boolean',
64
68
  :'is_critical' => :'Boolean',
65
69
  :'name' => :'String',
70
+ :'no_screenshot' => :'Boolean',
66
71
  :'params' => :'Object',
67
72
  :'timeout' => :'Integer',
68
73
  :'type' => :'SyntheticsStepType'
@@ -104,6 +109,10 @@ module DatadogAPIClient::V1
104
109
  self.name = attributes[:'name']
105
110
  end
106
111
 
112
+ if attributes.key?(:'no_screenshot')
113
+ self.no_screenshot = attributes[:'no_screenshot']
114
+ end
115
+
107
116
  if attributes.key?(:'params')
108
117
  self.params = attributes[:'params']
109
118
  end
@@ -133,6 +142,7 @@ module DatadogAPIClient::V1
133
142
  allow_failure == o.allow_failure &&
134
143
  is_critical == o.is_critical &&
135
144
  name == o.name &&
145
+ no_screenshot == o.no_screenshot &&
136
146
  params == o.params &&
137
147
  timeout == o.timeout &&
138
148
  type == o.type
@@ -142,7 +152,7 @@ module DatadogAPIClient::V1
142
152
  # @return [Integer] Hash code
143
153
  # @!visibility private
144
154
  def hash
145
- [allow_failure, is_critical, name, params, timeout, type].hash
155
+ [allow_failure, is_critical, name, no_screenshot, params, timeout, type].hash
146
156
  end
147
157
  end
148
158
  end
@@ -29,7 +29,7 @@ module DatadogAPIClient::V1
29
29
  # certificates.
30
30
  attr_accessor :accept_self_signed
31
31
 
32
- # Allows loading insecure content for an HTTP request.
32
+ # Allows loading insecure content for an HTTP request in an API test.
33
33
  attr_accessor :allow_insecure
34
34
 
35
35
  # For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
@@ -50,7 +50,7 @@ module DatadogAPIClient::V1
50
50
  # For API HTTP test, whether or not the test should follow redirects.
51
51
  attr_accessor :follow_redirects
52
52
 
53
- # Ignore server certificate error.
53
+ # Ignore server certificate error for browser tests.
54
54
  attr_accessor :ignore_server_certificate_error
55
55
 
56
56
  # Timeout before declaring the initial step as failed (in seconds) for browser tests.
@@ -34,6 +34,9 @@ module DatadogAPIClient::V1
34
34
  # Body to include in the test.
35
35
  attr_accessor :body
36
36
 
37
+ # Type of the request body.
38
+ attr_accessor :body_type
39
+
37
40
  # Client certificate to use when performing the test request.
38
41
  attr_accessor :certificate
39
42
 
@@ -103,6 +106,7 @@ module DatadogAPIClient::V1
103
106
  :'allow_insecure' => :'allow_insecure',
104
107
  :'basic_auth' => :'basicAuth',
105
108
  :'body' => :'body',
109
+ :'body_type' => :'bodyType',
106
110
  :'certificate' => :'certificate',
107
111
  :'certificate_domains' => :'certificateDomains',
108
112
  :'dns_server' => :'dnsServer',
@@ -133,6 +137,7 @@ module DatadogAPIClient::V1
133
137
  :'allow_insecure' => :'Boolean',
134
138
  :'basic_auth' => :'SyntheticsBasicAuth',
135
139
  :'body' => :'String',
140
+ :'body_type' => :'SyntheticsTestRequestBodyType',
136
141
  :'certificate' => :'SyntheticsTestRequestCertificate',
137
142
  :'certificate_domains' => :'Array<String>',
138
143
  :'dns_server' => :'String',
@@ -191,6 +196,10 @@ module DatadogAPIClient::V1
191
196
  self.body = attributes[:'body']
192
197
  end
193
198
 
199
+ if attributes.key?(:'body_type')
200
+ self.body_type = attributes[:'body_type']
201
+ end
202
+
194
203
  if attributes.key?(:'certificate')
195
204
  self.certificate = attributes[:'certificate']
196
205
  end
@@ -320,6 +329,7 @@ module DatadogAPIClient::V1
320
329
  allow_insecure == o.allow_insecure &&
321
330
  basic_auth == o.basic_auth &&
322
331
  body == o.body &&
332
+ body_type == o.body_type &&
323
333
  certificate == o.certificate &&
324
334
  certificate_domains == o.certificate_domains &&
325
335
  dns_server == o.dns_server &&
@@ -346,7 +356,7 @@ module DatadogAPIClient::V1
346
356
  # @return [Integer] Hash code
347
357
  # @!visibility private
348
358
  def hash
349
- [allow_insecure, basic_auth, body, certificate, certificate_domains, 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
359
+ [allow_insecure, basic_auth, body, body_type, certificate, certificate_domains, 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
350
360
  end
351
361
  end
352
362
  end
@@ -0,0 +1,31 @@
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
+ # Type of the request body.
21
+ class SyntheticsTestRequestBodyType
22
+ include BaseEnumModel
23
+
24
+ TEXT_PLAIN = "text/plain".freeze
25
+ APPLICATION_JSON = "application/json".freeze
26
+ TEXT_XML = "text/xml".freeze
27
+ TEXT_HTML = "text/html".freeze
28
+ APPLICATION_X_WWW_FORM_URLENCODED = "application/x-www-form-urlencoded".freeze
29
+ GRAPHQL = "graphql".freeze
30
+ end
31
+ end
@@ -53,5 +53,7 @@ module DatadogAPIClient::V1
53
53
  ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze
54
54
  APM_FARGATE_USAGE = "apm_fargate_usage".freeze
55
55
  APM_FARGATE_PERCENTAGE = "apm_fargate_percentage".freeze
56
+ APPSEC_FARGATE_USAGE = "appsec_fargate_usage".freeze
57
+ APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
56
58
  end
57
59
  end
@@ -63,6 +63,8 @@ module DatadogAPIClient::V1
63
63
  ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze
64
64
  APM_FARGATE_USAGE = "apm_fargate_usage".freeze
65
65
  APM_FARGATE_PERCENTAGE = "apm_fargate_percentage".freeze
66
+ APPSEC_FARGATE_USAGE = "appsec_fargate_usage".freeze
67
+ APPSEC_FARGATE_PERCENTAGE = "appsec_fargate_percentage".freeze
66
68
  ALL = "*".freeze
67
69
  end
68
70
  end
@@ -43,6 +43,12 @@ module DatadogAPIClient::V1
43
43
  # The APM host usage by tag(s).
44
44
  attr_accessor :apm_host_usage
45
45
 
46
+ # The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
47
+ attr_accessor :appsec_fargate_percentage
48
+
49
+ # The Application Security Monitoring ECS Fargate task usage by tag(s).
50
+ attr_accessor :appsec_fargate_usage
51
+
46
52
  # The percentage of Application Security Monitoring host usage by tag(s).
47
53
  attr_accessor :appsec_percentage
48
54
 
@@ -179,6 +185,8 @@ module DatadogAPIClient::V1
179
185
  :'apm_fargate_usage' => :'apm_fargate_usage',
180
186
  :'apm_host_percentage' => :'apm_host_percentage',
181
187
  :'apm_host_usage' => :'apm_host_usage',
188
+ :'appsec_fargate_percentage' => :'appsec_fargate_percentage',
189
+ :'appsec_fargate_usage' => :'appsec_fargate_usage',
182
190
  :'appsec_percentage' => :'appsec_percentage',
183
191
  :'appsec_usage' => :'appsec_usage',
184
192
  :'browser_percentage' => :'browser_percentage',
@@ -234,6 +242,8 @@ module DatadogAPIClient::V1
234
242
  :'apm_fargate_usage' => :'Float',
235
243
  :'apm_host_percentage' => :'Float',
236
244
  :'apm_host_usage' => :'Float',
245
+ :'appsec_fargate_percentage' => :'Float',
246
+ :'appsec_fargate_usage' => :'Float',
237
247
  :'appsec_percentage' => :'Float',
238
248
  :'appsec_usage' => :'Float',
239
249
  :'browser_percentage' => :'Float',
@@ -326,6 +336,14 @@ module DatadogAPIClient::V1
326
336
  self.apm_host_usage = attributes[:'apm_host_usage']
327
337
  end
328
338
 
339
+ if attributes.key?(:'appsec_fargate_percentage')
340
+ self.appsec_fargate_percentage = attributes[:'appsec_fargate_percentage']
341
+ end
342
+
343
+ if attributes.key?(:'appsec_fargate_usage')
344
+ self.appsec_fargate_usage = attributes[:'appsec_fargate_usage']
345
+ end
346
+
329
347
  if attributes.key?(:'appsec_percentage')
330
348
  self.appsec_percentage = attributes[:'appsec_percentage']
331
349
  end
@@ -514,6 +532,8 @@ module DatadogAPIClient::V1
514
532
  apm_fargate_usage == o.apm_fargate_usage &&
515
533
  apm_host_percentage == o.apm_host_percentage &&
516
534
  apm_host_usage == o.apm_host_usage &&
535
+ appsec_fargate_percentage == o.appsec_fargate_percentage &&
536
+ appsec_fargate_usage == o.appsec_fargate_usage &&
517
537
  appsec_percentage == o.appsec_percentage &&
518
538
  appsec_usage == o.appsec_usage &&
519
539
  browser_percentage == o.browser_percentage &&
@@ -562,7 +582,7 @@ module DatadogAPIClient::V1
562
582
  # @return [Integer] Hash code
563
583
  # @!visibility private
564
584
  def hash
565
- [api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, cspm_container_percentage, cspm_container_usage, cspm_host_percentage, cspm_host_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_container_percentage, cws_container_usage, cws_host_percentage, cws_host_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, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_hosts_percentage, profiled_hosts_usage, snmp_percentage, snmp_usage].hash
585
+ [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_percentage, container_usage, cspm_container_percentage, cspm_container_usage, cspm_host_percentage, cspm_host_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_container_percentage, cws_container_usage, cws_host_percentage, cws_host_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, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_hosts_percentage, profiled_hosts_usage, snmp_percentage, snmp_usage].hash
566
586
  end
567
587
  end
568
588
  end
@@ -28,6 +28,9 @@ module DatadogAPIClient::V1
28
28
  # The high-water mark of APM ECS Fargate tasks during the given hour.
29
29
  attr_accessor :apm_fargate_count
30
30
 
31
+ # The Application Security Monitoring ECS Fargate tasks during the given hour.
32
+ attr_accessor :appsec_fargate_count
33
+
31
34
  # The average profiled task count for Fargate Profiling.
32
35
  attr_accessor :avg_profiled_fargate_tasks
33
36
 
@@ -48,6 +51,7 @@ module DatadogAPIClient::V1
48
51
  def self.attribute_map
49
52
  {
50
53
  :'apm_fargate_count' => :'apm_fargate_count',
54
+ :'appsec_fargate_count' => :'appsec_fargate_count',
51
55
  :'avg_profiled_fargate_tasks' => :'avg_profiled_fargate_tasks',
52
56
  :'hour' => :'hour',
53
57
  :'org_name' => :'org_name',
@@ -61,6 +65,7 @@ module DatadogAPIClient::V1
61
65
  def self.openapi_types
62
66
  {
63
67
  :'apm_fargate_count' => :'Integer',
68
+ :'appsec_fargate_count' => :'Integer',
64
69
  :'avg_profiled_fargate_tasks' => :'Integer',
65
70
  :'hour' => :'Time',
66
71
  :'org_name' => :'String',
@@ -96,6 +101,10 @@ module DatadogAPIClient::V1
96
101
  self.apm_fargate_count = attributes[:'apm_fargate_count']
97
102
  end
98
103
 
104
+ if attributes.key?(:'appsec_fargate_count')
105
+ self.appsec_fargate_count = attributes[:'appsec_fargate_count']
106
+ end
107
+
99
108
  if attributes.key?(:'avg_profiled_fargate_tasks')
100
109
  self.avg_profiled_fargate_tasks = attributes[:'avg_profiled_fargate_tasks']
101
110
  end
@@ -131,6 +140,7 @@ module DatadogAPIClient::V1
131
140
  return true if self.equal?(o)
132
141
  self.class == o.class &&
133
142
  apm_fargate_count == o.apm_fargate_count &&
143
+ appsec_fargate_count == o.appsec_fargate_count &&
134
144
  avg_profiled_fargate_tasks == o.avg_profiled_fargate_tasks &&
135
145
  hour == o.hour &&
136
146
  org_name == o.org_name &&
@@ -142,7 +152,7 @@ module DatadogAPIClient::V1
142
152
  # @return [Integer] Hash code
143
153
  # @!visibility private
144
154
  def hash
145
- [apm_fargate_count, avg_profiled_fargate_tasks, hour, org_name, public_id, tasks_count].hash
155
+ [apm_fargate_count, appsec_fargate_count, avg_profiled_fargate_tasks, hour, org_name, public_id, tasks_count].hash
146
156
  end
147
157
  end
148
158
  end
@@ -25,6 +25,12 @@ module DatadogAPIClient::V1
25
25
  # @!visibility private
26
26
  attr_accessor :_unparsed
27
27
 
28
+ # The total number of bytes scanned of APM usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
29
+ attr_accessor :apm_scanned_bytes
30
+
31
+ # The total number of bytes scanned of Events usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
32
+ attr_accessor :events_scanned_bytes
33
+
28
34
  # The hour for the usage.
29
35
  attr_accessor :hour
30
36
 
@@ -37,6 +43,9 @@ module DatadogAPIClient::V1
37
43
  # The organization public ID.
38
44
  attr_accessor :public_id
39
45
 
46
+ # The total number of bytes scanned of RUM usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
47
+ attr_accessor :rum_scanned_bytes
48
+
40
49
  # The total number of bytes scanned across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour.
41
50
  attr_accessor :total_scanned_bytes
42
51
 
@@ -44,10 +53,13 @@ module DatadogAPIClient::V1
44
53
  # @!visibility private
45
54
  def self.attribute_map
46
55
  {
56
+ :'apm_scanned_bytes' => :'apm_scanned_bytes',
57
+ :'events_scanned_bytes' => :'events_scanned_bytes',
47
58
  :'hour' => :'hour',
48
59
  :'logs_scanned_bytes' => :'logs_scanned_bytes',
49
60
  :'org_name' => :'org_name',
50
61
  :'public_id' => :'public_id',
62
+ :'rum_scanned_bytes' => :'rum_scanned_bytes',
51
63
  :'total_scanned_bytes' => :'total_scanned_bytes'
52
64
  }
53
65
  end
@@ -56,10 +68,13 @@ module DatadogAPIClient::V1
56
68
  # @!visibility private
57
69
  def self.openapi_types
58
70
  {
71
+ :'apm_scanned_bytes' => :'Integer',
72
+ :'events_scanned_bytes' => :'Integer',
59
73
  :'hour' => :'Time',
60
74
  :'logs_scanned_bytes' => :'Integer',
61
75
  :'org_name' => :'String',
62
76
  :'public_id' => :'String',
77
+ :'rum_scanned_bytes' => :'Integer',
63
78
  :'total_scanned_bytes' => :'Integer'
64
79
  }
65
80
  end
@@ -87,6 +102,14 @@ module DatadogAPIClient::V1
87
102
  h[k.to_sym] = v
88
103
  }
89
104
 
105
+ if attributes.key?(:'apm_scanned_bytes')
106
+ self.apm_scanned_bytes = attributes[:'apm_scanned_bytes']
107
+ end
108
+
109
+ if attributes.key?(:'events_scanned_bytes')
110
+ self.events_scanned_bytes = attributes[:'events_scanned_bytes']
111
+ end
112
+
90
113
  if attributes.key?(:'hour')
91
114
  self.hour = attributes[:'hour']
92
115
  end
@@ -103,6 +126,10 @@ module DatadogAPIClient::V1
103
126
  self.public_id = attributes[:'public_id']
104
127
  end
105
128
 
129
+ if attributes.key?(:'rum_scanned_bytes')
130
+ self.rum_scanned_bytes = attributes[:'rum_scanned_bytes']
131
+ end
132
+
106
133
  if attributes.key?(:'total_scanned_bytes')
107
134
  self.total_scanned_bytes = attributes[:'total_scanned_bytes']
108
135
  end
@@ -121,10 +148,13 @@ module DatadogAPIClient::V1
121
148
  def ==(o)
122
149
  return true if self.equal?(o)
123
150
  self.class == o.class &&
151
+ apm_scanned_bytes == o.apm_scanned_bytes &&
152
+ events_scanned_bytes == o.events_scanned_bytes &&
124
153
  hour == o.hour &&
125
154
  logs_scanned_bytes == o.logs_scanned_bytes &&
126
155
  org_name == o.org_name &&
127
156
  public_id == o.public_id &&
157
+ rum_scanned_bytes == o.rum_scanned_bytes &&
128
158
  total_scanned_bytes == o.total_scanned_bytes
129
159
  end
130
160
 
@@ -132,7 +162,7 @@ module DatadogAPIClient::V1
132
162
  # @return [Integer] Hash code
133
163
  # @!visibility private
134
164
  def hash
135
- [hour, logs_scanned_bytes, org_name, public_id, total_scanned_bytes].hash
165
+ [apm_scanned_bytes, events_scanned_bytes, hour, logs_scanned_bytes, org_name, public_id, rum_scanned_bytes, total_scanned_bytes].hash
136
166
  end
137
167
  end
138
168
  end
@@ -37,6 +37,9 @@ module DatadogAPIClient::V1
37
37
  # Shows the 99th percentile of all distinct APM hosts over all hours in the current date for all organizations.
38
38
  attr_accessor :apm_host_top99p
39
39
 
40
+ # Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current date for all organizations.
41
+ attr_accessor :appsec_fargate_count_avg
42
+
40
43
  # Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.
41
44
  attr_accessor :audit_logs_lines_indexed_sum
42
45
 
@@ -202,9 +205,18 @@ module DatadogAPIClient::V1
202
205
  # Shows the sum of all browser and mobile RUM units over all hours in the current date for all organizations.
203
206
  attr_accessor :rum_units_sum
204
207
 
208
+ # Sum of all APM bytes scanned with sensitive data scanner over all hours in the current date for all organizations.
209
+ attr_accessor :sds_apm_scanned_bytes_sum
210
+
211
+ # Sum of all event stream events bytes scanned with sensitive data scanner over all hours in the current date for all organizations.
212
+ attr_accessor :sds_events_scanned_bytes_sum
213
+
205
214
  # Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations.
206
215
  attr_accessor :sds_logs_scanned_bytes_sum
207
216
 
217
+ # Sum of all RUM bytes scanned with sensitive data scanner over all hours in the current date for all organizations.
218
+ attr_accessor :sds_rum_scanned_bytes_sum
219
+
208
220
  # Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations.
209
221
  attr_accessor :sds_total_scanned_bytes_sum
210
222
 
@@ -231,6 +243,7 @@ module DatadogAPIClient::V1
231
243
  :'apm_azure_app_service_host_top99p' => :'apm_azure_app_service_host_top99p',
232
244
  :'apm_fargate_count_avg' => :'apm_fargate_count_avg',
233
245
  :'apm_host_top99p' => :'apm_host_top99p',
246
+ :'appsec_fargate_count_avg' => :'appsec_fargate_count_avg',
234
247
  :'audit_logs_lines_indexed_sum' => :'audit_logs_lines_indexed_sum',
235
248
  :'avg_profiled_fargate_tasks' => :'avg_profiled_fargate_tasks',
236
249
  :'aws_host_top99p' => :'aws_host_top99p',
@@ -286,7 +299,10 @@ module DatadogAPIClient::V1
286
299
  :'rum_session_count_sum' => :'rum_session_count_sum',
287
300
  :'rum_total_session_count_sum' => :'rum_total_session_count_sum',
288
301
  :'rum_units_sum' => :'rum_units_sum',
302
+ :'sds_apm_scanned_bytes_sum' => :'sds_apm_scanned_bytes_sum',
303
+ :'sds_events_scanned_bytes_sum' => :'sds_events_scanned_bytes_sum',
289
304
  :'sds_logs_scanned_bytes_sum' => :'sds_logs_scanned_bytes_sum',
305
+ :'sds_rum_scanned_bytes_sum' => :'sds_rum_scanned_bytes_sum',
290
306
  :'sds_total_scanned_bytes_sum' => :'sds_total_scanned_bytes_sum',
291
307
  :'synthetics_browser_check_calls_count_sum' => :'synthetics_browser_check_calls_count_sum',
292
308
  :'synthetics_check_calls_count_sum' => :'synthetics_check_calls_count_sum',
@@ -304,6 +320,7 @@ module DatadogAPIClient::V1
304
320
  :'apm_azure_app_service_host_top99p' => :'Integer',
305
321
  :'apm_fargate_count_avg' => :'Integer',
306
322
  :'apm_host_top99p' => :'Integer',
323
+ :'appsec_fargate_count_avg' => :'Integer',
307
324
  :'audit_logs_lines_indexed_sum' => :'Integer',
308
325
  :'avg_profiled_fargate_tasks' => :'Integer',
309
326
  :'aws_host_top99p' => :'Integer',
@@ -359,7 +376,10 @@ module DatadogAPIClient::V1
359
376
  :'rum_session_count_sum' => :'Integer',
360
377
  :'rum_total_session_count_sum' => :'Integer',
361
378
  :'rum_units_sum' => :'Integer',
379
+ :'sds_apm_scanned_bytes_sum' => :'Integer',
380
+ :'sds_events_scanned_bytes_sum' => :'Integer',
362
381
  :'sds_logs_scanned_bytes_sum' => :'Integer',
382
+ :'sds_rum_scanned_bytes_sum' => :'Integer',
363
383
  :'sds_total_scanned_bytes_sum' => :'Integer',
364
384
  :'synthetics_browser_check_calls_count_sum' => :'Integer',
365
385
  :'synthetics_check_calls_count_sum' => :'Integer',
@@ -408,6 +428,10 @@ module DatadogAPIClient::V1
408
428
  self.apm_host_top99p = attributes[:'apm_host_top99p']
409
429
  end
410
430
 
431
+ if attributes.key?(:'appsec_fargate_count_avg')
432
+ self.appsec_fargate_count_avg = attributes[:'appsec_fargate_count_avg']
433
+ end
434
+
411
435
  if attributes.key?(:'audit_logs_lines_indexed_sum')
412
436
  self.audit_logs_lines_indexed_sum = attributes[:'audit_logs_lines_indexed_sum']
413
437
  end
@@ -630,10 +654,22 @@ module DatadogAPIClient::V1
630
654
  self.rum_units_sum = attributes[:'rum_units_sum']
631
655
  end
632
656
 
657
+ if attributes.key?(:'sds_apm_scanned_bytes_sum')
658
+ self.sds_apm_scanned_bytes_sum = attributes[:'sds_apm_scanned_bytes_sum']
659
+ end
660
+
661
+ if attributes.key?(:'sds_events_scanned_bytes_sum')
662
+ self.sds_events_scanned_bytes_sum = attributes[:'sds_events_scanned_bytes_sum']
663
+ end
664
+
633
665
  if attributes.key?(:'sds_logs_scanned_bytes_sum')
634
666
  self.sds_logs_scanned_bytes_sum = attributes[:'sds_logs_scanned_bytes_sum']
635
667
  end
636
668
 
669
+ if attributes.key?(:'sds_rum_scanned_bytes_sum')
670
+ self.sds_rum_scanned_bytes_sum = attributes[:'sds_rum_scanned_bytes_sum']
671
+ end
672
+
637
673
  if attributes.key?(:'sds_total_scanned_bytes_sum')
638
674
  self.sds_total_scanned_bytes_sum = attributes[:'sds_total_scanned_bytes_sum']
639
675
  end
@@ -676,6 +712,7 @@ module DatadogAPIClient::V1
676
712
  apm_azure_app_service_host_top99p == o.apm_azure_app_service_host_top99p &&
677
713
  apm_fargate_count_avg == o.apm_fargate_count_avg &&
678
714
  apm_host_top99p == o.apm_host_top99p &&
715
+ appsec_fargate_count_avg == o.appsec_fargate_count_avg &&
679
716
  audit_logs_lines_indexed_sum == o.audit_logs_lines_indexed_sum &&
680
717
  avg_profiled_fargate_tasks == o.avg_profiled_fargate_tasks &&
681
718
  aws_host_top99p == o.aws_host_top99p &&
@@ -731,7 +768,10 @@ module DatadogAPIClient::V1
731
768
  rum_session_count_sum == o.rum_session_count_sum &&
732
769
  rum_total_session_count_sum == o.rum_total_session_count_sum &&
733
770
  rum_units_sum == o.rum_units_sum &&
771
+ sds_apm_scanned_bytes_sum == o.sds_apm_scanned_bytes_sum &&
772
+ sds_events_scanned_bytes_sum == o.sds_events_scanned_bytes_sum &&
734
773
  sds_logs_scanned_bytes_sum == o.sds_logs_scanned_bytes_sum &&
774
+ sds_rum_scanned_bytes_sum == o.sds_rum_scanned_bytes_sum &&
735
775
  sds_total_scanned_bytes_sum == o.sds_total_scanned_bytes_sum &&
736
776
  synthetics_browser_check_calls_count_sum == o.synthetics_browser_check_calls_count_sum &&
737
777
  synthetics_check_calls_count_sum == o.synthetics_check_calls_count_sum &&
@@ -744,7 +784,7 @@ module DatadogAPIClient::V1
744
784
  # @return [Integer] Hash code
745
785
  # @!visibility private
746
786
  def hash
747
- [agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
787
+ [agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
748
788
  end
749
789
  end
750
790
  end