@Generated public class EntityTagAssignmentsAPI extends Object
| Constructor and Description |
|---|
EntityTagAssignmentsAPI(ApiClient apiClient)
Regular-use constructor
|
EntityTagAssignmentsAPI(EntityTagAssignmentsService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
EntityTagAssignment |
create(CreateEntityTagAssignmentRequest request)
Creates a tag assignment for an Unity Catalog entity.
|
void |
delete(DeleteEntityTagAssignmentRequest request)
Deletes a tag assignment for an Unity Catalog entity by its key.
|
void |
delete(String entityType,
String entityName,
String tagKey) |
EntityTagAssignment |
get(GetEntityTagAssignmentRequest request)
Gets a tag assignment for an Unity Catalog entity by tag key.
|
EntityTagAssignment |
get(String entityType,
String entityName,
String tagKey) |
EntityTagAssignmentsService |
impl() |
Iterable<EntityTagAssignment> |
list(ListEntityTagAssignmentsRequest request)
List tag assignments for an Unity Catalog entity
|
Iterable<EntityTagAssignment> |
list(String entityType,
String entityName) |
EntityTagAssignment |
update(UpdateEntityTagAssignmentRequest request)
Updates an existing tag assignment for an Unity Catalog entity.
|
public EntityTagAssignmentsAPI(ApiClient apiClient)
public EntityTagAssignmentsAPI(EntityTagAssignmentsService mock)
public EntityTagAssignment create(CreateEntityTagAssignmentRequest request)
To add tags to Unity Catalog entities, you must own the entity or have the following privileges: - **APPLY TAG** on the entity - **USE SCHEMA** on the entity's parent schema - **USE CATALOG** on the entity's parent catalog
To add a governed tag to Unity Catalog entities, you must also have the **ASSIGN** or **MANAGE** permission on the tag policy. See [Manage tag policy permissions].
[Manage tag policy permissions]: https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions
public void delete(DeleteEntityTagAssignmentRequest request)
To delete tags from Unity Catalog entities, you must own the entity or have the following privileges: - **APPLY TAG** on the entity - **USE_SCHEMA** on the entity's parent schema - **USE_CATALOG** on the entity's parent catalog
To delete a governed tag from Unity Catalog entities, you must also have the **ASSIGN** or **MANAGE** permission on the tag policy. See [Manage tag policy permissions].
[Manage tag policy permissions]: https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions
public EntityTagAssignment get(String entityType, String entityName, String tagKey)
public EntityTagAssignment get(GetEntityTagAssignmentRequest request)
public Iterable<EntityTagAssignment> list(String entityType, String entityName)
public Iterable<EntityTagAssignment> list(ListEntityTagAssignmentsRequest request)
public EntityTagAssignment update(UpdateEntityTagAssignmentRequest request)
To update tags to Unity Catalog entities, you must own the entity or have the following privileges: - **APPLY TAG** on the entity - **USE SCHEMA** on the entity's parent schema - **USE CATALOG** on the entity's parent catalog
To update a governed tag to Unity Catalog entities, you must also have the **ASSIGN** or **MANAGE** permission on the tag policy. See [Manage tag policy permissions].
[Manage tag policy permissions]: https://docs.databricks.com/aws/en/admin/tag-policies/manage-permissions
public EntityTagAssignmentsService impl()
Copyright © 2025. All rights reserved.