for monitoring externally my google cloud functions, I need to know API in python. can someone help me with this. if it is an example code, it will be really useful