const functions = require('firebase-functions');
const admin = require('firebase-admin');
admin.getProjectName(); // or getProjectID()
Thank you @Frank. The answer is:
I'm not sure where the variable
process comes from, but this does work to get the project name.