Note : the process below may or may not work for your case. Do not rely on it as a replacement to maintain your code in the correct version control system.
You can get the code for your cloud features from the Cloud Console.
This will launch a zip file with the last source of your function.
Please note that these files may be deleted periodically. In this case, the above process will not work to restore the source code.
Frank van puffelen
source share