TagTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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 Google
Cloud 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 |
|
---|---|
Name | Description |
name |
str
Identifier. 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. |
display_name |
str
The display name for this template. Defaults to an empty string. |
fields |
MutableMapping[str, google.cloud.datacatalog_v1beta1.types.TagTemplateField]
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. |
dataplex_transfer_status |
google.cloud.datacatalog_v1beta1.types.TagTemplate.DataplexTransferStatus
Output only. Transfer status of the TagTemplate |
Classes
DataplexTransferStatus
DataplexTransferStatus(value)
This enum describes TagTemplate transfer status to Dataplex service.
FieldsEntry
FieldsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
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 |