diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index d9bb88a10f2..21d6360c113 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4306,6 +4306,7 @@ components: - estimated_indexed_spans_usage - estimated_ingested_spans_usage - fargate_usage + - flex_stored_logs - functions_usage - incident_management_monthly_active_users_usage - indexed_spans_usage @@ -4387,6 +4388,7 @@ components: - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INGESTED_SPANS_USAGE - FARGATE_USAGE + - FLEX_STORED_LOGS - FUNCTIONS_USAGE - INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE - INDEXED_SPANS_USAGE @@ -8740,6 +8742,8 @@ components: - estimated_ingested_spans_percentage - fargate_usage - fargate_percentage + - flex_stored_logs_usage + - flex_stored_logs_percentage - functions_usage - functions_percentage - incident_management_monthly_active_users_usage @@ -8897,6 +8901,8 @@ components: - ESTIMATED_INGESTED_SPANS_PERCENTAGE - FARGATE_USAGE - FARGATE_PERCENTAGE + - FLEX_STORED_LOGS_USAGE + - FLEX_STORED_LOGS_PERCENTAGE - FUNCTIONS_USAGE - FUNCTIONS_PERCENTAGE - INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_USAGE @@ -9256,6 +9262,14 @@ components: description: The Fargate usage by tags. format: double type: number + flex_stored_logs_percentage: + description: The percentage of Flex Stored Logs usage by tags. + format: double + type: number + flex_stored_logs_usage: + description: The Flex Stored Logs usage by tags. + format: double + type: number functions_percentage: description: The percentage of Lambda function usage by tag(s). format: double diff --git a/src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java b/src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java index 2f4fe29e12c..bad23e786cc 100644 --- a/src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java +++ b/src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java @@ -63,6 +63,7 @@ public class HourlyUsageAttributionUsageType extends ModelEnum { "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", + "flex_stored_logs", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", @@ -176,6 +177,8 @@ public class HourlyUsageAttributionUsageType extends ModelEnum { new HourlyUsageAttributionUsageType("estimated_ingested_spans_usage"); public static final HourlyUsageAttributionUsageType FARGATE_USAGE = new HourlyUsageAttributionUsageType("fargate_usage"); + public static final HourlyUsageAttributionUsageType FLEX_STORED_LOGS = + new HourlyUsageAttributionUsageType("flex_stored_logs"); public static final HourlyUsageAttributionUsageType FUNCTIONS_USAGE = new HourlyUsageAttributionUsageType("functions_usage"); public static final HourlyUsageAttributionUsageType diff --git a/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionSupportedMetrics.java b/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionSupportedMetrics.java index 8b0dc00a52c..6c1348d2d62 100644 --- a/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionSupportedMetrics.java +++ b/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionSupportedMetrics.java @@ -84,6 +84,8 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum { "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", + "flex_stored_logs_usage", + "flex_stored_logs_percentage", "functions_usage", "functions_percentage", "incident_management_monthly_active_users_usage", @@ -300,6 +302,10 @@ public class MonthlyUsageAttributionSupportedMetrics extends ModelEnum { new MonthlyUsageAttributionSupportedMetrics("fargate_usage"); public static final MonthlyUsageAttributionSupportedMetrics FARGATE_PERCENTAGE = new MonthlyUsageAttributionSupportedMetrics("fargate_percentage"); + public static final MonthlyUsageAttributionSupportedMetrics FLEX_STORED_LOGS_USAGE = + new MonthlyUsageAttributionSupportedMetrics("flex_stored_logs_usage"); + public static final MonthlyUsageAttributionSupportedMetrics FLEX_STORED_LOGS_PERCENTAGE = + new MonthlyUsageAttributionSupportedMetrics("flex_stored_logs_percentage"); public static final MonthlyUsageAttributionSupportedMetrics FUNCTIONS_USAGE = new MonthlyUsageAttributionSupportedMetrics("functions_usage"); public static final MonthlyUsageAttributionSupportedMetrics FUNCTIONS_PERCENTAGE = diff --git a/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java b/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java index 94fb1bdc736..02d7e33f663 100644 --- a/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java +++ b/src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java @@ -82,6 +82,8 @@ MonthlyUsageAttributionValues.JSON_PROPERTY_ESTIMATED_INGESTED_SPANS_USAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_FARGATE_PERCENTAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_FARGATE_USAGE, + MonthlyUsageAttributionValues.JSON_PROPERTY_FLEX_STORED_LOGS_PERCENTAGE, + MonthlyUsageAttributionValues.JSON_PROPERTY_FLEX_STORED_LOGS_USAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_FUNCTIONS_PERCENTAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_FUNCTIONS_USAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_PERCENTAGE, @@ -380,6 +382,13 @@ public class MonthlyUsageAttributionValues { public static final String JSON_PROPERTY_FARGATE_USAGE = "fargate_usage"; private Double fargateUsage; + public static final String JSON_PROPERTY_FLEX_STORED_LOGS_PERCENTAGE = + "flex_stored_logs_percentage"; + private Double flexStoredLogsPercentage; + + public static final String JSON_PROPERTY_FLEX_STORED_LOGS_USAGE = "flex_stored_logs_usage"; + private Double flexStoredLogsUsage; + public static final String JSON_PROPERTY_FUNCTIONS_PERCENTAGE = "functions_percentage"; private Double functionsPercentage; @@ -1977,6 +1986,48 @@ public void setFargateUsage(Double fargateUsage) { this.fargateUsage = fargateUsage; } + public MonthlyUsageAttributionValues flexStoredLogsPercentage(Double flexStoredLogsPercentage) { + this.flexStoredLogsPercentage = flexStoredLogsPercentage; + return this; + } + + /** + * The percentage of Flex Stored Logs usage by tags. + * + * @return flexStoredLogsPercentage + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FLEX_STORED_LOGS_PERCENTAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Double getFlexStoredLogsPercentage() { + return flexStoredLogsPercentage; + } + + public void setFlexStoredLogsPercentage(Double flexStoredLogsPercentage) { + this.flexStoredLogsPercentage = flexStoredLogsPercentage; + } + + public MonthlyUsageAttributionValues flexStoredLogsUsage(Double flexStoredLogsUsage) { + this.flexStoredLogsUsage = flexStoredLogsUsage; + return this; + } + + /** + * The Flex Stored Logs usage by tags. + * + * @return flexStoredLogsUsage + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FLEX_STORED_LOGS_USAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Double getFlexStoredLogsUsage() { + return flexStoredLogsUsage; + } + + public void setFlexStoredLogsUsage(Double flexStoredLogsUsage) { + this.flexStoredLogsUsage = flexStoredLogsUsage; + } + public MonthlyUsageAttributionValues functionsPercentage(Double functionsPercentage) { this.functionsPercentage = functionsPercentage; return this; @@ -4114,6 +4165,10 @@ public boolean equals(Object o) { monthlyUsageAttributionValues.estimatedIngestedSpansUsage) && Objects.equals(this.fargatePercentage, monthlyUsageAttributionValues.fargatePercentage) && Objects.equals(this.fargateUsage, monthlyUsageAttributionValues.fargateUsage) + && Objects.equals( + this.flexStoredLogsPercentage, monthlyUsageAttributionValues.flexStoredLogsPercentage) + && Objects.equals( + this.flexStoredLogsUsage, monthlyUsageAttributionValues.flexStoredLogsUsage) && Objects.equals( this.functionsPercentage, monthlyUsageAttributionValues.functionsPercentage) && Objects.equals(this.functionsUsage, monthlyUsageAttributionValues.functionsUsage) @@ -4387,6 +4442,8 @@ public int hashCode() { estimatedIngestedSpansUsage, fargatePercentage, fargateUsage, + flexStoredLogsPercentage, + flexStoredLogsUsage, functionsPercentage, functionsUsage, incidentManagementMonthlyActiveUsersPercentage, @@ -4616,6 +4673,12 @@ public String toString() { .append("\n"); sb.append(" fargatePercentage: ").append(toIndentedString(fargatePercentage)).append("\n"); sb.append(" fargateUsage: ").append(toIndentedString(fargateUsage)).append("\n"); + sb.append(" flexStoredLogsPercentage: ") + .append(toIndentedString(flexStoredLogsPercentage)) + .append("\n"); + sb.append(" flexStoredLogsUsage: ") + .append(toIndentedString(flexStoredLogsUsage)) + .append("\n"); sb.append(" functionsPercentage: ") .append(toIndentedString(functionsPercentage)) .append("\n");