Cloud Resource Manager v3 API - Class TagValue (2.4.0)

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

Reference documentation and code samples for the Cloud Resource Manager v3 API class TagValue.

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. The namespaced name of the TagValue. Can be in the form {organization_id}/{tag_key_short_name}/{tag_value_short_name} or {project_id}/{tag_key_short_name}/{tag_value_short_name} or {project_number}/{tag_key_short_name}/{tag_value_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