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.databricks.sdk.service.pipelines.GetPipelinePermissionsRequest
class. - Added
com.databricks.sdk.service.pipelines.PipelineAccessControlRequest
class. - Added
com.databricks.sdk.service.pipelines.PipelineAccessControlResponse
class. - Added
com.databricks.sdk.service.pipelines.PipelinePermission
class. - Added
com.databricks.sdk.service.pipelines.PipelinePermissionLevel
class. - Added
com.databricks.sdk.service.pipelines.PipelinePermissions
class. - Added
com.databricks.sdk.service.pipelines.PipelinePermissionsDescription
class. - Added
com.databricks.sdk.service.pipelines.PipelinePermissionsRequest
class. - Added
gcpManagedNetworkConfig
field forcom.databricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
gkeConfig
field forcom.databricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
getServingEndpointPermissionLevels()
method forworkspaceClient.servingEndpoints()
service. - Added
getServingEndpointPermissions()
method forworkspaceClient.servingEndpoints()
service. - Added
setServingEndpointPermissions()
method forworkspaceClient.servingEndpoints()
service. - Added
updateServingEndpointPermissions()
method forworkspaceClient.servingEndpoints()
service. - Added
instanceProfileArn
field forcom.databricks.sdk.service.serving.ServedModelInput
. - Added
instanceProfileArn
field forcom.databricks.sdk.service.serving.ServedModelOutput
. - Added
com.databricks.sdk.service.serving.GetServingEndpointPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.serving.GetServingEndpointPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.serving.GetServingEndpointPermissionsRequest
class. - Added
com.databricks.sdk.service.serving.ServingEndpointAccessControlRequest
class. - Added
com.databricks.sdk.service.serving.ServingEndpointAccessControlResponse
class. - Added
com.databricks.sdk.service.serving.ServingEndpointPermission
class. - Added
com.databricks.sdk.service.serving.ServingEndpointPermissionLevel
class. - Added
com.databricks.sdk.service.serving.ServingEndpointPermissions
class. - Added
com.databricks.sdk.service.serving.ServingEndpointPermissionsDescription
class. - Added
com.databricks.sdk.service.serving.ServingEndpointPermissionsRequest
class. - Added
getTokenPermissionLevels()
method forworkspaceClient.tokenManagement()
service. - Added
getTokenPermissions()
method forworkspaceClient.tokenManagement()
service. - Added
setTokenPermissions()
method forworkspaceClient.tokenManagement()
service. - Added
updateTokenPermissions()
method forworkspaceClient.tokenManagement()
service. - Added
com.databricks.sdk.service.settings.GetTokenPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.settings.TokenAccessControlRequest
class. - Added
com.databricks.sdk.service.settings.TokenAccessControlResponse
class. - Added
com.databricks.sdk.service.settings.TokenPermission
class. - Added
com.databricks.sdk.service.settings.TokenPermissionLevel
class. - Added
com.databricks.sdk.service.settings.TokenPermissions
class. - Added
com.databricks.sdk.service.settings.TokenPermissionsDescription
class. - Added
com.databricks.sdk.service.settings.TokenPermissionsRequest
class. - Added
getWarehousePermissionLevels()
method forworkspaceClient.warehouses()
service. - Added
getWarehousePermissions()
method forworkspaceClient.warehouses()
service. - Added
setWarehousePermissions()
method forworkspaceClient.warehouses()
service. - Added
updateWarehousePermissions()
method forworkspaceClient.warehouses()
service. - Added
canSubscribeToLiveQuery
field forcom.databricks.sdk.service.sql.QueryInfo
. - Removed
queuedOverloadTimeMs
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Removed
queuedProvisioningTimeMs
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Removed
totalFilesCount
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Removed
totalPartitionsCount
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
metadataTimeMs
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
overloadingQueueStartTimestamp
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
planningPhases
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
planningTimeMs
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
provisioningQueueStartTimestamp
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
prunedBytes
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
prunedFilesCount
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
queryCompilationStartTimestamp
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
queryExecutionTimeMs
field forcom.databricks.sdk.service.sql.QueryMetrics
. - Added
com.databricks.sdk.service.sql.GetWarehousePermissionLevelsRequest
class. - Added
com.databricks.sdk.service.sql.GetWarehousePermissionLevelsResponse
class. - Added
com.databricks.sdk.service.sql.GetWarehousePermissionsRequest
class. - Added
com.databricks.sdk.service.sql.WarehouseAccessControlRequest
class. - Added
com.databricks.sdk.service.sql.WarehouseAccessControlResponse
class. - Added
com.databricks.sdk.service.sql.WarehousePermission
class. - Added
com.databricks.sdk.service.sql.WarehousePermissionLevel
class. - Added
com.databricks.sdk.service.sql.WarehousePermissions
class. - Added
com.databricks.sdk.service.sql.WarehousePermissionsDescription
class. - Added
com.databricks.sdk.service.sql.WarehousePermissionsRequest
class. - Added
getRepoPermissionLevels()
method forworkspaceClient.repos()
service. - Added
getRepoPermissions()
method forworkspaceClient.repos()
service. - Added
setRepoPermissions()
method forworkspaceClient.repos()
service. - Added
updateRepoPermissions()
method forworkspaceClient.repos()
service. - Added
getWorkspaceObjectPermissionLevels()
method forworkspaceClient.workspace()
service. - Added
getWorkspaceObjectPermissions()
method forworkspaceClient.workspace()
service. - Added
setWorkspaceObjectPermissions()
method forworkspaceClient.workspace()
service. - Added
updateWorkspaceObjectPermissions()
method forworkspaceClient.workspace()
service. - Added
com.databricks.sdk.service.workspace.GetRepoPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.workspace.GetRepoPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.workspace.GetRepoPermissionsRequest
class. - Added
com.databricks.sdk.service.workspace.GetWorkspaceObjectPermissionLevelsRequest
class. - Added
com.databricks.sdk.service.workspace.GetWorkspaceObjectPermissionLevelsResponse
class. - Added
com.databricks.sdk.service.workspace.GetWorkspaceObjectPermissionsRequest
class. - Added
com.databricks.sdk.service.workspace.RepoAccessControlRequest
class. - Added
com.databricks.sdk.service.workspace.RepoAccessControlResponse
class. - Added
com.databricks.sdk.service.workspace.RepoPermission
class. - Added
com.databricks.sdk.service.workspace.RepoPermissionLevel
class. - Added
com.databricks.sdk.service.workspace.RepoPermissions
class. - Added
com.databricks.sdk.service.workspace.RepoPermissionsDescription
class. - Added
com.databricks.sdk.service.workspace.RepoPermissionsRequest
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectAccessControlRequest
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectAccessControlResponse
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectPermission
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectPermissionLevel
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectPermissions
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectPermissionsDescription
class. - Added
com.databricks.sdk.service.workspace.WorkspaceObjectPermissionsRequest
class.
OpenAPI SHA: 386b65ecdc825b9c3ed4aa7ca88e2e5baf9d87df, Date: 2023-08-07