I'd like to run a function via both HTTP and cron, but not seeing any documentation that let's me determine if it was an http request or cron request (explicitly):
events:
- http:
path: /foo
method: ANY
cors:
origin: '*'
- schedule: rate(5 minute)
Is there a property in event or context that would allow me to detect what triggered the function?