com.databricks.sdk.service.catalog.GrantsService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.catalog;
import com.databricks.sdk.support.Generated;
/**
* In Unity Catalog, data is secure by default. Initially, users have no access to data in a
* metastore. Access can be granted by either a metastore admin, the owner of an object, or the
* owner of the catalog or schema that contains the object. Securable objects in Unity Catalog are
* hierarchical and privileges are inherited downward.
*
* Securable objects in Unity Catalog are hierarchical and privileges are inherited downward.
* This means that granting a privilege on the catalog automatically grants the privilege to all
* current and future objects within the catalog. Similarly, privileges granted on a schema are
* inherited by all current and future objects within that schema.
*
*
This is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface GrantsService {
/**
* Get permissions.
*
*
Gets the permissions for a securable.
*/
PermissionsList get(GetGrantRequest getGrantRequest);
/**
* Get effective permissions.
*
*
Gets the effective permissions for a securable.
*/
EffectivePermissionsList getEffective(GetEffectiveRequest getEffectiveRequest);
/**
* Update permissions.
*
*
Updates the permissions for a securable.
*/
PermissionsList update(UpdatePermissions updatePermissions);
}