Skip to content

Commit efc4d6d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ec2c66bc of spec repo
1 parent fcf212f commit efc4d6d

5 files changed

+43
-4
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-23 19:10:18.896643",
8-
"spec_repo_commit": "41592dc6"
7+
"regenerated": "2024-09-23 21:02:11.982822",
8+
"spec_repo_commit": "ec2c66bc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-23 19:10:18.910900",
13-
"spec_repo_commit": "41592dc6"
12+
"regenerated": "2024-09-23 21:02:11.996897",
13+
"spec_repo_commit": "ec2c66bc"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -4182,6 +4182,7 @@ components:
41824182
- custom_timeseries_usage
41834183
- cws_containers_usage
41844184
- cws_hosts_usage
4185+
- data_jobs_monitoring_usage
41854186
- dbm_hosts_usage
41864187
- dbm_queries_usage
41874188
- error_tracking_usage
@@ -4255,6 +4256,7 @@ components:
42554256
- CUSTOM_TIMESERIES_USAGE
42564257
- CWS_CONTAINERS_USAGE
42574258
- CWS_HOSTS_USAGE
4259+
- DATA_JOBS_MONITORING_USAGE
42584260
- DBM_HOSTS_USAGE
42594261
- DBM_QUERIES_USAGE
42604262
- ERROR_TRACKING_USAGE
@@ -7935,6 +7937,8 @@ components:
79357937
- cws_containers_usage
79367938
- cws_hosts_percentage
79377939
- cws_hosts_usage
7940+
- data_jobs_monitoring_usage
7941+
- data_jobs_monitoring_percentage
79387942
- dbm_hosts_percentage
79397943
- dbm_hosts_usage
79407944
- dbm_queries_percentage
@@ -8076,6 +8080,8 @@ components:
80768080
- CWS_CONTAINERS_USAGE
80778081
- CWS_HOSTS_PERCENTAGE
80788082
- CWS_HOSTS_USAGE
8083+
- DATA_JOBS_MONITORING_USAGE
8084+
- DATA_JOBS_MONITORING_PERCENTAGE
80798085
- DBM_HOSTS_PERCENTAGE
80808086
- DBM_HOSTS_USAGE
80818087
- DBM_QUERIES_PERCENTAGE
@@ -8363,6 +8369,10 @@ components:
83638369
description: The Cloud Workload Security host usage by tag(s).
83648370
format: double
83658371
type: number
8372+
data_jobs_monitoring_usage:
8373+
description: The Data Jobs Monitoring usage by tag(s).
8374+
format: double
8375+
type: number
83668376
dbm_hosts_percentage:
83678377
description: The percentage of Database Monitoring host usage by tag(s).
83688378
format: double

