v0.15.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.GetByRequestObjectIdAndRequestObjectType()
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 for w.ClusterPolicies workspace-level service. - Added
GetClusterPolicyPermissions
method for w.ClusterPolicies workspace-level service. - Added
SetClusterPolicyPermissions
method for w.ClusterPolicies workspace-level service. - Added
UpdateClusterPolicyPermissions
method for w.ClusterPolicies workspace-level service. - Added
GetClusterPermissionLevels
method for w.Clusters workspace-level service. - Added
GetClusterPermissions
method for w.Clusters workspace-level service. - Added
SetClusterPermissions
method for w.Clusters workspace-level service. - Added
UpdateClusterPermissions
method for w.Clusters workspace-level service. - Added
GetInstancePoolPermissionLevels
method for w.InstancePools workspace-level service. - Added
GetInstancePoolPermissions
method for w.InstancePools workspace-level service. - Added
SetInstancePoolPermissions
method for w.InstancePools workspace-level service. - Added
UpdateInstancePoolPermissions
method for w.InstancePools workspace-level service. - Added compute.ClusterAccessControlRequest.
- Added compute.ClusterAccessControlResponse.
- Added compute.ClusterPermission.
- Added compute.ClusterPermissionLevel.
- Added compute.ClusterPermissions.
- Added compute.ClusterPermissionsDescription.
- Added compute.ClusterPermissionsRequest.
- Added compute.ClusterPolicyAccessControlRequest.
- Added compute.ClusterPolicyAccessControlResponse.
- Added compute.ClusterPolicyPermission.
- Added compute.ClusterPolicyPermissionLevel.
- Added compute.ClusterPolicyPermissions.
- Added compute.ClusterPolicyPermissionsDescription.
- Added compute.ClusterPolicyPermissionsRequest.
- Added compute.GetClusterPermissionLevelsRequest.
- Added compute.GetClusterPermissionLevelsResponse.
- Added compute.GetClusterPermissionsRequest.
- Added compute.GetClusterPolicyPermissionLevelsRequest.
- Added compute.GetClusterPolicyPermissionLevelsResponse.
- Added compute.GetClusterPolicyPermissionsRequest.
- Added compute.GetInstancePoolPermissionLevelsRequest.
- Added compute.GetInstancePoolPermissionLevelsResponse.
- Added compute.GetInstancePoolPermissionsRequest.
- Added compute.InstancePoolAccessControlRequest.
- Added compute.InstancePoolAccessControlResponse.
- Added compute.InstancePoolPermission.
- Added compute.InstancePoolPermissionLevel.
- Added compute.InstancePoolPermissions.
- Added compute.InstancePoolPermissionsDescription.
- Added compute.InstancePoolPermissionsRequest.
- Changed
Set
method for w.Permissions workspace-level service to start returning iam.ObjectPermissions. - Changed
Update
method for w.Permissions workspace-level service to start returning iam.ObjectPermissions. - Added
GetPasswordPermissionLevels
method for w.Users workspace-level service. - Added
GetPasswordPermissions
method for w.Users workspace-level service. - Added
SetPasswordPermissions
method for w.Users workspace-level service. - Added
UpdatePasswordPermissions
method for w.Users workspace-level service. - Added
DisplayName
field for iam.AccessControlResponse. - Changed
Roles
field for iam.GetAssignableRolesForResourceResponse to iam.RoleList. - Added iam.GetPasswordPermissionLevelsResponse.
- Added iam.PasswordAccessControlRequest.
- Added iam.PasswordAccessControlResponse.
- Added iam.PasswordPermission.
- Added iam.PasswordPermissionLevel.
- Added iam.PasswordPermissions.
- Added iam.PasswordPermissionsDescription.
- Added iam.PasswordPermissionsRequest.
- Added iam.Role.
- Added
GetJobPermissionLevels
method for w.Jobs workspace-level service. - Added
GetJobPermissions
method for w.Jobs workspace-level service. - Added
SetJobPermissions
method for w.Jobs workspace-level service. - Added
UpdateJobPermissions
method for w.Jobs workspace-level service. - Added jobs.GetJobPermissionLevelsRequest.
- Added jobs.GetJobPermissionLevelsResponse.
- Added jobs.GetJobPermissionsRequest.
- Added jobs.JobAccessControlRequest.
- Added jobs.JobAccessControlResponse.
- Added jobs.JobPermission.
- Added jobs.JobPermissionLevel.
- Added jobs.JobPermissions.
- Added jobs.JobPermissionsDescription.
- Added jobs.JobPermissionsRequest.
- Added
GetExperimentPermissionLevels
method for w.Experiments workspace-level service. - Added
GetExperimentPermissions
method for w.Experiments workspace-level service. - Added
SetExperimentPermissions
method for w.Experiments workspace-level service. - Added
UpdateExperimentPermissions
method for w.Experiments workspace-level service. - Added
GetRegisteredModelPermissionLevels
method for w.ModelRegistry workspace-level service. - Added
GetRegisteredModelPermissions
method for w.ModelRegistry workspace-level service. - Added
SetRegisteredModelPermissions
method for w.ModelRegistry workspace-level service. - Added
UpdateRegisteredModelPermissions
method for w.ModelRegistry workspace-level service. - Added ml.ExperimentAccessControlRequest.
- Added ml.ExperimentAccessControlResponse.
- Added ml.ExperimentPermission.
- Added ml.ExperimentPermissionLevel.
- Added ml.ExperimentPermissions.
- Added ml.ExperimentPermissionsDescription.
- Added ml.ExperimentPermissionsRequest.
- Added ml.GetExperimentPermissionLevelsRequest.
- Added ml.GetExperimentPermissionLevelsResponse.
- Added ml.GetExperimentPermissionsRequest.
- Added ml.GetRegisteredModelPermissionLevelsRequest.
- Added ml.GetRegisteredModelPermissionLevelsResponse.
- Added ml.GetRegisteredModelPermissionsRequest.
- Added ml.RegisteredModelAccessControlRequest.
- Added ml.RegisteredModelAccessControlResponse.
- Added ml.RegisteredModelPermission.
- Added ml.RegisteredModelPermissionLevel.
- Added ml.RegisteredModelPermissions.
- Added ml.RegisteredModelPermissionsDescription.
- Added ml.RegisteredModelPermissionsRequest.
- Added
Scopes
field for oauth2.CreateCustomAppIntegration. - Added
GetPipelinePermissionLevels
method for w.Pipelines workspace-level service. - Added
GetPipelinePermissions
method for w.Pipelines workspace-level service. - Added
SetPipelinePermissions
method for w.Pipelines workspace-level service. - Added
UpdatePipelinePermissions
method for w.Pipelines workspace-level service. - Added pipelines.GetPipelinePermissionLevelsRequest.
- Added pipelines.GetPipelinePermissionLevelsResponse.
- Added pipelines.GetPipelinePermissionsRequest.
- Added pipelines.PipelineAccessControlRequest.
- Added pipelines.PipelineAccessControlResponse.
- Added pipelines.PipelinePermission.
- Added pipelines.PipelinePermissionLevel.
- Added pipelines.PipelinePermissions.
- Added pipelines.PipelinePermissionsDescription.
- Added pipelines.PipelinePermissionsRequest.
- Added
GcpManagedNetworkConfig
field for provisioning.CreateWorkspaceRequest. - Added
GkeConfig
field for provisioning.CreateWorkspaceRequest. - Added
GetServingEndpointPermissionLevels
method for w.ServingEndpoints workspace-level service. - Added
GetServingEndpointPermissions
method for w.ServingEndpoints workspace-level service. - Added
SetServingEndpointPermissions
method for w.ServingEndpoints workspace-level service. - Added
UpdateServingEndpointPermissions
method for w.ServingEndpoints workspace-level service. - Added
InstanceProfileArn
field for serving.ServedModelInput. - Added
InstanceProfileArn
field for serving.ServedModelOutput. - Added serving.GetServingEndpointPermissionLevelsRequest.
- Added serving.GetServingEndpointPermissionLevelsResponse.
- Added serving.GetServingEndpointPermissionsRequest.
- Added serving.ServingEndpointAccessControlRequest.
- Added serving.ServingEndpointAccessControlResponse.
- Added serving.ServingEndpointPermission.
- Added serving.ServingEndpointPermissionLevel.
- Added serving.ServingEndpointPermissions.
- Added serving.ServingEndpointPermissionsDescription.
- Added serving.ServingEndpointPermissionsRequest.
- Added
GetTokenPermissionLevels
method for w.TokenManagement workspace-level service. - Added
GetTokenPermissions
method for w.TokenManagement workspace-level service. - Added
SetTokenPermissions
method for w.TokenManagement workspace-level service. - Added
UpdateTokenPermissions
method for w.TokenManagement workspace-level service. - Added settings.GetTokenPermissionLevelsResponse.
- Added settings.TokenAccessControlRequest.
- Added settings.TokenAccessControlResponse.
- Added settings.TokenPermission.
- Added settings.TokenPermissionLevel.
- Added settings.TokenPermissions.
- Added settings.TokenPermissionsDescription.
- Added settings.TokenPermissionsRequest.
- Added
GetWarehousePermissionLevels
method for w.Warehouses workspace-level service. - Added
GetWarehousePermissions
method for w.Warehouses workspace-level service. - Added
SetWarehousePermissions
method for w.Warehouses workspace-level service. - Added
UpdateWarehousePermissions
method for w.Warehouses workspace-level service. - Added
CanSubscribeToLiveQuery
field for sql.QueryInfo. - Removed
QueuedOverloadTimeMs
field for sql.QueryMetrics. - Removed
QueuedProvisioningTimeMs
field for sql.QueryMetrics. - Removed
TotalFilesCount
field for sql.QueryMetrics. - Removed
TotalPartitionsCount
field for sql.QueryMetrics. - Added
MetadataTimeMs
field for sql.QueryMetrics. - Added
OverloadingQueueStartTimestamp
field for sql.QueryMetrics. - Added
PlanningPhases
field for sql.QueryMetrics. - Added
PlanningTimeMs
field for sql.QueryMetrics. - Added
ProvisioningQueueStartTimestamp
field for sql.QueryMetrics. - Added
PrunedBytes
field for sql.QueryMetrics. - Added
PrunedFilesCount
field for sql.QueryMetrics. - Added
QueryCompilationStartTimestamp
field for sql.QueryMetrics. - Added
QueryExecutionTimeMs
field for sql.QueryMetrics. - Added sql.GetWarehousePermissionLevelsRequest.
- Added sql.GetWarehousePermissionLevelsResponse.
- Added sql.GetWarehousePermissionsRequest.
- Added sql.WarehouseAccessControlRequest.
- Added sql.WarehouseAccessControlResponse.
- Added sql.WarehousePermission.
- Added sql.WarehousePermissionLevel.
- Added sql.WarehousePermissions.
- Added sql.WarehousePermissionsDescription.
- Added sql.WarehousePermissionsRequest.
- Added
GetRepoPermissionLevels
method for w.Repos workspace-level service. - Added
GetRepoPermissions
method for w.Repos workspace-level service. - Added
SetRepoPermissions
method for w.Repos workspace-level service. - Added
UpdateRepoPermissions
method for w.Repos workspace-level service. - Added
GetWorkspaceObjectPermissionLevels
method for w.Workspace workspace-level service. - Added
GetWorkspaceObjectPermissions
method for w.Workspace workspace-level service. - Added
SetWorkspaceObjectPermissions
method for w.Workspace workspace-level service. - Added
UpdateWorkspaceObjectPermissions
method for w.Workspace workspace-level service. - Added workspace.GetRepoPermissionLevelsRequest.
- Added workspace.GetRepoPermissionLevelsResponse.
- Added workspace.GetRepoPermissionsRequest.
- Added workspace.GetWorkspaceObjectPermissionLevelsRequest.
- Added workspace.GetWorkspaceObjectPermissionLevelsResponse.
- Added workspace.GetWorkspaceObjectPermissionsRequest.
- Added workspace.RepoAccessControlRequest.
- Added workspace.RepoAccessControlResponse.
- Added workspace.RepoPermission.
- Added workspace.RepoPermissionLevel.
- Added workspace.RepoPermissions.
- Added workspace.RepoPermissionsDescription.
- Added workspace.RepoPermissionsRequest.
- Added workspace.WorkspaceObjectAccessControlRequest.
- Added workspace.WorkspaceObjectAccessControlResponse.
- Added workspace.WorkspaceObjectPermission.
- Added workspace.WorkspaceObjectPermissionLevel.
- Added workspace.WorkspaceObjectPermissions.
- Added workspace.WorkspaceObjectPermissionsDescription.
- Added workspace.WorkspaceObjectPermissionsRequest.
OpenAPI SHA: 386b65ecdc825b9c3ed4aa7ca88e2e5baf9d87df, Date: 2023-08-07
Dependency updates:
- Bump google.golang.org/api from 0.131.0 to 0.134.0 (#564).