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

DatabaseInstance

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

Representation of a Realtime Database instance. Details on interacting with contents of a DatabaseInstance can be found at: https://firebase.google.com/docs/database/rest/start.

interface DatabaseInstance {
readonly databaseUrl?: string;
name?: string;
readonly project?: string;
readonly state?:
| "LIFECYCLE_STATE_UNSPECIFIED"
| "ACTIVE"
| "DISABLED"
| "DELETED";
type?: "DATABASE_INSTANCE_TYPE_UNSPECIFIED" | "DEFAULT_DATABASE" | "USER_DATABASE";
}

§Properties

§
readonly databaseUrl?: string
[src]

Output only. Output Only. The globally unique hostname of the database.

§
name?: string
[src]

The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.

§
readonly project?: string
[src]

Output only. The resource name of the project this instance belongs to. For example: projects/{project-number}.

§
readonly state?: "LIFECYCLE_STATE_UNSPECIFIED" | "ACTIVE" | "DISABLED" | "DELETED"
[src]

Output only. The database's lifecycle state. Read-only.

§
type?: "DATABASE_INSTANCE_TYPE_UNSPECIFIED" | "DEFAULT_DATABASE" | "USER_DATABASE"
[src]

Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted.