Package com.databricks.sdk.service.iam
Class AccountGroupsAPI
- java.lang.Object
-
- com.databricks.sdk.service.iam.AccountGroupsAPI
-
@Generated public class AccountGroupsAPI extends Object
Groups simplify identity management, making it easier to assign access to Databricks Account, data, and other securable objects.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 Summary
Constructors Constructor Description AccountGroupsAPI(ApiClient apiClient)
Regular-use constructorAccountGroupsAPI(AccountGroupsService mock)
Constructor for mocks
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
create(Group request)
Create a new group.Group
create(String id)
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)
-
-
-
Constructor Detail
-
AccountGroupsAPI
public AccountGroupsAPI(ApiClient apiClient)
Regular-use constructor
-
AccountGroupsAPI
public AccountGroupsAPI(AccountGroupsService mock)
Constructor for mocks
-
-
Method Detail
-
create
public Group create(Group request)
Create a new group.Creates a group in the Databricks Account with a unique name, using the supplied group details.
-
delete
public void delete(String id)
-
delete
public void delete(DeleteAccountGroupRequest request)
Delete a group.Deletes a group from the Databricks Account.
-
get
public Group get(GetAccountGroupRequest request)
Get group details.Gets the information for a specific group in the Databricks Account.
-
list
public Iterable<Group> list(ListAccountGroupsRequest request)
List group details.Gets all details of the groups associated with the Databricks Account.
-
patch
public void patch(String id)
-
patch
public void patch(PartialUpdate request)
Update group details.Partially updates the details of a group.
-
update
public void update(String id)
-
update
public void update(Group request)
Replace a group.Updates the details of a group by replacing the entire group entity.
-
impl
public AccountGroupsService impl()
-
-