From af943e417c95d75d76c5484c1c23ca301d35242a Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-2[bot]" <184307802+databricks-ci-ghec-2[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 10:48:14 +0000 Subject: [PATCH] Update SDK to 1ca70b5c4c094537aa5c31e93031f1809b36e52f --- .codegen/_openapi_sha | 2 +- NEXT_CHANGELOG.md | 5 ++++- .../sdk/service/compute/EditInstancePool.java | 16 ---------------- .../sdk/service/postgres/ProjectSpec.java | 18 ++++++++++++++++++ .../sdk/service/postgres/ProjectStatus.java | 16 ++++++++++++++++ 5 files changed, 39 insertions(+), 18 deletions(-) diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 4aecc500a..45268c561 100755 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -bde0ceb3e78e7f24d00713e088a77e0ad008cbc5 \ No newline at end of file +1ca70b5c4c094537aa5c31e93031f1809b36e52f \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 8dcc761e5..cd05e2551 100755 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -19,4 +19,7 @@ * Add `resetCheckpointSelection` field for `com.databricks.sdk.service.pipelines.StartUpdate`. * [Breaking] Remove `oauth2AppClientId` and `oauth2AppIntegrationId` fields for `com.databricks.sdk.service.apps.Space`. * Add `createDatabase()`, `deleteDatabase()`, `getDatabase()`, `listDatabases()` and `updateDatabase()` methods for `workspaceClient.postgres()` service. -* Add `postgres` field for `com.databricks.sdk.service.apps.AppResource`. \ No newline at end of file +* Add `postgres` field for `com.databricks.sdk.service.apps.AppResource`. +* Add `enablePgNativeLogin` field for `com.databricks.sdk.service.postgres.ProjectSpec`. +* Add `enablePgNativeLogin` field for `com.databricks.sdk.service.postgres.ProjectStatus`. +* [Breaking] Remove `nodeTypeFlexibility` field for `com.databricks.sdk.service.compute.EditInstancePool`. \ No newline at end of file diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java index 57338146a..b5cd70eb2 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/compute/EditInstancePool.java @@ -52,10 +52,6 @@ public class EditInstancePool { @JsonProperty("min_idle_instances") private Long minIdleInstances; - /** Flexible node type configuration for the pool. */ - @JsonProperty("node_type_flexibility") - private NodeTypeFlexibility nodeTypeFlexibility; - /** * This field encodes, through a single value, the resources available to each of the Spark nodes * in this cluster. For example, the Spark nodes can be provisioned and optimized for memory or @@ -134,15 +130,6 @@ public Long getMinIdleInstances() { return minIdleInstances; } - public EditInstancePool setNodeTypeFlexibility(NodeTypeFlexibility nodeTypeFlexibility) { - this.nodeTypeFlexibility = nodeTypeFlexibility; - return this; - } - - public NodeTypeFlexibility getNodeTypeFlexibility() { - return nodeTypeFlexibility; - } - public EditInstancePool setNodeTypeId(String nodeTypeId) { this.nodeTypeId = nodeTypeId; return this; @@ -182,7 +169,6 @@ public boolean equals(Object o) { && Objects.equals(instancePoolName, that.instancePoolName) && Objects.equals(maxCapacity, that.maxCapacity) && Objects.equals(minIdleInstances, that.minIdleInstances) - && Objects.equals(nodeTypeFlexibility, that.nodeTypeFlexibility) && Objects.equals(nodeTypeId, that.nodeTypeId) && Objects.equals(remoteDiskThroughput, that.remoteDiskThroughput) && Objects.equals(totalInitialRemoteDiskSize, that.totalInitialRemoteDiskSize); @@ -197,7 +183,6 @@ public int hashCode() { instancePoolName, maxCapacity, minIdleInstances, - nodeTypeFlexibility, nodeTypeId, remoteDiskThroughput, totalInitialRemoteDiskSize); @@ -212,7 +197,6 @@ public String toString() { .add("instancePoolName", instancePoolName) .add("maxCapacity", maxCapacity) .add("minIdleInstances", minIdleInstances) - .add("nodeTypeFlexibility", nodeTypeFlexibility) .add("nodeTypeId", nodeTypeId) .add("remoteDiskThroughput", remoteDiskThroughput) .add("totalInitialRemoteDiskSize", totalInitialRemoteDiskSize) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectSpec.java index e421fb4ba..751461f67 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectSpec.java @@ -36,6 +36,12 @@ public class ProjectSpec { @JsonProperty("display_name") private String displayName; + /** + * Whether to enable PG native password login on all endpoints in this project. Defaults to true. + */ + @JsonProperty("enable_pg_native_login") + private Boolean enablePgNativeLogin; + /** * The number of seconds to retain the shared history for point in time recovery for all branches * in this project. Value should be between 0s and 2592000s (up to 30 days). @@ -84,6 +90,15 @@ public String getDisplayName() { return displayName; } + public ProjectSpec setEnablePgNativeLogin(Boolean enablePgNativeLogin) { + this.enablePgNativeLogin = enablePgNativeLogin; + return this; + } + + public Boolean getEnablePgNativeLogin() { + return enablePgNativeLogin; + } + public ProjectSpec setHistoryRetentionDuration(Duration historyRetentionDuration) { this.historyRetentionDuration = historyRetentionDuration; return this; @@ -111,6 +126,7 @@ public boolean equals(Object o) { && Objects.equals(customTags, that.customTags) && Objects.equals(defaultEndpointSettings, that.defaultEndpointSettings) && Objects.equals(displayName, that.displayName) + && Objects.equals(enablePgNativeLogin, that.enablePgNativeLogin) && Objects.equals(historyRetentionDuration, that.historyRetentionDuration) && Objects.equals(pgVersion, that.pgVersion); } @@ -122,6 +138,7 @@ public int hashCode() { customTags, defaultEndpointSettings, displayName, + enablePgNativeLogin, historyRetentionDuration, pgVersion); } @@ -133,6 +150,7 @@ public String toString() { .add("customTags", customTags) .add("defaultEndpointSettings", defaultEndpointSettings) .add("displayName", displayName) + .add("enablePgNativeLogin", enablePgNativeLogin) .add("historyRetentionDuration", historyRetentionDuration) .add("pgVersion", pgVersion) .toString(); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectStatus.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectStatus.java index 6a6f71ba7..fb0890412 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectStatus.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/postgres/ProjectStatus.java @@ -31,6 +31,10 @@ public class ProjectStatus { @JsonProperty("display_name") private String displayName; + /** Whether to enable PG native password login on all endpoints in this project. */ + @JsonProperty("enable_pg_native_login") + private Boolean enablePgNativeLogin; + /** The effective number of seconds to retain the shared history for point in time recovery. */ @JsonProperty("history_retention_duration") private Duration historyRetentionDuration; @@ -93,6 +97,15 @@ public String getDisplayName() { return displayName; } + public ProjectStatus setEnablePgNativeLogin(Boolean enablePgNativeLogin) { + this.enablePgNativeLogin = enablePgNativeLogin; + return this; + } + + public Boolean getEnablePgNativeLogin() { + return enablePgNativeLogin; + } + public ProjectStatus setHistoryRetentionDuration(Duration historyRetentionDuration) { this.historyRetentionDuration = historyRetentionDuration; return this; @@ -139,6 +152,7 @@ public boolean equals(Object o) { && Objects.equals(customTags, that.customTags) && Objects.equals(defaultEndpointSettings, that.defaultEndpointSettings) && Objects.equals(displayName, that.displayName) + && Objects.equals(enablePgNativeLogin, that.enablePgNativeLogin) && Objects.equals(historyRetentionDuration, that.historyRetentionDuration) && Objects.equals(owner, that.owner) && Objects.equals(pgVersion, that.pgVersion) @@ -153,6 +167,7 @@ public int hashCode() { customTags, defaultEndpointSettings, displayName, + enablePgNativeLogin, historyRetentionDuration, owner, pgVersion, @@ -167,6 +182,7 @@ public String toString() { .add("customTags", customTags) .add("defaultEndpointSettings", defaultEndpointSettings) .add("displayName", displayName) + .add("enablePgNativeLogin", enablePgNativeLogin) .add("historyRetentionDuration", historyRetentionDuration) .add("owner", owner) .add("pgVersion", pgVersion)