Deploy using the gcloud CLI. Using the Google Cloud CLI, deploy your function from the directory containing your function code with the gcloud functions deploy command: gcloud functions deploy NAME –entry-point ENTRY-POINT –runtime RUNTIME TRIGGER [ FLAGS …]