Class TagTemplate

A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to GCP resources. Tag template roles <https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles> provide permissions to create, edit, and use the template. See, for example, the TagTemplate User <https://cloud.google.com/data-catalog/docs/how-to/template-user> role, which includes permission to use the tag template to tag resources.

Attributes
NameDescription
strname
The resource name of the tag template in URL format. Example: - projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.
strdisplay_name
The display name for this template. Defaults to an empty string.
Sequence[google.cloud.datacatalog_v1beta1.types.TagTemplate.FieldsEntry]fields
Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

Inheritance

builtins.object > proto.message.Message > TagTemplate

Classes

FieldsEntry

FieldsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for datacatalog_v1beta1.types.TagTemplate.FieldsEntry class.