Tag(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template.
See Data Catalog
IAM <https://cloud.google.com/data-catalog/docs/concepts/iam>
__ for
information on the permissions needed to create or view tags.
Attributes
Name | Description |
name |
str
The resource name of the tag in URL format. Example: - projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} where ``tag_id`` is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name. |
template |
str
Required. The resource name of the tag template that this tag uses. Example: - projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} This field cannot be modified after creation. |
template_display_name |
str
Output only. The display name of the tag template. |
column |
str
Resources like Entry can have schemas associated with them. This scope allows users to attach tags to an individual column based on that schema. For attaching a tag to a nested column, use ``.`` to separate the column names. Example: - ``outer_column.inner_column`` |
fields |
Sequence[`.tags.Tag.FieldsEntry`]
Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields. |
Inheritance
builtins.object > proto.message.Message > TagClasses
FieldsEntry
FieldsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict, `.Message`]
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |