@Generated public interface RecipientsService
- For recipients with access to a Databricks workspace that is enabled for Unity Catalog, you can create a recipient object along with a unique sharing identifier you get from the recipient. The sharing identifier is the key identifier that enables the secure connection. This sharing mode is called **Databricks-to-Databricks sharing**.
- For recipients without access to a Databricks workspace that is enabled for Unity Catalog, when you create a recipient object, Databricks generates an activation link you can send to the recipient. The recipient follows the activation link to download the credential file, and then uses the credential file to establish a secure connection to receive the shared data. This sharing mode is called **open sharing**.
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
RecipientInfo |
create(CreateRecipient createRecipient)
Creates a new recipient with the delta sharing authentication type in the metastore.
|
void |
delete(DeleteRecipientRequest deleteRecipientRequest)
Deletes the specified recipient from the metastore.
|
RecipientInfo |
get(GetRecipientRequest getRecipientRequest)
Gets a share recipient from the metastore.
|
ListRecipientsResponse |
list(ListRecipientsRequest listRecipientsRequest)
Gets an array of all share recipients within the current metastore where:
|
RecipientInfo |
rotateToken(RotateRecipientToken rotateRecipientToken)
Refreshes the specified recipient's delta sharing authentication token with the provided token
info.
|
GetRecipientSharePermissionsResponse |
sharePermissions(SharePermissionsRequest sharePermissionsRequest)
Gets the share permissions for the specified Recipient.
|
RecipientInfo |
update(UpdateRecipient updateRecipient)
Updates an existing recipient in the metastore.
|
RecipientInfo create(CreateRecipient createRecipient)
void delete(DeleteRecipientRequest deleteRecipientRequest)
RecipientInfo get(GetRecipientRequest getRecipientRequest)
ListRecipientsResponse list(ListRecipientsRequest listRecipientsRequest)
* the caller is a metastore admin, or * the caller is the owner. There is no guarantee of a specific ordering of the elements in the array.
RecipientInfo rotateToken(RotateRecipientToken rotateRecipientToken)
GetRecipientSharePermissionsResponse sharePermissions(SharePermissionsRequest sharePermissionsRequest)
RecipientInfo update(UpdateRecipient updateRecipient)
Copyright © 2026. All rights reserved.