@Generated public class GroupsAPI extends Object
It is best practice to assign access to workspaces and access-control policies in Unity Catalog to groups, instead of to users individually. All Databricks workspace identities can be assigned as members of groups, and members inherit permissions that are assigned to their group.
| Constructor and Description |
|---|
GroupsAPI(ApiClient apiClient)
Regular-use constructor
|
GroupsAPI(GroupsService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
Group |
create(Group request)
Creates a group in the Databricks workspace with a unique name, using the supplied group
details.
|
void |
delete(DeleteGroupRequest request)
Deletes a group from the Databricks workspace.
|
void |
delete(String id) |
Group |
get(GetGroupRequest request)
Gets the information for a specific group in the Databricks workspace.
|
Group |
get(String id) |
GroupsService |
impl() |
Iterable<Group> |
list(ListGroupsRequest request)
Gets all details of the groups associated with the Databricks workspace.
|
void |
patch(PartialUpdate request)
Partially updates the details of a group.
|
void |
update(Group request)
Updates the details of a group by replacing the entire group entity.
|
public GroupsAPI(ApiClient apiClient)
public GroupsAPI(GroupsService mock)
public Group create(Group request)
public void delete(String id)
public void delete(DeleteGroupRequest request)
public Group get(GetGroupRequest request)
public Iterable<Group> list(ListGroupsRequest request)
public void patch(PartialUpdate request)
public void update(Group request)
public GroupsService impl()
Copyright © 2026. All rights reserved.