Skip to content

Commit 467474e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add Bits AI Investigations and On-Call to API specs (#1007)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2f21395 commit 467474e

File tree

5 files changed

+140
-2
lines changed

5 files changed

+140
-2
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20762,6 +20762,11 @@ components:
2076220762
current date for all organizations.
2076320763
format: int64
2076420764
type: integer
20765+
bits_ai_investigations_sum:
20766+
description: Shows the sum of all Bits AI Investigations over all hours
20767+
in the current date for all organizations.
20768+
format: int64
20769+
type: integer
2076520770
browser_rum_lite_session_count_sum:
2076620771
deprecated: true
2076720772
description: Shows the sum of all browser lite sessions over all hours in
@@ -21309,6 +21314,11 @@ components:
2130921314
hosts over all hours in the current date for the given org.
2131021315
format: int64
2131121316
type: integer
21317+
on_call_seat_hwm:
21318+
description: Shows the high-water mark of On-Call seats over all hours in
21319+
the current date for all organizations.
21320+
format: int64
21321+
type: integer
2131221322
online_archive_events_count_sum:
2131321323
description: Sum of all online archived events over all hours in the current
2131421324
date for all organizations.
@@ -21850,6 +21860,11 @@ components:
2185021860
current date for the given org.
2185121861
format: int64
2185221862
type: integer
21863+
bits_ai_investigations_sum:
21864+
description: Shows the sum of all Bits AI Investigations over all hours
21865+
in the current date for the given org.
21866+
format: int64
21867+
type: integer
2185321868
browser_rum_lite_session_count_sum:
2185421869
deprecated: true
2185521870
description: Shows the sum of all browser lite sessions over all hours in
@@ -22406,6 +22421,11 @@ components:
2240622421
hosts over all hours in the current date for the given org.
2240722422
format: int64
2240822423
type: integer
22424+
on_call_seat_hwm:
22425+
description: Shows the high-water mark of On-Call seats over all hours in
22426+
the current date for the given org.
22427+
format: int64
22428+
type: integer
2240922429
online_archive_events_count_sum:
2241022430
description: Sum of all online archived events over all hours in the current
2241122431
date for the given org.
@@ -22947,6 +22967,11 @@ components:
2294722967
current month for all organizations.
2294822968
format: int64
2294922969
type: integer
22970+
bits_ai_investigations_agg_sum:
22971+
description: Shows the sum of all Bits AI Investigations over all hours
22972+
in the current month for all organizations.
22973+
format: int64
22974+
type: integer
2295022975
browser_rum_lite_session_count_agg_sum:
2295122976
deprecated: true
2295222977
description: Shows the sum of all browser lite sessions over all hours in
@@ -23524,6 +23549,11 @@ components:
2352423549
over all hours in the current months for all organizations
2352523550
format: int64
2352623551
type: integer
23552+
on_call_seat_hwm_sum:
23553+
description: Shows the sum of the high-water marks of On-Call seats over
23554+
all hours in the current month for all organizations.
23555+
format: int64
23556+
type: integer
2352723557
online_archive_events_count_agg_sum:
2352823558
description: Sum of all online archived events over all hours in the current
2352923559
month for all organizations.

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81263,8 +81263,8 @@ paths:
8126381263
- description: 'Comma separated list of product families to retrieve. Available
8126481264
families are `all`, `analyzed_logs`,
8126581265

81266-
`application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`,
81267-
`cloud_siem`,
81266+
`application_security`, `audit_trail`, `bits_ai`, `serverless`, `ci_app`,
81267+
`cloud_cost_management`, `cloud_siem`,
8126881268

8126981269
`csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`,
8127081270
`cws`, `dbm`, `error_tracking`,

src/datadogV1/model/model_usage_summary_date.rs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ pub struct UsageSummaryDate {
5757
/// Shows the sum of all log bytes ingested over all hours in the current date for all organizations.
5858
#[serde(rename = "billable_ingested_bytes_sum")]
5959
pub billable_ingested_bytes_sum: Option<i64>,
60+
/// Shows the sum of all Bits AI Investigations over all hours in the current date for all organizations.
61+
#[serde(rename = "bits_ai_investigations_sum")]
62+
pub bits_ai_investigations_sum: Option<i64>,
6063
/// Shows the sum of all browser lite sessions over all hours in the current date for all organizations (To be deprecated on October 1st, 2024).
6164
#[deprecated]
6265
#[serde(rename = "browser_rum_lite_session_count_sum")]
@@ -377,6 +380,9 @@ pub struct UsageSummaryDate {
377380
/// Shows the 99th percentile of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
378381
#[serde(rename = "oci_host_top99p")]
379382
pub oci_host_top99p: Option<i64>,
383+
/// Shows the high-water mark of On-Call seats over all hours in the current date for all organizations.
384+
#[serde(rename = "on_call_seat_hwm")]
385+
pub on_call_seat_hwm: Option<i64>,
380386
/// Sum of all online archived events over all hours in the current date for all organizations.
381387
#[serde(rename = "online_archive_events_count_sum")]
382388
pub online_archive_events_count_sum: Option<i64>,
@@ -654,6 +660,7 @@ impl UsageSummaryDate {
654660
aws_lambda_invocations_sum: None,
655661
azure_app_service_top99p: None,
656662
billable_ingested_bytes_sum: None,
663+
bits_ai_investigations_sum: None,
657664
browser_rum_lite_session_count_sum: None,
658665
browser_rum_replay_session_count_sum: None,
659666
browser_rum_units_sum: None,
@@ -757,6 +764,7 @@ impl UsageSummaryDate {
757764
observability_pipelines_bytes_processed_sum: None,
758765
oci_host_sum: None,
759766
oci_host_top99p: None,
767+
on_call_seat_hwm: None,
760768
online_archive_events_count_sum: None,
761769
opentelemetry_apm_host_top99p: None,
762770
opentelemetry_host_top99p: None,
@@ -935,6 +943,12 @@ impl UsageSummaryDate {
935943
self
936944
}
937945

946+
#[allow(deprecated)]
947+
pub fn bits_ai_investigations_sum(mut self, value: i64) -> Self {
948+
self.bits_ai_investigations_sum = Some(value);
949+
self
950+
}
951+
938952
#[allow(deprecated)]
939953
pub fn browser_rum_lite_session_count_sum(mut self, value: i64) -> Self {
940954
self.browser_rum_lite_session_count_sum = Some(value);
@@ -1556,6 +1570,12 @@ impl UsageSummaryDate {
15561570
self
15571571
}
15581572

1573+
#[allow(deprecated)]
1574+
pub fn on_call_seat_hwm(mut self, value: i64) -> Self {
1575+
self.on_call_seat_hwm = Some(value);
1576+
self
1577+
}
1578+
15591579
#[allow(deprecated)]
15601580
pub fn online_archive_events_count_sum(mut self, value: i64) -> Self {
15611581
self.online_archive_events_count_sum = Some(value);
@@ -2128,6 +2148,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
21282148
let mut aws_lambda_invocations_sum: Option<i64> = None;
21292149
let mut azure_app_service_top99p: Option<i64> = None;
21302150
let mut billable_ingested_bytes_sum: Option<i64> = None;
2151+
let mut bits_ai_investigations_sum: Option<i64> = None;
21312152
let mut browser_rum_lite_session_count_sum: Option<i64> = None;
21322153
let mut browser_rum_replay_session_count_sum: Option<i64> = None;
21332154
let mut browser_rum_units_sum: Option<i64> = None;
@@ -2232,6 +2253,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
22322253
let mut observability_pipelines_bytes_processed_sum: Option<i64> = None;
22332254
let mut oci_host_sum: Option<i64> = None;
22342255
let mut oci_host_top99p: Option<i64> = None;
2256+
let mut on_call_seat_hwm: Option<i64> = None;
22352257
let mut online_archive_events_count_sum: Option<i64> = None;
22362258
let mut opentelemetry_apm_host_top99p: Option<i64> = None;
22372259
let mut opentelemetry_host_top99p: Option<i64> = None;
@@ -2424,6 +2446,12 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
24242446
}
24252447
billable_ingested_bytes_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
24262448
},
2449+
"bits_ai_investigations_sum" => {
2450+
if v.is_null() {
2451+
continue;
2452+
}
2453+
bits_ai_investigations_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2454+
},
24272455
"browser_rum_lite_session_count_sum" => {
24282456
if v.is_null() {
24292457
continue;
@@ -3042,6 +3070,12 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
30423070
}
30433071
oci_host_top99p = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
30443072
},
3073+
"on_call_seat_hwm" => {
3074+
if v.is_null() {
3075+
continue;
3076+
}
3077+
on_call_seat_hwm = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
3078+
},
30453079
"online_archive_events_count_sum" => {
30463080
if v.is_null() {
30473081
continue;
@@ -3565,6 +3599,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
35653599
aws_lambda_invocations_sum,
35663600
azure_app_service_top99p,
35673601
billable_ingested_bytes_sum,
3602+
bits_ai_investigations_sum,
35683603
browser_rum_lite_session_count_sum,
35693604
browser_rum_replay_session_count_sum,
35703605
browser_rum_units_sum,
@@ -3668,6 +3703,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
36683703
observability_pipelines_bytes_processed_sum,
36693704
oci_host_sum,
36703705
oci_host_top99p,
3706+
on_call_seat_hwm,
36713707
online_archive_events_count_sum,
36723708
opentelemetry_apm_host_top99p,
36733709
opentelemetry_host_top99p,

src/datadogV1/model/model_usage_summary_date_org.rs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ pub struct UsageSummaryDateOrg {
6363
/// Shows the sum of all log bytes ingested over all hours in the current date for the given org.
6464
#[serde(rename = "billable_ingested_bytes_sum")]
6565
pub billable_ingested_bytes_sum: Option<i64>,
66+
/// Shows the sum of all Bits AI Investigations over all hours in the current date for the given org.
67+
#[serde(rename = "bits_ai_investigations_sum")]
68+
pub bits_ai_investigations_sum: Option<i64>,
6669
/// Shows the sum of all browser lite sessions over all hours in the current date for the given org (To be deprecated on October 1st, 2024).
6770
#[deprecated]
6871
#[serde(rename = "browser_rum_lite_session_count_sum")]
@@ -393,6 +396,9 @@ pub struct UsageSummaryDateOrg {
393396
/// Shows the 99th percentile of all Oracle Cloud Infrastructure hosts over all hours in the current date for the given org.
394397
#[serde(rename = "oci_host_top99p")]
395398
pub oci_host_top99p: Option<i64>,
399+
/// Shows the high-water mark of On-Call seats over all hours in the current date for the given org.
400+
#[serde(rename = "on_call_seat_hwm")]
401+
pub on_call_seat_hwm: Option<i64>,
396402
/// Sum of all online archived events over all hours in the current date for the given org.
397403
#[serde(rename = "online_archive_events_count_sum")]
398404
pub online_archive_events_count_sum: Option<i64>,
@@ -675,6 +681,7 @@ impl UsageSummaryDateOrg {
675681
aws_lambda_invocations_sum: None,
676682
azure_app_service_top99p: None,
677683
billable_ingested_bytes_sum: None,
684+
bits_ai_investigations_sum: None,
678685
browser_rum_lite_session_count_sum: None,
679686
browser_rum_replay_session_count_sum: None,
680687
browser_rum_units_sum: None,
@@ -781,6 +788,7 @@ impl UsageSummaryDateOrg {
781788
observability_pipelines_bytes_processed_sum: None,
782789
oci_host_sum: None,
783790
oci_host_top99p: None,
791+
on_call_seat_hwm: None,
784792
online_archive_events_count_sum: None,
785793
opentelemetry_apm_host_top99p: None,
786794
opentelemetry_host_top99p: None,
@@ -972,6 +980,12 @@ impl UsageSummaryDateOrg {
972980
self
973981
}
974982

983+
#[allow(deprecated)]
984+
pub fn bits_ai_investigations_sum(mut self, value: i64) -> Self {
985+
self.bits_ai_investigations_sum = Some(value);
986+
self
987+
}
988+
975989
#[allow(deprecated)]
976990
pub fn browser_rum_lite_session_count_sum(mut self, value: i64) -> Self {
977991
self.browser_rum_lite_session_count_sum = Some(value);
@@ -1611,6 +1625,12 @@ impl UsageSummaryDateOrg {
16111625
self
16121626
}
16131627

1628+
#[allow(deprecated)]
1629+
pub fn on_call_seat_hwm(mut self, value: i64) -> Self {
1630+
self.on_call_seat_hwm = Some(value);
1631+
self
1632+
}
1633+
16141634
#[allow(deprecated)]
16151635
pub fn online_archive_events_count_sum(mut self, value: i64) -> Self {
16161636
self.online_archive_events_count_sum = Some(value);
@@ -2191,6 +2211,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
21912211
let mut aws_lambda_invocations_sum: Option<i64> = None;
21922212
let mut azure_app_service_top99p: Option<i64> = None;
21932213
let mut billable_ingested_bytes_sum: Option<i64> = None;
2214+
let mut bits_ai_investigations_sum: Option<i64> = None;
21942215
let mut browser_rum_lite_session_count_sum: Option<i64> = None;
21952216
let mut browser_rum_replay_session_count_sum: Option<i64> = None;
21962217
let mut browser_rum_units_sum: Option<i64> = None;
@@ -2298,6 +2319,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
22982319
let mut observability_pipelines_bytes_processed_sum: Option<i64> = None;
22992320
let mut oci_host_sum: Option<i64> = None;
23002321
let mut oci_host_top99p: Option<i64> = None;
2322+
let mut on_call_seat_hwm: Option<i64> = None;
23012323
let mut online_archive_events_count_sum: Option<i64> = None;
23022324
let mut opentelemetry_apm_host_top99p: Option<i64> = None;
23032325
let mut opentelemetry_host_top99p: Option<i64> = None;
@@ -2503,6 +2525,12 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
25032525
}
25042526
billable_ingested_bytes_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
25052527
},
2528+
"bits_ai_investigations_sum" => {
2529+
if v.is_null() {
2530+
continue;
2531+
}
2532+
bits_ai_investigations_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2533+
},
25062534
"browser_rum_lite_session_count_sum" => {
25072535
if v.is_null() {
25082536
continue;
@@ -3139,6 +3167,12 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
31393167
}
31403168
oci_host_top99p = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
31413169
},
3170+
"on_call_seat_hwm" => {
3171+
if v.is_null() {
3172+
continue;
3173+
}
3174+
on_call_seat_hwm = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
3175+
},
31423176
"online_archive_events_count_sum" => {
31433177
if v.is_null() {
31443178
continue;
@@ -3670,6 +3704,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
36703704
aws_lambda_invocations_sum,
36713705
azure_app_service_top99p,
36723706
billable_ingested_bytes_sum,
3707+
bits_ai_investigations_sum,
36733708
browser_rum_lite_session_count_sum,
36743709
browser_rum_replay_session_count_sum,
36753710
browser_rum_units_sum,
@@ -3776,6 +3811,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
37763811
observability_pipelines_bytes_processed_sum,
37773812
oci_host_sum,
37783813
oci_host_top99p,
3814+
on_call_seat_hwm,
37793815
online_archive_events_count_sum,
37803816
opentelemetry_apm_host_top99p,
37813817
opentelemetry_host_top99p,

0 commit comments

Comments
 (0)