Releases: databricks/databricks-sdk-java
v0.12.0
- Implemented notebook-native auth for the Java SDK (#171).
- Addeded regression question to github issue template (#176).
- Marked Java SDK as Beta (#177).
- Updated SDK to latest OpenAPI Spec (#181).
API Changes:
- Changed
create()
method forworkspaceClient.functions()
andworkspaceClient.metastores()
service. - Changed the following fields:
inputParams
field forcom.databricks.sdk.service.catalog.CreateFunction
tocom.databricks.sdk.service.catalog.FunctionParameterInfos
class.properties
field forcom.databricks.sdk.service.catalog.CreateFunction
toString
class.returnParams
field forcom.databricks.sdk.service.catalog.CreateFunction
tocom.databricks.sdk.service.catalog.FunctionParameterInfos
class.storageRoot
field forcom.databricks.sdk.service.catalog.CreateMetastore
to no longer be required.inputParams
field forcom.databricks.sdk.service.catalog.FunctionInfo
tocom.databricks.sdk.service.catalog.FunctionParameterInfos
class.properties
field forcom.databricks.sdk.service.catalog.FunctionInfo
toString
class.returnParams
field forcom.databricks.sdk.service.catalog.FunctionInfo
tocom.databricks.sdk.service.catalog.FunctionParameterInfos
class.
- Added the following fields:
skipValidation
field forcom.databricks.sdk.service.catalog.UpdateExternalLocation
.libraries
field forcom.databricks.sdk.service.compute.CreatePolicy
,com.databricks.sdk.service.compute.EditPolicy
andcom.databricks.sdk.service.compute.Policy
.initScripts
field forcom.databricks.sdk.service.compute.EventDetails
.file
field forcom.databricks.sdk.service.compute.InitScriptInfo
.zoneId
field forcom.databricks.sdk.service.compute.InstancePoolGcpAttributes
.editMode
field forcom.databricks.sdk.service.jobs.CreateJob
andcom.databricks.sdk.service.jobs.JobSettings
.includeResolvedValues
field forcom.databricks.sdk.service.jobs.GetRunRequest
.networkConnectivityConfigId
field forcom.databricks.sdk.service.provisioning.UpdateWorkspaceRequest
.containerLogs
andextraInfo
field forcom.databricks.sdk.service.serving.DeploymentStatus
.
- Added
deleteApp()
,getApp()
,getAppDeploymentStatus()
,getApps()
andgetEvents()
method forworkspaceClient.apps()
service. - Added
accountClient.networkConnectivity()
service. - Added the following classses:
com.databricks.sdk.service.compute
:LocalFileInfo
,InitScriptInfoAndExecutionDetails
,InitScriptEventDetails
,InitScriptExecutionDetails
andInitScriptExecutionDetailsStatus
.com.databricks.sdk.service.jobs
:JobSettingsEditMode
andCreateJobEditMode
.com.databricks.sdk.service.catalog
:CreateFunctionRequest
,DependencyList
andFunctionParameterInfos
.com.databricks.sdk.service.serving
:AppEvents
,AppServiceStatus
,DeleteAppResponse
,GetAppDeploymentStatusRequest
,GetAppResponse
,GetEventsRequest
,ListAppEventsResponse
andListAppsResponse
.com.databricks.sdk.service.settings
:CreateNetworkConnectivityConfigRequest
,CreatePrivateEndpointRuleRequest
,CreatePrivateEndpointRuleRequestGroupId
,DeleteNetworkConnectivityConfigurationRequest
,DeletePrivateEndpointRuleRequest
,GetNetworkConnectivityConfigurationRequest
,GetPrivateEndpointRuleRequest
,NccAzurePrivateEndpointRule
,NccAzurePrivateEndpointRuleConnectionState
,NccAzurePrivateEndpointRuleGroupId
,NccAzureServiceEndpointRule
,NccEgressConfig
,NccEgressDefaultRules
,NccEgressTargetRules
andNetworkConnectivityConfiguration
.
- Removed the following fields:
uiState
field forcom.databricks.sdk.service.jobs.CreateJob
.uiState
field forcom.databricks.sdk.service.jobs.JobSettings
.
- Removed
delete()
andget()
method forworkspaceClient.apps()
service. - Removed
accountClient.oAuthEnrollment()
service. - Removed the following classes:
com.databricks.sdk.service.jobs.CreateJobUiState
,com.databricks.sdk.service.jobs.JobSettingsUiState
,com.databricks.sdk.service.oauth2.CreateOAuthEnrollment
andcom.databricks.sdk.service.oauth2.OAuthEnrollmentStatus
.
OpenAPI SHA: e7b127cb07af8dd4d8c61c7cc045c8910cdbb02a, Date: 2023-11-08
v0.11.0
- Adjust token expiry window to 40 seconds because of Azure (#170).
- Use same logic as Go SDK for DatabricksConfig.isAzure() (#174).
API Changes:
- Added
attributes
,count
,excludedAttributes
,filter
,sortBy
,sortOrder
, andstartIndex
fields forcom.databricks.sdk.service.iam.GetAccountUserRequest
andcom.databricks.sdk.service.iam.GetUserRequest
. - Added
schemas
field forcom.databricks.sdk.service.iam.Group
,com.databricks.sdk.service.iam.ListGroupsResponse
,com.databricks.sdk.service.iam.ListServicePrincipalResponse
,com.databricks.sdk.service.iam.ListUsersResponse
,com.databricks.sdk.service.iam.ServicePrincipal
, andcom.databricks.sdk.service.iam.User
. - Added
com.databricks.sdk.service.iam.GetSortOrder
,com.databricks.sdk.service.iam.GroupSchema
,com.databricks.sdk.service.iam.ListResponseSchema
,com.databricks.sdk.service.iam.ServicePrincipalSchema
, andcom.databricks.sdk.service.iam.UserSchema
class. - Added
webhookNotifications
field forcom.databricks.sdk.service.jobs.SubmitTask
. - Added
workspaceClient.apps()
service and related classes. - Added
accountClient.networkPolicy()
service and related classes.
OpenAPI SHA: 5903bb39137fd76ac384b2044e425f9c56840e00, Date: 2023-10-23
Dependency updates:
v0.10.0
- Don't fail codegen if the tree was already removed (#164).
- Update OpenAPI spec to 12 Oct 2023 (#165).
API Changes:
- Changed
download()
method foraccountClient.billableUsage()
service to start returningcom.databricks.sdk.service.billing.DownloadResponse
class. - Added
com.databricks.sdk.service.billing.DownloadResponse
class. - Changed
delete()
method foraccountClient.storageCredentials()
service with new required argument order. - Changed
get()
method foraccountClient.storageCredentials()
service with new required argument order. - Changed
update()
method foraccountClient.storageCredentials()
service with new required argument order. - Added
getBindings()
method forworkspaceClient.workspaceBindings()
service. - Added
updateBindings()
method forworkspaceClient.workspaceBindings()
service. - Removed
name
field forcom.databricks.sdk.service.catalog.AccountsUpdateStorageCredential
. - Added
storageCredentialName
field forcom.databricks.sdk.service.catalog.AccountsUpdateStorageCredential
. - Removed
name
field forcom.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest
. - Added
storageCredentialName
field forcom.databricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest
. - Removed
name
field forcom.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest
. - Added
storageCredentialName
field forcom.databricks.sdk.service.catalog.GetAccountStorageCredentialRequest
. - Added
owner
field forcom.databricks.sdk.service.catalog.UpdateConnection
. - Added
com.databricks.sdk.service.catalog.GetBindingsRequest
class. - Added
com.databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters
class. - Added
com.databricks.sdk.service.catalog.WorkspaceBinding
class. - Added
com.databricks.sdk.service.catalog.WorkspaceBindingBindingType
class. - Added
com.databricks.sdk.service.catalog.WorkspaceBindingsResponse
class. - Added
spec
field forcom.databricks.sdk.service.compute.ClusterDetails
. - Added
applyPolicyDefaultValues
field forcom.databricks.sdk.service.compute.ClusterSpec
. - Removed
awsAttributes
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Removed
azureAttributes
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Removed
diskSpec
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Removed
enableElasticDisk
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Removed
gcpAttributes
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Removed
preloadedDockerImages
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Removed
preloadedSparkVersions
field forcom.databricks.sdk.service.compute.EditInstancePool
. - Added
deployment
field forcom.databricks.sdk.service.jobs.CreateJob
. - Added
uiState
field forcom.databricks.sdk.service.jobs.CreateJob
. - Added
deployment
field forcom.databricks.sdk.service.jobs.JobSettings
. - Added
uiState
field forcom.databricks.sdk.service.jobs.JobSettings
. - Removed
conditionTask
field forcom.databricks.sdk.service.jobs.RunOutput
. - Added
webhookNotifications
field forcom.databricks.sdk.service.jobs.Task
. - Added
com.databricks.sdk.service.jobs.CreateJobUiState
class. - Added
com.databricks.sdk.service.jobs.JobDeployment
class. - Added
com.databricks.sdk.service.jobs.JobDeploymentKind
class. - Added
com.databricks.sdk.service.jobs.JobSettingsUiState
class. - Added
workloadType
field forcom.databricks.sdk.service.serving.ServedModelInput
. - Added
workloadType
field forcom.databricks.sdk.service.serving.ServedModelOutput
. - Removed
accountClient.networkPolicy()
service. - Changed
list()
method forworkspaceClient.ipAccessLists()
service to returncom.databricks.sdk.service.settings.ListIpAccessListResponse
class. - Removed
com.databricks.sdk.service.settings.AccountNetworkPolicyMessage
class. - Removed
com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest
class. - Removed
com.databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse
class. - Removed
ipAccessLists
field forcom.databricks.sdk.service.settings.GetIpAccessListResponse
. - Added
ipAccessList
field forcom.databricks.sdk.service.settings.GetIpAccessListResponse
. - Removed
com.databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest
class. - Removed
com.databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest
class. - Added
com.databricks.sdk.service.settings.ListIpAccessListResponse
class.
OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12
v0.9.0
- Add additional error metadata to API errors (#153).
- Bugfix: Chunk streaming request bodies only (#157).
- Relicense the Java SDK using the Apache 2.0 license (#158).
Breaking API Changes:
- Changed
list()
method foraccountClient.metastoreAssignments()
service to returncom.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse
class. - Changed
artifactMatchers
field forcom.databricks.sdk.service.catalog.ArtifactAllowlistInfo
tocom.databricks.sdk.service.catalog.ArtifactMatcherList
class. - Removed
owner
field forcom.databricks.sdk.service.catalog.CreateConnection
. Use instead theowner
field ofUpdateConnection
. - Changed
artifactMatchers
field forcom.databricks.sdk.service.catalog.SetArtifactAllowlist
tocom.databricks.sdk.service.catalog.ArtifactMatcherList
class. - Removed
options
field forcom.databricks.sdk.service.catalog.UpdateCatalog
. - Changed
cancelAllRuns()
method forworkspaceClient.jobs()
service with new required argument order. - Changed
jobId
field forcom.databricks.sdk.service.jobs.CancelAllRuns
to no longer be required. - Changed
jobParameters
field forcom.databricks.sdk.service.jobs.RunNow
tocom.databricks.sdk.service.jobs.ParamPairs
class. - Changed
query()
method forworkspaceClient.servingEndpoints()
service. New request type iscom.databricks.sdk.service.serving.QueryEndpointInput
class. - Removed
com.databricks.sdk.service.serving.QueryRequest
class. - Changed
list()
method forworkspaceClient.cleanRooms()
service to require request ofcom.databricks.sdk.service.sharing.ListCleanRoomsRequest
class. - Changed
executeStatement()
method forworkspaceClient.statementExecution()
service with new required argument order. - Renamed
com.databricks.sdk.service.sql.ChunkInfo
class toBaseChunkInfo
. - Changed
onWaitTimeout
field forcom.databricks.sdk.service.sql.ExecuteStatementRequest
tocom.databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout
class. - Changed
statement
field forcom.databricks.sdk.service.sql.ExecuteStatementRequest
to be required. - Changed
warehouseId
field forcom.databricks.sdk.service.sql.ExecuteStatementRequest
to be required. - Changed
chunks
field forcom.databricks.sdk.service.sql.ResultManifest
tocom.databricks.sdk.service.sql.BaseChunkInfoList
class. - Renamed
com.databricks.sdk.service.sql.TimeoutAction
class toExecuteStatementRequestOnWaitTimeout
.
API Changes:
- Added
com.databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse
class. - Added
com.databricks.sdk.service.catalog.WorkspaceId
class. - Added
allQueuedRuns
field forcom.databricks.sdk.service.jobs.CancelAllRuns
. - Added
queue
field forcom.databricks.sdk.service.jobs.CreateJob
. - Added
queue
field forcom.databricks.sdk.service.jobs.JobSettings
. - Added
jobParameters
field forcom.databricks.sdk.service.jobs.RepairRun
. - Added
queue
field forcom.databricks.sdk.service.jobs.RunNow
. - Added
jobParameters
field forcom.databricks.sdk.service.jobs.RunParameters
. - Added
queueReason
field forcom.databricks.sdk.service.jobs.RunState
. - Added
queueDuration
field forcom.databricks.sdk.service.jobs.RunTask
. - Added
queue
field forcom.databricks.sdk.service.jobs.SubmitRun
. - Added
com.databricks.sdk.service.jobs.QueueSettings
class. - Added
accountClient.oAuthPublishedApps()
service. - Added
com.databricks.sdk.service.oauth2.GetPublishedAppsOutput
class. - Added
com.databricks.sdk.service.oauth2.ListOAuthPublishedAppsRequest
class. - Added
com.databricks.sdk.service.oauth2.PublishedAppOutput
class. - Added
notifications
field forcom.databricks.sdk.service.pipelines.CreatePipeline
. - Added
notifications
field forcom.databricks.sdk.service.pipelines.EditPipeline
. - Added
notifications
field forcom.databricks.sdk.service.pipelines.PipelineSpec
. - Added
com.databricks.sdk.service.pipelines.Notifications
class. - Added
patch()
method forworkspaceClient.servingEndpoints()
service. - Added
tags
field forcom.databricks.sdk.service.serving.CreateServingEndpoint
. - Added
tags
field forcom.databricks.sdk.service.serving.ServingEndpoint
. - Added
tags
field forcom.databricks.sdk.service.serving.ServingEndpointDetailed
. - Added
com.databricks.sdk.service.serving.DataframeSplitInput
class. - Added
com.databricks.sdk.service.serving.EndpointTag
class. - Added
com.databricks.sdk.service.serving.PatchServingEndpointTags
class. - Added
com.databricks.sdk.service.serving.QueryEndpointInput
class. - Added
workspaceClient.credentialsManager()
service. - Added
workspaceClient.settings()
service. - Added
com.databricks.sdk.service.settings.DefaultNamespaceSetting
class. - Added
com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceRequest
class. - Added
com.databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceResponse
class. - Added
com.databricks.sdk.service.settings.ExchangeToken
class. - Added
com.databricks.sdk.service.settings.ExchangeTokenRequest
class. - Added
com.databricks.sdk.service.settings.ExchangeTokenResponse
class. - Added
com.databricks.sdk.service.settings.PartitionId
class. - Added
com.databricks.sdk.service.settings.ReadDefaultWorkspaceNamespaceRequest
class. - Added
com.databricks.sdk.service.settings.StringMessage
class. - Added
com.databricks.sdk.service.settings.TokenType
class. - Added
com.databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest
class. - Added
nextPageToken
field forcom.databricks.sdk.service.sharing.ListCleanRoomsResponse
. - Added
com.databricks.sdk.service.sharing.ListCleanRoomsRequest
class. - Added
emptyResultState
field forcom.databricks.sdk.service.sql.AlertOptions
. - Added
truncated
field forcom.databricks.sdk.service.sql.ResultManifest
. - Added
com.databricks.sdk.service.sql.AlertOptionsEmptyResultState
class.
OpenAPI SHA: bcbf6e851e3d82fd910940910dd31c10c059746c, Date: 2023-10-02
v0.8.1
v0.8.0
- Adding mock constructor method for WorkspaceClient to support mocked ApiClient (#144).
API Changes:
- Renamed permissions APIs to no longer include the service name, for example:
getJobPermissionLevels
->getPermissionLevels
getJobPermissions
->getPermissions
setJobPermissions
->setPermissions
updateJobPermissions
->updatePermissions
- Changed
create()
method forworkspaceClient.volumes()
service with new required argument order. - Added
supportsElasticDisk
field forcom.databricks.sdk.service.compute.NodeType
. - Changed
create()
method forworkspaceClient.dashboards()
service with new required argument order. - Added
workspaceClient.dashboardWidgets()
service. - Added
workspaceClient.queryVisualizations()
service. - Changed
name
field forcom.databricks.sdk.service.sql.CreateDashboardRequest
to be required. - Added
dashboardFiltersEnabled
field forcom.databricks.sdk.service.sql.CreateDashboardRequest
. - Added
runAsRole
field forcom.databricks.sdk.service.sql.CreateDashboardRequest
. - Added
runAsRole
field forcom.databricks.sdk.service.sql.Query
. - Added
runAsRole
field forcom.databricks.sdk.service.sql.QueryPostContent
. - Removed
dashboardId
field forcom.databricks.sdk.service.sql.WidgetOptions
. - Changed
position
field forcom.databricks.sdk.service.sql.WidgetOptions
tocom.databricks.sdk.service.sql.WidgetPosition
class. - Removed
text
field forcom.databricks.sdk.service.sql.WidgetOptions
. - Added
description
field forcom.databricks.sdk.service.sql.WidgetOptions
. - Added
title
field forcom.databricks.sdk.service.sql.WidgetOptions
. - Added
com.databricks.sdk.service.sql.CreateQueryVisualizationRequest
class. - Added
com.databricks.sdk.service.sql.CreateWidget
class. - Added
com.databricks.sdk.service.sql.DeleteDashboardWidgetRequest
class. - Added
com.databricks.sdk.service.sql.DeleteQueryVisualizationRequest
class. - Added
com.databricks.sdk.service.sql.RunAsRole
class. - Added
com.databricks.sdk.service.sql.WidgetPosition
class.
OpenAPI SHA: 09a7fa63d9ae243e5407941f200960ca14d48b07, Date: 2023-09-04
v0.7.0
Release v0.7.0
v0.6.0
- Added support for
dbutils.secrets
(#132). - Added retry in
w.clusters().ensureClusterIsRunning(id)
when cluster is simultaneously started by two different processes (#134). - Set necessary headers when authenticating via Azure CLI (#136).
New Services:
- Added
workspaceClient.artifactAllowlists()
service. - Added
workspaceClient.securableTags()
service. - Added
workspaceClient.subentityTags()
service. - Added
com.databricks.sdk.service.catalog.ArtifactAllowlistInfo
class. - Added
com.databricks.sdk.service.catalog.ArtifactMatcher
class. - Added
com.databricks.sdk.service.catalog.ArtifactType
class. - Added
com.databricks.sdk.service.catalog.GetArtifactAllowlistRequest
class. - Added
com.databricks.sdk.service.catalog.ListSecurableTagsRequest
class. - Added
com.databricks.sdk.service.catalog.ListSecurableType
class. - Added
com.databricks.sdk.service.catalog.ListSubentityTagsRequest
class. - Added
com.databricks.sdk.service.catalog.MatchType
class. - Added
com.databricks.sdk.service.catalog.SetArtifactAllowlist
class. - Added
com.databricks.sdk.service.catalog.TagChanges
class. - Added
com.databricks.sdk.service.catalog.TagKeyValuePair
class. - Added
com.databricks.sdk.service.catalog.TagSecurable
class. - Added
com.databricks.sdk.service.catalog.TagSecurableAssignment
class. - Added
com.databricks.sdk.service.catalog.TagSecurableAssignmentsList
class. - Added
com.databricks.sdk.service.catalog.TagSubentity
class. - Added
com.databricks.sdk.service.catalog.TagSubentityAssignmentsList
class. - Added
com.databricks.sdk.service.catalog.TagsSubentityAssignment
class. - Added
com.databricks.sdk.service.catalog.UpdateSecurableType
class. - Added
com.databricks.sdk.service.catalog.UpdateTags
class.
New APIs:
- Added
deleteRuns()
method forworkspaceClient.experiments()
service. - Added
restoreRuns()
method forworkspaceClient.experiments()
service. - Added
com.databricks.sdk.service.ml.DeleteRuns
class. - Added
com.databricks.sdk.service.ml.DeleteRunsResponse
class. - Added
com.databricks.sdk.service.ml.RestoreRuns
class. - Added
com.databricks.sdk.service.ml.RestoreRunsResponse
class. - Added
getSecret()
method forworkspaceClient.secrets()
service. - Added
com.databricks.sdk.service.workspace.GetSecretRequest
class. - Added
com.databricks.sdk.service.workspace.GetSecretResponse
class.
API Renames:
- Renamed
effectiveAutoMaintenanceFlag
field toeffectivePredictiveOptimizationFlag
field forcom.databricks.sdk.service.catalog.CatalogInfo
. - Renamed
enableAutoMaintenance
field toenablePredictiveOptimization
field forcom.databricks.sdk.service.catalog.CatalogInfo
. - Renamed
com.databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlag
class tocom.databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlag
class. - Renamed
com.databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlagInheritedFromType
class tocom.databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlagInheritedFromType
. - Renamed
com.databricks.sdk.service.catalog.EnableAutoMaintenance
class tocom.databricks.sdk.service.catalog.EnablePredictiveOptimization
. - Renamed
effectiveAutoMaintenanceFlag
field toeffectivePredictiveOptimizationFlag
field forcom.databricks.sdk.service.catalog.SchemaInfo
. - Renamed
enableAutoMaintenance
field toenablePredictiveOptimization
field forcom.databricks.sdk.service.catalog.SchemaInfo
. - Renamed
effectiveAutoMaintenanceFlag
field toeffectivePredictiveOptimizationFlag
field forcom.databricks.sdk.service.catalog.TableInfo
. - Renamed
enableAutoMaintenance
field toenablePredictiveOptimization
field forcom.databricks.sdk.service.catalog.TableInfo
.
OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17
v0.5.0
Release v0.5.0 (#133) API Changes: * Changed `create()` method for `accountClient.storageCredentials()` service to return `com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo` class. * Changed `get()` method for `accountClient.storageCredentials()` service to return `com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo` class. * Changed `update()` method for `accountClient.storageCredentials()` service to return `com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo` class. * Changed `create()` method for `workspaceClient.connections()` service with new required argument order. * Changed `update()` method for `workspaceClient.connections()` service with new required argument order. * Added `provisioningState` field for `com.databricks.sdk.service.catalog.ConnectionInfo`. * Added `securableKind` field for `com.databricks.sdk.service.catalog.ConnectionInfo`. * Added `securableType` field for `com.databricks.sdk.service.catalog.ConnectionInfo`. * Changed `algorithm` field for `com.databricks.sdk.service.catalog.SseEncryptionDetails` to no longer be required. * Added `com.databricks.sdk.service.catalog.AccountsStorageCredentialInfo` class. * Added `com.databricks.sdk.service.catalog.ConnectionInfoSecurableKind` class. * Added `com.databricks.sdk.service.catalog.ProvisioningState` class. * Added `dataSecurityMode` field for `com.databricks.sdk.service.compute.CreateCluster`. * Added `dockerImage` field for `com.databricks.sdk.service.compute.CreateCluster`. * Added `singleUserName` field for `com.databricks.sdk.service.compute.CreateCluster`. Bug fixes: * Renamed `optionsKvpairs` field to `options` for `com.databricks.sdk.service.catalog.ConnectionInfo`. * Renamed `propertiesKvpairs` field to `properties` for `com.databricks.sdk.service.catalog.ConnectionInfo`. * Renamed `optionsKvpairs` field to `options` for `com.databricks.sdk.service.catalog.CreateConnection`. * Renamed `propertiesKvpairs` field to `properties` for `com.databricks.sdk.service.catalog.CreateConnection`. * Renamed `optionsKvpairs` field to `options` for `com.databricks.sdk.service.catalog.UpdateConnection`. * Renamed `schema` field to `schemas` for `com.databricks.sdk.service.iam.PartialUpdate`. OpenAPI SHA: 1e3533f94335f0e6c5d9262bc1fea95b3ddcb0e1, Date: 2023-08-11
v0.4.0
To simplify documentation and management of object permissions, this release features a major reorganization of how permissions APIs are structured in the SDK. Rather than using a single Permissions.Get()
API for all services, each service supporting permissions has its own permissions APIs. Follow these steps to migrate to the current SDK:
- Change
w.permissions().get()
andw.permissions().getByRequestOgjectIdAndRequestObjectType()
tow.<Service>.get<Service>Permissions()
- Change
w.permissions().getPermissionLevels()
tow.<Service>.getServicePermissionLevels()
- Change
w.permissions().set()
tow.<Service>.set<Service>Permissions()
- Change
w.permissions().update()
tow.<Service>.update<Service>Permissions()
API Changes:
- Added
getClusterPolicyPermissionLevels()
method forworkspaceClient.clusterPolicies()
service. - Added
getClusterPolicyPermissions()
method forworkspaceClient.clusterPolicies()
service. - Added
setClusterPolicyPermissions()
method forworkspaceClient.clusterPolicies()
service. - Added
updateClusterPolicyPermissions()
method forworkspaceClient.clusterPolicies()
service. - Added
getClusterPermissionLevels()
method forworkspaceClient.clusters()
service. - Added
getClusterPermissions()
method forworkspaceClient.clusters()
service. - Added
setClusterPermissions()
method forworkspaceClient.clusters()
service. - Added
updateClusterPermissions()
method forworkspaceClient.clusters()
service. - Added
getInstancePoolPermissionLevels()
method forworkspaceClient.instancePools()
service. - Added
getInstancePoolPermissions()
method forworkspaceClient.instancePools()
service. - Added
setInstancePoolPermissions()
method forworkspaceClient.instancePools()
service. - Added
updateInstancePoolPermissions()
method forworkspaceClient.instancePools()
service. - Added
com.databricks.sdk.service.compute.ClusterAccessControlRequest
class. - Added
com.databricks.sdk.service.compute.ClusterAccessControlResponse
class. - Added
com.databricks.sdk.service.compute.ClusterPermission
class. - Added
com.databricks.sdk.service.compute.ClusterPermissionLevel
class. - Added
com.databricks.sdk.service.compute.ClusterPermissions
class. - Added
com.databricks.sdk.service.compute.ClusterPermissionsDescription
class. - Added
com.databricks.sdk.service.compute.ClusterPermissionsRequest
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyAccessControlRequest
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyAccessControlResponse
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyPermission
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyPermissionLevel
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyPermissions
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyPermissionsDescription
class. - Added
com.databricks.sdk.service.compute.ClusterPolicyPermissionsRequest
class. - Added
com.databricks.sdk.service.compute.GetClusterPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.compute.GetClusterPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.compute.GetClusterPermissionsRequest
class. - Added
com.databricks.sdk.service.compute.GetClusterPolicyPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.compute.GetClusterPolicyPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.compute.GetClusterPolicyPermissionsRequest
class. - Added
com.databricks.sdk.service.compute.GetInstancePoolPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.compute.GetInstancePoolPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.compute.GetInstancePoolPermissionsRequest
class. - Added
com.databricks.sdk.service.compute.InstancePoolAccessControlRequest
class. - Added
com.databricks.sdk.service.compute.InstancePoolAccessControlResponse
class. - Added
com.databricks.sdk.service.compute.InstancePoolPermission
class. - Added
com.databricks.sdk.service.compute.InstancePoolPermissionLevel
class. - Added
com.databricks.sdk.service.compute.InstancePoolPermissions
class. - Added
com.databricks.sdk.service.compute.InstancePoolPermissionsDescription
class. - Added
com.databricks.sdk.service.compute.InstancePoolPermissionsRequest
class. - Changed
set()
method forworkspaceClient.permissions()
service to start returningcom.databricks.sdk.service.iam.ObjectPermissions
class. - Changed
update()
method forworkspaceClient.permissions()
service to start returningcom.databricks.sdk.service.iam.ObjectPermissions
class. - Added
getPasswordPermissionLevels()
method forworkspaceClient.users()
service. - Added
getPasswordPermissions()
method forworkspaceClient.users()
service. - Added
setPasswordPermissions()
method forworkspaceClient.users()
service. - Added
updatePasswordPermissions()
method forworkspaceClient.users()
service. - Added
displayName
field forcom.databricks.sdk.service.iam.AccessControlResponse
. - Changed
roles
field forcom.databricks.sdk.service.iam.GetAssignableRolesForResourceResponse
tocom.databricks.sdk.service.iam.RoleList
class. - Added
com.databricks.sdk.service.iam.GetPasswordPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.iam.PasswordAccessControlRequest
class. - Added
com.databricks.sdk.service.iam.PasswordAccessControlResponse
class. - Added
com.databricks.sdk.service.iam.PasswordPermission
class. - Added
com.databricks.sdk.service.iam.PasswordPermissionLevel
class. - Added
com.databricks.sdk.service.iam.PasswordPermissions
class. - Added
com.databricks.sdk.service.iam.PasswordPermissionsDescription
class. - Added
com.databricks.sdk.service.iam.PasswordPermissionsRequest
class. - Added
com.databricks.sdk.service.iam.Role
class. - Added
getJobPermissionLevels()
method forworkspaceClient.jobs()
service. - Added
getJobPermissions()
method forworkspaceClient.jobs()
service. - Added
setJobPermissions()
method forworkspaceClient.jobs()
service. - Added
updateJobPermissions()
method forworkspaceClient.jobs()
service. - Added
com.databricks.sdk.service.jobs.GetJobPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.jobs.GetJobPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.jobs.GetJobPermissionsRequest
class. - Added
com.databricks.sdk.service.jobs.JobAccessControlRequest
class. - Added
com.databricks.sdk.service.jobs.JobAccessControlResponse
class. - Added
com.databricks.sdk.service.jobs.JobPermission
class. - Added
com.databricks.sdk.service.jobs.JobPermissionLevel
class. - Added
com.databricks.sdk.service.jobs.JobPermissions
class. - Added
com.databricks.sdk.service.jobs.JobPermissionsDescription
class. - Added
com.databricks.sdk.service.jobs.JobPermissionsRequest
class. - Added
getExperimentPermissionLevels()
method forworkspaceClient.experiments()
service. - Added
getExperimentPermissions()
method forworkspaceClient.experiments()
service. - Added
setExperimentPermissions()
method forworkspaceClient.experiments()
service. - Added
updateExperimentPermissions()
method forworkspaceClient.experiments()
service. - Added
getRegisteredModelPermissionLevels()
method forworkspaceClient.modelRegistry()
service. - Added
getRegisteredModelPermissions()
method forworkspaceClient.modelRegistry()
service. - Added
setRegisteredModelPermissions()
method forworkspaceClient.modelRegistry()
service. - Added
updateRegisteredModelPermissions()
method forworkspaceClient.modelRegistry()
service. - Added
com.databricks.sdk.service.ml.ExperimentAccessControlRequest
class. - Added
com.databricks.sdk.service.ml.ExperimentAccessControlResponse
class. - Added
com.databricks.sdk.service.ml.ExperimentPermission
class. - Added
com.databricks.sdk.service.ml.ExperimentPermissionLevel
class. - Added
com.databricks.sdk.service.ml.ExperimentPermissions
class. - Added
com.databricks.sdk.service.ml.ExperimentPermissionsDescription
class. - Added
com.databricks.sdk.service.ml.ExperimentPermissionsRequest
class. - Added
com.databricks.sdk.service.ml.GetExperimentPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.ml.GetExperimentPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.ml.GetExperimentPermissionsRequest
class. - Added
com.databricks.sdk.service.ml.GetRegisteredModelPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.ml.GetRegisteredModelPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.ml.GetRegisteredModelPermissionsRequest
class. - Added
com.databricks.sdk.service.ml.RegisteredModelAccessControlRequest
class. - Added
com.databricks.sdk.service.ml.RegisteredModelAccessControlResponse
class. - Added
com.databricks.sdk.service.ml.RegisteredModelPermission
class. - Added
com.databricks.sdk.service.ml.RegisteredModelPermissionLevel
class. - Added
com.databricks.sdk.service.ml.RegisteredModelPermissions
class. - Added
com.databricks.sdk.service.ml.RegisteredModelPermissionsDescription
class. - Added
com.databricks.sdk.service.ml.RegisteredModelPermissionsRequest
class. - Added
scopes
field forcom.databricks.sdk.service.oauth2.CreateCustomAppIntegration
. - Added
getPipelinePermissionLevels()
method forworkspaceClient.pipelines()
service. - Added
getPipelinePermissions()
method forworkspaceClient.pipelines()
service. - Added
setPipelinePermissions()
method forworkspaceClient.pipelines()
service. - Added
updatePipelinePermissions()
method forworkspaceClient.pipelines()
service. - Added
com.databricks.sdk.service.pipelines.GetPipelinePermissionLevelsRequest
class. - Added
com.databricks.sdk.service.pipelines.GetPipelinePermissionLevelsResponse
class. - Added `com.datab...