From fee516abd58b0f4bc00c69d8679f77ad55441ec6 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 7 Apr 2023 14:31:33 +0000 Subject: [PATCH] Regenerate client from commit 642e33ec of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v1/openapi.yaml | 21 ++++++++++++ .../api/client/v1/model/UsageLogsHour.java | 31 +++++++++++++++++ .../api/client/v1/model/UsageSummaryDate.java | 32 ++++++++++++++++++ .../client/v1/model/UsageSummaryDateOrg.java | 32 ++++++++++++++++++ .../client/v1/model/UsageSummaryResponse.java | 33 +++++++++++++++++++ 6 files changed, 153 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 8d23a19100f..ba0aca023de 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-04-06 15:03:59.469640", - "spec_repo_commit": "b180cceb" + "regenerated": "2023-04-07 14:30:15.881462", + "spec_repo_commit": "642e33ec" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-04-06 15:03:59.482002", - "spec_repo_commit": "b180cceb" + "regenerated": "2023-04-07 14:30:15.893966", + "spec_repo_commit": "642e33ec" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 2e6367ee6c6..48ef1f22714 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16287,6 +16287,11 @@ components: description: Contains the number of log bytes ingested. format: int64 type: integer + logs_forwarding_events_bytes: + description: Contains the number of logs forwarded bytes (data available + as of April 1st 2023) + format: int64 + type: integer logs_live_indexed_count: description: Contains the number of live log events indexed (data available as of December 1, 2020). @@ -16913,6 +16918,11 @@ components: current date for all organizations. format: int64 type: integer + forwarding_events_bytes_sum: + description: Shows the sum of all log bytes forwarded over all hours in + the current date for all organizations. + format: int64 + type: integer gcp_host_top99p: description: Shows the 99th percentile of all GCP hosts over all hours in the current date for all organizations. @@ -17305,6 +17315,11 @@ components: in the current date for the given org. format: int64 type: integer + forwarding_events_bytes_sum: + description: Shows the sum of all log bytes forwarded over all hours in + the current date for the given org. + format: int64 + type: integer gcp_host_top99p: description: Shows the 99th percentile of all GCP hosts over all hours in the current date for the given org. @@ -17716,6 +17731,12 @@ components: over all hours in the current months for all organizations. format: int64 type: integer + forwarding_events_bytes_agg_sum: + description: Shows the sum of all logs forwarding bytes over all hours in + the current months for all organizations (data available as of April 1, + 2023) + format: int64 + type: integer gcp_host_top99p_sum: description: Shows the 99th percentile of all GCP hosts over all hours in the current months for all organizations. diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageLogsHour.java b/src/main/java/com/datadog/api/client/v1/model/UsageLogsHour.java index 930dcf4557a..daeafab591b 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageLogsHour.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageLogsHour.java @@ -21,6 +21,7 @@ UsageLogsHour.JSON_PROPERTY_HOUR, UsageLogsHour.JSON_PROPERTY_INDEXED_EVENTS_COUNT, UsageLogsHour.JSON_PROPERTY_INGESTED_EVENTS_BYTES, + UsageLogsHour.JSON_PROPERTY_LOGS_FORWARDING_EVENTS_BYTES, UsageLogsHour.JSON_PROPERTY_LOGS_LIVE_INDEXED_COUNT, UsageLogsHour.JSON_PROPERTY_LOGS_LIVE_INGESTED_BYTES, UsageLogsHour.JSON_PROPERTY_LOGS_REHYDRATED_INDEXED_COUNT, @@ -46,6 +47,10 @@ public class UsageLogsHour { public static final String JSON_PROPERTY_INGESTED_EVENTS_BYTES = "ingested_events_bytes"; private Long ingestedEventsBytes; + public static final String JSON_PROPERTY_LOGS_FORWARDING_EVENTS_BYTES = + "logs_forwarding_events_bytes"; + private Long logsForwardingEventsBytes; + public static final String JSON_PROPERTY_LOGS_LIVE_INDEXED_COUNT = "logs_live_indexed_count"; private Long logsLiveIndexedCount; @@ -150,6 +155,27 @@ public void setIngestedEventsBytes(Long ingestedEventsBytes) { this.ingestedEventsBytes = ingestedEventsBytes; } + public UsageLogsHour logsForwardingEventsBytes(Long logsForwardingEventsBytes) { + this.logsForwardingEventsBytes = logsForwardingEventsBytes; + return this; + } + + /** + * Contains the number of logs forwarded bytes (data available as of April 1st 2023) + * + * @return logsForwardingEventsBytes + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LOGS_FORWARDING_EVENTS_BYTES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getLogsForwardingEventsBytes() { + return logsForwardingEventsBytes; + } + + public void setLogsForwardingEventsBytes(Long logsForwardingEventsBytes) { + this.logsForwardingEventsBytes = logsForwardingEventsBytes; + } + public UsageLogsHour logsLiveIndexedCount(Long logsLiveIndexedCount) { this.logsLiveIndexedCount = logsLiveIndexedCount; return this; @@ -290,6 +316,7 @@ public boolean equals(Object o) { && Objects.equals(this.hour, usageLogsHour.hour) && Objects.equals(this.indexedEventsCount, usageLogsHour.indexedEventsCount) && Objects.equals(this.ingestedEventsBytes, usageLogsHour.ingestedEventsBytes) + && Objects.equals(this.logsForwardingEventsBytes, usageLogsHour.logsForwardingEventsBytes) && Objects.equals(this.logsLiveIndexedCount, usageLogsHour.logsLiveIndexedCount) && Objects.equals(this.logsLiveIngestedBytes, usageLogsHour.logsLiveIngestedBytes) && Objects.equals(this.logsRehydratedIndexedCount, usageLogsHour.logsRehydratedIndexedCount) @@ -306,6 +333,7 @@ public int hashCode() { hour, indexedEventsCount, ingestedEventsBytes, + logsForwardingEventsBytes, logsLiveIndexedCount, logsLiveIngestedBytes, logsRehydratedIndexedCount, @@ -326,6 +354,9 @@ public String toString() { sb.append(" ingestedEventsBytes: ") .append(toIndentedString(ingestedEventsBytes)) .append("\n"); + sb.append(" logsForwardingEventsBytes: ") + .append(toIndentedString(logsForwardingEventsBytes)) + .append("\n"); sb.append(" logsLiveIndexedCount: ") .append(toIndentedString(logsLiveIndexedCount)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java index cde3ddf8829..252f04ad2b9 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java @@ -58,6 +58,7 @@ UsageSummaryDate.JSON_PROPERTY_DBM_QUERIES_COUNT_AVG, UsageSummaryDate.JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG, UsageSummaryDate.JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM, + UsageSummaryDate.JSON_PROPERTY_FORWARDING_EVENTS_BYTES_SUM, UsageSummaryDate.JSON_PROPERTY_GCP_HOST_TOP99P, UsageSummaryDate.JSON_PROPERTY_HEROKU_HOST_TOP99P, UsageSummaryDate.JSON_PROPERTY_INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_HWM, @@ -232,6 +233,10 @@ public class UsageSummaryDate { public static final String JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM = "fargate_tasks_count_hwm"; private Long fargateTasksCountHwm; + public static final String JSON_PROPERTY_FORWARDING_EVENTS_BYTES_SUM = + "forwarding_events_bytes_sum"; + private Long forwardingEventsBytesSum; + public static final String JSON_PROPERTY_GCP_HOST_TOP99P = "gcp_host_top99p"; private Long gcpHostTop99p; @@ -1226,6 +1231,28 @@ public void setFargateTasksCountHwm(Long fargateTasksCountHwm) { this.fargateTasksCountHwm = fargateTasksCountHwm; } + public UsageSummaryDate forwardingEventsBytesSum(Long forwardingEventsBytesSum) { + this.forwardingEventsBytesSum = forwardingEventsBytesSum; + return this; + } + + /** + * Shows the sum of all log bytes forwarded over all hours in the current date for all + * organizations. + * + * @return forwardingEventsBytesSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FORWARDING_EVENTS_BYTES_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getForwardingEventsBytesSum() { + return forwardingEventsBytesSum; + } + + public void setForwardingEventsBytesSum(Long forwardingEventsBytesSum) { + this.forwardingEventsBytesSum = forwardingEventsBytesSum; + } + public UsageSummaryDate gcpHostTop99p(Long gcpHostTop99p) { this.gcpHostTop99p = gcpHostTop99p; return this; @@ -2157,6 +2184,7 @@ public boolean equals(Object o) { && Objects.equals(this.dbmQueriesCountAvg, usageSummaryDate.dbmQueriesCountAvg) && Objects.equals(this.fargateTasksCountAvg, usageSummaryDate.fargateTasksCountAvg) && Objects.equals(this.fargateTasksCountHwm, usageSummaryDate.fargateTasksCountHwm) + && Objects.equals(this.forwardingEventsBytesSum, usageSummaryDate.forwardingEventsBytesSum) && Objects.equals(this.gcpHostTop99p, usageSummaryDate.gcpHostTop99p) && Objects.equals(this.herokuHostTop99p, usageSummaryDate.herokuHostTop99p) && Objects.equals( @@ -2264,6 +2292,7 @@ public int hashCode() { dbmQueriesCountAvg, fargateTasksCountAvg, fargateTasksCountHwm, + forwardingEventsBytesSum, gcpHostTop99p, herokuHostTop99p, incidentManagementMonthlyActiveUsersHwm, @@ -2388,6 +2417,9 @@ public String toString() { sb.append(" fargateTasksCountHwm: ") .append(toIndentedString(fargateTasksCountHwm)) .append("\n"); + sb.append(" forwardingEventsBytesSum: ") + .append(toIndentedString(forwardingEventsBytesSum)) + .append("\n"); sb.append(" gcpHostTop99p: ").append(toIndentedString(gcpHostTop99p)).append("\n"); sb.append(" herokuHostTop99p: ").append(toIndentedString(herokuHostTop99p)).append("\n"); sb.append(" incidentManagementMonthlyActiveUsersHwm: ") diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java index ba157375eac..de8c1a5fb8c 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java @@ -52,6 +52,7 @@ UsageSummaryDateOrg.JSON_PROPERTY_DBM_QUERIES_AVG_SUM, UsageSummaryDateOrg.JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG, UsageSummaryDateOrg.JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM, + UsageSummaryDateOrg.JSON_PROPERTY_FORWARDING_EVENTS_BYTES_SUM, UsageSummaryDateOrg.JSON_PROPERTY_GCP_HOST_TOP99P, UsageSummaryDateOrg.JSON_PROPERTY_HEROKU_HOST_TOP99P, UsageSummaryDateOrg.JSON_PROPERTY_ID, @@ -224,6 +225,10 @@ public class UsageSummaryDateOrg { public static final String JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM = "fargate_tasks_count_hwm"; private Long fargateTasksCountHwm; + public static final String JSON_PROPERTY_FORWARDING_EVENTS_BYTES_SUM = + "forwarding_events_bytes_sum"; + private Long forwardingEventsBytesSum; + public static final String JSON_PROPERTY_GCP_HOST_TOP99P = "gcp_host_top99p"; private Long gcpHostTop99p; @@ -1203,6 +1208,27 @@ public void setFargateTasksCountHwm(Long fargateTasksCountHwm) { this.fargateTasksCountHwm = fargateTasksCountHwm; } + public UsageSummaryDateOrg forwardingEventsBytesSum(Long forwardingEventsBytesSum) { + this.forwardingEventsBytesSum = forwardingEventsBytesSum; + return this; + } + + /** + * Shows the sum of all log bytes forwarded over all hours in the current date for the given org. + * + * @return forwardingEventsBytesSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FORWARDING_EVENTS_BYTES_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getForwardingEventsBytesSum() { + return forwardingEventsBytesSum; + } + + public void setForwardingEventsBytesSum(Long forwardingEventsBytesSum) { + this.forwardingEventsBytesSum = forwardingEventsBytesSum; + } + public UsageSummaryDateOrg gcpHostTop99p(Long gcpHostTop99p) { this.gcpHostTop99p = gcpHostTop99p; return this; @@ -2184,6 +2210,8 @@ public boolean equals(Object o) { && Objects.equals(this.dbmQueriesAvgSum, usageSummaryDateOrg.dbmQueriesAvgSum) && Objects.equals(this.fargateTasksCountAvg, usageSummaryDateOrg.fargateTasksCountAvg) && Objects.equals(this.fargateTasksCountHwm, usageSummaryDateOrg.fargateTasksCountHwm) + && Objects.equals( + this.forwardingEventsBytesSum, usageSummaryDateOrg.forwardingEventsBytesSum) && Objects.equals(this.gcpHostTop99p, usageSummaryDateOrg.gcpHostTop99p) && Objects.equals(this.herokuHostTop99p, usageSummaryDateOrg.herokuHostTop99p) && Objects.equals(this.id, usageSummaryDateOrg.id) @@ -2298,6 +2326,7 @@ public int hashCode() { dbmQueriesAvgSum, fargateTasksCountAvg, fargateTasksCountHwm, + forwardingEventsBytesSum, gcpHostTop99p, herokuHostTop99p, id, @@ -2424,6 +2453,9 @@ public String toString() { sb.append(" fargateTasksCountHwm: ") .append(toIndentedString(fargateTasksCountHwm)) .append("\n"); + sb.append(" forwardingEventsBytesSum: ") + .append(toIndentedString(forwardingEventsBytesSum)) + .append("\n"); sb.append(" gcpHostTop99p: ").append(toIndentedString(gcpHostTop99p)).append("\n"); sb.append(" herokuHostTop99p: ").append(toIndentedString(herokuHostTop99p)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java index 4c49c727c2c..abb6f95da14 100644 --- a/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java +++ b/src/main/java/com/datadog/api/client/v1/model/UsageSummaryResponse.java @@ -62,6 +62,7 @@ UsageSummaryResponse.JSON_PROPERTY_END_DATE, UsageSummaryResponse.JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG_SUM, UsageSummaryResponse.JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM_SUM, + UsageSummaryResponse.JSON_PROPERTY_FORWARDING_EVENTS_BYTES_AGG_SUM, UsageSummaryResponse.JSON_PROPERTY_GCP_HOST_TOP99P_SUM, UsageSummaryResponse.JSON_PROPERTY_HEROKU_HOST_TOP99P_SUM, UsageSummaryResponse.JSON_PROPERTY_INCIDENT_MANAGEMENT_MONTHLY_ACTIVE_USERS_HWM_SUM, @@ -255,6 +256,10 @@ public class UsageSummaryResponse { "fargate_tasks_count_hwm_sum"; private Long fargateTasksCountHwmSum; + public static final String JSON_PROPERTY_FORWARDING_EVENTS_BYTES_AGG_SUM = + "forwarding_events_bytes_agg_sum"; + private Long forwardingEventsBytesAggSum; + public static final String JSON_PROPERTY_GCP_HOST_TOP99P_SUM = "gcp_host_top99p_sum"; private Long gcpHostTop99pSum; @@ -1315,6 +1320,28 @@ public void setFargateTasksCountHwmSum(Long fargateTasksCountHwmSum) { this.fargateTasksCountHwmSum = fargateTasksCountHwmSum; } + public UsageSummaryResponse forwardingEventsBytesAggSum(Long forwardingEventsBytesAggSum) { + this.forwardingEventsBytesAggSum = forwardingEventsBytesAggSum; + return this; + } + + /** + * Shows the sum of all logs forwarding bytes over all hours in the current months for all + * organizations (data available as of April 1, 2023) + * + * @return forwardingEventsBytesAggSum + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_FORWARDING_EVENTS_BYTES_AGG_SUM) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getForwardingEventsBytesAggSum() { + return forwardingEventsBytesAggSum; + } + + public void setForwardingEventsBytesAggSum(Long forwardingEventsBytesAggSum) { + this.forwardingEventsBytesAggSum = forwardingEventsBytesAggSum; + } + public UsageSummaryResponse gcpHostTop99pSum(Long gcpHostTop99pSum) { this.gcpHostTop99pSum = gcpHostTop99pSum; return this; @@ -2451,6 +2478,8 @@ public boolean equals(Object o) { this.fargateTasksCountAvgSum, usageSummaryResponse.fargateTasksCountAvgSum) && Objects.equals( this.fargateTasksCountHwmSum, usageSummaryResponse.fargateTasksCountHwmSum) + && Objects.equals( + this.forwardingEventsBytesAggSum, usageSummaryResponse.forwardingEventsBytesAggSum) && Objects.equals(this.gcpHostTop99pSum, usageSummaryResponse.gcpHostTop99pSum) && Objects.equals(this.herokuHostTop99pSum, usageSummaryResponse.herokuHostTop99pSum) && Objects.equals( @@ -2589,6 +2618,7 @@ public int hashCode() { endDate, fargateTasksCountAvgSum, fargateTasksCountHwmSum, + forwardingEventsBytesAggSum, gcpHostTop99pSum, herokuHostTop99pSum, incidentManagementMonthlyActiveUsersHwmSum, @@ -2736,6 +2766,9 @@ public String toString() { sb.append(" fargateTasksCountHwmSum: ") .append(toIndentedString(fargateTasksCountHwmSum)) .append("\n"); + sb.append(" forwardingEventsBytesAggSum: ") + .append(toIndentedString(forwardingEventsBytesAggSum)) + .append("\n"); sb.append(" gcpHostTop99pSum: ").append(toIndentedString(gcpHostTop99pSum)).append("\n"); sb.append(" herokuHostTop99pSum: ") .append(toIndentedString(herokuHostTop99pSum))