Skip to content

Commit a037176

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3bd84aa8 of spec repo
1 parent 1a28161 commit a037176

9 files changed

+275
-143
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
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": "2025-05-23 16:55:08.428963",
8-
"spec_repo_commit": "6a0ddfd8"
7+
"regenerated": "2025-05-23 19:55:38.258115",
8+
"spec_repo_commit": "3bd84aa8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-23 16:55:08.444876",
13-
"spec_repo_commit": "6a0ddfd8"
12+
"regenerated": "2025-05-23 19:55:38.274364",
13+
"spec_repo_commit": "3bd84aa8"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 96 additions & 72 deletions
Large diffs are not rendered by default.

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60838,8 +60838,8 @@ paths:
6083860838
`lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `network_monitoring`,
6083960839
`observability_pipelines`,
6084060840

60841-
`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
60842-
`sds`, `snmp`, `software_delivery`,
60841+
`online_archive`, `profiling`, `product_analytics`, `rum`, `rum_browser_sessions`,
60842+
`rum_mobile_sessions`, `sds`, `snmp`, `software_delivery`,
6084360843

6084460844
`synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`,
6084560845
`timeseries`, `vuln_management`,

src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pub enum HourlyUsageAttributionUsageType {
6868
PROFILED_CONTAINER_USAGE,
6969
PROFILED_FARGATE_USAGE,
7070
PROFILED_HOST_USAGE,
71+
PRODUCT_ANALYTICS_SESSION_USAGE,
7172
RUM_BROWSER_MOBILE_SESSIONS_USAGE,
7273
RUM_REPLAY_SESSIONS_USAGE,
7374
SCA_FARGATE_USAGE,
@@ -160,6 +161,9 @@ impl ToString for HourlyUsageAttributionUsageType {
160161
Self::PROFILED_CONTAINER_USAGE => String::from("profiled_container_usage"),
161162
Self::PROFILED_FARGATE_USAGE => String::from("profiled_fargate_usage"),
162163
Self::PROFILED_HOST_USAGE => String::from("profiled_host_usage"),
164+
Self::PRODUCT_ANALYTICS_SESSION_USAGE => {
165+
String::from("product_analytics_session_usage")
166+
}
163167
Self::RUM_BROWSER_MOBILE_SESSIONS_USAGE => {
164168
String::from("rum_browser_mobile_sessions_usage")
165169
}
@@ -268,6 +272,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType {
268272
"profiled_container_usage" => Self::PROFILED_CONTAINER_USAGE,
269273
"profiled_fargate_usage" => Self::PROFILED_FARGATE_USAGE,
270274
"profiled_host_usage" => Self::PROFILED_HOST_USAGE,
275+
"product_analytics_session_usage" => Self::PRODUCT_ANALYTICS_SESSION_USAGE,
271276
"rum_browser_mobile_sessions_usage" => Self::RUM_BROWSER_MOBILE_SESSIONS_USAGE,
272277
"rum_replay_sessions_usage" => Self::RUM_REPLAY_SESSIONS_USAGE,
273278
"sca_fargate_usage" => Self::SCA_FARGATE_USAGE,

src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ pub enum MonthlyUsageAttributionSupportedMetrics {
133133
LOGS_INDEXED_3DAY_PERCENTAGE,
134134
LOGS_INDEXED_1DAY_USAGE,
135135
LOGS_INDEXED_1DAY_PERCENTAGE,
136+
PRODUCT_ANALYTICS_SESSION_USAGE,
137+
PRODUCT_ANALYTICS_SESSION_PERCENTAGE,
136138
RUM_REPLAY_SESSIONS_USAGE,
137139
RUM_REPLAY_SESSIONS_PERCENTAGE,
138140
RUM_BROWSER_MOBILE_SESSIONS_USAGE,
@@ -322,6 +324,12 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics {
322324
Self::LOGS_INDEXED_3DAY_PERCENTAGE => String::from("logs_indexed_3day_percentage"),
323325
Self::LOGS_INDEXED_1DAY_USAGE => String::from("logs_indexed_1day_usage"),
324326
Self::LOGS_INDEXED_1DAY_PERCENTAGE => String::from("logs_indexed_1day_percentage"),
327+
Self::PRODUCT_ANALYTICS_SESSION_USAGE => {
328+
String::from("product_analytics_session_usage")
329+
}
330+
Self::PRODUCT_ANALYTICS_SESSION_PERCENTAGE => {
331+
String::from("product_analytics_session_percentage")
332+
}
325333
Self::RUM_REPLAY_SESSIONS_USAGE => String::from("rum_replay_sessions_usage"),
326334
Self::RUM_REPLAY_SESSIONS_PERCENTAGE => String::from("rum_replay_sessions_percentage"),
327335
Self::RUM_BROWSER_MOBILE_SESSIONS_USAGE => {
@@ -509,6 +517,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics {
509517
"logs_indexed_3day_percentage" => Self::LOGS_INDEXED_3DAY_PERCENTAGE,
510518
"logs_indexed_1day_usage" => Self::LOGS_INDEXED_1DAY_USAGE,
511519
"logs_indexed_1day_percentage" => Self::LOGS_INDEXED_1DAY_PERCENTAGE,
520+
"product_analytics_session_usage" => Self::PRODUCT_ANALYTICS_SESSION_USAGE,
521+
"product_analytics_session_percentage" => Self::PRODUCT_ANALYTICS_SESSION_PERCENTAGE,
512522
"rum_replay_sessions_usage" => Self::RUM_REPLAY_SESSIONS_USAGE,
513523
"rum_replay_sessions_percentage" => Self::RUM_REPLAY_SESSIONS_PERCENTAGE,
514524
"rum_browser_mobile_sessions_usage" => Self::RUM_BROWSER_MOBILE_SESSIONS_USAGE,

src/datadogV1/model/model_monthly_usage_attribution_values.rs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,12 @@ pub struct MonthlyUsageAttributionValues {
341341
/// The online archive usage by tag(s).
342342
#[serde(rename = "online_archive_usage")]
343343
pub online_archive_usage: Option<f64>,
344+
/// The percentage of Product Analytics session usage by tag(s).
345+
#[serde(rename = "product_analytics_session_percentage")]
346+
pub product_analytics_session_percentage: Option<f64>,
347+
/// The total Product Analytics session usage by tag(s).
348+
#[serde(rename = "product_analytics_session_usage")]
349+
pub product_analytics_session_usage: Option<f64>,
344350
/// The percentage of profiled container usage by tag(s).
345351
#[serde(rename = "profiled_container_percentage")]
346352
pub profiled_container_percentage: Option<f64>,
@@ -545,6 +551,8 @@ impl MonthlyUsageAttributionValues {
545551
obs_pipelines_vcpu_usage: None,
546552
online_archive_percentage: None,
547553
online_archive_usage: None,
554+
product_analytics_session_percentage: None,
555+
product_analytics_session_usage: None,
548556
profiled_container_percentage: None,
549557
profiled_container_usage: None,
550558
profiled_fargate_percentage: None,
@@ -1128,6 +1136,16 @@ impl MonthlyUsageAttributionValues {
11281136
self
11291137
}
11301138

1139+
pub fn product_analytics_session_percentage(mut self, value: f64) -> Self {
1140+
self.product_analytics_session_percentage = Some(value);
1141+
self
1142+
}
1143+
1144+
pub fn product_analytics_session_usage(mut self, value: f64) -> Self {
1145+
self.product_analytics_session_usage = Some(value);
1146+
self
1147+
}
1148+
11311149
pub fn profiled_container_percentage(mut self, value: f64) -> Self {
11321150
self.profiled_container_percentage = Some(value);
11331151
self
@@ -1410,6 +1428,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
14101428
let mut obs_pipelines_vcpu_usage: Option<f64> = None;
14111429
let mut online_archive_percentage: Option<f64> = None;
14121430
let mut online_archive_usage: Option<f64> = None;
1431+
let mut product_analytics_session_percentage: Option<f64> = None;
1432+
let mut product_analytics_session_usage: Option<f64> = None;
14131433
let mut profiled_container_percentage: Option<f64> = None;
14141434
let mut profiled_container_usage: Option<f64> = None;
14151435
let mut profiled_fargate_percentage: Option<f64> = None;
@@ -2215,6 +2235,20 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
22152235
online_archive_usage =
22162236
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
22172237
}
2238+
"product_analytics_session_percentage" => {
2239+
if v.is_null() {
2240+
continue;
2241+
}
2242+
product_analytics_session_percentage =
2243+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2244+
}
2245+
"product_analytics_session_usage" => {
2246+
if v.is_null() {
2247+
continue;
2248+
}
2249+
product_analytics_session_usage =
2250+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2251+
}
22182252
"profiled_container_percentage" => {
22192253
if v.is_null() {
22202254
continue;
@@ -2529,6 +2563,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
25292563
obs_pipelines_vcpu_usage,
25302564
online_archive_percentage,
25312565
online_archive_usage,
2566+
product_analytics_session_percentage,
2567+
product_analytics_session_usage,
25322568
profiled_container_percentage,
25332569
profiled_container_usage,
25342570
profiled_fargate_percentage,

0 commit comments

Comments
 (0)