@Generated public class AccountGroupsV2API 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 |
|---|
AccountGroupsV2API(AccountGroupsV2Service mock)
Constructor for mocks
|
AccountGroupsV2API(ApiClient apiClient)
Regular-use constructor
|
| Modifier and Type | Method and Description |
|---|---|
AccountGroup |
create(CreateAccountGroupRequest request)
Creates a group in the Databricks account with a unique name, using the supplied group details.
|
void |
delete(DeleteAccountGroupRequest request)
Deletes a group from the Databricks account.
|
void |
delete(String id) |
AccountGroup |
get(GetAccountGroupRequest request)
Gets the information for a specific group in the Databricks account.
|
AccountGroup |
get(String id) |
AccountGroupsV2Service |
impl() |
Iterable<AccountGroup> |
list(ListAccountGroupsRequest request)
Gets all details of the groups associated with the Databricks account.
|
void |
patch(PatchAccountGroupRequest request)
Partially updates the details of a group.
|
void |
update(UpdateAccountGroupRequest request)
Updates the details of a group by replacing the entire group entity.
|
public AccountGroupsV2API(ApiClient apiClient)
public AccountGroupsV2API(AccountGroupsV2Service mock)
public AccountGroup create(CreateAccountGroupRequest request)
public void delete(String id)
public void delete(DeleteAccountGroupRequest request)
public AccountGroup get(String id)
public AccountGroup get(GetAccountGroupRequest request)
public Iterable<AccountGroup> list(ListAccountGroupsRequest request)
public void patch(PatchAccountGroupRequest request)
public void update(UpdateAccountGroupRequest request)
public AccountGroupsV2Service impl()
Copyright © 2026. All rights reserved.