Get to know Cloud Functions for Firebase (2nd gen), the next generation of Functions-as-a-Service that built on Cloud Run and Eventarc to gives you more powerful infrastructure, advanced control over performance and scalability.
{ }); const user = event.data; // Ensure only google.com emails can log into the changelog app if (!user?.email?.includes('@google.com')) { throw new HttpsError( "permission-denied", "Only @google.com are allowed to register."); } Blocking Functions
application runtime Securely store API keys, passwords, certificates, and other sensitive data. Environment Variables Cloud Secret Manager Strongly-typed environment configuration with parameters that are validated at deploy time Parameterized Config Environment Configuration New
concurrent requests per instance) ☁ Larger in memory, and compute intensive (Up to 32GiB RAM with 8 vCPUs) Python support 🚨 New events (Firebase Alerts, Auth Blocking, and Firebase Extensions) 🌐 Secure your callable and HTTP functions with a new CORS ✔ Task Queue functions ⏳ Long-running in HTTP Functions (Up to 1 hour timeout) 🖥 Modern JavaScript (config functions globally, options objects, and modular imports) Recap