Skip to content

Commit 46368bb

Browse files
Update SDK to f21f4933da405cac4bc77c9732044dc45b4f0c5a
1 parent 9f1914f commit 46368bb

File tree

6 files changed

+14
-39
lines changed

6 files changed

+14
-39
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44cbc832f1b070c47544ff470fd8498853d24cf3
1+
f21f4933da405cac4bc77c9732044dc45b4f0c5a

NEXT_CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
### Internal Changes
1414

1515
### API Changes
16+
* Add `TABLE_DELTASHARING_OPEN_DIR_BASED` enum value for `com.databricks.sdk.service.catalog.SecurableKind`.
17+
* Add `CREATING` and `CREATE_FAILED` enum values for `com.databricks.sdk.service.settings.NccPrivateEndpointRulePrivateLinkConnectionState`.
18+
* [Breaking] Remove `accessModes` and `storageLocation` fields for `com.databricks.sdk.service.sharing.Table`.

databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/SecurableKind.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
import com.databricks.sdk.support.Generated;
66

7-
/** Latest kind: CONNECTION_ONELAKE = 289; Next id:290 */
7+
/** Latest kind: TABLE_DELTASHARING_OPEN_DIR_BASED = 290; Next id:291 */
88
@Generated
99
public enum SecurableKind {
1010
TABLE_DB_STORAGE,
1111
TABLE_DELTA,
1212
TABLE_DELTASHARING,
1313
TABLE_DELTASHARING_MUTABLE,
14+
TABLE_DELTASHARING_OPEN_DIR_BASED,
1415
TABLE_DELTA_EXTERNAL,
1516
TABLE_DELTA_ICEBERG_DELTASHARING,
1617
TABLE_DELTA_ICEBERG_MANAGED,

databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/RoleRoleSpec.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ public class RoleRoleSpec {
2020
@JsonProperty("auth_method")
2121
private RoleAuthMethod authMethod;
2222

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

databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/NccPrivateEndpointRulePrivateLinkConnectionState.java

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
@Generated
88
public enum NccPrivateEndpointRulePrivateLinkConnectionState {
9+
CREATE_FAILED,
10+
CREATING,
911
DISCONNECTED,
1012
ESTABLISHED,
1113
EXPIRED,

databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/Table.java

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@
1010

1111
@Generated
1212
public class Table {
13-
/**
14-
* The access modes supported for this table (e.g., "url", "dir"). Used for open sharing to
15-
* indicate how the table can be accessed.
16-
*/
17-
@JsonProperty("access_modes")
18-
private Collection<String> accessModes;
19-
2013
/** The comment of the table. */
2114
@JsonProperty("comment")
2215
private String comment;
@@ -53,23 +46,10 @@ public class Table {
5346
@JsonProperty("share_id")
5447
private String shareId;
5548

56-
/** The cloud storage location of the table for open sharing. */
57-
@JsonProperty("storage_location")
58-
private String storageLocation;
59-
6049
/** The Tags of the table. */
6150
@JsonProperty("tags")
6251
private Collection<com.databricks.sdk.service.catalog.TagKeyValue> tags;
6352

64-
public Table setAccessModes(Collection<String> accessModes) {
65-
this.accessModes = accessModes;
66-
return this;
67-
}
68-
69-
public Collection<String> getAccessModes() {
70-
return accessModes;
71-
}
72-
7353
public Table setComment(String comment) {
7454
this.comment = comment;
7555
return this;
@@ -151,15 +131,6 @@ public String getShareId() {
151131
return shareId;
152132
}
153133

154-
public Table setStorageLocation(String storageLocation) {
155-
this.storageLocation = storageLocation;
156-
return this;
157-
}
158-
159-
public String getStorageLocation() {
160-
return storageLocation;
161-
}
162-
163134
public Table setTags(Collection<com.databricks.sdk.service.catalog.TagKeyValue> tags) {
164135
this.tags = tags;
165136
return this;
@@ -174,8 +145,7 @@ public boolean equals(Object o) {
174145
if (this == o) return true;
175146
if (o == null || getClass() != o.getClass()) return false;
176147
Table that = (Table) o;
177-
return Objects.equals(accessModes, that.accessModes)
178-
&& Objects.equals(comment, that.comment)
148+
return Objects.equals(comment, that.comment)
179149
&& Objects.equals(id, that.id)
180150
&& Objects.equals(internalAttributes, that.internalAttributes)
181151
&& Objects.equals(materializationNamespace, that.materializationNamespace)
@@ -184,14 +154,12 @@ public boolean equals(Object o) {
184154
&& Objects.equals(schema, that.schema)
185155
&& Objects.equals(share, that.share)
186156
&& Objects.equals(shareId, that.shareId)
187-
&& Objects.equals(storageLocation, that.storageLocation)
188157
&& Objects.equals(tags, that.tags);
189158
}
190159

191160
@Override
192161
public int hashCode() {
193162
return Objects.hash(
194-
accessModes,
195163
comment,
196164
id,
197165
internalAttributes,
@@ -201,14 +169,12 @@ public int hashCode() {
201169
schema,
202170
share,
203171
shareId,
204-
storageLocation,
205172
tags);
206173
}
207174

208175
@Override
209176
public String toString() {
210177
return new ToStringer(Table.class)
211-
.add("accessModes", accessModes)
212178
.add("comment", comment)
213179
.add("id", id)
214180
.add("internalAttributes", internalAttributes)
@@ -218,7 +184,6 @@ public String toString() {
218184
.add("schema", schema)
219185
.add("share", share)
220186
.add("shareId", shareId)
221-
.add("storageLocation", storageLocation)
222187
.add("tags", tags)
223188
.toString();
224189
}

0 commit comments

Comments
 (0)