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.
Namespace
Google.Cloud.ResourceManager.V3Assembly
Google.Cloud.ResourceManager.V3.dll
Constructors
TagValue()
public TagValue()
TagValue(TagValue)
public TagValue(TagValue other)
Parameter | |
---|---|
Name | Description |
other |
TagValue |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Creation time.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Optional. User-assigned description of the TagValue. Must not exceed 256 characters.
Read-write.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Immutable. Resource name for TagValue in the format tagValues/456
.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
TagValueName
public TagValueName TagValueName { get; set; }
TagValueName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
TagValueName |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Update time.
Property Value | |
---|---|
Type | Description |
Timestamp |