src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ pub enum HourlyUsageAttributionUsageType {
2929
CUSTOM_TIMESERIES_USAGE,
3030
CWS_CONTAINERS_USAGE,
3131
CWS_HOSTS_USAGE,
32+
DATA_JOBS_MONITORING_USAGE,
3233
DBM_HOSTS_USAGE,
3334
DBM_QUERIES_USAGE,
3435
ERROR_TRACKING_USAGE,
@@ -114,6 +115,7 @@ impl ToString for HourlyUsageAttributionUsageType {
114115
Self::CUSTOM_TIMESERIES_USAGE => String::from("custom_timeseries_usage"),
115116
Self::CWS_CONTAINERS_USAGE => String::from("cws_containers_usage"),
116117
Self::CWS_HOSTS_USAGE => String::from("cws_hosts_usage"),
118+
Self::DATA_JOBS_MONITORING_USAGE => String::from("data_jobs_monitoring_usage"),
117119
Self::DBM_HOSTS_USAGE => String::from("dbm_hosts_usage"),
118120
Self::DBM_QUERIES_USAGE => String::from("dbm_queries_usage"),
119121
Self::ERROR_TRACKING_USAGE => String::from("error_tracking_usage"),
@@ -225,6 +227,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType {
225227
"custom_timeseries_usage" => Self::CUSTOM_TIMESERIES_USAGE,
226228
"cws_containers_usage" => Self::CWS_CONTAINERS_USAGE,
227229
"cws_hosts_usage" => Self::CWS_HOSTS_USAGE,
230+
"data_jobs_monitoring_usage" => Self::DATA_JOBS_MONITORING_USAGE,
228231
"dbm_hosts_usage" => Self::DBM_HOSTS_USAGE,
229232
"dbm_queries_usage" => Self::DBM_QUERIES_USAGE,
230233
"error_tracking_usage" => Self::ERROR_TRACKING_USAGE,

src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs

+8
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ pub enum MonthlyUsageAttributionSupportedMetrics {
4343
CWS_CONTAINERS_USAGE,
4444
CWS_HOSTS_PERCENTAGE,
4545
CWS_HOSTS_USAGE,
46+
DATA_JOBS_MONITORING_USAGE,
47+
DATA_JOBS_MONITORING_PERCENTAGE,
4648
DBM_HOSTS_PERCENTAGE,
4749
DBM_HOSTS_USAGE,
4850
DBM_QUERIES_PERCENTAGE,
@@ -198,6 +200,10 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics {
198200
Self::CWS_CONTAINERS_USAGE => String::from("cws_containers_usage"),
199201
Self::CWS_HOSTS_PERCENTAGE => String::from("cws_hosts_percentage"),
200202
Self::CWS_HOSTS_USAGE => String::from("cws_hosts_usage"),
203+
Self::DATA_JOBS_MONITORING_USAGE => String::from("data_jobs_monitoring_usage"),
204+
Self::DATA_JOBS_MONITORING_PERCENTAGE => {
205+
String::from("data_jobs_monitoring_percentage")
206+
}
201207
Self::DBM_HOSTS_PERCENTAGE => String::from("dbm_hosts_percentage"),
202208
Self::DBM_HOSTS_USAGE => String::from("dbm_hosts_usage"),
203209
Self::DBM_QUERIES_PERCENTAGE => String::from("dbm_queries_percentage"),
@@ -409,6 +415,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics {
409415
"cws_containers_usage" => Self::CWS_CONTAINERS_USAGE,
410416
"cws_hosts_percentage" => Self::CWS_HOSTS_PERCENTAGE,
411417
"cws_hosts_usage" => Self::CWS_HOSTS_USAGE,
418+
"data_jobs_monitoring_usage" => Self::DATA_JOBS_MONITORING_USAGE,
419+
"data_jobs_monitoring_percentage" => Self::DATA_JOBS_MONITORING_PERCENTAGE,
412420
"dbm_hosts_percentage" => Self::DBM_HOSTS_PERCENTAGE,
413421
"dbm_hosts_usage" => Self::DBM_HOSTS_USAGE,
414422
"dbm_queries_percentage" => Self::DBM_QUERIES_PERCENTAGE,

src/datadogV1/model/model_monthly_usage_attribution_values.rs

+18
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ pub struct MonthlyUsageAttributionValues {
137137
/// The Cloud Workload Security host usage by tag(s).
138138
#[serde(rename = "cws_hosts_usage")]
139139
pub cws_hosts_usage: Option<f64>,
140+
/// The Data Jobs Monitoring usage by tag(s).
141+
#[serde(rename = "data_jobs_monitoring_usage")]
142+
pub data_jobs_monitoring_usage: Option<f64>,
140143
/// The percentage of Database Monitoring host usage by tag(s).
141144
#[serde(rename = "dbm_hosts_percentage")]
142145
pub dbm_hosts_percentage: Option<f64>,
@@ -477,6 +480,7 @@ impl MonthlyUsageAttributionValues {
477480
cws_containers_usage: None,
478481
cws_hosts_percentage: None,
479482
cws_hosts_usage: None,
483+
data_jobs_monitoring_usage: None,
480484
dbm_hosts_percentage: None,
481485
dbm_hosts_usage: None,
482486
dbm_queries_percentage: None,
@@ -788,6 +792,11 @@ impl MonthlyUsageAttributionValues {
788792
self
789793
}
790794

795+
pub fn data_jobs_monitoring_usage(mut self, value: f64) -> Self {
796+
self.data_jobs_monitoring_usage = Some(value);
797+
self
798+
}
799+
791800
pub fn dbm_hosts_percentage(mut self, value: f64) -> Self {
792801
self.dbm_hosts_percentage = Some(value);
793802
self
@@ -1342,6 +1351,7 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
13421351
let mut cws_containers_usage: Option<f64> = None;
13431352
let mut cws_hosts_percentage: Option<f64> = None;
13441353
let mut cws_hosts_usage: Option<f64> = None;
1354+
let mut data_jobs_monitoring_usage: Option<f64> = None;
13451355
let mut dbm_hosts_percentage: Option<f64> = None;
13461356
let mut dbm_hosts_usage: Option<f64> = None;
13471357
let mut dbm_queries_percentage: Option<f64> = None;
@@ -1739,6 +1749,13 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
17391749
cws_hosts_usage =
17401750
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
17411751
}
1752+
"data_jobs_monitoring_usage" => {
1753+
if v.is_null() {
1754+
continue;
1755+
}
1756+
data_jobs_monitoring_usage =
1757+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
1758+
}
17421759
"dbm_hosts_percentage" => {
17431760
if v.is_null() {
17441761
continue;
@@ -2461,6 +2478,7 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
24612478
cws_containers_usage,
24622479
cws_hosts_percentage,
24632480
cws_hosts_usage,
2481+
data_jobs_monitoring_usage,
24642482
dbm_hosts_percentage,
24652483
dbm_hosts_usage,
24662484
dbm_queries_percentage,

0 commit comments

Comments
 (0)