gcloud functions

From wikieduonline
Jump to navigation Jump to search

gcloud functions deploy startInstancePubSub \
  --trigger-topic start-instance-event \
  --runtime nodejs10 \
  --allow-unauthenticated


gcloud functions call stopInstancePubSub \
   --data '{"data":"eyJ6b25lIjoidXMtd2VzdDEtYiIsICJsYWJlbCI6ImVudj1kZXYifQo="}'

Advertising: