diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml
index ab4cf98dbf5..982af418809 100644
--- a/.generator/schemas/v2/openapi.yaml
+++ b/.generator/schemas/v2/openapi.yaml
@@ -4249,6 +4249,18 @@ components:
description: Name of the connection
example: My AWS Connection
type: string
+ tags:
+ description: |-
+ Tags associated with the connection. Each tag must follow the `key:value` format.
+ The `default` tag key is reserved.
+ example:
+ - env:prod
+ - team:action-platform
+ items:
+ description: A non-reserved tag in `key:value` format.
+ pattern: "^[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
+ type: string
+ type: array
required:
- name
- integration
@@ -4262,6 +4274,18 @@ components:
description: Name of the connection
example: My AWS Connection
type: string
+ tags:
+ description: |-
+ Tags associated with the connection. Each tag must follow the `key:value` format.
+ The `default` tag key is reserved.
+ example:
+ - env:prod
+ - team:action-platform
+ items:
+ description: A non-reserved tag in `key:value` format.
+ pattern: "^[A-Za-z0-9._/-]+:[A-Za-z0-9._/-]+$"
+ type: string
+ type: array
type: object
ActionConnectionData:
description: Data related to the connection.
@@ -121707,6 +121731,9 @@ paths:
type: AWSAssumeRole
type: AWS
name: My AWS Connection
+ tags:
+ - env:prod
+ - team:action-platform
type: action_connection
schema:
$ref: "#/components/schemas/CreateActionConnectionRequest"
@@ -121723,6 +121750,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
+ tags:
+ - env:prod
+ - team:action-platform
id: 00000000-0000-0000-0000-000000000001
type: action_connection
schema:
@@ -121800,6 +121830,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
+ tags:
+ - env:prod
+ - team:action-platform
id: 00000000-0000-0000-0000-000000000002
type: action_connection
schema:
@@ -121848,6 +121881,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
+ tags:
+ - env:prod
+ - team:action-platform
type: action_connection
schema:
$ref: "#/components/schemas/UpdateActionConnectionRequest"
@@ -121865,6 +121901,9 @@ paths:
integration:
type: AWS
name: My AWS Connection
+ tags:
+ - env:prod
+ - team:action-platform
id: 00000000-0000-0000-0000-000000000003
type: action_connection
schema:
diff --git a/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributes.java b/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributes.java
index c0cd5f07c5e..b25b02e796b 100644
--- a/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributes.java
+++ b/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributes.java
@@ -13,14 +13,17 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.util.ArrayList;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
import java.util.Objects;
/** The definition of ActionConnectionAttributes object. */
@JsonPropertyOrder({
ActionConnectionAttributes.JSON_PROPERTY_INTEGRATION,
- ActionConnectionAttributes.JSON_PROPERTY_NAME
+ ActionConnectionAttributes.JSON_PROPERTY_NAME,
+ ActionConnectionAttributes.JSON_PROPERTY_TAGS
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -32,6 +35,9 @@ public class ActionConnectionAttributes {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
+ public static final String JSON_PROPERTY_TAGS = "tags";
+ private List tags = null;
+
public ActionConnectionAttributes() {}
@JsonCreator
@@ -88,6 +94,36 @@ public void setName(String name) {
this.name = name;
}
+ public ActionConnectionAttributes tags(List tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ public ActionConnectionAttributes addTagsItem(String tagsItem) {
+ if (this.tags == null) {
+ this.tags = new ArrayList<>();
+ }
+ this.tags.add(tagsItem);
+ return this;
+ }
+
+ /**
+ * Tags associated with the connection. Each tag must follow the key:value format.
+ * The default tag key is reserved.
+ *
+ * @return tags
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TAGS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getTags() {
+ return tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ }
+
/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -146,13 +182,14 @@ public boolean equals(Object o) {
ActionConnectionAttributes actionConnectionAttributes = (ActionConnectionAttributes) o;
return Objects.equals(this.integration, actionConnectionAttributes.integration)
&& Objects.equals(this.name, actionConnectionAttributes.name)
+ && Objects.equals(this.tags, actionConnectionAttributes.tags)
&& Objects.equals(
this.additionalProperties, actionConnectionAttributes.additionalProperties);
}
@Override
public int hashCode() {
- return Objects.hash(integration, name, additionalProperties);
+ return Objects.hash(integration, name, tags, additionalProperties);
}
@Override
@@ -161,6 +198,7 @@ public String toString() {
sb.append("class ActionConnectionAttributes {\n");
sb.append(" integration: ").append(toIndentedString(integration)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
diff --git a/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributesUpdate.java b/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributesUpdate.java
index 1f07671aaca..98c02a77a66 100644
--- a/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributesUpdate.java
+++ b/src/main/java/com/datadog/api/client/v2/model/ActionConnectionAttributesUpdate.java
@@ -12,14 +12,17 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import java.util.ArrayList;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
import java.util.Objects;
/** The definition of ActionConnectionAttributesUpdate object. */
@JsonPropertyOrder({
ActionConnectionAttributesUpdate.JSON_PROPERTY_INTEGRATION,
- ActionConnectionAttributesUpdate.JSON_PROPERTY_NAME
+ ActionConnectionAttributesUpdate.JSON_PROPERTY_NAME,
+ ActionConnectionAttributesUpdate.JSON_PROPERTY_TAGS
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -31,6 +34,9 @@ public class ActionConnectionAttributesUpdate {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
+ public static final String JSON_PROPERTY_TAGS = "tags";
+ private List tags = null;
+
public ActionConnectionAttributesUpdate integration(
ActionConnectionIntegrationUpdate integration) {
this.integration = integration;
@@ -78,6 +84,36 @@ public void setName(String name) {
this.name = name;
}
+ public ActionConnectionAttributesUpdate tags(List tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ public ActionConnectionAttributesUpdate addTagsItem(String tagsItem) {
+ if (this.tags == null) {
+ this.tags = new ArrayList<>();
+ }
+ this.tags.add(tagsItem);
+ return this;
+ }
+
+ /**
+ * Tags associated with the connection. Each tag must follow the key:value format.
+ * The default tag key is reserved.
+ *
+ * @return tags
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_TAGS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public List getTags() {
+ return tags;
+ }
+
+ public void setTags(List tags) {
+ this.tags = tags;
+ }
+
/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -137,13 +173,14 @@ public boolean equals(Object o) {
(ActionConnectionAttributesUpdate) o;
return Objects.equals(this.integration, actionConnectionAttributesUpdate.integration)
&& Objects.equals(this.name, actionConnectionAttributesUpdate.name)
+ && Objects.equals(this.tags, actionConnectionAttributesUpdate.tags)
&& Objects.equals(
this.additionalProperties, actionConnectionAttributesUpdate.additionalProperties);
}
@Override
public int hashCode() {
- return Objects.hash(integration, name, additionalProperties);
+ return Objects.hash(integration, name, tags, additionalProperties);
}
@Override
@@ -152,6 +189,7 @@ public String toString() {
sb.append("class ActionConnectionAttributesUpdate {\n");
sb.append(" integration: ").append(toIndentedString(integration)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");