Google Cloud Functions Environment Variables

断了今生、忘了曾经 提交于 2019-11-30 06:50:31

Not saying that Deployment Manager would not handle those the same way (although I could not spot it accurately), this below sounds like the closest answer to what you're talking about :

https://github.com/fredriks/cloud-functions-runtime-config/blob/master/README.md

Besides this example being an npm package, it shows clearly the gcloud commands to run.

It is important to activate the concerned api, as explained here (see 'before you begin')

I'm not entirely sure if these are meant for the role, but perhaps the Runtime Configurator variables in Deployment Manager could help you? You can store some key value pairs that way, accessible on project level.

Fundamentals are here.

The REST API reference here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!