Skip to content

Commit a5cf79d

Browse files
authored
[Release] Release v0.40.0 (#405)
### Bug Fixes * Correctly include query parameters for APIs whose request objects contain the body as a field ([#401](#401)). ### Internal Changes * Add CICD environment to User Agent ([#404](#404)). ### API Changes: * Added `accountClient.budgetPolicy()` service. * Added `accountClient.enableIpAccessLists()` service. * Added `workspaceClient.accessControl()` service. * Added `workspaceClient.lakeviewEmbedded()` service and `workspaceClient.queryExecution()` service. * Added `workspaceClient.redashConfig()` service. * Added `httpRequest()` method for `workspaceClient.servingEndpoints()` service. * Added `gcpOauthToken` field for `com.databricks.sdk.service.catalog.TemporaryCredentials`. * Added `options` field for `com.databricks.sdk.service.catalog.UpdateCatalog`. * Added `reviewState`, `reviews` and `runnerCollaborators` fields for `com.databricks.sdk.service.cleanrooms.CleanRoomAssetNotebook`. * Added `statementId` field for `com.databricks.sdk.service.dashboards.QueryAttachment`. * Added `effectivePerformanceTarget` field for `com.databricks.sdk.service.jobs.BaseRun`. * Added `performanceTarget` field for `com.databricks.sdk.service.jobs.CreateJob`. * Added `performanceTarget` field for `com.databricks.sdk.service.jobs.JobSettings`. * Added `effectivePerformanceTarget` field for `com.databricks.sdk.service.jobs.Run`. * Added `performanceTarget` field for `com.databricks.sdk.service.jobs.RunNow`. * Added `cleanRoomsNotebookOutput` field for `com.databricks.sdk.service.jobs.RunOutput`. * Added `disabled` and `effectivePerformanceTarget` fields for `com.databricks.sdk.service.jobs.RunTask`. * Added `runAsRepl` field for `com.databricks.sdk.service.jobs.SparkJarTask`. * Added `userAuthorizedScopes` field for `com.databricks.sdk.service.oauth2.CreateCustomAppIntegration`. * Added `userAuthorizedScopes` field for `com.databricks.sdk.service.oauth2.GetCustomAppIntegrationOutput`. * Added `scopes` and `userAuthorizedScopes` fields for `com.databricks.sdk.service.oauth2.UpdateCustomAppIntegration`. * Added `contents` field for `com.databricks.sdk.service.serving.GetOpenApiResponse`. * Added `activated`, `activationUrl`, `authenticationType`, `cloud`, `comment`, `createdAt`, `createdBy`, `dataRecipientGlobalMetastoreId`, `ipAccessList`, `metastoreId`, `name`, `owner`, `propertiesKvpairs`, `region`, `sharingCode`, `tokens`, `updatedAt` and `updatedBy` fields for `com.databricks.sdk.service.sharing.RecipientInfo`. * Added `expirationTime` field for `com.databricks.sdk.service.sharing.RecipientInfo`. * Changed `update()` method for `workspaceClient.recipients()` service to return `com.databricks.sdk.service.sharing.RecipientInfo` class. * Changed `update()` method for `workspaceClient.recipients()` service to type `update()` method for `workspaceClient.recipients()` service. * Changed `update()` method for `workspaceClient.recipients()` service return type to become non-empty. * Changed `create()` method for `workspaceClient.servingEndpoints()` service with new required argument order. * Changed `getOpenApi()` method for `workspaceClient.servingEndpoints()` service return type to become non-empty. * Changed `patch()` method for `workspaceClient.servingEndpoints()` service to return `com.databricks.sdk.service.serving.EndpointTags` class. * Changed `patch()` method for `workspaceClient.servingEndpoints()` service to type `patch()` method for `workspaceClient.servingEndpoints()` service. * Changed `com.databricks.sdk.service.serving.EndpointTagList` class to. * Changed `collaboratorAlias` field for `com.databricks.sdk.service.cleanrooms.CleanRoomCollaborator` to be required. * Changed `collaboratorAlias` field for `com.databricks.sdk.service.cleanrooms.CleanRoomCollaborator` to be required. * Changed `behavior` field for `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior` to no longer be required. * Changed `behavior` field for `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior` to no longer be required. * Changed `config` field for `com.databricks.sdk.service.serving.CreateServingEndpoint` to no longer be required. * Changed `projectId` and `region` fields for `com.databricks.sdk.service.serving.GoogleCloudVertexAiConfig` to be required. * Changed `projectId` and `region` fields for `com.databricks.sdk.service.serving.GoogleCloudVertexAiConfig` to be required. * Changed `workloadType` field for `com.databricks.sdk.service.serving.ServedEntityInput` to type `com.databricks.sdk.service.serving.ServingModelWorkloadType` class. * Changed `workloadType` field for `com.databricks.sdk.service.serving.ServedEntityOutput` to type `com.databricks.sdk.service.serving.ServingModelWorkloadType` class. * Changed `workloadType` field for `com.databricks.sdk.service.serving.ServedModelOutput` to type `com.databricks.sdk.service.serving.ServingModelWorkloadType` class. * Removed `securableKind` field for `com.databricks.sdk.service.catalog.CatalogInfo`. * Removed `securableKind` field for `com.databricks.sdk.service.catalog.ConnectionInfo`. OpenAPI SHA: c72c58f97b950fcb924a90ef164bcb10cfcd5ece, Date: 2025-02-03
1 parent 356837d commit a5cf79d

File tree

181 files changed

+4854
-474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+4854
-474
lines changed

.codegen/_openapi_sha

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
779817ed8d63031f5ea761fbd25ee84f38feec0d
1+
c72c58f97b950fcb924a90ef164bcb10cfcd5ece

.gitattributes

+66-3
Large diffs are not rendered by default.

CHANGELOG.md

+62
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
11
# Version changelog
22

3+
## [Release] Release v0.40.0
4+
5+
### Bug Fixes
6+
7+
* Correctly include query parameters for APIs whose request objects contain the body as a field ([#401](https://github.com/databricks/databricks-sdk-java/pull/401)).
8+
9+
10+
### Internal Changes
11+
12+
* Add CICD environment to User Agent ([#404](https://github.com/databricks/databricks-sdk-java/pull/404)).
13+
14+
15+
### API Changes:
16+
17+
* Added `accountClient.budgetPolicy()` service.
18+
* Added `accountClient.enableIpAccessLists()` service.
19+
* Added `workspaceClient.accessControl()` service.
20+
* Added `workspaceClient.lakeviewEmbedded()` service and `workspaceClient.queryExecution()` service.
21+
* Added `workspaceClient.redashConfig()` service.
22+
* Added `httpRequest()` method for `workspaceClient.servingEndpoints()` service.
23+
* Added `gcpOauthToken` field for `com.databricks.sdk.service.catalog.TemporaryCredentials`.
24+
* Added `options` field for `com.databricks.sdk.service.catalog.UpdateCatalog`.
25+
* Added `reviewState`, `reviews` and `runnerCollaborators` fields for `com.databricks.sdk.service.cleanrooms.CleanRoomAssetNotebook`.
26+
* Added `statementId` field for `com.databricks.sdk.service.dashboards.QueryAttachment`.
27+
* Added `effectivePerformanceTarget` field for `com.databricks.sdk.service.jobs.BaseRun`.
28+
* Added `performanceTarget` field for `com.databricks.sdk.service.jobs.CreateJob`.
29+
* Added `performanceTarget` field for `com.databricks.sdk.service.jobs.JobSettings`.
30+
* Added `effectivePerformanceTarget` field for `com.databricks.sdk.service.jobs.Run`.
31+
* Added `performanceTarget` field for `com.databricks.sdk.service.jobs.RunNow`.
32+
* Added `cleanRoomsNotebookOutput` field for `com.databricks.sdk.service.jobs.RunOutput`.
33+
* Added `disabled` and `effectivePerformanceTarget` fields for `com.databricks.sdk.service.jobs.RunTask`.
34+
* Added `runAsRepl` field for `com.databricks.sdk.service.jobs.SparkJarTask`.
35+
* Added `userAuthorizedScopes` field for `com.databricks.sdk.service.oauth2.CreateCustomAppIntegration`.
36+
* Added `userAuthorizedScopes` field for `com.databricks.sdk.service.oauth2.GetCustomAppIntegrationOutput`.
37+
* Added `scopes` and `userAuthorizedScopes` fields for `com.databricks.sdk.service.oauth2.UpdateCustomAppIntegration`.
38+
* Added `contents` field for `com.databricks.sdk.service.serving.GetOpenApiResponse`.
39+
* Added `activated`, `activationUrl`, `authenticationType`, `cloud`, `comment`, `createdAt`, `createdBy`, `dataRecipientGlobalMetastoreId`, `ipAccessList`, `metastoreId`, `name`, `owner`, `propertiesKvpairs`, `region`, `sharingCode`, `tokens`, `updatedAt` and `updatedBy` fields for `com.databricks.sdk.service.sharing.RecipientInfo`.
40+
* Added `expirationTime` field for `com.databricks.sdk.service.sharing.RecipientInfo`.
41+
* Changed `update()` method for `workspaceClient.recipients()` service to return `com.databricks.sdk.service.sharing.RecipientInfo` class.
42+
* Changed `update()` method for `workspaceClient.recipients()` service to type `update()` method for `workspaceClient.recipients()` service.
43+
* Changed `update()` method for `workspaceClient.recipients()` service return type to become non-empty.
44+
* Changed `create()` method for `workspaceClient.servingEndpoints()` service with new required argument order.
45+
* Changed `getOpenApi()` method for `workspaceClient.servingEndpoints()` service return type to become non-empty.
46+
* Changed `patch()` method for `workspaceClient.servingEndpoints()` service to return `com.databricks.sdk.service.serving.EndpointTags` class.
47+
* Changed `patch()` method for `workspaceClient.servingEndpoints()` service to type `patch()` method for `workspaceClient.servingEndpoints()` service.
48+
* Changed `com.databricks.sdk.service.serving.EndpointTagList` class to.
49+
* Changed `collaboratorAlias` field for `com.databricks.sdk.service.cleanrooms.CleanRoomCollaborator` to be required.
50+
* Changed `collaboratorAlias` field for `com.databricks.sdk.service.cleanrooms.CleanRoomCollaborator` to be required.
51+
* Changed `behavior` field for `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior` to no longer be required.
52+
* Changed `behavior` field for `com.databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior` to no longer be required.
53+
* Changed `config` field for `com.databricks.sdk.service.serving.CreateServingEndpoint` to no longer be required.
54+
* Changed `projectId` and `region` fields for `com.databricks.sdk.service.serving.GoogleCloudVertexAiConfig` to be required.
55+
* Changed `projectId` and `region` fields for `com.databricks.sdk.service.serving.GoogleCloudVertexAiConfig` to be required.
56+
* Changed `workloadType` field for `com.databricks.sdk.service.serving.ServedEntityInput` to type `com.databricks.sdk.service.serving.ServingModelWorkloadType` class.
57+
* Changed `workloadType` field for `com.databricks.sdk.service.serving.ServedEntityOutput` to type `com.databricks.sdk.service.serving.ServingModelWorkloadType` class.
58+
* Changed `workloadType` field for `com.databricks.sdk.service.serving.ServedModelOutput` to type `com.databricks.sdk.service.serving.ServingModelWorkloadType` class.
59+
* Removed `securableKind` field for `com.databricks.sdk.service.catalog.CatalogInfo`.
60+
* Removed `securableKind` field for `com.databricks.sdk.service.catalog.ConnectionInfo`.
61+
62+
OpenAPI SHA: c72c58f97b950fcb924a90ef164bcb10cfcd5ece, Date: 2025-02-03
63+
64+
365
## [Release] Release v0.39.0
466

567
### Internal Changes

databricks-sdk-java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.databricks</groupId>
77
<artifactId>databricks-sdk-parent</artifactId>
8-
<version>0.39.0</version>
8+
<version>0.40.0</version>
99
</parent>
1010
<artifactId>databricks-sdk-java</artifactId>
1111
<properties>

databricks-sdk-java/src/main/java/com/databricks/sdk/AccountClient.java

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

databricks-sdk-java/src/main/java/com/databricks/sdk/WorkspaceClient.java

+85-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)