iPax.dev

No nonsense quick references

Google Functions Cheet Sheet

A list of gcloud commands to manage your Google Cloud Functions.

List all functions

gcloud functions list

External documentation: functions list on Google Cloud docs Opens in new window

Describe function

gcloud functions describe --region europe-west2 function-name

External documentation: functions describe on Google Cloud docs Opens in new window

Delete functions

gcloud functions delete --region europe-west2 function-name

External documentation: functions delete on Google Cloud docs Opens in new window

Deploy nodejs 10 function triggered by bucket event

gcloud functions deploy function-name `
--entry-point entry-function `
--runtime nodejs10 `
--region europe-west2 `
--trigger-bucket=bucket-name `

External documentation: functions deploy on Google Cloud docs Opens in new window

Cloud Functions Regions

By January 2020 Cloud Functions are available in these regions:

  • us-central1
  • us-east1
  • us-east4
  • europe-west1
  • europe-west2
  • asia-east2
  • asia-northeast1