public sealed class Tag : IMessage<Tag>, IEquatable<Tag>, IDeepCloneable<Tag>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class Tag.
The key and value for a tag ,
Namespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
Tag()
public Tag()
Tag(Tag)
public Tag(Tag other)
Properties
HasTagKey
public bool HasTagKey { get; }
Gets whether the "tag_key" field is set
HasTagValue
public bool HasTagValue { get; }
Gets whether the "tag_value" field is set
HasTagValueId
public bool HasTagValueId { get; }
Gets whether the "tag_value_id" field is set
TagKey
public string TagKey { get; set; }
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
TagValue
public string TagValue { get; set; }
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
TagValueId
public string TagValueId { get; set; }
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.

