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)
Parameter | |
---|---|
Name | Description |
other | Tag |
Properties
HasTagKey
public bool HasTagKey { get; }
Gets whether the "tag_key" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasTagValue
public bool HasTagValue { get; }
Gets whether the "tag_value" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasTagValueId
public bool HasTagValueId { get; }
Gets whether the "tag_value_id" field is set
Property Value | |
---|---|
Type | Description |
bool |
TagKey
public string TagKey { get; set; }
TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
Property Value | |
---|---|
Type | Description |
string |
TagValue
public string TagValue { get; set; }
TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
Property Value | |
---|---|
Type | Description |
string |
TagValueId
public string TagValueId { get; set; }
TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
Property Value | |
---|---|
Type | Description |
string |