Database Center v1beta API - Class Tag (1.0.0-beta03)

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

Reference documentation and code samples for the Database Center v1beta API class Tag.

Tag is a key value pair attached to a resource.

Inheritance

object > Tag

Namespace

Google.Cloud.DatabaseCenter.V1Beta

Assembly

Google.Cloud.DatabaseCenter.V1Beta.dll

Constructors

Tag()

public Tag()

Tag(Tag)

public Tag(Tag other)
Parameter
Name Description
other Tag

Properties

Inherited

public bool Inherited { get; set; }

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.

Property Value
Type Description
bool

Key

public string Key { get; set; }
Property Value
Type Description
string

Source

public string Source { get; set; }

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}"

Property Value
Type Description
string

Value

public string Value { get; set; }

The value part of the tag.

Property Value
Type Description
string