From 8f929f6712a6345917763c196e8c46717fa8b312 Mon Sep 17 00:00:00 2001 From: "databricks-ci-ghec-1[bot]" <184311507+databricks-ci-ghec-1[bot]@users.noreply.github.com> Date: Sat, 10 Oct 2026 03:17:13 +0000 Subject: [PATCH] Release databricks-sdk-java --- .codegen/_last_sha | 2 +- CHANGELOG.md | 6 ++++++ databricks-sdk-java/lockfile.json | 2 +- databricks-sdk-java/pom.xml | 2 +- .../main/java/com/databricks/sdk/core/UserAgent.java | 2 +- .../databricks/sdk/service/agentkit/AgentKitAPI.java | 2 +- .../sdk/service/agentkit/AgentKitService.java | 2 +- .../agentkit/UpdateManagedMemoryStoreRequest.java | 4 +++- ...estAppResourceUcSecurableSpecUcSecurableType.java | 1 + .../apps/AppResourceUcSecurableUcSecurableType.java | 1 + .../sdk/service/billing/BillableUsageAPI.java | 8 +------- .../sdk/service/billing/BillableUsageService.java | 8 +------- .../service/catalog/ModelProviderServiceConfig.java | 5 ++++- ...elProviderServiceConfigProviderPricingConfig.java | 5 +++-- .../catalog/UpdateModelProviderServiceRequest.java | 11 +++++++---- .../sdk/service/iamv2/AccountIamV2API.java | 4 +++- .../sdk/service/iamv2/AccountIamV2Service.java | 4 +++- .../sdk/service/iamv2/WorkspaceIamV2API.java | 4 +++- .../sdk/service/iamv2/WorkspaceIamV2Service.java | 4 +++- .../sdk/service/pipelines/ClonePipelineRequest.java | 12 ++++++++++-- .../sdk/service/pipelines/CreatePipeline.java | 12 ++++++++++-- .../sdk/service/pipelines/EditPipeline.java | 12 ++++++++++-- .../sdk/service/pipelines/PipelineSpec.java | 12 ++++++++++-- examples/docs/pom.xml | 2 +- examples/spring-boot-oauth-u2m-demo/pom.xml | 2 +- lockfile.json | 2 +- pom.xml | 2 +- shaded/pom.xml | 2 +- 28 files changed, 90 insertions(+), 45 deletions(-) diff --git a/.codegen/_last_sha b/.codegen/_last_sha index 3e27b47c4..f74c88b3c 100644 --- a/.codegen/_last_sha +++ b/.codegen/_last_sha @@ -1 +1 @@ -7eec7fb7b70a4bd6e5609cf717c8e5a8acb354cf \ No newline at end of file +69022510973c61d3e8427d95baa4c140aa49a951 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 915b89a3d..46919296d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Version changelog +## Release v0.165.0 (2026-10-10) + +### API Changes +* Add `MODEL_SERVICE` enum value for `com.databricks.sdk.service.apps.AppManifestAppResourceUcSecurableSpecUcSecurableType`. +* Add `MODEL_SERVICE` enum value for `com.databricks.sdk.service.apps.AppResourceUcSecurableUcSecurableType`. + ## Release v0.164.0 (2026-10-09) ### API Changes diff --git a/databricks-sdk-java/lockfile.json b/databricks-sdk-java/lockfile.json index d3309fea8..5e4499ea6 100644 --- a/databricks-sdk-java/lockfile.json +++ b/databricks-sdk-java/lockfile.json @@ -1,7 +1,7 @@ { "artifactId": "databricks-sdk-java", "groupId": "com.databricks", - "version": "0.164.0", + "version": "0.165.0", "lockFileVersion": 1, "dependencies": [ { diff --git a/databricks-sdk-java/pom.xml b/databricks-sdk-java/pom.xml index 79b034557..61526133c 100644 --- a/databricks-sdk-java/pom.xml +++ b/databricks-sdk-java/pom.xml @@ -5,7 +5,7 @@ com.databricks databricks-sdk-parent - 0.164.0 + 0.165.0 databricks-sdk-java Databricks SDK for Java 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 ca4221ad1..f33035236 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.164.0"; + private static final String version = "0.165.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/agentkit/AgentKitAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitAPI.java index 8c319af7a..26e16924a 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitAPI.java @@ -287,7 +287,7 @@ public ManagedMemoryEntry updateMemory(UpdateManagedMemoryEntryRequest request) return impl.updateMemory(request); } - /** Updates a managed memory store's description. */ + /** Updates a managed memory store's description and metadata. */ public ManagedMemoryStore updateMemoryStore(UpdateManagedMemoryStoreRequest request) { return impl.updateMemoryStore(request); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitService.java index 2981fab6f..ca181853d 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/AgentKitService.java @@ -124,7 +124,7 @@ SearchManagedMemoryEntriesResponse searchMemories( /** Updates selected mutable fields on a managed memory entry. Identity fields are immutable. */ ManagedMemoryEntry updateMemory(UpdateManagedMemoryEntryRequest updateManagedMemoryEntryRequest); - /** Updates a managed memory store's description. */ + /** Updates a managed memory store's description and metadata. */ ManagedMemoryStore updateMemoryStore( UpdateManagedMemoryStoreRequest updateManagedMemoryStoreRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/UpdateManagedMemoryStoreRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/UpdateManagedMemoryStoreRequest.java index a1e5c35f6..d89cb2fa4 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/UpdateManagedMemoryStoreRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/agentkit/UpdateManagedMemoryStoreRequest.java @@ -19,7 +19,9 @@ public class UpdateManagedMemoryStoreRequest { /** Resource name in the form `memory-stores/{managed_memory_store_id}`. */ @JsonIgnore private String name; - /** Only `description` may be updated. */ + /** + * Only `description` and `metadata` may be updated. Selecting `metadata` replaces the entire map. + */ @JsonIgnore @QueryParam("update_mask") private FieldMask updateMask; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppManifestAppResourceUcSecurableSpecUcSecurableType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppManifestAppResourceUcSecurableSpecUcSecurableType.java index d8d452c05..f304d8074 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppManifestAppResourceUcSecurableSpecUcSecurableType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppManifestAppResourceUcSecurableSpecUcSecurableType.java @@ -8,6 +8,7 @@ public enum AppManifestAppResourceUcSecurableSpecUcSecurableType { CONNECTION, FUNCTION, + MODEL_SERVICE, TABLE, VOLUME, } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppResourceUcSecurableUcSecurableType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppResourceUcSecurableUcSecurableType.java index c97224882..d4e8b86da 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppResourceUcSecurableUcSecurableType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/apps/AppResourceUcSecurableUcSecurableType.java @@ -8,6 +8,7 @@ public enum AppResourceUcSecurableUcSecurableType { CONNECTION, FUNCTION, + MODEL_SERVICE, TABLE, VOLUME, } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java index 079ca2947..d51ff9d09 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageAPI.java @@ -31,10 +31,7 @@ public DownloadResponse download(String startMonth, String endMonth) { } /** - * Returns billable usage logs in CSV format for the specified account and date range. For the - * data schema, see: - * - *

- AWS: [CSV file schema]. - GCP: [CSV file schema]. + * Returns billable usage logs in CSV format for the specified account and date range. * *

Note that this method might take multiple minutes to complete. * @@ -42,9 +39,6 @@ public DownloadResponse download(String startMonth, String endMonth) { * the size of the response and the internet speed of the caller, this API may hit a timeout after * a few minutes. If you experience this, try to mitigate by calling the API with narrower date * ranges. - * - *

[CSV file schema]: - * https://docs.gcp.databricks.com/administration-guide/account-settings/usage-analysis.html#csv-file-schema */ public DownloadResponse download(DownloadRequest request) { return impl.download(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java index 44b15f427..d610ec9ec 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/billing/BillableUsageService.java @@ -14,10 +14,7 @@ @Generated public interface BillableUsageService { /** - * Returns billable usage logs in CSV format for the specified account and date range. For the - * data schema, see: - * - *

- AWS: [CSV file schema]. - GCP: [CSV file schema]. + * Returns billable usage logs in CSV format for the specified account and date range. * *

Note that this method might take multiple minutes to complete. * @@ -25,9 +22,6 @@ public interface BillableUsageService { * the size of the response and the internet speed of the caller, this API may hit a timeout after * a few minutes. If you experience this, try to mitigate by calling the API with narrower date * ranges. - * - *

[CSV file schema]: - * https://docs.gcp.databricks.com/administration-guide/account-settings/usage-analysis.html#csv-file-schema */ DownloadResponse download(DownloadRequest downloadRequest); } diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfig.java index 5dec4114c..d12f48fb3 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfig.java @@ -87,7 +87,10 @@ public class ModelProviderServiceConfig { @JsonProperty("openai") private ModelProviderServiceConfigOpenAiProviderConfig openai; - /** Pricing configuration for this provider service. */ + /** + * Pricing configuration for this provider service. An explicitly empty configuration is retained + * on Create and Update and applies no adjustment. + */ @JsonProperty("pricing") private ModelProviderServiceConfigProviderPricingConfig pricing; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigProviderPricingConfig.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigProviderPricingConfig.java index 2344d34f3..ff8261ac1 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigProviderPricingConfig.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/ModelProviderServiceConfigProviderPricingConfig.java @@ -11,8 +11,9 @@ @Generated public class ModelProviderServiceConfigProviderPricingConfig { /** - * Provider-wide discount in basis points: 2000 = 20% off. Negative values are markups; the - * discount cannot exceed 10000 (100% off). + * Provider-wide adjustment to external-model spend estimates in basis points: 2000 = 20% off; + * -2000 = a 20% markup. Negative values have no lower bound beyond the int32 range. Values cannot + * exceed 10000 (100% off). An omitted value or zero leaves the estimate unchanged. */ @JsonProperty("default_discount_basis_points") private Long defaultDiscountBasisPoints; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelProviderServiceRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelProviderServiceRequest.java index e842c5e94..931db8110 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelProviderServiceRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/catalog/UpdateModelProviderServiceRequest.java @@ -43,10 +43,13 @@ public class UpdateModelProviderServiceRequest { * fields, use one or more granular paths: `comment`; `config.provider` to replace the active * provider-specific value (for example, `config.openai`; the mask path remains * `config.provider`); `config.allow_all_targets`, `config.targets`, `config.forward_headers`, - * `config.forward_query_parameters`, `config.forward_unmanaged_paths`, `config.rate_limits`, or - * `config.inference_table`. The provider type is immutable. A `config` or `config.provider` - * replacement that carries no authentication material preserves the existing authentication - * binding; input-only plaintext does not need to be read back and re-sent. + * `config.forward_query_parameters`, `config.forward_unmanaged_paths`, `config.rate_limits`, + * `config.pricing.default_discount_basis_points`, or `config.inference_table`. For a pricing + * update, an explicitly empty `pricing` object clears the discount but retains the object; + * omitting `pricing` clears it. `config.pricing` is not a supported mask path. The provider type + * is immutable. A `config` or `config.provider` replacement that carries no authentication + * material preserves the existing authentication binding; input-only plaintext does not need to + * be read back and re-sent. */ @JsonIgnore @QueryParam("update_mask") diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java index 112a3bd41..41388b164 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2API.java @@ -510,7 +510,9 @@ public ResolveUserResponse resolveUser(ResolveUserRequest request) { * are modified. Returns the updated Group resource. * *

When AIM is enabled and the group is an external identity (its external_id is set), only - * external_id can be updated; its other fields are sourced from your identity provider. + * external_id can be updated; its other fields are sourced from your identity provider. With AIM + * and group visibility filters, a new nonempty external_id must identify a visible group. + * Clearing external_id is allowed. * *

Authorization: the caller must be an account admin or a manager of the group (holds the * `roles/group.manager` role on it). diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java index 6d7e4f417..426cb859e 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/AccountIamV2Service.java @@ -247,7 +247,9 @@ ResolveServicePrincipalResponse resolveServicePrincipal( * are modified. Returns the updated Group resource. * *

When AIM is enabled and the group is an external identity (its external_id is set), only - * external_id can be updated; its other fields are sourced from your identity provider. + * external_id can be updated; its other fields are sourced from your identity provider. With AIM + * and group visibility filters, a new nonempty external_id must identify a visible group. + * Clearing external_id is allowed. * *

Authorization: the caller must be an account admin or a manager of the group (holds the * `roles/group.manager` role on it). diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java index c42acb7d3..52b708b2f 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2API.java @@ -472,7 +472,9 @@ public ResolveUserResponse resolveUserProxy(ResolveUserProxyRequest request) { * the fields named in the update mask are modified. Returns the updated Group resource. * *

When AIM is enabled and the group is an external identity (its external_id is set), only - * external_id can be updated; its other fields are sourced from your identity provider. + * external_id can be updated; its other fields are sourced from your identity provider. With AIM + * and group visibility filters, a new nonempty external_id must identify a visible group. + * Clearing external_id is allowed. */ public Group updateGroupProxy(UpdateGroupProxyRequest request) { return impl.updateGroupProxy(request); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java index 217ccf0f1..d34be2028 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/iamv2/WorkspaceIamV2Service.java @@ -249,7 +249,9 @@ ResolveServicePrincipalResponse resolveServicePrincipalProxy( * the fields named in the update mask are modified. Returns the updated Group resource. * *

When AIM is enabled and the group is an external identity (its external_id is set), only - * external_id can be updated; its other fields are sourced from your identity provider. + * external_id can be updated; its other fields are sourced from your identity provider. With AIM + * and group visibility filters, a new nonempty external_id must identify a visible group. + * Clearing external_id is allowed. */ Group updateGroupProxy(UpdateGroupProxyRequest updateGroupProxyRequest); diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java index dd56a0b1f..9ecce1af1 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/ClonePipelineRequest.java @@ -37,7 +37,10 @@ public class ClonePipelineRequest { @JsonProperty("clone_mode") private CloneMode cloneMode; - /** Cluster settings for this pipeline deployment. */ + /** + * Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. + * Omit this field when `serverless` is `true`. + */ @JsonProperty("clusters") private Collection clusters; @@ -148,7 +151,12 @@ public class ClonePipelineRequest { @JsonProperty("schema") private String schema; - /** Whether serverless compute is enabled for this pipeline. */ + /** + * Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute + * for new pipelines; set this to `true` to run the pipeline on serverless. For notebook/file + * pipelines, omitting this field uses classic compute configured through the `clusters` field. + * When `true`, omit `clusters`; Photon is always enabled. + */ @JsonProperty("serverless") private Boolean serverless; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java index 699fbb208..c7b5d6e84 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/CreatePipeline.java @@ -32,7 +32,10 @@ public class CreatePipeline { @JsonProperty("channel") private String channel; - /** Cluster settings for this pipeline deployment. */ + /** + * Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. + * Omit this field when `serverless` is `true`. + */ @JsonProperty("clusters") private Collection clusters; @@ -148,7 +151,12 @@ public class CreatePipeline { @JsonProperty("schema") private String schema; - /** Whether serverless compute is enabled for this pipeline. */ + /** + * Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute + * for new pipelines; set this to `true` to run the pipeline on serverless. For notebook/file + * pipelines, omitting this field uses classic compute configured through the `clusters` field. + * When `true`, omit `clusters`; Photon is always enabled. + */ @JsonProperty("serverless") private Boolean serverless; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java index 4a507ee78..7e7da66ff 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/EditPipeline.java @@ -35,7 +35,10 @@ public class EditPipeline { @JsonProperty("channel") private String channel; - /** Cluster settings for this pipeline deployment. */ + /** + * Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. + * Omit this field when `serverless` is `true`. + */ @JsonProperty("clusters") private Collection clusters; @@ -157,7 +160,12 @@ public class EditPipeline { @JsonProperty("schema") private String schema; - /** Whether serverless compute is enabled for this pipeline. */ + /** + * Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute + * for new pipelines; set this to `true` to run the pipeline on serverless. For notebook/file + * pipelines, omitting this field uses classic compute configured through the `clusters` field. + * When `true`, omit `clusters`; Photon is always enabled. + */ @JsonProperty("serverless") private Boolean serverless; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java index b9ab5c7ef..4e4c9aa23 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/PipelineSpec.java @@ -28,7 +28,10 @@ public class PipelineSpec { @JsonProperty("channel") private String channel; - /** Cluster settings for this pipeline deployment. */ + /** + * Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. + * Omit this field when `serverless` is `true`. + */ @JsonProperty("clusters") private Collection clusters; @@ -129,7 +132,12 @@ public class PipelineSpec { @JsonProperty("schema") private String schema; - /** Whether serverless compute is enabled for this pipeline. */ + /** + * Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute + * for new pipelines; set this to `true` to run the pipeline on serverless. For notebook/file + * pipelines, omitting this field uses classic compute configured through the `clusters` field. + * When `true`, omit `clusters`; Photon is always enabled. + */ @JsonProperty("serverless") private Boolean serverless; diff --git a/examples/docs/pom.xml b/examples/docs/pom.xml index 3e4a0ebeb..9ebc3ccca 100644 --- a/examples/docs/pom.xml +++ b/examples/docs/pom.xml @@ -24,7 +24,7 @@ com.databricks databricks-sdk-java - 0.164.0 + 0.165.0 diff --git a/examples/spring-boot-oauth-u2m-demo/pom.xml b/examples/spring-boot-oauth-u2m-demo/pom.xml index 5480e2bc6..9e39d0968 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.164.0 + 0.165.0 diff --git a/lockfile.json b/lockfile.json index 3d7a65fb4..2e702a5b2 100644 --- a/lockfile.json +++ b/lockfile.json @@ -1,7 +1,7 @@ { "artifactId": "databricks-sdk-parent", "groupId": "com.databricks", - "version": "0.164.0", + "version": "0.165.0", "lockFileVersion": 1, "dependencies": [], "mavenPlugins": [], diff --git a/pom.xml b/pom.xml index 4af0e0352..b5a456c6d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.databricks databricks-sdk-parent - 0.164.0 + 0.165.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 58b2ad813..582f24e09 100644 --- a/shaded/pom.xml +++ b/shaded/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - 0.164.0 + 0.165.0 com.databricks