Backend
import type { Backend } from "https://googleapis.deno.dev/v1/firebaseapphosting:v1.ts";
A backend is the primary resource of App Hosting.
§Properties
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Optional. The ID of a Web App associated with the backend.
Optional. The environment name of the backend, used to load environment variables from environment specific configuration.
Output only. Server-computed checksum based on other values; may be sent on update or delete to ensure operation is done on expected resource.
Optional. Unstructured key value map that can be used to organize and categorize objects.
Output only. A list of the resources managed by this backend.
Identifier. The resource name of the backend. Format:
projects/{project}/locations/{locationId}/backends/{backendId}
.
Output only. A field that, if true, indicates that the system is working to make adjustments to the backend during a LRO.
Required. The name of the service account used for Cloud Build and Cloud Run. Should have the role roles/firebaseapphosting.computeRunner or equivalent permissions.
Required. Immutable. Specifies how App Hosting will serve the content for this backend. It will either be contained to a single region (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving infrastructure (GLOBAL_ACCESS).