WebAppConfig
import type { WebAppConfig } from "https://googleapis.deno.dev/v1/firebase:v1beta1.ts";
Configuration metadata of a single Firebase App for the web.
§Properties
The domain Firebase Auth configures for OAuth redirects, in the format: PROJECT_ID.firebaseapp.com
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 URL.
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.
The unique Google-assigned identifier of the Google Analytics web stream
associated with the WebApp
. Firebase SDKs use this ID to interact with
Google Analytics APIs. This field is only present if the WebApp
is linked
to a web stream in a Google Analytics App + Web property. Learn more about
this ID and Google Analytics web streams in the Analytics
documentation. To
generate a measurementId
and link the WebApp
with a Google Analytics
web stream, call
AddGoogleAnalytics
. For apps
using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically
fetches the measurementId
when your app initializes Analytics. Having
this ID in your config object is optional, but it does serve as a fallback
in the rare case that the dynamic fetch fails.
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 name.