list(ListSecurableTagsRequest request) {
+ return impl.list(request).getTagAssignments();
+ }
+
+ public TagSecurableAssignmentsList update(
+ TagChanges changes, UpdateSecurableType securableType, String fullName) {
+ return update(
+ new UpdateTags().setChanges(changes).setSecurableType(securableType).setFullName(fullName));
+ }
+
+ /**
+ * Update tags for a securable.
+ *
+ * Update tag assignments for an entity The caller must be either the owner of the securable,
+ * or a metastore admin, or have at least USE / SELECT and APPLY_TAG privilege on the associated
+ * securable.
+ */
+ public TagSecurableAssignmentsList update(UpdateTags request) {
+ return impl.update(request);
+ }
+
+ public SecurableTagsService impl() {
+ return impl;
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsImpl.java
new file mode 100755
index 000000000..107152684
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsImpl.java
@@ -0,0 +1,33 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.core.ApiClient;
+import com.databricks.sdk.support.Generated;
+
+/** Package-local implementation of SecurableTags */
+@Generated
+class SecurableTagsImpl implements SecurableTagsService {
+ private final ApiClient apiClient;
+
+ public SecurableTagsImpl(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ @Override
+ public TagSecurableAssignmentsList list(ListSecurableTagsRequest request) {
+ String path =
+ String.format(
+ "/api/2.1/unity-catalog/securable-tags/%s/%s",
+ request.getSecurableType(), request.getFullName());
+ return apiClient.GET(path, request, TagSecurableAssignmentsList.class);
+ }
+
+ @Override
+ public TagSecurableAssignmentsList update(UpdateTags request) {
+ String path =
+ String.format(
+ "/api/2.1/unity-catalog/securable-tags/%s/%s",
+ request.getSecurableType(), request.getFullName());
+ return apiClient.PATCH(path, request, TagSecurableAssignmentsList.class);
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsService.java
new file mode 100755
index 000000000..b019335da
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableTagsService.java
@@ -0,0 +1,33 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+
+/**
+ * Tags are attributes containing keys and values that can be applied to different entities in Unity
+ * Catalog. Tags are useful for organizing and categorizing different entities within a metastore.
+ * SecurableTags are attached to Unity Catalog securable entities.
+ *
+ *
This is the high-level interface, that contains generated methods.
+ *
+ *
Evolving: this interface is under development. Method signatures may change.
+ */
+@Generated
+public interface SecurableTagsService {
+ /**
+ * Get tags for a securable.
+ *
+ *
Gets tag assignments for an entity. The caller must be either the owner of the securable, or
+ * a metastore admin, or have at least USE / SELECT privilege on the associated securable.
+ */
+ TagSecurableAssignmentsList list(ListSecurableTagsRequest listSecurableTagsRequest);
+
+ /**
+ * Update tags for a securable.
+ *
+ *
Update tag assignments for an entity The caller must be either the owner of the securable,
+ * or a metastore admin, or have at least USE / SELECT and APPLY_TAG privilege on the associated
+ * securable.
+ */
+ TagSecurableAssignmentsList update(UpdateTags updateTags);
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsAPI.java
new file mode 100755
index 000000000..d578e726d
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsAPI.java
@@ -0,0 +1,77 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.core.ApiClient;
+import com.databricks.sdk.support.Generated;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Tags are attributes containing keys and values that can be applied to different entities in Unity
+ * Catalog. Tags are useful for organizing and categorizing different entities within a metastore.
+ * SubentityTags are attached to Unity Catalog subentities.
+ */
+@Generated
+public class SubentityTagsAPI {
+ private static final Logger LOG = LoggerFactory.getLogger(SubentityTagsAPI.class);
+
+ private final SubentityTagsService impl;
+
+ /** Regular-use constructor */
+ public SubentityTagsAPI(ApiClient apiClient) {
+ impl = new SubentityTagsImpl(apiClient);
+ }
+
+ /** Constructor for mocks */
+ public SubentityTagsAPI(SubentityTagsService mock) {
+ impl = mock;
+ }
+
+ public Iterable list(
+ ListSecurableType securableType, String fullName, String subentityName) {
+ return list(
+ new ListSubentityTagsRequest()
+ .setSecurableType(securableType)
+ .setFullName(fullName)
+ .setSubentityName(subentityName));
+ }
+
+ /**
+ * Get tags for a subentity.
+ *
+ * Gets tag assignments for a subentity associated with a securable entity. Eg. column of a
+ * table The caller must be either the owner of the securable, or a metastore admin, or have at
+ * least USE / SELECT privilege on the associated securable.
+ */
+ public Iterable list(ListSubentityTagsRequest request) {
+ return impl.list(request).getTagAssignments();
+ }
+
+ public TagSubentityAssignmentsList update(
+ TagChanges changes,
+ UpdateSecurableType securableType,
+ String fullName,
+ String subentityName) {
+ return update(
+ new UpdateTags()
+ .setChanges(changes)
+ .setSecurableType(securableType)
+ .setFullName(fullName)
+ .setSubentityName(subentityName));
+ }
+
+ /**
+ * Update tags for a subentity.
+ *
+ * Update tag assignments for a subentity associated with a securable entity. The caller must
+ * be either the owner of the securable, or a metastore admin, or have at least USE / SELECT and
+ * APPLY_TAG privilege on the associated securable.
+ */
+ public TagSubentityAssignmentsList update(UpdateTags request) {
+ return impl.update(request);
+ }
+
+ public SubentityTagsService impl() {
+ return impl;
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsImpl.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsImpl.java
new file mode 100755
index 000000000..3c569fef8
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsImpl.java
@@ -0,0 +1,33 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.core.ApiClient;
+import com.databricks.sdk.support.Generated;
+
+/** Package-local implementation of SubentityTags */
+@Generated
+class SubentityTagsImpl implements SubentityTagsService {
+ private final ApiClient apiClient;
+
+ public SubentityTagsImpl(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ @Override
+ public TagSubentityAssignmentsList list(ListSubentityTagsRequest request) {
+ String path =
+ String.format(
+ "/api/2.1/unity-catalog/subentity-tags/%s/%s/%s",
+ request.getSecurableType(), request.getFullName(), request.getSubentityName());
+ return apiClient.GET(path, request, TagSubentityAssignmentsList.class);
+ }
+
+ @Override
+ public TagSubentityAssignmentsList update(UpdateTags request) {
+ String path =
+ String.format(
+ "/api/2.1/unity-catalog/subentity-tags/%s/%s/%s",
+ request.getSecurableType(), request.getFullName(), request.getSubentityName());
+ return apiClient.PATCH(path, request, TagSubentityAssignmentsList.class);
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsService.java
new file mode 100755
index 000000000..24fb36945
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SubentityTagsService.java
@@ -0,0 +1,34 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+
+/**
+ * Tags are attributes containing keys and values that can be applied to different entities in Unity
+ * Catalog. Tags are useful for organizing and categorizing different entities within a metastore.
+ * SubentityTags are attached to Unity Catalog subentities.
+ *
+ *
This is the high-level interface, that contains generated methods.
+ *
+ *
Evolving: this interface is under development. Method signatures may change.
+ */
+@Generated
+public interface SubentityTagsService {
+ /**
+ * Get tags for a subentity.
+ *
+ *
Gets tag assignments for a subentity associated with a securable entity. Eg. column of a
+ * table The caller must be either the owner of the securable, or a metastore admin, or have at
+ * least USE / SELECT privilege on the associated securable.
+ */
+ TagSubentityAssignmentsList list(ListSubentityTagsRequest listSubentityTagsRequest);
+
+ /**
+ * Update tags for a subentity.
+ *
+ *
Update tag assignments for a subentity associated with a securable entity. The caller must
+ * be either the owner of the securable, or a metastore admin, or have at least USE / SELECT and
+ * APPLY_TAG privilege on the associated securable.
+ */
+ TagSubentityAssignmentsList update(UpdateTags updateTags);
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagChanges.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagChanges.java
new file mode 100755
index 000000000..eb6e8f0f0
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagChanges.java
@@ -0,0 +1,59 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Collection;
+import java.util.Objects;
+
+@Generated
+public class TagChanges {
+ /** Tags to add for the current entity */
+ @JsonProperty("add_tags")
+ private Collection addTags;
+
+ /** Tags to remove for the current entity */
+ @JsonProperty("remove")
+ private Collection remove;
+
+ public TagChanges setAddTags(Collection addTags) {
+ this.addTags = addTags;
+ return this;
+ }
+
+ public Collection getAddTags() {
+ return addTags;
+ }
+
+ public TagChanges setRemove(Collection remove) {
+ this.remove = remove;
+ return this;
+ }
+
+ public Collection getRemove() {
+ return remove;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagChanges that = (TagChanges) o;
+ return Objects.equals(addTags, that.addTags) && Objects.equals(remove, that.remove);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(addTags, remove);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagChanges.class)
+ .add("addTags", addTags)
+ .add("remove", remove)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagKeyValuePair.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagKeyValuePair.java
new file mode 100755
index 000000000..7b3878aff
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagKeyValuePair.java
@@ -0,0 +1,55 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Objects;
+
+@Generated
+public class TagKeyValuePair {
+ /** Tag key name */
+ @JsonProperty("key")
+ private String key;
+
+ /** Tag value */
+ @JsonProperty("value")
+ private String value;
+
+ public TagKeyValuePair setKey(String key) {
+ this.key = key;
+ return this;
+ }
+
+ public String getKey() {
+ return key;
+ }
+
+ public TagKeyValuePair setValue(String value) {
+ this.value = value;
+ return this;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagKeyValuePair that = (TagKeyValuePair) o;
+ return Objects.equals(key, that.key) && Objects.equals(value, that.value);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(key, value);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagKeyValuePair.class).add("key", key).add("value", value).toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurable.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurable.java
new file mode 100755
index 000000000..bc825c579
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurable.java
@@ -0,0 +1,58 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Objects;
+
+@Generated
+public class TagSecurable {
+ /** Name of the securable entity */
+ @JsonProperty("full_name")
+ private String fullName;
+
+ /** Type of the securable entity */
+ @JsonProperty("type")
+ private String typeValue;
+
+ public TagSecurable setFullName(String fullName) {
+ this.fullName = fullName;
+ return this;
+ }
+
+ public String getFullName() {
+ return fullName;
+ }
+
+ public TagSecurable setType(String typeValue) {
+ this.typeValue = typeValue;
+ return this;
+ }
+
+ public String getType() {
+ return typeValue;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagSecurable that = (TagSecurable) o;
+ return Objects.equals(fullName, that.fullName) && Objects.equals(typeValue, that.typeValue);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(fullName, typeValue);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagSecurable.class)
+ .add("fullName", fullName)
+ .add("typeValue", typeValue)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignment.java
new file mode 100755
index 000000000..7a9d64a4f
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignment.java
@@ -0,0 +1,60 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Collection;
+import java.util.Objects;
+
+@Generated
+public class TagSecurableAssignment {
+ /** Securable entity associated with the tagging information */
+ @JsonProperty("securable")
+ private TagSecurable securable;
+
+ /** tag assignments containing keys and values for the securable entity */
+ @JsonProperty("tag_key_value_pairs")
+ private Collection tagKeyValuePairs;
+
+ public TagSecurableAssignment setSecurable(TagSecurable securable) {
+ this.securable = securable;
+ return this;
+ }
+
+ public TagSecurable getSecurable() {
+ return securable;
+ }
+
+ public TagSecurableAssignment setTagKeyValuePairs(Collection tagKeyValuePairs) {
+ this.tagKeyValuePairs = tagKeyValuePairs;
+ return this;
+ }
+
+ public Collection getTagKeyValuePairs() {
+ return tagKeyValuePairs;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagSecurableAssignment that = (TagSecurableAssignment) o;
+ return Objects.equals(securable, that.securable)
+ && Objects.equals(tagKeyValuePairs, that.tagKeyValuePairs);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(securable, tagKeyValuePairs);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagSecurableAssignment.class)
+ .add("securable", securable)
+ .add("tagKeyValuePairs", tagKeyValuePairs)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignmentsList.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignmentsList.java
new file mode 100755
index 000000000..b5f1e5ef6
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSecurableAssignmentsList.java
@@ -0,0 +1,46 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Collection;
+import java.util.Objects;
+
+@Generated
+public class TagSecurableAssignmentsList {
+ /** An array of tag assignments on a securable */
+ @JsonProperty("tag_assignments")
+ private Collection tagAssignments;
+
+ public TagSecurableAssignmentsList setTagAssignments(
+ Collection tagAssignments) {
+ this.tagAssignments = tagAssignments;
+ return this;
+ }
+
+ public Collection getTagAssignments() {
+ return tagAssignments;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagSecurableAssignmentsList that = (TagSecurableAssignmentsList) o;
+ return Objects.equals(tagAssignments, that.tagAssignments);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(tagAssignments);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagSecurableAssignmentsList.class)
+ .add("tagAssignments", tagAssignments)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentity.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentity.java
new file mode 100755
index 000000000..b7fa1f797
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentity.java
@@ -0,0 +1,74 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Objects;
+
+@Generated
+public class TagSubentity {
+ /** Name of the securable entity */
+ @JsonProperty("full_name")
+ private String fullName;
+
+ /** Name of the subentity */
+ @JsonProperty("subentity")
+ private String subentity;
+
+ /** Type of the securable entity */
+ @JsonProperty("type")
+ private String typeValue;
+
+ public TagSubentity setFullName(String fullName) {
+ this.fullName = fullName;
+ return this;
+ }
+
+ public String getFullName() {
+ return fullName;
+ }
+
+ public TagSubentity setSubentity(String subentity) {
+ this.subentity = subentity;
+ return this;
+ }
+
+ public String getSubentity() {
+ return subentity;
+ }
+
+ public TagSubentity setType(String typeValue) {
+ this.typeValue = typeValue;
+ return this;
+ }
+
+ public String getType() {
+ return typeValue;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagSubentity that = (TagSubentity) o;
+ return Objects.equals(fullName, that.fullName)
+ && Objects.equals(subentity, that.subentity)
+ && Objects.equals(typeValue, that.typeValue);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(fullName, subentity, typeValue);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagSubentity.class)
+ .add("fullName", fullName)
+ .add("subentity", subentity)
+ .add("typeValue", typeValue)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentityAssignmentsList.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentityAssignmentsList.java
new file mode 100755
index 000000000..fd1266d4d
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagSubentityAssignmentsList.java
@@ -0,0 +1,46 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Collection;
+import java.util.Objects;
+
+@Generated
+public class TagSubentityAssignmentsList {
+ /** An array of subentity tag assignments on a subentity */
+ @JsonProperty("tag_assignments")
+ private Collection tagAssignments;
+
+ public TagSubentityAssignmentsList setTagAssignments(
+ Collection tagAssignments) {
+ this.tagAssignments = tagAssignments;
+ return this;
+ }
+
+ public Collection getTagAssignments() {
+ return tagAssignments;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagSubentityAssignmentsList that = (TagSubentityAssignmentsList) o;
+ return Objects.equals(tagAssignments, that.tagAssignments);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(tagAssignments);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagSubentityAssignmentsList.class)
+ .add("tagAssignments", tagAssignments)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagsSubentityAssignment.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagsSubentityAssignment.java
new file mode 100755
index 000000000..60f23a34d
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/TagsSubentityAssignment.java
@@ -0,0 +1,75 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Collection;
+import java.util.Objects;
+
+@Generated
+public class TagsSubentityAssignment {
+ /** Subentity associated with the tagging information */
+ @JsonProperty("securable")
+ private TagSubentity securable;
+
+ /** Name of the subentity */
+ @JsonProperty("subentity")
+ private String subentity;
+
+ /** tag assignments containing keys and values for the securable entity */
+ @JsonProperty("tag_key_value_pairs")
+ private Collection tagKeyValuePairs;
+
+ public TagsSubentityAssignment setSecurable(TagSubentity securable) {
+ this.securable = securable;
+ return this;
+ }
+
+ public TagSubentity getSecurable() {
+ return securable;
+ }
+
+ public TagsSubentityAssignment setSubentity(String subentity) {
+ this.subentity = subentity;
+ return this;
+ }
+
+ public String getSubentity() {
+ return subentity;
+ }
+
+ public TagsSubentityAssignment setTagKeyValuePairs(Collection tagKeyValuePairs) {
+ this.tagKeyValuePairs = tagKeyValuePairs;
+ return this;
+ }
+
+ public Collection getTagKeyValuePairs() {
+ return tagKeyValuePairs;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ TagsSubentityAssignment that = (TagsSubentityAssignment) o;
+ return Objects.equals(securable, that.securable)
+ && Objects.equals(subentity, that.subentity)
+ && Objects.equals(tagKeyValuePairs, that.tagKeyValuePairs);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(securable, subentity, tagKeyValuePairs);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(TagsSubentityAssignment.class)
+ .add("securable", securable)
+ .add("subentity", subentity)
+ .add("tagKeyValuePairs", tagKeyValuePairs)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecurableType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecurableType.java
new file mode 100755
index 000000000..68c5c2a68
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateSecurableType.java
@@ -0,0 +1,18 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+@Generated
+public enum UpdateSecurableType {
+ @JsonProperty("catalog")
+ CATALOG,
+
+ @JsonProperty("schema")
+ SCHEMA,
+
+ @JsonProperty("table")
+ TABLE,
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTags.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTags.java
new file mode 100755
index 000000000..57a1200ba
--- /dev/null
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateTags.java
@@ -0,0 +1,86 @@
+// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
+
+package com.databricks.sdk.service.catalog;
+
+import com.databricks.sdk.support.Generated;
+import com.databricks.sdk.support.ToStringer;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Objects;
+
+@Generated
+public class UpdateTags {
+ /** Desired changes to be made to the tag assignments on the entity */
+ @JsonProperty("changes")
+ private TagChanges changes;
+
+ /** The fully qualified name of the unity catalog securable entity. */
+ private String fullName;
+
+ /** The type of the unity catalog securable entity. */
+ private UpdateSecurableType securableType;
+
+ /** The name of subentity associated with the securable entity */
+ private String subentityName;
+
+ public UpdateTags setChanges(TagChanges changes) {
+ this.changes = changes;
+ return this;
+ }
+
+ public TagChanges getChanges() {
+ return changes;
+ }
+
+ public UpdateTags setFullName(String fullName) {
+ this.fullName = fullName;
+ return this;
+ }
+
+ public String getFullName() {
+ return fullName;
+ }
+
+ public UpdateTags setSecurableType(UpdateSecurableType securableType) {
+ this.securableType = securableType;
+ return this;
+ }
+
+ public UpdateSecurableType getSecurableType() {
+ return securableType;
+ }
+
+ public UpdateTags setSubentityName(String subentityName) {
+ this.subentityName = subentityName;
+ return this;
+ }
+
+ public String getSubentityName() {
+ return subentityName;
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+ UpdateTags that = (UpdateTags) o;
+ return Objects.equals(changes, that.changes)
+ && Objects.equals(fullName, that.fullName)
+ && Objects.equals(securableType, that.securableType)
+ && Objects.equals(subentityName, that.subentityName);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(changes, fullName, securableType, subentityName);
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringer(UpdateTags.class)
+ .add("changes", changes)
+ .add("fullName", fullName)
+ .add("securableType", securableType)
+ .add("subentityName", subentityName)
+ .toString();
+ }
+}
diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Privilege.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Privilege.java
index 78a654b86..83d75ff24 100755
--- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Privilege.java
+++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Privilege.java
@@ -7,6 +7,7 @@
@Generated
public enum Privilege {
ALL_PRIVILEGES,
+ APPLY_TAG,
CREATE,
CREATE_CATALOG,
CREATE_CONNECTION,
diff --git a/pom.xml b/pom.xml
index cd7a16289..315c5ab74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.databricks
databricks-sdk-parent
- 0.5.0
+ 0.6.0
pom
Databricks SDK for Java
The Databricks SDK for Java includes functionality to accelerate development with Java for