From 13e3d7539255f876899d16517836baaff8b0ff31 Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-2[bot]" <184307802+databricks-ci-ghec-2[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 04:28:45 +0000 Subject: [PATCH] Release databricks-sdk-java --- .codegen/_last_sha | 2 +- CHANGELOG.md | 11 + databricks-sdk-java/lockfile.json | 386 +++++++++--------- databricks-sdk-java/pom.xml | 17 +- .../com/databricks/sdk/core/UserAgent.java | 2 +- .../service/billing/BudgetConfiguration.java | 11 +- .../CreateBudgetConfigurationBudget.java | 11 +- .../UpdateBudgetConfigurationBudget.java | 11 +- .../BundleDeploymentsAPI.java | 2 +- .../BundleDeploymentsService.java | 2 +- .../service/bundledeployments/Operation.java | 9 +- .../sdk/service/catalog/AiGatewayAPI.java | 36 +- .../sdk/service/catalog/AiGatewayService.java | 36 +- .../catalog/ListMcpServicesRequest.java | 2 +- .../ListModelProviderServicesRequest.java | 2 +- .../catalog/ListModelServicesRequest.java | 2 +- .../service/catalog/ListSkillsRequest.java | 2 +- ...iderServiceConfigCustomProviderConfig.java | 2 +- .../databricks/sdk/service/ml/DataSource.java | 23 +- .../databricks/sdk/service/ml/SdpSource.java | 172 ++++++++ .../sdk/service/ml/SdpSourceState.java | 13 + .../pipelines/ListPipelinesRequest.java | 4 +- .../CustomerFacingIngressNetworkPolicy.java | 5 +- .../sdk/service/sharing/CreateShare.java | 17 +- .../service/sharing/ReplicationConfig.java | 46 --- .../sdk/service/sharing/ShareInfo.java | 16 - .../service/sql/CreateWarehouseRequest.java | 59 +++ .../sdk/service/sql/EditWarehouseRequest.java | 59 +++ .../sdk/service/sql/EndpointInfo.java | 59 +++ .../sdk/service/sql/GetWarehouseResponse.java | 59 +++ examples/docs/pom.xml | 2 +- examples/spring-boot-oauth-u2m-demo/pom.xml | 2 +- lockfile.json | 2 +- pom.xml | 2 +- shaded/pom.xml | 2 +- 35 files changed, 766 insertions(+), 322 deletions(-) create mode 100644 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSource.java create mode 100644 databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSourceState.java delete mode 100644 databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ReplicationConfig.java diff --git a/.codegen/_last_sha b/.codegen/_last_sha index 5f958578c..516869ee9 100644 --- a/.codegen/_last_sha +++ b/.codegen/_last_sha @@ -1 +1 @@ -c0dcab78c4a8e8e94d635787699d066d304942ce \ No newline at end of file +6525bcdc3926234141b997c492ea0777d0214896 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3635bc622..470fbccb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Version changelog +## Release v0.169.0 (2026-10-21) + +### API Changes +* Add `sdpSource` field for `com.databricks.sdk.service.ml.DataSource`. +* Add `customerVersionLabel`, `maxDbu` and `reydenClusterSizeMultiplier` fields for `com.databricks.sdk.service.sql.CreateWarehouseRequest`. +* Add `customerVersionLabel`, `maxDbu` and `reydenClusterSizeMultiplier` fields for `com.databricks.sdk.service.sql.EditWarehouseRequest`. +* Add `customerVersionLabel`, `maxDbu` and `reydenClusterSizeMultiplier` fields for `com.databricks.sdk.service.sql.EndpointInfo`. +* Add `customerVersionLabel`, `maxDbu` and `reydenClusterSizeMultiplier` fields for `com.databricks.sdk.service.sql.GetWarehouseResponse`. +* [Breaking] Remove `replicationConfig` field for `com.databricks.sdk.service.sharing.CreateShare`. +* [Breaking] Remove `replicationConfig` field for `com.databricks.sdk.service.sharing.ShareInfo`. + ## Release v0.168.0 (2026-10-19) ### API Changes diff --git a/databricks-sdk-java/lockfile.json b/databricks-sdk-java/lockfile.json index fac32fe31..a7143d6d2 100644 --- a/databricks-sdk-java/lockfile.json +++ b/databricks-sdk-java/lockfile.json @@ -1,60 +1,60 @@ { "artifactId": "databricks-sdk-java", "groupId": "com.databricks", - "version": "0.168.0", + "version": "0.169.0", "lockFileVersion": 1, "dependencies": [ { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-annotations", - "version": "2.18.11", + "version": "2.22", "checksumAlgorithm": "SHA-256", - "checksum": "9eab0d36da981645392427eedcb087e13be542488e37f935723dc0be50d18a53", + "checksum": "21ddb598807d3a51a876704eb979d9296e1c6a6f47ab1826ff88c6d6a127a2d0", "scope": "provided", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.18.11/jackson-annotations-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.22/jackson-annotations-2.22.jar", + "selectedVersion": "2.22", "included": true, - "id": "com.fasterxml.jackson.core:jackson-annotations:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-annotations:2.22", "children": [] }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-databind", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "075ad94a76c3edf83e1972dc26f476361eb6b9d0e260d93fc11105509bc79cab", + "checksum": "556db5439e206114346043f68d200497dc96a0bca62a360a81784092ebd0e0a9", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.18.11/jackson-databind-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.22.3/jackson-databind-2.22.3.jar", + "selectedVersion": "2.22.3", "included": true, - "id": "com.fasterxml.jackson.core:jackson-databind:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-databind:2.22.3", "children": [ { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-annotations", - "version": "2.18.11", + "version": "2.22", "checksumAlgorithm": "SHA-256", - "checksum": "9eab0d36da981645392427eedcb087e13be542488e37f935723dc0be50d18a53", + "checksum": "21ddb598807d3a51a876704eb979d9296e1c6a6f47ab1826ff88c6d6a127a2d0", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.18.11/jackson-annotations-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.22/jackson-annotations-2.22.jar", + "selectedVersion": "2.22", "included": false, - "id": "com.fasterxml.jackson.core:jackson-annotations:2.18.11", - "parent": "com.fasterxml.jackson.core:jackson-databind:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-annotations:2.22", + "parent": "com.fasterxml.jackson.core:jackson-databind:2.22.3", "children": [] }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-core", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "825fa72dfb9e2f8a642322f1390dbac22c30d15ebd6dc6b3772158821ee124eb", + "checksum": "8a501126a385b25841915d839508f8a66e2a0dbc8a6709d055ef3b3e852b094c", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.18.11/jackson-core-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.22.3/jackson-core-2.22.3.jar", + "selectedVersion": "2.22.3", "included": true, - "id": "com.fasterxml.jackson.core:jackson-core:2.18.11", - "parent": "com.fasterxml.jackson.core:jackson-databind:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-core:2.22.3", + "parent": "com.fasterxml.jackson.core:jackson-databind:2.22.3", "children": [] } ] @@ -62,41 +62,55 @@ { "groupId": "com.fasterxml.jackson.datatype", "artifactId": "jackson-datatype-guava", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "3eed4eefff6a765f87b5280cb3d6335bbc97fd12930ab39703bcc8f781c80c05", + "checksum": "30d44f810bd73264f2b8e46c799f5a5dc933acf827493d73bfba5525c647d6c0", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-guava/2.18.11/jackson-datatype-guava-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-guava/2.22.3/jackson-datatype-guava-2.22.3.jar", + "selectedVersion": "2.22.3", "included": true, - "id": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.18.11", + "id": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.22.3", "children": [ + { + "groupId": "com.fasterxml.jackson.core", + "artifactId": "jackson-annotations", + "version": "2.22", + "checksumAlgorithm": "SHA-256", + "checksum": "21ddb598807d3a51a876704eb979d9296e1c6a6f47ab1826ff88c6d6a127a2d0", + "scope": "compile", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.22/jackson-annotations-2.22.jar", + "selectedVersion": "2.22", + "included": false, + "id": "com.fasterxml.jackson.core:jackson-annotations:2.22", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.22.3", + "children": [] + }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-core", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "825fa72dfb9e2f8a642322f1390dbac22c30d15ebd6dc6b3772158821ee124eb", + "checksum": "8a501126a385b25841915d839508f8a66e2a0dbc8a6709d055ef3b3e852b094c", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.18.11/jackson-core-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.22.3/jackson-core-2.22.3.jar", + "selectedVersion": "2.22.3", "included": false, - "id": "com.fasterxml.jackson.core:jackson-core:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-core:2.22.3", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.22.3", "children": [] }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-databind", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "075ad94a76c3edf83e1972dc26f476361eb6b9d0e260d93fc11105509bc79cab", + "checksum": "556db5439e206114346043f68d200497dc96a0bca62a360a81784092ebd0e0a9", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.18.11/jackson-databind-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.22.3/jackson-databind-2.22.3.jar", + "selectedVersion": "2.22.3", "included": false, - "id": "com.fasterxml.jackson.core:jackson-databind:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-databind:2.22.3", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.22.3", "children": [] }, { @@ -110,7 +124,7 @@ "selectedVersion": "32.0.0-android", "included": false, "id": "com.google.guava:guava:25.1-jre", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.18.11", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-guava:2.22.3", "children": [] } ] @@ -118,41 +132,41 @@ { "groupId": "com.fasterxml.jackson.datatype", "artifactId": "jackson-datatype-jdk8", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "efb0704bc8c9ff1eab7f1f8d0aabe3365d601b875b6dfc2a89ff750f9e0a8d2f", + "checksum": "f223061a5aaecdc9506458143807c73bcd1a744d6b3bbb8da4703a0abc408f7d", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.18.11/jackson-datatype-jdk8-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.22.3/jackson-datatype-jdk8-2.22.3.jar", + "selectedVersion": "2.22.3", "included": true, - "id": "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.11", + "id": "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.3", "children": [ { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-core", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "825fa72dfb9e2f8a642322f1390dbac22c30d15ebd6dc6b3772158821ee124eb", + "checksum": "8a501126a385b25841915d839508f8a66e2a0dbc8a6709d055ef3b3e852b094c", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.18.11/jackson-core-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.22.3/jackson-core-2.22.3.jar", + "selectedVersion": "2.22.3", "included": false, - "id": "com.fasterxml.jackson.core:jackson-core:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-core:2.22.3", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.3", "children": [] }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-databind", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "075ad94a76c3edf83e1972dc26f476361eb6b9d0e260d93fc11105509bc79cab", + "checksum": "556db5439e206114346043f68d200497dc96a0bca62a360a81784092ebd0e0a9", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.18.11/jackson-databind-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.22.3/jackson-databind-2.22.3.jar", + "selectedVersion": "2.22.3", "included": false, - "id": "com.fasterxml.jackson.core:jackson-databind:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-databind:2.22.3", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.3", "children": [] } ] @@ -160,55 +174,55 @@ { "groupId": "com.fasterxml.jackson.datatype", "artifactId": "jackson-datatype-jsr310", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "b2bab3e2c34f7b0b7f83bdb4de4c869c884466f756d76ed661ab3d2d9f35d1d3", + "checksum": "ec7052ee48c9d873bb8148338a643f02cf89c01d035dd219411473030d6d2b22", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.18.11/jackson-datatype-jsr310-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.22.3/jackson-datatype-jsr310-2.22.3.jar", + "selectedVersion": "2.22.3", "included": true, - "id": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.11", + "id": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.3", "children": [ { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-annotations", - "version": "2.18.11", + "version": "2.22", "checksumAlgorithm": "SHA-256", - "checksum": "9eab0d36da981645392427eedcb087e13be542488e37f935723dc0be50d18a53", + "checksum": "21ddb598807d3a51a876704eb979d9296e1c6a6f47ab1826ff88c6d6a127a2d0", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.18.11/jackson-annotations-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.22/jackson-annotations-2.22.jar", + "selectedVersion": "2.22", "included": false, - "id": "com.fasterxml.jackson.core:jackson-annotations:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-annotations:2.22", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.3", "children": [] }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-core", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "825fa72dfb9e2f8a642322f1390dbac22c30d15ebd6dc6b3772158821ee124eb", + "checksum": "8a501126a385b25841915d839508f8a66e2a0dbc8a6709d055ef3b3e852b094c", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.18.11/jackson-core-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.22.3/jackson-core-2.22.3.jar", + "selectedVersion": "2.22.3", "included": false, - "id": "com.fasterxml.jackson.core:jackson-core:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-core:2.22.3", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.3", "children": [] }, { "groupId": "com.fasterxml.jackson.core", "artifactId": "jackson-databind", - "version": "2.18.11", + "version": "2.22.3", "checksumAlgorithm": "SHA-256", - "checksum": "075ad94a76c3edf83e1972dc26f476361eb6b9d0e260d93fc11105509bc79cab", + "checksum": "556db5439e206114346043f68d200497dc96a0bca62a360a81784092ebd0e0a9", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.18.11/jackson-databind-2.18.11.jar", - "selectedVersion": "2.18.11", + "resolved": "https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.22.3/jackson-databind-2.22.3.jar", + "selectedVersion": "2.22.3", "included": false, - "id": "com.fasterxml.jackson.core:jackson-databind:2.18.11", - "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.11", + "id": "com.fasterxml.jackson.core:jackson-databind:2.22.3", + "parent": "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.3", "children": [] } ] @@ -611,27 +625,27 @@ { "groupId": "com.google.protobuf", "artifactId": "protobuf-java", - "version": "3.25.5", + "version": "3.25.9", "checksumAlgorithm": "SHA-256", - "checksum": "8540247fad9e06baefa8fb45eb313802d019f485f14300e0f9d6b556ed88e753", + "checksum": "df18b719cd0c5a11e569013216cc9de47a0a954adeede685c0f98ce4c42d4d1a", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.25.5/protobuf-java-3.25.5.jar", - "selectedVersion": "3.25.5", + "resolved": "https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.25.9/protobuf-java-3.25.9.jar", + "selectedVersion": "3.25.9", "included": true, - "id": "com.google.protobuf:protobuf-java:3.25.5", + "id": "com.google.protobuf:protobuf-java:3.25.9", "children": [] }, { "groupId": "com.google.protobuf", "artifactId": "protobuf-java-util", - "version": "3.25.5", + "version": "3.25.9", "checksumAlgorithm": "SHA-256", - "checksum": "dacc58b2c3d2fa8d4bddc1acb881e78d6cf7c137dd78bc1d67f6aca732436a8d", + "checksum": "805da7926a7615f2e26b66634ed352d50364550052163a50c3759d8ac075dc25", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java-util/3.25.5/protobuf-java-util-3.25.5.jar", - "selectedVersion": "3.25.5", + "resolved": "https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java-util/3.25.9/protobuf-java-util-3.25.9.jar", + "selectedVersion": "3.25.9", "included": true, - "id": "com.google.protobuf:protobuf-java-util:3.25.5", + "id": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [ { "groupId": "com.google.code.findbugs", @@ -644,7 +658,7 @@ "selectedVersion": "3.0.2", "included": false, "id": "com.google.code.findbugs:jsr305:3.0.2", - "parent": "com.google.protobuf:protobuf-java-util:3.25.5", + "parent": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [] }, { @@ -658,7 +672,7 @@ "selectedVersion": "2.8.9", "included": true, "id": "com.google.code.gson:gson:2.8.9", - "parent": "com.google.protobuf:protobuf-java-util:3.25.5", + "parent": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [] }, { @@ -672,7 +686,7 @@ "selectedVersion": "2.18.0", "included": true, "id": "com.google.errorprone:error_prone_annotations:2.18.0", - "parent": "com.google.protobuf:protobuf-java-util:3.25.5", + "parent": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [] }, { @@ -686,7 +700,7 @@ "selectedVersion": "32.0.0-android", "included": false, "id": "com.google.guava:guava:32.0.1-jre", - "parent": "com.google.protobuf:protobuf-java-util:3.25.5", + "parent": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [] }, { @@ -700,21 +714,21 @@ "selectedVersion": "2.8", "included": true, "id": "com.google.j2objc:j2objc-annotations:2.8", - "parent": "com.google.protobuf:protobuf-java-util:3.25.5", + "parent": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [] }, { "groupId": "com.google.protobuf", "artifactId": "protobuf-java", - "version": "3.25.5", + "version": "3.25.9", "checksumAlgorithm": "SHA-256", - "checksum": "8540247fad9e06baefa8fb45eb313802d019f485f14300e0f9d6b556ed88e753", + "checksum": "df18b719cd0c5a11e569013216cc9de47a0a954adeede685c0f98ce4c42d4d1a", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.25.5/protobuf-java-3.25.5.jar", - "selectedVersion": "3.25.5", + "resolved": "https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.25.9/protobuf-java-3.25.9.jar", + "selectedVersion": "3.25.9", "included": false, - "id": "com.google.protobuf:protobuf-java:3.25.5", - "parent": "com.google.protobuf:protobuf-java-util:3.25.5", + "id": "com.google.protobuf:protobuf-java:3.25.9", + "parent": "com.google.protobuf:protobuf-java-util:3.25.9", "children": [] } ] @@ -889,27 +903,27 @@ { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "8e4bde23ee28fc443975654a7b28c410a3b78d6be96b78c99ab73695ec344f7c", + "checksum": "a573c9a99af73e1889d1d3ed7e12067c85cff6a821b96a1916e5ccccc375ae58", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter/5.10.0/junit-jupiter-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter/5.14.4/junit-jupiter-5.14.4.jar", + "selectedVersion": "5.14.4", "included": true, - "id": "org.junit.jupiter:junit-jupiter:5.10.0", + "id": "org.junit.jupiter:junit-jupiter:5.14.4", "children": [ { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter-api", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "108088fd7ea46a8e65a0ce7f5d75ae3ff7865606770a078715f5a6e5709e17d8", + "checksum": "aa1ae085fd92dfdbf85d867e60e59adc599bac183b46fc7e0698198bf426ad3f", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.10.0/junit-jupiter-api-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.14.4/junit-jupiter-api-5.14.4.jar", + "selectedVersion": "5.14.4", "included": true, - "id": "org.junit.jupiter:junit-jupiter-api:5.10.0", - "parent": "org.junit.jupiter:junit-jupiter:5.10.0", + "id": "org.junit.jupiter:junit-jupiter-api:5.14.4", + "parent": "org.junit.jupiter:junit-jupiter:5.14.4", "children": [ { "groupId": "org.apiguardian", @@ -922,21 +936,21 @@ "selectedVersion": "1.1.2", "included": true, "id": "org.apiguardian:apiguardian-api:1.1.2", - "parent": "org.junit.jupiter:junit-jupiter-api:5.10.0", + "parent": "org.junit.jupiter:junit-jupiter-api:5.14.4", "children": [] }, { "groupId": "org.junit.platform", "artifactId": "junit-platform-commons", - "version": "1.10.0", + "version": "1.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "6083db08ca11fca1e16099d0dcfede0193d80b3762b276349d80d3da536791b2", + "checksum": "55c8a0c069ac1bc4e1f8bbb26b5eae95cbd10e4ff1b23248441ab61a607381e1", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.10.0/junit-platform-commons-1.10.0.jar", - "selectedVersion": "1.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.14.4/junit-platform-commons-1.14.4.jar", + "selectedVersion": "1.14.4", "included": true, - "id": "org.junit.platform:junit-platform-commons:1.10.0", - "parent": "org.junit.jupiter:junit-jupiter-api:5.10.0", + "id": "org.junit.platform:junit-platform-commons:1.14.4", + "parent": "org.junit.jupiter:junit-jupiter-api:5.14.4", "children": [ { "groupId": "org.apiguardian", @@ -949,7 +963,7 @@ "selectedVersion": "1.1.2", "included": false, "id": "org.apiguardian:apiguardian-api:1.1.2", - "parent": "org.junit.platform:junit-platform-commons:1.10.0", + "parent": "org.junit.platform:junit-platform-commons:1.14.4", "children": [] } ] @@ -965,7 +979,7 @@ "selectedVersion": "1.3.0", "included": true, "id": "org.opentest4j:opentest4j:1.3.0", - "parent": "org.junit.jupiter:junit-jupiter-api:5.10.0", + "parent": "org.junit.jupiter:junit-jupiter-api:5.14.4", "children": [] } ] @@ -973,15 +987,15 @@ { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter-engine", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "57ea48e6f795200791065bbc86b70b84cd05367c5c9f2ac8f9268e27154c88a8", + "checksum": "e1e35cf651ae1635638d431ea4412d5c65938be54150444f07ba659586042b11", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.10.0/junit-jupiter-engine-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-engine/5.14.4/junit-jupiter-engine-5.14.4.jar", + "selectedVersion": "5.14.4", "included": true, - "id": "org.junit.jupiter:junit-jupiter-engine:5.10.0", - "parent": "org.junit.jupiter:junit-jupiter:5.10.0", + "id": "org.junit.jupiter:junit-jupiter-engine:5.14.4", + "parent": "org.junit.jupiter:junit-jupiter:5.14.4", "children": [ { "groupId": "org.apiguardian", @@ -994,35 +1008,35 @@ "selectedVersion": "1.1.2", "included": false, "id": "org.apiguardian:apiguardian-api:1.1.2", - "parent": "org.junit.jupiter:junit-jupiter-engine:5.10.0", + "parent": "org.junit.jupiter:junit-jupiter-engine:5.14.4", "children": [] }, { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter-api", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "108088fd7ea46a8e65a0ce7f5d75ae3ff7865606770a078715f5a6e5709e17d8", + "checksum": "aa1ae085fd92dfdbf85d867e60e59adc599bac183b46fc7e0698198bf426ad3f", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.10.0/junit-jupiter-api-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.14.4/junit-jupiter-api-5.14.4.jar", + "selectedVersion": "5.14.4", "included": false, - "id": "org.junit.jupiter:junit-jupiter-api:5.10.0", - "parent": "org.junit.jupiter:junit-jupiter-engine:5.10.0", + "id": "org.junit.jupiter:junit-jupiter-api:5.14.4", + "parent": "org.junit.jupiter:junit-jupiter-engine:5.14.4", "children": [] }, { "groupId": "org.junit.platform", "artifactId": "junit-platform-engine", - "version": "1.10.0", + "version": "1.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "cd338efd02ee73966ea754e0c0c71e1a11f4af5db9c2003e4b6137e119155abe", + "checksum": "3c7f3f84a6747aef0db6bd5fdd2a6c8fe37132e653c939bd67387377af66d91c", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.10.0/junit-platform-engine-1.10.0.jar", - "selectedVersion": "1.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-engine/1.14.4/junit-platform-engine-1.14.4.jar", + "selectedVersion": "1.14.4", "included": true, - "id": "org.junit.platform:junit-platform-engine:1.10.0", - "parent": "org.junit.jupiter:junit-jupiter-engine:5.10.0", + "id": "org.junit.platform:junit-platform-engine:1.14.4", + "parent": "org.junit.jupiter:junit-jupiter-engine:5.14.4", "children": [ { "groupId": "org.apiguardian", @@ -1035,21 +1049,21 @@ "selectedVersion": "1.1.2", "included": false, "id": "org.apiguardian:apiguardian-api:1.1.2", - "parent": "org.junit.platform:junit-platform-engine:1.10.0", + "parent": "org.junit.platform:junit-platform-engine:1.14.4", "children": [] }, { "groupId": "org.junit.platform", "artifactId": "junit-platform-commons", - "version": "1.10.0", + "version": "1.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "6083db08ca11fca1e16099d0dcfede0193d80b3762b276349d80d3da536791b2", + "checksum": "55c8a0c069ac1bc4e1f8bbb26b5eae95cbd10e4ff1b23248441ab61a607381e1", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.10.0/junit-platform-commons-1.10.0.jar", - "selectedVersion": "1.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-commons/1.14.4/junit-platform-commons-1.14.4.jar", + "selectedVersion": "1.14.4", "included": false, - "id": "org.junit.platform:junit-platform-commons:1.10.0", - "parent": "org.junit.platform:junit-platform-engine:1.10.0", + "id": "org.junit.platform:junit-platform-commons:1.14.4", + "parent": "org.junit.platform:junit-platform-engine:1.14.4", "children": [] }, { @@ -1063,7 +1077,7 @@ "selectedVersion": "1.3.0", "included": false, "id": "org.opentest4j:opentest4j:1.3.0", - "parent": "org.junit.platform:junit-platform-engine:1.10.0", + "parent": "org.junit.platform:junit-platform-engine:1.14.4", "children": [] } ] @@ -1073,15 +1087,15 @@ { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter-params", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "f259a7322cce375430c2236a2dcb24d4a49d22045b723ad85af88e11704391c2", + "checksum": "28f2a8dab5b9d259b18fa6b0ba5a6f302cbc70dd875f42032ea9e3afea09a870", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-params/5.10.0/junit-jupiter-params-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-params/5.14.4/junit-jupiter-params-5.14.4.jar", + "selectedVersion": "5.14.4", "included": true, - "id": "org.junit.jupiter:junit-jupiter-params:5.10.0", - "parent": "org.junit.jupiter:junit-jupiter:5.10.0", + "id": "org.junit.jupiter:junit-jupiter-params:5.14.4", + "parent": "org.junit.jupiter:junit-jupiter:5.14.4", "children": [ { "groupId": "org.apiguardian", @@ -1094,21 +1108,21 @@ "selectedVersion": "1.1.2", "included": false, "id": "org.apiguardian:apiguardian-api:1.1.2", - "parent": "org.junit.jupiter:junit-jupiter-params:5.10.0", + "parent": "org.junit.jupiter:junit-jupiter-params:5.14.4", "children": [] }, { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter-api", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "108088fd7ea46a8e65a0ce7f5d75ae3ff7865606770a078715f5a6e5709e17d8", + "checksum": "aa1ae085fd92dfdbf85d867e60e59adc599bac183b46fc7e0698198bf426ad3f", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.10.0/junit-jupiter-api-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.14.4/junit-jupiter-api-5.14.4.jar", + "selectedVersion": "5.14.4", "included": false, - "id": "org.junit.jupiter:junit-jupiter-api:5.10.0", - "parent": "org.junit.jupiter:junit-jupiter-params:5.10.0", + "id": "org.junit.jupiter:junit-jupiter-api:5.14.4", + "parent": "org.junit.jupiter:junit-jupiter-params:5.14.4", "children": [] } ] @@ -1201,14 +1215,14 @@ { "groupId": "org.junit.jupiter", "artifactId": "junit-jupiter-api", - "version": "5.10.0", + "version": "5.14.4", "checksumAlgorithm": "SHA-256", - "checksum": "108088fd7ea46a8e65a0ce7f5d75ae3ff7865606770a078715f5a6e5709e17d8", + "checksum": "aa1ae085fd92dfdbf85d867e60e59adc599bac183b46fc7e0698198bf426ad3f", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.10.0/junit-jupiter-api-5.10.0.jar", - "selectedVersion": "5.10.0", + "resolved": "https://repo.maven.apache.org/maven2/org/junit/jupiter/junit-jupiter-api/5.14.4/junit-jupiter-api-5.14.4.jar", + "selectedVersion": "5.14.4", "included": false, - "id": "org.junit.jupiter:junit-jupiter-api:5.10.0", + "id": "org.junit.jupiter:junit-jupiter-api:5.14.4", "parent": "org.mockito:mockito-junit-jupiter:4.11.0", "children": [] }, @@ -1231,27 +1245,27 @@ { "groupId": "org.slf4j", "artifactId": "slf4j-api", - "version": "2.0.9", + "version": "2.0.20", "checksumAlgorithm": "SHA-256", - "checksum": "0818930dc8d7debb403204611691da58e49d42c50b6ffcfdce02dadb7c3c2b6c", + "checksum": "7e1446499b359675d8aabe6af2de86b85e72ae8a2a932c0b40d0e5ba57097439", "scope": "compile", - "resolved": "https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar", - "selectedVersion": "2.0.9", + "resolved": "https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/2.0.20/slf4j-api-2.0.20.jar", + "selectedVersion": "2.0.20", "included": true, - "id": "org.slf4j:slf4j-api:2.0.9", + "id": "org.slf4j:slf4j-api:2.0.20", "children": [] }, { "groupId": "org.slf4j", "artifactId": "slf4j-reload4j", - "version": "2.0.9", + "version": "2.0.20", "checksumAlgorithm": "SHA-256", - "checksum": "896b0639a5f0eb1fc42c453bee83ceaf8bbe6cb71b249df124c9645dfd15a0e5", + "checksum": "194277130731fe0ef2a7237759f31a71dc62c116aa4fce26effeb371576ee85b", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/slf4j/slf4j-reload4j/2.0.9/slf4j-reload4j-2.0.9.jar", - "selectedVersion": "2.0.9", + "resolved": "https://repo.maven.apache.org/maven2/org/slf4j/slf4j-reload4j/2.0.20/slf4j-reload4j-2.0.20.jar", + "selectedVersion": "2.0.20", "included": true, - "id": "org.slf4j:slf4j-reload4j:2.0.9", + "id": "org.slf4j:slf4j-reload4j:2.0.20", "children": [ { "groupId": "ch.qos.reload4j", @@ -1264,21 +1278,21 @@ "selectedVersion": "1.2.22", "included": true, "id": "ch.qos.reload4j:reload4j:1.2.22", - "parent": "org.slf4j:slf4j-reload4j:2.0.9", + "parent": "org.slf4j:slf4j-reload4j:2.0.20", "children": [] }, { "groupId": "org.slf4j", "artifactId": "slf4j-api", - "version": "2.0.9", + "version": "2.0.20", "checksumAlgorithm": "SHA-256", - "checksum": "0818930dc8d7debb403204611691da58e49d42c50b6ffcfdce02dadb7c3c2b6c", + "checksum": "7e1446499b359675d8aabe6af2de86b85e72ae8a2a932c0b40d0e5ba57097439", "scope": "test", - "resolved": "https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar", - "selectedVersion": "2.0.9", + "resolved": "https://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/2.0.20/slf4j-api-2.0.20.jar", + "selectedVersion": "2.0.20", "included": false, - "id": "org.slf4j:slf4j-api:2.0.9", - "parent": "org.slf4j:slf4j-reload4j:2.0.9", + "id": "org.slf4j:slf4j-api:2.0.20", + "parent": "org.slf4j:slf4j-reload4j:2.0.20", "children": [] } ] @@ -1288,8 +1302,8 @@ "metaData": { "environment": { "osName": "Linux", - "mavenVersion": "3.9.9", - "javaVersion": "17.0.3" + "mavenVersion": "3.8.7", + "javaVersion": "21.0.12.1" }, "config": { "includeMavenPlugins": false, diff --git a/databricks-sdk-java/pom.xml b/databricks-sdk-java/pom.xml index 733a45e0e..6fab0484e 100644 --- a/databricks-sdk-java/pom.xml +++ b/databricks-sdk-java/pom.xml @@ -5,20 +5,21 @@ com.databricks databricks-sdk-parent - 0.168.0 + 0.169.0 databricks-sdk-java Databricks SDK for Java 4.5.14 - 2.18.11 - 5.10.0 + 2.22.3 + 2.22 + 5.14.4 1.8 1.8 4.11.0 UTF-8 - 2.0.9 + 2.0.20 @@ -40,13 +41,13 @@ org.slf4j slf4j-reload4j - 2.0.9 + 2.0.20 test com.fasterxml.jackson.core jackson-annotations - ${jackson.version} + ${jackson.annotations.version} provided @@ -133,13 +134,13 @@ com.google.protobuf protobuf-java - 3.25.5 + 3.25.9 com.google.protobuf protobuf-java-util - 3.25.5 + 3.25.9 diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java index a4056c2d6..5140f75a4 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/UserAgent.java @@ -36,7 +36,7 @@ public String getValue() { // TODO: check if reading from // /META-INF/maven/com.databricks/databrics-sdk-java/pom.properties // or getClass().getPackage().getImplementationVersion() is enough. - private static final String version = "0.168.0"; + private static final String version = "0.169.0"; public static void withProduct(String product, String productVersion) { UserAgent.product = product; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetConfiguration.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetConfiguration.java index 68c284597..b9379181d 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetConfiguration.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BudgetConfiguration.java @@ -15,8 +15,15 @@ public class BudgetConfiguration { private String accountId; /** - * Alerts to configure when this budget is in a triggered state. Budgets must have exactly one - * alert configuration. + * Alerts to configure when this budget is in a triggered state. Budgets must have at least one + * alert configuration. A budget can have up to four shared alerts per time period, each with a + * unique `quantity_threshold`. Budgets with `resource_type` set to + * `BUDGET_RESOURCE_TYPE_UNITY_AI_GATEWAY` can also use per-user alerts, with optional + * `principal_overrides`. These budgets can have at most one per-user alert per time period, and + * can use shared alerts, a per-user alert, or both. The `BLOCK_USAGE` action is only supported on + * budgets with `resource_type` set to `BUDGET_RESOURCE_TYPE_UNITY_AI_GATEWAY`. At most one shared + * alert per time period can have a `BLOCK_USAGE` action, and it must be the shared alert with the + * highest threshold in that period. */ @JsonProperty("alert_configurations") private Collection alertConfigurations; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudget.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudget.java index c33b7e7de..6c3b6a3e0 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudget.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/CreateBudgetConfigurationBudget.java @@ -15,8 +15,15 @@ public class CreateBudgetConfigurationBudget { private String accountId; /** - * Alerts to configure when this budget is in a triggered state. Budgets must have exactly one - * alert configuration. + * Alerts to configure when this budget is in a triggered state. Budgets must have at least one + * alert configuration. A budget can have up to four shared alerts per time period, each with a + * unique `quantity_threshold`. Budgets with `resource_type` set to + * `BUDGET_RESOURCE_TYPE_UNITY_AI_GATEWAY` can also use per-user alerts, with optional + * `principal_overrides`. These budgets can have at most one per-user alert per time period, and + * can use shared alerts, a per-user alert, or both. The `BLOCK_USAGE` action is only supported on + * budgets with `resource_type` set to `BUDGET_RESOURCE_TYPE_UNITY_AI_GATEWAY`. At most one shared + * alert per time period can have a `BLOCK_USAGE` action, and it must be the shared alert with the + * highest threshold in that period. */ @JsonProperty("alert_configurations") private Collection alertConfigurations; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetConfigurationBudget.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetConfigurationBudget.java index f82dedfa3..86b5c039f 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetConfigurationBudget.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/UpdateBudgetConfigurationBudget.java @@ -15,8 +15,15 @@ public class UpdateBudgetConfigurationBudget { private String accountId; /** - * Alerts to configure when this budget is in a triggered state. Budgets must have exactly one - * alert configuration. + * Alerts to configure when this budget is in a triggered state. Budgets must have at least one + * alert configuration. A budget can have up to four shared alerts per time period, each with a + * unique `quantity_threshold`. Budgets with `resource_type` set to + * `BUDGET_RESOURCE_TYPE_UNITY_AI_GATEWAY` can also use per-user alerts, with optional + * `principal_overrides`. These budgets can have at most one per-user alert per time period, and + * can use shared alerts, a per-user alert, or both. The `BLOCK_USAGE` action is only supported on + * budgets with `resource_type` set to `BUDGET_RESOURCE_TYPE_UNITY_AI_GATEWAY`. At most one shared + * alert per time period can have a `BLOCK_USAGE` action, and it must be the shared alert with the + * highest threshold in that period. */ @JsonProperty("alert_configurations") private Collection alertConfigurations; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java index 85a8d55b2..87bb980f5 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsAPI.java @@ -205,7 +205,7 @@ public Deployment updateDeployment(UpdateDeploymentRequest request) { * operation has been modified since. On success the server increments `sequence_id`; updates to * `state`, `resource_id`, and `dashboard_metadata` are mirrored onto the corresponding * deployment-level resource. Listing `state` in `update_mask` with no value clears it, which - * removes the resource, so a delete that is retried until it succeeds must clear `state`. The + * removes the tracked resource, so a delete or unbind that succeeds must clear `state`. The * parent version must be in progress, and after the update is applied a succeeded operation * cannot carry an `error_message`. See the `state` and `resource_id` fields for the rest. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java index d9bbe87b5..a0a580958 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/BundleDeploymentsService.java @@ -93,7 +93,7 @@ public interface BundleDeploymentsService { * operation has been modified since. On success the server increments `sequence_id`; updates to * `state`, `resource_id`, and `dashboard_metadata` are mirrored onto the corresponding * deployment-level resource. Listing `state` in `update_mask` with no value clears it, which - * removes the resource, so a delete that is retried until it succeeds must clear `state`. The + * removes the tracked resource, so a delete or unbind that succeeds must clear `state`. The * parent version must be in progress, and after the update is applied a succeeded operation * cannot carry an `error_message`. See the `state` and `resource_id` fields for the rest. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java index 4c5097155..d495ab995 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/bundledeployments/Operation.java @@ -93,10 +93,11 @@ public class Operation { private Long sequenceId; /** - * Serialized local config state after the operation. Its presence records whether the resource - * still exists. Explicitly clearing state removes the resource; omitting it from the update mask - * leaves resource state unchanged. State is stored only on Resources. UpdateOperation accepts - * state but omits it from its response, as do subsequent GetOperation and ListOperations. + * Serialized local config state after the operation. Its presence records whether the resource is + * still tracked by the deployment. Explicitly clearing state removes the resource from the + * deployment; omitting it from the update mask leaves resource state unchanged. State is stored + * only on Resources. UpdateOperation accepts state but omits it from its response, as do + * subsequent GetOperation and ListOperations. * *

Mutable: may be updated after creation via UpdateOperation. When updating, the caller must * echo the last-observed `sequence_id` as a concurrency precondition. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayAPI.java index ff597843c..7840b23f8 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayAPI.java @@ -89,8 +89,16 @@ public ModelService createModelService(CreateModelServiceRequest request) { /** * Creates a skill in a Unity Catalog schema and provisions its managed bundle storage. Specify - * its name in `skill_id`. The request contains an optional comment but no bundle bytes. Upload - * bundle files through the Files API, then call FinalizeSkill. + * its name in `skill_id`. The request contains an optional comment but no bundle bytes. + * + *

To publish a skill: + * + *

1. Call CreateSkill to create the skill in Unity Catalog. 2. Upload every bundle file, + * including `SKILL.md` at the bundle root, with the Files API: `PUT + * /api/2.0/fs/files/Skills/{catalog}/{schema}/{skill}/{file_path}`. The CreateSkill caller owns + * the skill and can upload. Other callers need `READ_VOLUME` and `WRITE_VOLUME` on the skill. 3. + * Call FinalizeSkill to validate `SKILL.md` and set the skill's `bundle_name` and `description` + * from its frontmatter `name` and `description`. * *

You must be the owner of the parent schema or have `CREATE_VOLUME` and `USE_SCHEMA` on it, * plus `USE_CATALOG` on the parent catalog. @@ -179,13 +187,14 @@ public void deleteSkill(DeleteSkillRequest request) { } /** - * Finalizes a skill after its bundle is uploaded. This method reads SKILL.md through the Files - * API using the caller's authorization. Its YAML frontmatter must contain an - * agentskills.io-compliant `name` and a nonblank `description` within the configured UTF-8 byte - * limit. On success, it replaces `bundle_name` and `description`; refreshes `finalize_time`, - * `update_time`, and `updated_by`; and returns the updated skill. `comment` is preserved. - * Re-finalization uses the latest SKILL.md and is last-write-wins without an etag precondition. - * Validation failures do not change metadata. + * Finalizes a skill after its bundle files are uploaded or changed through the Files API. Call it + * again after every bundle change. This method reads SKILL.md through the Files API using the + * caller's authorization. Its YAML frontmatter must contain an agentskills.io-compliant `name` + * and a nonblank `description` within the configured UTF-8 byte limit. On success, it replaces + * `bundle_name` and `description`; refreshes `finalize_time`, `update_time`, and `updated_by`; + * and returns the updated skill. `comment` is preserved. Re-finalization uses the latest SKILL.md + * and is last-write-wins without an etag precondition. Validation failures do not change + * metadata. * *

You must be the owner of the skill or have `READ_VOLUME` on it, plus `USE_CATALOG` on the * parent catalog and `USE_SCHEMA` on the parent schema. @@ -418,8 +427,13 @@ public ModelService updateModelService(UpdateModelServiceRequest request) { * conditional on the skill not having changed since it was read. Bundle files, grants, tags, and * ownership are unchanged. * - *

You must be the owner of the skill or have `MANAGE` on it, plus `USE_CATALOG` on the parent - * catalog and `USE_SCHEMA` on the parent schema. + *

To update the bundle, add, overwrite (`overwrite=true`), or delete files under + * `/Skills/{catalog}/{schema}/{skill}/` with the Files API, then call FinalizeSkill. Changing + * bundle files requires being the owner of the skill or having `READ_VOLUME` and `WRITE_VOLUME` + * on it; `MANAGE` does not grant access to bundle files. + * + *

To call UpdateSkill, you must be the owner of the skill or have `MANAGE` on it, plus + * `USE_CATALOG` on the parent catalog and `USE_SCHEMA` on the parent schema. */ public Skill updateSkill(UpdateSkillRequest request) { return impl.updateSkill(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayService.java index 6ee20a89a..1ac6c656f 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/AiGatewayService.java @@ -67,8 +67,16 @@ ModelProviderService createModelProviderService( /** * Creates a skill in a Unity Catalog schema and provisions its managed bundle storage. Specify - * its name in `skill_id`. The request contains an optional comment but no bundle bytes. Upload - * bundle files through the Files API, then call FinalizeSkill. + * its name in `skill_id`. The request contains an optional comment but no bundle bytes. + * + *

To publish a skill: + * + *

1. Call CreateSkill to create the skill in Unity Catalog. 2. Upload every bundle file, + * including `SKILL.md` at the bundle root, with the Files API: `PUT + * /api/2.0/fs/files/Skills/{catalog}/{schema}/{skill}/{file_path}`. The CreateSkill caller owns + * the skill and can upload. Other callers need `READ_VOLUME` and `WRITE_VOLUME` on the skill. 3. + * Call FinalizeSkill to validate `SKILL.md` and set the skill's `bundle_name` and `description` + * from its frontmatter `name` and `description`. * *

You must be the owner of the parent schema or have `CREATE_VOLUME` and `USE_SCHEMA` on it, * plus `USE_CATALOG` on the parent catalog. @@ -124,13 +132,14 @@ void deleteModelProviderService( void deleteSkill(DeleteSkillRequest deleteSkillRequest); /** - * Finalizes a skill after its bundle is uploaded. This method reads SKILL.md through the Files - * API using the caller's authorization. Its YAML frontmatter must contain an - * agentskills.io-compliant `name` and a nonblank `description` within the configured UTF-8 byte - * limit. On success, it replaces `bundle_name` and `description`; refreshes `finalize_time`, - * `update_time`, and `updated_by`; and returns the updated skill. `comment` is preserved. - * Re-finalization uses the latest SKILL.md and is last-write-wins without an etag precondition. - * Validation failures do not change metadata. + * Finalizes a skill after its bundle files are uploaded or changed through the Files API. Call it + * again after every bundle change. This method reads SKILL.md through the Files API using the + * caller's authorization. Its YAML frontmatter must contain an agentskills.io-compliant `name` + * and a nonblank `description` within the configured UTF-8 byte limit. On success, it replaces + * `bundle_name` and `description`; refreshes `finalize_time`, `update_time`, and `updated_by`; + * and returns the updated skill. `comment` is preserved. Re-finalization uses the latest SKILL.md + * and is last-write-wins without an etag precondition. Validation failures do not change + * metadata. * *

You must be the owner of the skill or have `READ_VOLUME` on it, plus `USE_CATALOG` on the * parent catalog and `USE_SCHEMA` on the parent schema. @@ -273,8 +282,13 @@ ModelProviderService updateModelProviderService( * conditional on the skill not having changed since it was read. Bundle files, grants, tags, and * ownership are unchanged. * - *

You must be the owner of the skill or have `MANAGE` on it, plus `USE_CATALOG` on the parent - * catalog and `USE_SCHEMA` on the parent schema. + *

To update the bundle, add, overwrite (`overwrite=true`), or delete files under + * `/Skills/{catalog}/{schema}/{skill}/` with the Files API, then call FinalizeSkill. Changing + * bundle files requires being the owner of the skill or having `READ_VOLUME` and `WRITE_VOLUME` + * on it; `MANAGE` does not grant access to bundle files. + * + *

To call UpdateSkill, you must be the owner of the skill or have `MANAGE` on it, plus + * `USE_CATALOG` on the parent catalog and `USE_SCHEMA` on the parent schema. */ Skill updateSkill(UpdateSkillRequest updateSkillRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java index 83325d9ad..7a9f26984 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListMcpServicesRequest.java @@ -11,7 +11,7 @@ @Generated public class ListMcpServicesRequest { /** - * Maximum number of MCP services to return. Defaults to 100 when unset or 0; the maximum is 200. + * Maximum number of MCP services to return. Defaults to 200 when unset or 0; the maximum is 200. * Use `page_token` to retrieve additional pages. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java index 3b9da36b6..c00eafe28 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelProviderServicesRequest.java @@ -11,7 +11,7 @@ @Generated public class ListModelProviderServicesRequest { /** - * Maximum number of provider services to return. Defaults to 100 when unset or 0; the maximum is + * Maximum number of provider services to return. Defaults to 200 when unset or 0; the maximum is * 200. Use `page_token` to retrieve additional pages. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java index 6cb9fcf0d..a9aa12073 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListModelServicesRequest.java @@ -11,7 +11,7 @@ @Generated public class ListModelServicesRequest { /** - * Maximum number of model services to return. Defaults to 100 when unset or 0; the maximum is + * Maximum number of model services to return. Defaults to 200 when unset or 0; the maximum is * 200. Use `page_token` to retrieve additional pages. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSkillsRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSkillsRequest.java index f03b51f0c..4bb2ddaa1 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSkillsRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ListSkillsRequest.java @@ -11,7 +11,7 @@ @Generated public class ListSkillsRequest { /** - * Maximum number of skills to return. Defaults to 100 when unset or 0; the maximum is 200. Use + * Maximum number of skills to return. Defaults to 200 when unset or 0; the maximum is 200. Use * `page_token` to retrieve additional pages. */ @JsonIgnore diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigCustomProviderConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigCustomProviderConfig.java index baa19ca3c..94389a0fa 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigCustomProviderConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigCustomProviderConfig.java @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; -/** Custom OpenAI-compatible provider configuration with bearer-token authentication. */ +/** Custom OpenAI-compatible provider configuration. */ @Generated public class ModelProviderServiceConfigCustomProviderConfig { /** Endpoint and authentication configuration for the custom provider. */ diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DataSource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DataSource.java index 45e5ae7e1..101d29049 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DataSource.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/DataSource.java @@ -33,6 +33,10 @@ public class DataSource { @JsonProperty("request_source") private RequestSource requestSource; + /** A Spark Declarative Pipeline data source. */ + @JsonProperty("sdp_source") + private SdpSource sdpSource; + /** A Stream data source. */ @JsonProperty("stream_source") private StreamSource streamSource; @@ -82,6 +86,15 @@ public RequestSource getRequestSource() { return requestSource; } + public DataSource setSdpSource(SdpSource sdpSource) { + this.sdpSource = sdpSource; + return this; + } + + public SdpSource getSdpSource() { + return sdpSource; + } + public DataSource setStreamSource(StreamSource streamSource) { this.streamSource = streamSource; return this; @@ -101,13 +114,20 @@ public boolean equals(Object o) { && Objects.equals(kafkaSource, that.kafkaSource) && Objects.equals(lateness, that.lateness) && Objects.equals(requestSource, that.requestSource) + && Objects.equals(sdpSource, that.sdpSource) && Objects.equals(streamSource, that.streamSource); } @Override public int hashCode() { return Objects.hash( - deltaTableSource, featureViewSource, kafkaSource, lateness, requestSource, streamSource); + deltaTableSource, + featureViewSource, + kafkaSource, + lateness, + requestSource, + sdpSource, + streamSource); } @Override @@ -118,6 +138,7 @@ public String toString() { .add("kafkaSource", kafkaSource) .add("lateness", lateness) .add("requestSource", requestSource) + .add("sdpSource", sdpSource) .add("streamSource", streamSource) .toString(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSource.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSource.java new file mode 100644 index 000000000..2c61359c1 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSource.java @@ -0,0 +1,172 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +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; + +/** A Spark Declarative Pipeline (SDP) data source. */ +@Generated +public class SdpSource { + /** + * Schema of the resulting dataframe after transformations, in Spark StructType JSON format (from + * df.schema.json()). Required if transformation_sql is specified. Example: + * {"type":"struct","fields":[{"name":"col_a","type":"integer","nullable":true,"metadata":{}},{"name":"col_c","type":"integer","nullable":true,"metadata":{}}]} + */ + @JsonProperty("dataframe_schema") + private String dataframeSchema; + + /** + * Single WHERE clause to filter the pipeline's output table before applying transformations. Will + * be row-wise evaluated, so should only include conditionals and projections. + */ + @JsonProperty("filter_condition") + private String filterCondition; + + /** + * The full three-part names of the tables the pipeline reads from. Required to materialize this + * feature with a TableTrigger, which starts a run when these tables update. Each table must exist + * when the feature is created. After the pipeline runs, Feature Store checks that it reads from + * these tables, and the run fails if it doesn't. At most 100 tables. + */ + @JsonProperty("input_tables") + private Collection inputTables; + + /** + * The full three-part (catalog, schema, table) name of the pipeline's output table to read from. + * The table doesn't need to exist until the pipeline first runs. Required. + */ + @JsonProperty("output_table") + private String outputTable; + + /** + * The ID of the Spark Declarative Pipeline that Feature Store runs to produce this source, before + * each materialization or backfill. The pipeline must already exist when the feature is created, + * and you need CAN_RUN, CAN_MANAGE, or owner permission on it. It doesn't need to have run yet. + * Deleting the feature doesn't delete the pipeline. If the pipeline is deleted, this field reads + * back empty. Required. + */ + @JsonProperty("pipeline_id") + private String pipelineId; + + /** + * State tracking pipeline execution and output table validation. PENDING until the pipeline has + * run at least once and created the output table; then RESOLVED on success, or ERROR on failure. + */ + @JsonProperty("pipeline_state") + private SdpSourceState pipelineState; + + /** + * A single SQL SELECT expression applied after filter_condition. Should contain all the columns + * needed (eg. "SELECT *, col_a + col_b AS col_c FROM x.y.z WHERE col_a > 0" would have + * `transformation_sql` "*, col_a + col_b AS col_c") If transformation_sql is not provided, all + * columns of the pipeline's output table are present in the DataSource dataframe. + */ + @JsonProperty("transformation_sql") + private String transformationSql; + + public SdpSource setDataframeSchema(String dataframeSchema) { + this.dataframeSchema = dataframeSchema; + return this; + } + + public String getDataframeSchema() { + return dataframeSchema; + } + + public SdpSource setFilterCondition(String filterCondition) { + this.filterCondition = filterCondition; + return this; + } + + public String getFilterCondition() { + return filterCondition; + } + + public SdpSource setInputTables(Collection inputTables) { + this.inputTables = inputTables; + return this; + } + + public Collection getInputTables() { + return inputTables; + } + + public SdpSource setOutputTable(String outputTable) { + this.outputTable = outputTable; + return this; + } + + public String getOutputTable() { + return outputTable; + } + + public SdpSource setPipelineId(String pipelineId) { + this.pipelineId = pipelineId; + return this; + } + + public String getPipelineId() { + return pipelineId; + } + + public SdpSource setPipelineState(SdpSourceState pipelineState) { + this.pipelineState = pipelineState; + return this; + } + + public SdpSourceState getPipelineState() { + return pipelineState; + } + + public SdpSource setTransformationSql(String transformationSql) { + this.transformationSql = transformationSql; + return this; + } + + public String getTransformationSql() { + return transformationSql; + } + + @Override + public boolean equals(Object o) { + if (this == o) return true; + if (o == null || getClass() != o.getClass()) return false; + SdpSource that = (SdpSource) o; + return Objects.equals(dataframeSchema, that.dataframeSchema) + && Objects.equals(filterCondition, that.filterCondition) + && Objects.equals(inputTables, that.inputTables) + && Objects.equals(outputTable, that.outputTable) + && Objects.equals(pipelineId, that.pipelineId) + && Objects.equals(pipelineState, that.pipelineState) + && Objects.equals(transformationSql, that.transformationSql); + } + + @Override + public int hashCode() { + return Objects.hash( + dataframeSchema, + filterCondition, + inputTables, + outputTable, + pipelineId, + pipelineState, + transformationSql); + } + + @Override + public String toString() { + return new ToStringer(SdpSource.class) + .add("dataframeSchema", dataframeSchema) + .add("filterCondition", filterCondition) + .add("inputTables", inputTables) + .add("outputTable", outputTable) + .add("pipelineId", pipelineId) + .add("pipelineState", pipelineState) + .add("transformationSql", transformationSql) + .toString(); + } +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSourceState.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSourceState.java new file mode 100644 index 000000000..a761f99c7 --- /dev/null +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/ml/SdpSourceState.java @@ -0,0 +1,13 @@ +// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. + +package com.databricks.sdk.service.ml; + +import com.databricks.sdk.support.Generated; + +/** State of the SDP source relative to pipeline execution and output table validation. */ +@Generated +public enum SdpSourceState { + ERROR, + PENDING, + RESOLVED, +} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java index 9657dffeb..f0d813f63 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ListPipelinesRequest.java @@ -35,8 +35,8 @@ public class ListPipelinesRequest { private Long maxResults; /** - * A list of strings specifying the order of results. Supported order_by fields are id and name. - * The default is id asc. This field is optional. + * A list of strings specifying the order of results. The supported order_by field is id. The + * default is id asc. This field is optional. */ @JsonIgnore @QueryParam("order_by") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingIngressNetworkPolicy.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingIngressNetworkPolicy.java index 2c162aa31..f9ea25adf 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingIngressNetworkPolicy.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/settings/CustomerFacingIngressNetworkPolicy.java @@ -10,7 +10,10 @@ /** The network policies applying for ingress traffic. */ @Generated public class CustomerFacingIngressNetworkPolicy { - /** */ + /** + * The network policy restrictions for cross-workspace access: which other workspaces may access + * this workspace. + */ @JsonProperty("cross_workspace_access") private CustomerFacingIngressNetworkPolicyCrossWorkspaceAccess crossWorkspaceAccess; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateShare.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateShare.java index a4e479082..012bc8f99 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateShare.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/CreateShare.java @@ -17,10 +17,6 @@ public class CreateShare { @JsonProperty("name") private String name; - /** Configuration for share replication. */ - @JsonProperty("replication_config") - private ReplicationConfig replicationConfig; - /** Storage root URL for the share. */ @JsonProperty("storage_root") private String storageRoot; @@ -43,15 +39,6 @@ public String getName() { return name; } - public CreateShare setReplicationConfig(ReplicationConfig replicationConfig) { - this.replicationConfig = replicationConfig; - return this; - } - - public ReplicationConfig getReplicationConfig() { - return replicationConfig; - } - public CreateShare setStorageRoot(String storageRoot) { this.storageRoot = storageRoot; return this; @@ -68,13 +55,12 @@ public boolean equals(Object o) { CreateShare that = (CreateShare) o; return Objects.equals(comment, that.comment) && Objects.equals(name, that.name) - && Objects.equals(replicationConfig, that.replicationConfig) && Objects.equals(storageRoot, that.storageRoot); } @Override public int hashCode() { - return Objects.hash(comment, name, replicationConfig, storageRoot); + return Objects.hash(comment, name, storageRoot); } @Override @@ -82,7 +68,6 @@ public String toString() { return new ToStringer(CreateShare.class) .add("comment", comment) .add("name", name) - .add("replicationConfig", replicationConfig) .add("storageRoot", storageRoot) .toString(); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ReplicationConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ReplicationConfig.java deleted file mode 100644 index 259b974ed..000000000 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ReplicationConfig.java +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT. - -package com.databricks.sdk.service.sharing; - -import com.databricks.sdk.support.Generated; -import com.databricks.sdk.support.ToStringer; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.Objects; - -/** - * Configuration for Delta Sharing replication on a share. When enabled, the share's data is copied - * into each recipient's region so recipients can query the share locally. - */ -@Generated -public class ReplicationConfig { - /** Whether replication is enabled for the share. */ - @JsonProperty("enabled") - private Boolean enabled; - - public ReplicationConfig setEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - public Boolean getEnabled() { - return enabled; - } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - ReplicationConfig that = (ReplicationConfig) o; - return Objects.equals(enabled, that.enabled); - } - - @Override - public int hashCode() { - return Objects.hash(enabled); - } - - @Override - public String toString() { - return new ToStringer(ReplicationConfig.class).add("enabled", enabled).toString(); - } -} diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ShareInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ShareInfo.java index 0cfcbb9a1..36deca691 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ShareInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sharing/ShareInfo.java @@ -34,10 +34,6 @@ public class ShareInfo { @JsonProperty("owner") private String owner; - /** Configuration for share replication. */ - @JsonProperty("replication_config") - private ReplicationConfig replicationConfig; - /** Storage Location URL (full path) for the share. */ @JsonProperty("storage_location") private String storageLocation; @@ -108,15 +104,6 @@ public String getOwner() { return owner; } - public ShareInfo setReplicationConfig(ReplicationConfig replicationConfig) { - this.replicationConfig = replicationConfig; - return this; - } - - public ReplicationConfig getReplicationConfig() { - return replicationConfig; - } - public ShareInfo setStorageLocation(String storageLocation) { this.storageLocation = storageLocation; return this; @@ -164,7 +151,6 @@ public boolean equals(Object o) { && Objects.equals(name, that.name) && Objects.equals(objects, that.objects) && Objects.equals(owner, that.owner) - && Objects.equals(replicationConfig, that.replicationConfig) && Objects.equals(storageLocation, that.storageLocation) && Objects.equals(storageRoot, that.storageRoot) && Objects.equals(updatedAt, that.updatedAt) @@ -180,7 +166,6 @@ public int hashCode() { name, objects, owner, - replicationConfig, storageLocation, storageRoot, updatedAt, @@ -196,7 +181,6 @@ public String toString() { .add("name", name) .add("objects", objects) .add("owner", owner) - .add("replicationConfig", replicationConfig) .add("storageLocation", storageLocation) .add("storageRoot", storageRoot) .add("updatedAt", updatedAt) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java index 463691d16..1efe31e01 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/CreateWarehouseRequest.java @@ -40,6 +40,10 @@ public class CreateWarehouseRequest { @JsonProperty("creator_name") private String creatorName; + /** Compute version label for a REALTIME warehouse. This field is output only. */ + @JsonProperty("customer_version_label") + private String customerVersionLabel; + /** * Configures whether the warehouse should use Photon optimized clusters. * @@ -56,6 +60,13 @@ public class CreateWarehouseRequest { @JsonProperty("instance_profile_arn") private String instanceProfileArn; + /** + * Maximum compute capacity of a real-time SQL warehouse, in DBU per hour. Must be a multiple of 3 + * between 3 and 960. The effective maximum cannot be lower than the warehouse's minimum capacity. + */ + @JsonProperty("max_dbu") + private Long maxDbu; + /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * @@ -87,6 +98,18 @@ public class CreateWarehouseRequest { @JsonProperty("name") private String name; + /** + * Cluster size multiplier for Reyden warehouses. Scales the effective compute capacity relative + * to the nominal virtual cluster size. Only meaningful when the warehouse is of Reyden type. + * + *

Accepted range: 1.0 to the workspace-configured maximum (decimals allowed). The default + * maximum is 100.0. - Values below 1.0 are normalized to 1.0. - Values above the configured + * maximum are capped at that maximum. - When absent, the warehouse is treated as having a + * multiplier of 1.0. + */ + @JsonProperty("reyden_cluster_size_multiplier") + private Double reydenClusterSizeMultiplier; + /** Configurations whether the endpoint should use spot instances. */ @JsonProperty("spot_instance_policy") private SpotInstancePolicy spotInstancePolicy; @@ -147,6 +170,15 @@ public String getCreatorName() { return creatorName; } + public CreateWarehouseRequest setCustomerVersionLabel(String customerVersionLabel) { + this.customerVersionLabel = customerVersionLabel; + return this; + } + + public String getCustomerVersionLabel() { + return customerVersionLabel; + } + public CreateWarehouseRequest setEnablePhoton(Boolean enablePhoton) { this.enablePhoton = enablePhoton; return this; @@ -174,6 +206,15 @@ public String getInstanceProfileArn() { return instanceProfileArn; } + public CreateWarehouseRequest setMaxDbu(Long maxDbu) { + this.maxDbu = maxDbu; + return this; + } + + public Long getMaxDbu() { + return maxDbu; + } + public CreateWarehouseRequest setMaxNumClusters(Long maxNumClusters) { this.maxNumClusters = maxNumClusters; return this; @@ -201,6 +242,15 @@ public String getName() { return name; } + public CreateWarehouseRequest setReydenClusterSizeMultiplier(Double reydenClusterSizeMultiplier) { + this.reydenClusterSizeMultiplier = reydenClusterSizeMultiplier; + return this; + } + + public Double getReydenClusterSizeMultiplier() { + return reydenClusterSizeMultiplier; + } + public CreateWarehouseRequest setSpotInstancePolicy(SpotInstancePolicy spotInstancePolicy) { this.spotInstancePolicy = spotInstancePolicy; return this; @@ -247,12 +297,15 @@ public boolean equals(Object o) { && Objects.equals(channel, that.channel) && Objects.equals(clusterSize, that.clusterSize) && Objects.equals(creatorName, that.creatorName) + && Objects.equals(customerVersionLabel, that.customerVersionLabel) && Objects.equals(enablePhoton, that.enablePhoton) && Objects.equals(enableServerlessCompute, that.enableServerlessCompute) && Objects.equals(instanceProfileArn, that.instanceProfileArn) + && Objects.equals(maxDbu, that.maxDbu) && Objects.equals(maxNumClusters, that.maxNumClusters) && Objects.equals(minNumClusters, that.minNumClusters) && Objects.equals(name, that.name) + && Objects.equals(reydenClusterSizeMultiplier, that.reydenClusterSizeMultiplier) && Objects.equals(spotInstancePolicy, that.spotInstancePolicy) && Objects.equals(statementTimeout, that.statementTimeout) && Objects.equals(tags, that.tags) @@ -266,12 +319,15 @@ public int hashCode() { channel, clusterSize, creatorName, + customerVersionLabel, enablePhoton, enableServerlessCompute, instanceProfileArn, + maxDbu, maxNumClusters, minNumClusters, name, + reydenClusterSizeMultiplier, spotInstancePolicy, statementTimeout, tags, @@ -285,12 +341,15 @@ public String toString() { .add("channel", channel) .add("clusterSize", clusterSize) .add("creatorName", creatorName) + .add("customerVersionLabel", customerVersionLabel) .add("enablePhoton", enablePhoton) .add("enableServerlessCompute", enableServerlessCompute) .add("instanceProfileArn", instanceProfileArn) + .add("maxDbu", maxDbu) .add("maxNumClusters", maxNumClusters) .add("minNumClusters", minNumClusters) .add("name", name) + .add("reydenClusterSizeMultiplier", reydenClusterSizeMultiplier) .add("spotInstancePolicy", spotInstancePolicy) .add("statementTimeout", statementTimeout) .add("tags", tags) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java index 03c97f988..aa6e43ef7 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EditWarehouseRequest.java @@ -45,6 +45,10 @@ public class EditWarehouseRequest { @JsonProperty("creator_name") private String creatorName; + /** Compute version label for a REALTIME warehouse. This field is output only. */ + @JsonProperty("customer_version_label") + private String customerVersionLabel; + /** * Configures whether the warehouse should use Photon optimized clusters. * @@ -64,6 +68,13 @@ public class EditWarehouseRequest { @JsonProperty("instance_profile_arn") private String instanceProfileArn; + /** + * Maximum compute capacity of a real-time SQL warehouse, in DBU per hour. Must be a multiple of 3 + * between 3 and 960. The effective maximum cannot be lower than the warehouse's minimum capacity. + */ + @JsonProperty("max_dbu") + private Long maxDbu; + /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * @@ -95,6 +106,18 @@ public class EditWarehouseRequest { @JsonProperty("name") private String name; + /** + * Cluster size multiplier for Reyden warehouses. Scales the effective compute capacity relative + * to the nominal virtual cluster size. Only meaningful when the warehouse is of Reyden type. + * + *

Accepted range: 1.0 to the workspace-configured maximum (decimals allowed). The default + * maximum is 100.0. - Values below 1.0 are normalized to 1.0. - Values above the configured + * maximum are capped at that maximum. - When absent, the warehouse is treated as having a + * multiplier of 1.0. + */ + @JsonProperty("reyden_cluster_size_multiplier") + private Double reydenClusterSizeMultiplier; + /** Configurations whether the endpoint should use spot instances. */ @JsonProperty("spot_instance_policy") private SpotInstancePolicy spotInstancePolicy; @@ -155,6 +178,15 @@ public String getCreatorName() { return creatorName; } + public EditWarehouseRequest setCustomerVersionLabel(String customerVersionLabel) { + this.customerVersionLabel = customerVersionLabel; + return this; + } + + public String getCustomerVersionLabel() { + return customerVersionLabel; + } + public EditWarehouseRequest setEnablePhoton(Boolean enablePhoton) { this.enablePhoton = enablePhoton; return this; @@ -191,6 +223,15 @@ public String getInstanceProfileArn() { return instanceProfileArn; } + public EditWarehouseRequest setMaxDbu(Long maxDbu) { + this.maxDbu = maxDbu; + return this; + } + + public Long getMaxDbu() { + return maxDbu; + } + public EditWarehouseRequest setMaxNumClusters(Long maxNumClusters) { this.maxNumClusters = maxNumClusters; return this; @@ -218,6 +259,15 @@ public String getName() { return name; } + public EditWarehouseRequest setReydenClusterSizeMultiplier(Double reydenClusterSizeMultiplier) { + this.reydenClusterSizeMultiplier = reydenClusterSizeMultiplier; + return this; + } + + public Double getReydenClusterSizeMultiplier() { + return reydenClusterSizeMultiplier; + } + public EditWarehouseRequest setSpotInstancePolicy(SpotInstancePolicy spotInstancePolicy) { this.spotInstancePolicy = spotInstancePolicy; return this; @@ -263,13 +313,16 @@ public boolean equals(Object o) { && Objects.equals(channel, that.channel) && Objects.equals(clusterSize, that.clusterSize) && Objects.equals(creatorName, that.creatorName) + && Objects.equals(customerVersionLabel, that.customerVersionLabel) && Objects.equals(enablePhoton, that.enablePhoton) && Objects.equals(enableServerlessCompute, that.enableServerlessCompute) && Objects.equals(id, that.id) && Objects.equals(instanceProfileArn, that.instanceProfileArn) + && Objects.equals(maxDbu, that.maxDbu) && Objects.equals(maxNumClusters, that.maxNumClusters) && Objects.equals(minNumClusters, that.minNumClusters) && Objects.equals(name, that.name) + && Objects.equals(reydenClusterSizeMultiplier, that.reydenClusterSizeMultiplier) && Objects.equals(spotInstancePolicy, that.spotInstancePolicy) && Objects.equals(statementTimeout, that.statementTimeout) && Objects.equals(tags, that.tags) @@ -283,13 +336,16 @@ public int hashCode() { channel, clusterSize, creatorName, + customerVersionLabel, enablePhoton, enableServerlessCompute, id, instanceProfileArn, + maxDbu, maxNumClusters, minNumClusters, name, + reydenClusterSizeMultiplier, spotInstancePolicy, statementTimeout, tags, @@ -303,13 +359,16 @@ public String toString() { .add("channel", channel) .add("clusterSize", clusterSize) .add("creatorName", creatorName) + .add("customerVersionLabel", customerVersionLabel) .add("enablePhoton", enablePhoton) .add("enableServerlessCompute", enableServerlessCompute) .add("id", id) .add("instanceProfileArn", instanceProfileArn) + .add("maxDbu", maxDbu) .add("maxNumClusters", maxNumClusters) .add("minNumClusters", minNumClusters) .add("name", name) + .add("reydenClusterSizeMultiplier", reydenClusterSizeMultiplier) .add("spotInstancePolicy", spotInstancePolicy) .add("statementTimeout", statementTimeout) .add("tags", tags) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java index 220366bc6..ded928a07 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/EndpointInfo.java @@ -39,6 +39,10 @@ public class EndpointInfo { @JsonProperty("creator_name") private String creatorName; + /** Compute version label for a REALTIME warehouse. This field is output only. */ + @JsonProperty("customer_version_label") + private String customerVersionLabel; + /** * Configures whether the warehouse should use Photon optimized clusters. * @@ -67,6 +71,13 @@ public class EndpointInfo { @JsonProperty("jdbc_url") private String jdbcUrl; + /** + * Maximum compute capacity of a real-time SQL warehouse, in DBU per hour. Must be a multiple of 3 + * between 3 and 960. The effective maximum cannot be lower than the warehouse's minimum capacity. + */ + @JsonProperty("max_dbu") + private Long maxDbu; + /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * @@ -110,6 +121,18 @@ public class EndpointInfo { @JsonProperty("odbc_params") private OdbcParams odbcParams; + /** + * Cluster size multiplier for Reyden warehouses. Scales the effective compute capacity relative + * to the nominal virtual cluster size. Only meaningful when the warehouse is of Reyden type. + * + *

Accepted range: 1.0 to the workspace-configured maximum (decimals allowed). The default + * maximum is 100.0. - Values below 1.0 are normalized to 1.0. - Values above the configured + * maximum are capped at that maximum. - When absent, the warehouse is treated as having a + * multiplier of 1.0. + */ + @JsonProperty("reyden_cluster_size_multiplier") + private Double reydenClusterSizeMultiplier; + /** Configurations whether the endpoint should use spot instances. */ @JsonProperty("spot_instance_policy") private SpotInstancePolicy spotInstancePolicy; @@ -174,6 +197,15 @@ public String getCreatorName() { return creatorName; } + public EndpointInfo setCustomerVersionLabel(String customerVersionLabel) { + this.customerVersionLabel = customerVersionLabel; + return this; + } + + public String getCustomerVersionLabel() { + return customerVersionLabel; + } + public EndpointInfo setEnablePhoton(Boolean enablePhoton) { this.enablePhoton = enablePhoton; return this; @@ -228,6 +260,15 @@ public String getJdbcUrl() { return jdbcUrl; } + public EndpointInfo setMaxDbu(Long maxDbu) { + this.maxDbu = maxDbu; + return this; + } + + public Long getMaxDbu() { + return maxDbu; + } + public EndpointInfo setMaxNumClusters(Long maxNumClusters) { this.maxNumClusters = maxNumClusters; return this; @@ -282,6 +323,15 @@ public OdbcParams getOdbcParams() { return odbcParams; } + public EndpointInfo setReydenClusterSizeMultiplier(Double reydenClusterSizeMultiplier) { + this.reydenClusterSizeMultiplier = reydenClusterSizeMultiplier; + return this; + } + + public Double getReydenClusterSizeMultiplier() { + return reydenClusterSizeMultiplier; + } + public EndpointInfo setSpotInstancePolicy(SpotInstancePolicy spotInstancePolicy) { this.spotInstancePolicy = spotInstancePolicy; return this; @@ -336,18 +386,21 @@ public boolean equals(Object o) { && Objects.equals(channel, that.channel) && Objects.equals(clusterSize, that.clusterSize) && Objects.equals(creatorName, that.creatorName) + && Objects.equals(customerVersionLabel, that.customerVersionLabel) && Objects.equals(enablePhoton, that.enablePhoton) && Objects.equals(enableServerlessCompute, that.enableServerlessCompute) && Objects.equals(health, that.health) && Objects.equals(id, that.id) && Objects.equals(instanceProfileArn, that.instanceProfileArn) && Objects.equals(jdbcUrl, that.jdbcUrl) + && Objects.equals(maxDbu, that.maxDbu) && Objects.equals(maxNumClusters, that.maxNumClusters) && Objects.equals(minNumClusters, that.minNumClusters) && Objects.equals(name, that.name) && Objects.equals(numActiveSessions, that.numActiveSessions) && Objects.equals(numClusters, that.numClusters) && Objects.equals(odbcParams, that.odbcParams) + && Objects.equals(reydenClusterSizeMultiplier, that.reydenClusterSizeMultiplier) && Objects.equals(spotInstancePolicy, that.spotInstancePolicy) && Objects.equals(state, that.state) && Objects.equals(statementTimeout, that.statementTimeout) @@ -362,18 +415,21 @@ public int hashCode() { channel, clusterSize, creatorName, + customerVersionLabel, enablePhoton, enableServerlessCompute, health, id, instanceProfileArn, jdbcUrl, + maxDbu, maxNumClusters, minNumClusters, name, numActiveSessions, numClusters, odbcParams, + reydenClusterSizeMultiplier, spotInstancePolicy, state, statementTimeout, @@ -388,18 +444,21 @@ public String toString() { .add("channel", channel) .add("clusterSize", clusterSize) .add("creatorName", creatorName) + .add("customerVersionLabel", customerVersionLabel) .add("enablePhoton", enablePhoton) .add("enableServerlessCompute", enableServerlessCompute) .add("health", health) .add("id", id) .add("instanceProfileArn", instanceProfileArn) .add("jdbcUrl", jdbcUrl) + .add("maxDbu", maxDbu) .add("maxNumClusters", maxNumClusters) .add("minNumClusters", minNumClusters) .add("name", name) .add("numActiveSessions", numActiveSessions) .add("numClusters", numClusters) .add("odbcParams", odbcParams) + .add("reydenClusterSizeMultiplier", reydenClusterSizeMultiplier) .add("spotInstancePolicy", spotInstancePolicy) .add("state", state) .add("statementTimeout", statementTimeout) diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java index fc4c17fd3..de7b5938c 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/sql/GetWarehouseResponse.java @@ -39,6 +39,10 @@ public class GetWarehouseResponse { @JsonProperty("creator_name") private String creatorName; + /** Compute version label for a REALTIME warehouse. This field is output only. */ + @JsonProperty("customer_version_label") + private String customerVersionLabel; + /** * Configures whether the warehouse should use Photon optimized clusters. * @@ -67,6 +71,13 @@ public class GetWarehouseResponse { @JsonProperty("jdbc_url") private String jdbcUrl; + /** + * Maximum compute capacity of a real-time SQL warehouse, in DBU per hour. Must be a multiple of 3 + * between 3 and 960. The effective maximum cannot be lower than the warehouse's minimum capacity. + */ + @JsonProperty("max_dbu") + private Long maxDbu; + /** * Maximum number of clusters that the autoscaler will create to handle concurrent queries. * @@ -110,6 +121,18 @@ public class GetWarehouseResponse { @JsonProperty("odbc_params") private OdbcParams odbcParams; + /** + * Cluster size multiplier for Reyden warehouses. Scales the effective compute capacity relative + * to the nominal virtual cluster size. Only meaningful when the warehouse is of Reyden type. + * + *

Accepted range: 1.0 to the workspace-configured maximum (decimals allowed). The default + * maximum is 100.0. - Values below 1.0 are normalized to 1.0. - Values above the configured + * maximum are capped at that maximum. - When absent, the warehouse is treated as having a + * multiplier of 1.0. + */ + @JsonProperty("reyden_cluster_size_multiplier") + private Double reydenClusterSizeMultiplier; + /** Configurations whether the endpoint should use spot instances. */ @JsonProperty("spot_instance_policy") private SpotInstancePolicy spotInstancePolicy; @@ -174,6 +197,15 @@ public String getCreatorName() { return creatorName; } + public GetWarehouseResponse setCustomerVersionLabel(String customerVersionLabel) { + this.customerVersionLabel = customerVersionLabel; + return this; + } + + public String getCustomerVersionLabel() { + return customerVersionLabel; + } + public GetWarehouseResponse setEnablePhoton(Boolean enablePhoton) { this.enablePhoton = enablePhoton; return this; @@ -228,6 +260,15 @@ public String getJdbcUrl() { return jdbcUrl; } + public GetWarehouseResponse setMaxDbu(Long maxDbu) { + this.maxDbu = maxDbu; + return this; + } + + public Long getMaxDbu() { + return maxDbu; + } + public GetWarehouseResponse setMaxNumClusters(Long maxNumClusters) { this.maxNumClusters = maxNumClusters; return this; @@ -282,6 +323,15 @@ public OdbcParams getOdbcParams() { return odbcParams; } + public GetWarehouseResponse setReydenClusterSizeMultiplier(Double reydenClusterSizeMultiplier) { + this.reydenClusterSizeMultiplier = reydenClusterSizeMultiplier; + return this; + } + + public Double getReydenClusterSizeMultiplier() { + return reydenClusterSizeMultiplier; + } + public GetWarehouseResponse setSpotInstancePolicy(SpotInstancePolicy spotInstancePolicy) { this.spotInstancePolicy = spotInstancePolicy; return this; @@ -336,18 +386,21 @@ public boolean equals(Object o) { && Objects.equals(channel, that.channel) && Objects.equals(clusterSize, that.clusterSize) && Objects.equals(creatorName, that.creatorName) + && Objects.equals(customerVersionLabel, that.customerVersionLabel) && Objects.equals(enablePhoton, that.enablePhoton) && Objects.equals(enableServerlessCompute, that.enableServerlessCompute) && Objects.equals(health, that.health) && Objects.equals(id, that.id) && Objects.equals(instanceProfileArn, that.instanceProfileArn) && Objects.equals(jdbcUrl, that.jdbcUrl) + && Objects.equals(maxDbu, that.maxDbu) && Objects.equals(maxNumClusters, that.maxNumClusters) && Objects.equals(minNumClusters, that.minNumClusters) && Objects.equals(name, that.name) && Objects.equals(numActiveSessions, that.numActiveSessions) && Objects.equals(numClusters, that.numClusters) && Objects.equals(odbcParams, that.odbcParams) + && Objects.equals(reydenClusterSizeMultiplier, that.reydenClusterSizeMultiplier) && Objects.equals(spotInstancePolicy, that.spotInstancePolicy) && Objects.equals(state, that.state) && Objects.equals(statementTimeout, that.statementTimeout) @@ -362,18 +415,21 @@ public int hashCode() { channel, clusterSize, creatorName, + customerVersionLabel, enablePhoton, enableServerlessCompute, health, id, instanceProfileArn, jdbcUrl, + maxDbu, maxNumClusters, minNumClusters, name, numActiveSessions, numClusters, odbcParams, + reydenClusterSizeMultiplier, spotInstancePolicy, state, statementTimeout, @@ -388,18 +444,21 @@ public String toString() { .add("channel", channel) .add("clusterSize", clusterSize) .add("creatorName", creatorName) + .add("customerVersionLabel", customerVersionLabel) .add("enablePhoton", enablePhoton) .add("enableServerlessCompute", enableServerlessCompute) .add("health", health) .add("id", id) .add("instanceProfileArn", instanceProfileArn) .add("jdbcUrl", jdbcUrl) + .add("maxDbu", maxDbu) .add("maxNumClusters", maxNumClusters) .add("minNumClusters", minNumClusters) .add("name", name) .add("numActiveSessions", numActiveSessions) .add("numClusters", numClusters) .add("odbcParams", odbcParams) + .add("reydenClusterSizeMultiplier", reydenClusterSizeMultiplier) .add("spotInstancePolicy", spotInstancePolicy) .add("state", state) .add("statementTimeout", statementTimeout) diff --git a/examples/docs/pom.xml b/examples/docs/pom.xml index 31c711ef4..e52f0a29e 100644 --- a/examples/docs/pom.xml +++ b/examples/docs/pom.xml @@ -24,7 +24,7 @@ com.databricks databricks-sdk-java - 0.168.0 + 0.169.0 diff --git a/examples/spring-boot-oauth-u2m-demo/pom.xml b/examples/spring-boot-oauth-u2m-demo/pom.xml index 51fed5061..102816157 100644 --- a/examples/spring-boot-oauth-u2m-demo/pom.xml +++ b/examples/spring-boot-oauth-u2m-demo/pom.xml @@ -40,7 +40,7 @@ com.databricks databricks-sdk-java - 0.168.0 + 0.169.0 diff --git a/lockfile.json b/lockfile.json index d6d03f687..a53ac4cab 100644 --- a/lockfile.json +++ b/lockfile.json @@ -1,7 +1,7 @@ { "artifactId": "databricks-sdk-parent", "groupId": "com.databricks", - "version": "0.168.0", + "version": "0.169.0", "lockFileVersion": 1, "dependencies": [], "mavenPlugins": [], diff --git a/pom.xml b/pom.xml index 07f893fdd..a293d3071 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.databricks databricks-sdk-parent - 0.168.0 + 0.169.0 pom Databricks SDK for Java The Databricks SDK for Java includes functionality to accelerate development with Java for diff --git a/shaded/pom.xml b/shaded/pom.xml index b88076146..0122f0403 100644 --- a/shaded/pom.xml +++ b/shaded/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - 0.168.0 + 0.169.0 com.databricks