DEV Community

loading...

Discussion on: Getting started with Google Cloud Functions on Firebase

Collapse
rdelga80 profile image
Ricardo Delgado

I think also on April 1 the API for runtime is changing too, from Google:

Creating new functions using the Cloud Functions API

When you create a new function using the Cloud Functions API, you must specify the runtime for your function in the CloudFunction resource passed to the create method; for example:

{
"name": "myFunction",

"runtime": "nodejs6",

}
You can specify any of the following valid runtimes: "go111", "nodejs6", "nodejs8" or "python37".