public sealed class Tag : IMessage<Tag>, IEquatable<Tag>, IDeepCloneable<Tag>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Tag.
A tag associated with a resource.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Tag()
public Tag()Tag(Tag)
public Tag(Tag other)| Parameter | |
|---|---|
| Name | Description |
other |
Tag |
Properties
Key
public string Key { get; set; }The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, "tagKeys/123456".
| Property Value | |
|---|---|
| Type | Description |
string |
|
NamespacedTagValue
public string NamespacedTagValue { get; set; }The namespaced name for the tag value to attach to Google Cloud resources.
Must be in the format {parent_id}/{tag_key_short_name}/{short_name}, for
example, "123456/environment/prod" for an organization parent, or
"my-project/environment/prod" for a project parent. This is only set for
Google Cloud resources.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Value
public string Value { get; set; }The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, "tagValues/123456".
| Property Value | |
|---|---|
| Type | Description |
string |
|