public sealed class Tag : IMessage<Tag>, IEquatable<Tag>, IDeepCloneable<Tag>, IBufferMessage, IMessage
Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template.
See Data Catalog IAM for information on the permissions needed to create or view tags.
Namespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Constructors
Tag()
public Tag()
Tag(Tag)
public Tag(Tag other)
Parameter | |
---|---|
Name | Description |
other | Tag |
Properties
Column
public string Column { get; set; }
Resources like entry can have schemas associated with them. This scope allows users 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
(.
). Example: column.nested_column
.
Property Value | |
---|---|
Type | Description |
String |
Fields
public MapField<string, TagField> Fields { get; }
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.
Property Value | |
---|---|
Type | Description |
MapField<String, TagField> |
Name
public string Name { get; set; }
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: The tag itself might not be stored in the location specified in its name.
Property Value | |
---|---|
Type | Description |
String |
ScopeCase
public Tag.ScopeOneofCase ScopeCase { get; }
Property Value | |
---|---|
Type | Description |
Tag.ScopeOneofCase |
TagName
public TagName TagName { get; set; }
Property Value | |
---|---|
Type | Description |
TagName |
Template
public string Template { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
TemplateDisplayName
public string TemplateDisplayName { get; set; }
Output only. The display name of the tag template.
Property Value | |
---|---|
Type | Description |
String |