Google Cloud Logging Python Function Definition