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

WebApp

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

Details of a Firebase App for the web.

interface WebApp {
apiKeyId?: string;
readonly appId?: string;
appUrls?: string[];
displayName?: string;
etag?: string;
readonly expireTime?: Date;
name?: string;
readonly projectId?: string;
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
readonly webId?: string;
}

§Properties

§
apiKeyId?: string
[src]

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp. Be aware that this value is the UID of the API key, not the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to webApps.Create, then Firebase automatically associates an api_key_id with the WebApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, api_key_id cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated WebApp. We recommend using the Google Cloud Console to manage API keys.

§
readonly appId?: string
[src]

Output only. Immutable. The globally unique, Firebase-assigned identifier for the WebApp. This identifier should be treated as an opaque token, as the data format is not specified.

§
appUrls?: string[]
[src]

The URLs where the WebApp is hosted.

§
displayName?: string
[src]

The user-assigned display name for the WebApp.

§
etag?: string
[src]

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about etag in Google's AIP-154 standard. This etag is strongly validated.

§
readonly expireTime?: Date
[src]

Output only. Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the DELETED state.

§
name?: string
[src]

The resource name of the WebApp, in the format: projects/PROJECT_IDENTIFIER /webApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).

§
readonly projectId?: string
[src]

Output only. Immutable. A user-assigned unique identifier of the parent FirebaseProject for the WebApp.

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

Output only. The lifecycle state of the App.

§
readonly webId?: string
[src]

Output only. Immutable. A unique, Firebase-assigned identifier for the WebApp. This identifier is only used to populate the namespace value for the WebApp. For most use cases, use appId to identify or reference the App. The webId value is only unique within a FirebaseProject and its associated Apps.