diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index dba7bb99f..e6b232131 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4281,6 +4281,7 @@ components: - appsec_usage - asm_serverless_traced_invocations_usage - asm_serverless_traced_invocations_percentage + - bits_ai_investigations_usage - browser_usage - ci_pipeline_indexed_spans_usage - ci_test_indexed_spans_usage @@ -4364,6 +4365,7 @@ components: - APPSEC_USAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE + - BITS_AI_INVESTIGATIONS_USAGE - BROWSER_USAGE - CI_PIPELINE_INDEXED_SPANS_USAGE - CI_TEST_INDEXED_SPANS_USAGE @@ -8702,6 +8704,8 @@ components: - appsec_percentage - asm_serverless_traced_invocations_usage - asm_serverless_traced_invocations_percentage + - bits_ai_investigations_usage + - bits_ai_investigations_percentage - browser_usage - browser_percentage - ci_visibility_itr_usage @@ -8863,6 +8867,8 @@ components: - APPSEC_PERCENTAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE + - BITS_AI_INVESTIGATIONS_USAGE + - BITS_AI_INVESTIGATIONS_PERCENTAGE - BROWSER_USAGE - BROWSER_PERCENTAGE - CI_VISIBILITY_ITR_USAGE @@ -9076,6 +9082,14 @@ components: usage by tag(s). format: double type: number + bits_ai_investigations_percentage: + description: The percentage of Bits AI `SRE` investigation usage by tag(s). + format: double + type: number + bits_ai_investigations_usage: + description: The Bits AI `SRE` investigation usage by tag(s). + format: double + type: number browser_percentage: description: The percentage of synthetic browser test usage by tag(s). format: double diff --git a/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs b/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs index 46deb64a9..53ad0bc6a 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs @@ -15,6 +15,7 @@ pub enum HourlyUsageAttributionUsageType { APPSEC_USAGE, ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE, ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE, + BITS_AI_INVESTIGATIONS_USAGE, BROWSER_USAGE, CI_PIPELINE_INDEXED_SPANS_USAGE, CI_TEST_INDEXED_SPANS_USAGE, @@ -106,6 +107,7 @@ impl ToString for HourlyUsageAttributionUsageType { Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE => { String::from("asm_serverless_traced_invocations_percentage") } + Self::BITS_AI_INVESTIGATIONS_USAGE => String::from("bits_ai_investigations_usage"), Self::BROWSER_USAGE => String::from("browser_usage"), Self::CI_PIPELINE_INDEXED_SPANS_USAGE => { String::from("ci_pipeline_indexed_spans_usage") @@ -235,6 +237,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType { "asm_serverless_traced_invocations_percentage" => { Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE } + "bits_ai_investigations_usage" => Self::BITS_AI_INVESTIGATIONS_USAGE, "browser_usage" => Self::BROWSER_USAGE, "ci_pipeline_indexed_spans_usage" => Self::CI_PIPELINE_INDEXED_SPANS_USAGE, "ci_test_indexed_spans_usage" => Self::CI_TEST_INDEXED_SPANS_USAGE, diff --git a/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs b/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs index bf0f13f9a..931d7e6df 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs @@ -21,6 +21,8 @@ pub enum MonthlyUsageAttributionSupportedMetrics { APPSEC_PERCENTAGE, ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE, ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE, + BITS_AI_INVESTIGATIONS_USAGE, + BITS_AI_INVESTIGATIONS_PERCENTAGE, BROWSER_USAGE, BROWSER_PERCENTAGE, CI_VISIBILITY_ITR_USAGE, @@ -190,6 +192,10 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics { Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE => { String::from("asm_serverless_traced_invocations_percentage") } + Self::BITS_AI_INVESTIGATIONS_USAGE => String::from("bits_ai_investigations_usage"), + Self::BITS_AI_INVESTIGATIONS_PERCENTAGE => { + String::from("bits_ai_investigations_percentage") + } Self::BROWSER_USAGE => String::from("browser_usage"), Self::BROWSER_PERCENTAGE => String::from("browser_percentage"), Self::CI_VISIBILITY_ITR_USAGE => String::from("ci_visibility_itr_usage"), @@ -435,6 +441,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics { "asm_serverless_traced_invocations_percentage" => { Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE } + "bits_ai_investigations_usage" => Self::BITS_AI_INVESTIGATIONS_USAGE, + "bits_ai_investigations_percentage" => Self::BITS_AI_INVESTIGATIONS_PERCENTAGE, "browser_usage" => Self::BROWSER_USAGE, "browser_percentage" => Self::BROWSER_PERCENTAGE, "ci_visibility_itr_usage" => Self::CI_VISIBILITY_ITR_USAGE, diff --git a/src/datadogV1/model/model_monthly_usage_attribution_values.rs b/src/datadogV1/model/model_monthly_usage_attribution_values.rs index 02783939d..807f3c02c 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_values.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_values.rs @@ -54,6 +54,12 @@ pub struct MonthlyUsageAttributionValues { /// The Application Security Monitoring Serverless traced invocations usage by tag(s). #[serde(rename = "asm_serverless_traced_invocations_usage")] pub asm_serverless_traced_invocations_usage: Option, + /// The percentage of Bits AI `SRE` investigation usage by tag(s). + #[serde(rename = "bits_ai_investigations_percentage")] + pub bits_ai_investigations_percentage: Option, + /// The Bits AI `SRE` investigation usage by tag(s). + #[serde(rename = "bits_ai_investigations_usage")] + pub bits_ai_investigations_usage: Option, /// The percentage of synthetic browser test usage by tag(s). #[serde(rename = "browser_percentage")] pub browser_percentage: Option, @@ -504,6 +510,8 @@ impl MonthlyUsageAttributionValues { appsec_usage: None, asm_serverless_traced_invocations_percentage: None, asm_serverless_traced_invocations_usage: None, + bits_ai_investigations_percentage: None, + bits_ai_investigations_usage: None, browser_percentage: None, browser_usage: None, ci_pipeline_indexed_spans_percentage: None, @@ -721,6 +729,16 @@ impl MonthlyUsageAttributionValues { self } + pub fn bits_ai_investigations_percentage(mut self, value: f64) -> Self { + self.bits_ai_investigations_percentage = Some(value); + self + } + + pub fn bits_ai_investigations_usage(mut self, value: f64) -> Self { + self.bits_ai_investigations_usage = Some(value); + self + } + pub fn browser_percentage(mut self, value: f64) -> Self { self.browser_percentage = Some(value); self @@ -1477,6 +1495,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { let mut appsec_usage: Option = None; let mut asm_serverless_traced_invocations_percentage: Option = None; let mut asm_serverless_traced_invocations_usage: Option = None; + let mut bits_ai_investigations_percentage: Option = None; + let mut bits_ai_investigations_usage: Option = None; let mut browser_percentage: Option = None; let mut browser_usage: Option = None; let mut ci_pipeline_indexed_spans_percentage: Option = None; @@ -1724,6 +1744,20 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { asm_serverless_traced_invocations_usage = Some(serde_json::from_value(v).map_err(M::Error::custom)?); } + "bits_ai_investigations_percentage" => { + if v.is_null() { + continue; + } + bits_ai_investigations_percentage = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } + "bits_ai_investigations_usage" => { + if v.is_null() { + continue; + } + bits_ai_investigations_usage = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } "browser_percentage" => { if v.is_null() { continue; @@ -2740,6 +2774,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, + bits_ai_investigations_percentage, + bits_ai_investigations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage,