Class TagValue

public sealed class TagValue : IMessage<TagValue>, IEquatable<TagValue>, IDeepCloneable<TagValue>, IBufferMessage, IMessage

A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.

Inheritance

Object > TagValue

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

TagValue()

public TagValue()

TagValue(TagValue)

public TagValue(TagValue other)
Parameter
NameDescription
otherTagValue

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation time.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Optional. User-assigned description of the TagValue. Must not exceed 256 characters.

Read-write.

Property Value
TypeDescription
String

Etag

public string Etag { get; set; }

Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Immutable. Resource name for TagValue in the format tagValues/456.

Property Value
TypeDescription
String

NamespacedName

public string NamespacedName { get; set; }

Output only. Namespaced name of the TagValue. Must be in the format {organization_id}/{tag_key_short_name}/{short_name}.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Immutable. The resource name of the new TagValue's parent TagKey. Must be of the form tagKeys/{tag_key_id}.

Property Value
TypeDescription
String

ShortName

public string ShortName { get; set; }

Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey.

The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.

Property Value
TypeDescription
String

TagValueName

public TagValueName TagValueName { get; set; }

TagValueName-typed view over the Name resource name property.

Property Value
TypeDescription
TagValueName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update time.

Property Value
TypeDescription
Timestamp