Apparently what happen to me - GCP n00b - removed all my cloud storage buckets after some demo/tutorials not being aware I remove source code of my cloud functions.
Is there any way to restore buckets or get at least the source code somehow?
details:
- this was python function
- these functions are still running,
so the python code have to live somewhere as python is interpreted language...
leasons learned:
- I didn't manage to get my code back in any of proposed ways
- incautious deleting of buckets may lead you end up without source code of your google function
- using repo GCP Cloud Source and in parallel another remote (e.g gitlab or github) makes work much more safe, and comfortable than coping pasting stuff which you can quite easily lose your source irreversibly
- some bits/gnotcha parts can be found when reading logs
NoSuchKey