Class Tag
Tag is a key value pair attached to a resource.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseCenter.v1beta.Data
Assembly: Google.Apis.DatabaseCenter.v1beta.dll
Syntax
public class Tag : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Inherited
Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource's ancestors, inherited will be true. If false, then the tag value is directly attached to the resource.
Declaration
[JsonProperty("inherited")]
public virtual bool? Inherited { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Key
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Source
The source of the tag. According to https://cloud.google.com/resource-manager/docs/tags/tags-overview#tags_and_labels, tags can be created only at the project or organization level. Tags can be inherited from different project as well not just the current project where the database resource is present. Format: "projects/{PROJECT_ID}", "projects/{PROJECT_NUMBER}", "organizations/{ORGANIZATION_ID}"
Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
The value part of the tag.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |