Google Cloud Asset Inventory v1 API - Class Tag (3.7.0)

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,

Inheritance

object > Tag

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

Tag()

public Tag()

Tag(Tag)

public Tag(Tag other)
Parameter
NameDescription
otherTag

Properties

HasTagKey

public bool HasTagKey { get; }

Gets whether the "tag_key" field is set

Property Value
TypeDescription
bool

HasTagValue

public bool HasTagValue { get; }

Gets whether the "tag_value" field is set

Property Value
TypeDescription
bool

HasTagValueId

public bool HasTagValueId { get; }

Gets whether the "tag_value_id" field is set

Property Value
TypeDescription
bool

TagKey

public string TagKey { get; set; }

TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.

Property Value
TypeDescription
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
TypeDescription
string

TagValueId

public string TagValueId { get; set; }

TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.

Property Value
TypeDescription
string