From 2fe20649ceede5217d9bcedc0fb4ab70566d5cdd Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 19 Oct 2026 17:23:07 +0000 Subject: [PATCH] Regenerate client from commit 53b0c01 of spec repo --- .generator/schemas/v2/openapi.yaml | 15 ++++ .../v2/model/ProcessSummaryAttributes.java | 76 ++++++++++++++++++- 2 files changed, 90 insertions(+), 1 deletion(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 04454bdda2d..2dd2ab3a822 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -96580,9 +96580,20 @@ components: cmdline: description: Process command line. type: string + executable: + description: Path to the process executable. + type: string host: description: Host running the process. type: string + identifying_tags: + description: |- + Tags that uniquely identify the process: a host identity tag (`host`, `task_arn`, + or `eks_fargate_node`) and a `pid` tag. Omitted if either tag is unavailable. + items: + description: A tag identifying the process. + type: string + type: array pid: description: Process ID. format: int64 @@ -210393,7 +210404,11 @@ paths: data: - attributes: cmdline: /usr/bin/python3 + executable: /usr/bin/python3 host: my-host + identifying_tags: + - host:my-host + - pid:123 pid: 123 id: abc-123 type: process diff --git a/src/main/java/com/datadog/api/client/v2/model/ProcessSummaryAttributes.java b/src/main/java/com/datadog/api/client/v2/model/ProcessSummaryAttributes.java index d7aaf967c33..46fad419a40 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ProcessSummaryAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/ProcessSummaryAttributes.java @@ -21,7 +21,9 @@ /** Attributes for a process summary. */ @JsonPropertyOrder({ ProcessSummaryAttributes.JSON_PROPERTY_CMDLINE, + ProcessSummaryAttributes.JSON_PROPERTY_EXECUTABLE, ProcessSummaryAttributes.JSON_PROPERTY_HOST, + ProcessSummaryAttributes.JSON_PROPERTY_IDENTIFYING_TAGS, ProcessSummaryAttributes.JSON_PROPERTY_PID, ProcessSummaryAttributes.JSON_PROPERTY_PPID, ProcessSummaryAttributes.JSON_PROPERTY_START, @@ -36,9 +38,15 @@ public class ProcessSummaryAttributes { public static final String JSON_PROPERTY_CMDLINE = "cmdline"; private String cmdline; + public static final String JSON_PROPERTY_EXECUTABLE = "executable"; + private String executable; + public static final String JSON_PROPERTY_HOST = "host"; private String host; + public static final String JSON_PROPERTY_IDENTIFYING_TAGS = "identifying_tags"; + private List identifyingTags = null; + public static final String JSON_PROPERTY_PID = "pid"; private Long pid; @@ -78,6 +86,27 @@ public void setCmdline(String cmdline) { this.cmdline = cmdline; } + public ProcessSummaryAttributes executable(String executable) { + this.executable = executable; + return this; + } + + /** + * Path to the process executable. + * + * @return executable + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EXECUTABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getExecutable() { + return executable; + } + + public void setExecutable(String executable) { + this.executable = executable; + } + public ProcessSummaryAttributes host(String host) { this.host = host; return this; @@ -99,6 +128,37 @@ public void setHost(String host) { this.host = host; } + public ProcessSummaryAttributes identifyingTags(List identifyingTags) { + this.identifyingTags = identifyingTags; + return this; + } + + public ProcessSummaryAttributes addIdentifyingTagsItem(String identifyingTagsItem) { + if (this.identifyingTags == null) { + this.identifyingTags = new ArrayList<>(); + } + this.identifyingTags.add(identifyingTagsItem); + return this; + } + + /** + * Tags that uniquely identify the process: a host identity tag (host, task_arn + * , or eks_fargate_node) and a pid tag. Omitted if either tag is + * unavailable. + * + * @return identifyingTags + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IDENTIFYING_TAGS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getIdentifyingTags() { + return identifyingTags; + } + + public void setIdentifyingTags(List identifyingTags) { + this.identifyingTags = identifyingTags; + } + public ProcessSummaryAttributes pid(Long pid) { this.pid = pid; return this; @@ -290,7 +350,9 @@ public boolean equals(Object o) { } ProcessSummaryAttributes processSummaryAttributes = (ProcessSummaryAttributes) o; return Objects.equals(this.cmdline, processSummaryAttributes.cmdline) + && Objects.equals(this.executable, processSummaryAttributes.executable) && Objects.equals(this.host, processSummaryAttributes.host) + && Objects.equals(this.identifyingTags, processSummaryAttributes.identifyingTags) && Objects.equals(this.pid, processSummaryAttributes.pid) && Objects.equals(this.ppid, processSummaryAttributes.ppid) && Objects.equals(this.start, processSummaryAttributes.start) @@ -303,7 +365,17 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - cmdline, host, pid, ppid, start, tags, timestamp, user, additionalProperties); + cmdline, + executable, + host, + identifyingTags, + pid, + ppid, + start, + tags, + timestamp, + user, + additionalProperties); } @Override @@ -311,7 +383,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class ProcessSummaryAttributes {\n"); sb.append(" cmdline: ").append(toIndentedString(cmdline)).append("\n"); + sb.append(" executable: ").append(toIndentedString(executable)).append("\n"); sb.append(" host: ").append(toIndentedString(host)).append("\n"); + sb.append(" identifyingTags: ").append(toIndentedString(identifyingTags)).append("\n"); sb.append(" pid: ").append(toIndentedString(pid)).append("\n"); sb.append(" ppid: ").append(toIndentedString(ppid)).append("\n"); sb.append(" start: ").append(toIndentedString(start)).append("\n");