Search code examples
node.jsgoogle-cloud-functionsgoogle-cloud-tasks

What is the project Id in Cloud Tasks


In Cloud Tasks in callBack functions you get a projectId as in const project = JSON.parse(process.env.FIREBASE_CONFIG).projectId;.

What is the projectId and how do I get it?


Solution

  • Google Cloud projects are the "root" collections in your Google Cloud organization. You can get the id of a project from the project dropdown selector. This is located in the left-side header of https://console.cloud.google.com/ next to the Google Cloud logo. For each project, you will see both the project name and it's id.