@Generated public class GroupsV2API 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 |
|---|
GroupsV2API(ApiClient apiClient)
Regular-use constructor
|
GroupsV2API(GroupsV2Service mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
Group |
create(CreateGroupRequest 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) |
GroupsV2Service |
impl() |
Iterable<Group> |
list(ListGroupsRequest request)
Gets all details of the groups associated with the Databricks workspace.
|
void |
patch(PatchGroupRequest request)
Partially updates the details of a group.
|
void |
update(UpdateGroupRequest request)
Updates the details of a group by replacing the entire group entity.
|
public GroupsV2API(ApiClient apiClient)
public GroupsV2API(GroupsV2Service mock)
public Group create(CreateGroupRequest 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(PatchGroupRequest request)
public void update(UpdateGroupRequest request)
public GroupsV2Service impl()
Copyright © 2026. All rights reserved.