Show / Hide Table of Contents

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
System.Object
TagValue
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudResourceManager.v3.Data
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class TagValue : IDirectResponseSchema

Properties

CreateTime

Output only. Creation time.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

Description

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

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

ETag

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

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

NamespacedName

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

Declaration
[JsonProperty("namespacedName")]
public virtual string NamespacedName { get; set; }
Property Value
Type Description
System.String

Parent

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

Declaration
[JsonProperty("parent")]
public virtual string Parent { get; set; }
Property Value
Type Description
System.String

ShortName

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.

Declaration
[JsonProperty("shortName")]
public virtual string ShortName { get; set; }
Property Value
Type Description
System.String

UpdateTime

Output only. Update time.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Implements

IDirectResponseSchema
In This Article
Back to top