diff --git a/.apigentools-info b/.apigentools-info index 3765315a882..de2b4da3e55 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-24 15:23:34.274061", - "spec_repo_commit": "cdf4007e" + "regenerated": "2023-03-24 16:41:55.959055", + "spec_repo_commit": "9bdb5ee6" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-24 15:23:34.286471", - "spec_repo_commit": "cdf4007e" + "regenerated": "2023-03-24 16:41:55.974878", + "spec_repo_commit": "9bdb5ee6" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index ee863b34bf8..e028210fe1f 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3655,6 +3655,7 @@ components: - container_usage - cspm_containers_usage - cspm_hosts_usage + - custom_ingested_timeseries_usage - custom_timeseries_usage - cws_containers_usage - cws_hosts_usage @@ -3686,6 +3687,7 @@ components: - CONTAINER_USAGE - CSPM_CONTAINERS_USAGE - CSPM_HOSTS_USAGE + - CUSTOM_INGESTED_TIMESERIES_USAGE - CUSTOM_TIMESERIES_USAGE - CWS_CONTAINERS_USAGE - CWS_HOSTS_USAGE @@ -7123,6 +7125,8 @@ components: - cspm_hosts_usage - custom_timeseries_usage - custom_timeseries_percentage + - custom_ingested_timeseries_usage + - custom_ingested_timeseries_percentage - cws_containers_percentage - cws_containers_usage - cws_hosts_percentage @@ -7184,6 +7188,8 @@ components: - CSPM_HOSTS_USAGE - CUSTOM_TIMESERIES_USAGE - CUSTOM_TIMESERIES_PERCENTAGE + - CUSTOM_INGESTED_TIMESERIES_USAGE + - CUSTOM_INGESTED_TIMESERIES_PERCENTAGE - CWS_CONTAINERS_PERCENTAGE - CWS_CONTAINERS_USAGE - CWS_HOSTS_PERCENTAGE @@ -7308,12 +7314,20 @@ components: description: The CSPM host usage by tag(s). format: double type: number + custom_ingested_timeseries_percentage: + description: The percentage of ingested custom metrics usage by tag(s). + format: double + type: number + custom_ingested_timeseries_usage: + description: The ingested custom metrics usage by tag(s). + format: double + type: number custom_timeseries_percentage: - description: The percentage of custom metrics usage by tag(s). + description: The percentage of indexed custom metrics usage by tag(s). format: double type: number custom_timeseries_usage: - description: The custom metrics usage by tag(s). + description: The indexed custom metrics usage by tag(s). format: double type: number cws_containers_percentage: 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 c994ea13f9d..3a8711059c9 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 @@ -44,6 +44,8 @@ public class HourlyUsageAttributionUsageType { new HourlyUsageAttributionUsageType("cspm_containers_usage"); public static final HourlyUsageAttributionUsageType CSPM_HOSTS_USAGE = new HourlyUsageAttributionUsageType("cspm_hosts_usage"); + public static final HourlyUsageAttributionUsageType CUSTOM_INGESTED_TIMESERIES_USAGE = + new HourlyUsageAttributionUsageType("custom_ingested_timeseries_usage"); public static final HourlyUsageAttributionUsageType CUSTOM_TIMESERIES_USAGE = new HourlyUsageAttributionUsageType("custom_timeseries_usage"); public static final HourlyUsageAttributionUsageType CWS_CONTAINERS_USAGE = @@ -96,6 +98,7 @@ public class HourlyUsageAttributionUsageType { "container_usage", "cspm_containers_usage", "cspm_hosts_usage", + "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", 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 6d247e94ccc..fbea1cf9756 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 @@ -70,6 +70,11 @@ public class MonthlyUsageAttributionSupportedMetrics { new MonthlyUsageAttributionSupportedMetrics("custom_timeseries_usage"); public static final MonthlyUsageAttributionSupportedMetrics CUSTOM_TIMESERIES_PERCENTAGE = new MonthlyUsageAttributionSupportedMetrics("custom_timeseries_percentage"); + public static final MonthlyUsageAttributionSupportedMetrics CUSTOM_INGESTED_TIMESERIES_USAGE = + new MonthlyUsageAttributionSupportedMetrics("custom_ingested_timeseries_usage"); + public static final MonthlyUsageAttributionSupportedMetrics + CUSTOM_INGESTED_TIMESERIES_PERCENTAGE = + new MonthlyUsageAttributionSupportedMetrics("custom_ingested_timeseries_percentage"); public static final MonthlyUsageAttributionSupportedMetrics CWS_CONTAINERS_PERCENTAGE = new MonthlyUsageAttributionSupportedMetrics("cws_containers_percentage"); public static final MonthlyUsageAttributionSupportedMetrics CWS_CONTAINERS_USAGE = @@ -170,6 +175,8 @@ public class MonthlyUsageAttributionSupportedMetrics { "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", + "custom_ingested_timeseries_usage", + "custom_ingested_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_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 0f8e3208d90..1b13df3a94a 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 @@ -34,6 +34,8 @@ MonthlyUsageAttributionValues.JSON_PROPERTY_CSPM_CONTAINERS_USAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_CSPM_HOSTS_PERCENTAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_CSPM_HOSTS_USAGE, + MonthlyUsageAttributionValues.JSON_PROPERTY_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE, + MonthlyUsageAttributionValues.JSON_PROPERTY_CUSTOM_INGESTED_TIMESERIES_USAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_CUSTOM_TIMESERIES_PERCENTAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_CUSTOM_TIMESERIES_USAGE, MonthlyUsageAttributionValues.JSON_PROPERTY_CWS_CONTAINERS_PERCENTAGE, @@ -140,6 +142,14 @@ public class MonthlyUsageAttributionValues { public static final String JSON_PROPERTY_CSPM_HOSTS_USAGE = "cspm_hosts_usage"; private Double cspmHostsUsage; + public static final String JSON_PROPERTY_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE = + "custom_ingested_timeseries_percentage"; + private Double customIngestedTimeseriesPercentage; + + public static final String JSON_PROPERTY_CUSTOM_INGESTED_TIMESERIES_USAGE = + "custom_ingested_timeseries_usage"; + private Double customIngestedTimeseriesUsage; + public static final String JSON_PROPERTY_CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage"; private Double customTimeseriesPercentage; @@ -688,6 +698,50 @@ public void setCspmHostsUsage(Double cspmHostsUsage) { this.cspmHostsUsage = cspmHostsUsage; } + public MonthlyUsageAttributionValues customIngestedTimeseriesPercentage( + Double customIngestedTimeseriesPercentage) { + this.customIngestedTimeseriesPercentage = customIngestedTimeseriesPercentage; + return this; + } + + /** + * The percentage of ingested custom metrics usage by tag(s). + * + * @return customIngestedTimeseriesPercentage + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Double getCustomIngestedTimeseriesPercentage() { + return customIngestedTimeseriesPercentage; + } + + public void setCustomIngestedTimeseriesPercentage(Double customIngestedTimeseriesPercentage) { + this.customIngestedTimeseriesPercentage = customIngestedTimeseriesPercentage; + } + + public MonthlyUsageAttributionValues customIngestedTimeseriesUsage( + Double customIngestedTimeseriesUsage) { + this.customIngestedTimeseriesUsage = customIngestedTimeseriesUsage; + return this; + } + + /** + * The ingested custom metrics usage by tag(s). + * + * @return customIngestedTimeseriesUsage + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CUSTOM_INGESTED_TIMESERIES_USAGE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Double getCustomIngestedTimeseriesUsage() { + return customIngestedTimeseriesUsage; + } + + public void setCustomIngestedTimeseriesUsage(Double customIngestedTimeseriesUsage) { + this.customIngestedTimeseriesUsage = customIngestedTimeseriesUsage; + } + public MonthlyUsageAttributionValues customTimeseriesPercentage( Double customTimeseriesPercentage) { this.customTimeseriesPercentage = customTimeseriesPercentage; @@ -695,7 +749,7 @@ public MonthlyUsageAttributionValues customTimeseriesPercentage( } /** - * The percentage of custom metrics usage by tag(s). + * The percentage of indexed custom metrics usage by tag(s). * * @return customTimeseriesPercentage */ @@ -716,7 +770,7 @@ public MonthlyUsageAttributionValues customTimeseriesUsage(Double customTimeseri } /** - * The custom metrics usage by tag(s). + * The indexed custom metrics usage by tag(s). * * @return customTimeseriesUsage */ @@ -1535,6 +1589,12 @@ public boolean equals(Object o) { && Objects.equals( this.cspmHostsPercentage, monthlyUsageAttributionValues.cspmHostsPercentage) && Objects.equals(this.cspmHostsUsage, monthlyUsageAttributionValues.cspmHostsUsage) + && Objects.equals( + this.customIngestedTimeseriesPercentage, + monthlyUsageAttributionValues.customIngestedTimeseriesPercentage) + && Objects.equals( + this.customIngestedTimeseriesUsage, + monthlyUsageAttributionValues.customIngestedTimeseriesUsage) && Objects.equals( this.customTimeseriesPercentage, monthlyUsageAttributionValues.customTimeseriesPercentage) @@ -1630,6 +1690,8 @@ public int hashCode() { cspmContainersUsage, cspmHostsPercentage, cspmHostsUsage, + customIngestedTimeseriesPercentage, + customIngestedTimeseriesUsage, customTimeseriesPercentage, customTimeseriesUsage, cwsContainersPercentage, @@ -1710,6 +1772,12 @@ public String toString() { .append(toIndentedString(cspmHostsPercentage)) .append("\n"); sb.append(" cspmHostsUsage: ").append(toIndentedString(cspmHostsUsage)).append("\n"); + sb.append(" customIngestedTimeseriesPercentage: ") + .append(toIndentedString(customIngestedTimeseriesPercentage)) + .append("\n"); + sb.append(" customIngestedTimeseriesUsage: ") + .append(toIndentedString(customIngestedTimeseriesUsage)) + .append("\n"); sb.append(" customTimeseriesPercentage: ") .append(toIndentedString(customTimeseriesPercentage)) .append("\n");