Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Tag

import type { Tag } from "https://googleapis.deno.dev/v1/databasecenter:v1beta.ts";

Tag is a key value pair attached to a resource.

interface Tag {
inherited?: boolean;
key?: string;
source?: string;
value?: string;
}

§Properties

§
inherited?: boolean
[src]

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.

§
key?: string
[src]
§
source?: string
[src]

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

§
value?: string
[src]

The value part of the tag.