Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
44cbc832f1b070c47544ff470fd8498853d24cf3
f21f4933da405cac4bc77c9732044dc45b4f0c5a
3 changes: 3 additions & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
### Internal Changes

### API Changes
* Add `TABLE_DELTASHARING_OPEN_DIR_BASED` enum value for `com.databricks.sdk.service.catalog.SecurableKind`.
* Add `CREATING` and `CREATE_FAILED` enum values for `com.databricks.sdk.service.settings.NccPrivateEndpointRulePrivateLinkConnectionState`.
* [Breaking] Remove `accessModes` and `storageLocation` fields for `com.databricks.sdk.service.sharing.Table`.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ public class RoleRoleSpec {
@JsonProperty("auth_method")
private RoleAuthMethod authMethod;

/** The type of the role. */
/**
* The type of the role. When specifying a managed-identity, the chosen role_id must be a valid:
*
* <p>* application ID for SERVICE_PRINCIPAL * user email for USER * group name for GROUP
*/
@JsonProperty("identity_type")
private RoleIdentityType identityType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

@Generated
public enum NccPrivateEndpointRulePrivateLinkConnectionState {
CREATE_FAILED,
CREATING,
DISCONNECTED,
ESTABLISHED,
EXPIRED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> accessModes;

/** The comment of the table. */
@JsonProperty("comment")
private String comment;
Expand Down Expand Up @@ -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<com.databricks.sdk.service.catalog.TagKeyValue> tags;

public Table setAccessModes(Collection<String> accessModes) {
this.accessModes = accessModes;
return this;
}

public Collection<String> getAccessModes() {
return accessModes;
}

public Table setComment(String comment) {
this.comment = comment;
return this;
Expand Down Expand Up @@ -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<com.databricks.sdk.service.catalog.TagKeyValue> tags) {
this.tags = tags;
return this;
Expand All @@ -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)
Expand All @@ -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,
Expand All @@ -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)
Expand All @@ -218,7 +184,6 @@ public String toString() {
.add("schema", schema)
.add("share", share)
.add("shareId", shareId)
.add("storageLocation", storageLocation)
.add("tags", tags)
.toString();
}
Expand Down
Loading