Cloud Functions in GCP
What are the types of Cloud Functions in GCP?
- HTTP or HTTPs trigger functions - look like function (req, res)
- Pub Sub Trigger Functions - look like function (event, callback) --> Event is a structure with resource type and other meaningful data
- Bucket Upload Trigger Functions - also look like function (event, callback) --> where the event.data contains the file that was uploaded to the bucket.
How do I deploy each of the above functions?
gcloud functions deploy endpoint
Leave a Reply