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.
Implements
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3.Data
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class TagValue : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Creation time.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |
NamespacedName
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}
.
Declaration
[JsonProperty("namespacedName")]
public virtual string NamespacedName { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Update time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |