@Generated public class AccountGroupsAPI 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 account identities can be assigned as members of groups, and members inherit permissions that are assigned to their group.
Constructor and Description |
---|
AccountGroupsAPI(AccountGroupsService mock)
Constructor for mocks
|
AccountGroupsAPI(ApiClient apiClient)
Regular-use constructor
|
Modifier and Type | Method and Description |
---|---|
Group |
create(Group request)
Create a new group.
|
void |
delete(DeleteAccountGroupRequest request)
Delete a group.
|
void |
delete(String id) |
Group |
get(GetAccountGroupRequest request)
Get group details.
|
Group |
get(String id) |
AccountGroupsService |
impl() |
Iterable<Group> |
list(ListAccountGroupsRequest request)
List group details.
|
void |
patch(PartialUpdate request)
Update group details.
|
void |
patch(String id) |
void |
update(Group request)
Replace a group.
|
void |
update(String id) |
public AccountGroupsAPI(ApiClient apiClient)
public AccountGroupsAPI(AccountGroupsService mock)
public Group create(Group request)
Creates a group in the Databricks account with a unique name, using the supplied group details.
public void delete(String id)
public void delete(DeleteAccountGroupRequest request)
Deletes a group from the Databricks account.
public Group get(GetAccountGroupRequest request)
Gets the information for a specific group in the Databricks account.
public Iterable<Group> list(ListAccountGroupsRequest request)
Gets all details of the groups associated with the Databricks account.
public void patch(String id)
public void patch(PartialUpdate request)
Partially updates the details of a group.
public void update(String id)
public void update(Group request)
Updates the details of a group by replacing the entire group entity.
public AccountGroupsService impl()
Copyright © 2023. All rights reserved.