Skip to content

Latest commit

 

History

History

functions

Google Cloud Platform logo

Google Cloud Functions samples

This directory contains samples for Google Cloud Functions. Each sample can be run locally by calling the following:

cd SAMPLE_DIR
composer install
composer start

Each sample can be deloyed to Google Cloud Functions by calling the following:

cd SAMPLE_DIR
gcloud functions deploy FUNCTION_NAME --runtime php81 --trigger-http --allow-unauthenticated

For more information, see Create and deploy a Cloud Function by using the Google Cloud CLI, or see the list of all Cloud Functions samples.