Resource: Tag
Tags contain custom metadata and are attached to Data Catalog resources. Tags conform with the specification of their tag template.
See Data Catalog IAM for information on the permissions needed to create or view tags.
JSON representation |
---|
{ "name": string, "template": string, "templateDisplayName": string, "fields": { string: { object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name. |
template |
Required. The resource name of the tag template this tag uses. Example:
This field cannot be modified after creation. |
templateDisplayName |
Output only. The display name of the tag template. |
fields |
Required. Maps the ID of a tag field to its value and additional information about that field. Tag template defines valid field IDs. A tag must have at least 1 field and at most 500 fields. |
Union field Deleting the scope from the parent resource deletes all tags attached to that scope. These fields cannot be updated after creation. |
|
column |
Resources like entry can have schemas associated with them. This scope allows you to attach tags to an individual column based on that schema. To attach a tag to a nested column, separate column names with a dot ( |
Methods |
|
---|---|
|
Creates a tag and assigns it to:
|
|
Deletes a tag. |
|
Lists tags assigned to an Entry . |
|
Updates an existing tag. |