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

DefaultResources

import type { DefaultResources } from "https://googleapis.deno.dev/v1/firebase:v1beta1.ts";

DEPRECATED. Auto-provisioning of these resources is changing, so this object no longer reliably provides information about the resources within the Project. Instead, retrieve information about each resource directly from its resource-specific API. The default auto-provisioned resources associated with the Project.

interface DefaultResources {
readonly hostingSite?: string;
readonly locationId?: string;
readonly realtimeDatabaseInstance?: string;
readonly storageBucket?: string;
}

§Properties

§
readonly hostingSite?: string
[src]

Output only. DEPRECATED. Instead, find the default Firebase Hosting site name using the ListSites within the Firebase Hosting REST API. Note that the default site for the Project might not yet be provisioned, so the return might not contain a default site. The default Firebase Hosting site name, in the format: PROJECT_ID Though rare, your projectId might already be used as the name for an existing Hosting site in another project (learn more about creating non-default, additional sites). In these cases, your projectId is appended with a hyphen then five alphanumeric characters to create your default Hosting site name. For example, if your projectId is myproject123, your default Hosting site name might be: myproject123-a5c16

§
readonly locationId?: string
[src]

Output only. DEPRECATED. Instead, use product-specific REST APIs to find the location of resources. The ID of the Project's default GCP resource location. The location is one of the available GCP resource locations. This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call FinalizeDefaultLocation after you add Firebase resources to the Project.

§
readonly realtimeDatabaseInstance?: string
[src]

Output only. DEPRECATED. Instead, find the default Firebase Realtime Database instance name using the list endpoint within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet be provisioned, so the return might not contain a default instance. The default Firebase Realtime Database instance name, in the format: PROJECT_ID Though rare, your projectId might already be used as the name for an existing Realtime Database instance in another project (learn more about database sharding). In these cases, your projectId is appended with a hyphen then five alphanumeric characters to create your default Realtime Database instance name. For example, if your projectId is myproject123, your default database instance name might be: myproject123-a5c16

§
readonly storageBucket?: string
[src]

Output only. DEPRECATED. Instead, find the default Cloud Storage for Firebase bucket using the list endpoint within the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be provisioned, so the return might not contain a default bucket. The default Cloud Storage for Firebase storage bucket, in the format: PROJECT_ID.appspot.com