diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 528b0ddb0..a9ea4ce63 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -44cbc832f1b070c47544ff470fd8498853d24cf3 \ No newline at end of file +dbf9b0a4e0432e846520442b14c34fc7f0ca0d8c \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 3540fbd3f..4a63eeb1b 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -38,4 +38,6 @@ * Add `command` and `envVars` fields for `com.databricks.sdk.service.apps.AppDeployment`. * Add `fullName` and `securableType` fields for `com.databricks.sdk.service.catalog.AccessRequestDestinations`. * [Breaking] Change `deleteKafkaConfig()` method for `workspaceClient.featureEngineering()` service . Method path has changed. -* [Breaking] Change long-running operation configuration for `workspaceClient.postgres().deleteRole()` method . Long running operation response type changed to `Void class`. \ No newline at end of file +* [Breaking] Change long-running operation configuration for `workspaceClient.postgres().deleteRole()` method . Long running operation response type changed to `Void class`. +* Add `TABLE_DELTASHARING_OPEN_DIR_BASED` enum value for `com.databricks.sdk.service.catalog.SecurableKind`. +* [Breaking] Remove `accessModes` and `storageLocation` fields for `com.databricks.sdk.service.sharing.Table`. \ No newline at end of file diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java index 41969e227..5efc2bd5f 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java @@ -4,13 +4,14 @@ import com.databricks.sdk.support.Generated; -/** Latest kind: CONNECTION_ONELAKE = 289; Next id:290 */ +/** Latest kind: TABLE_DELTASHARING_OPEN_DIR_BASED = 290; Next id:291 */ @Generated public enum SecurableKind { TABLE_DB_STORAGE, TABLE_DELTA, TABLE_DELTASHARING, TABLE_DELTASHARING_MUTABLE, + TABLE_DELTASHARING_OPEN_DIR_BASED, TABLE_DELTA_EXTERNAL, TABLE_DELTA_ICEBERG_DELTASHARING, TABLE_DELTA_ICEBERG_MANAGED, diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Table.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Table.java index 61cff4487..119e8a050 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Table.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Table.java @@ -10,13 +10,6 @@ @Generated public class Table { - /** - * The access modes supported for this table (e.g., "url", "dir"). Used for open sharing to - * indicate how the table can be accessed. - */ - @JsonProperty("access_modes") - private Collection accessModes; - /** The comment of the table. */ @JsonProperty("comment") private String comment; @@ -53,23 +46,10 @@ public class Table { @JsonProperty("share_id") private String shareId; - /** The cloud storage location of the table for open sharing. */ - @JsonProperty("storage_location") - private String storageLocation; - /** The Tags of the table. */ @JsonProperty("tags") private Collection tags; - public Table setAccessModes(Collection accessModes) { - this.accessModes = accessModes; - return this; - } - - public Collection getAccessModes() { - return accessModes; - } - public Table setComment(String comment) { this.comment = comment; return this; @@ -151,15 +131,6 @@ public String getShareId() { return shareId; } - public Table setStorageLocation(String storageLocation) { - this.storageLocation = storageLocation; - return this; - } - - public String getStorageLocation() { - return storageLocation; - } - public Table setTags(Collection tags) { this.tags = tags; return this; @@ -174,8 +145,7 @@ public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Table that = (Table) o; - return Objects.equals(accessModes, that.accessModes) - && Objects.equals(comment, that.comment) + return Objects.equals(comment, that.comment) && Objects.equals(id, that.id) && Objects.equals(internalAttributes, that.internalAttributes) && Objects.equals(materializationNamespace, that.materializationNamespace) @@ -184,14 +154,12 @@ public boolean equals(Object o) { && Objects.equals(schema, that.schema) && Objects.equals(share, that.share) && Objects.equals(shareId, that.shareId) - && Objects.equals(storageLocation, that.storageLocation) && Objects.equals(tags, that.tags); } @Override public int hashCode() { return Objects.hash( - accessModes, comment, id, internalAttributes, @@ -201,14 +169,12 @@ public int hashCode() { schema, share, shareId, - storageLocation, tags); } @Override public String toString() { return new ToStringer(Table.class) - .add("accessModes", accessModes) .add("comment", comment) .add("id", id) .add("internalAttributes", internalAttributes) @@ -218,7 +184,6 @@ public String toString() { .add("schema", schema) .add("share", share) .add("shareId", shareId) - .add("storageLocation", storageLocation) .add("tags", tags) .toString(); }