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

anuj

I am passionate about getting cloud solutions right the first time. I help customers transition to the public cloud with the appropriate security controls and guardrails. GCP, AWS and Azure Security Specialist. <a href="https://calendly.com/anujvarma/google-cloud-architect-initial-consultation">Initial Consultation</a>

Leave a reply

Your email address will not be published. Required fields are marked *