How do I deploy a cloud function from my local machine?

0 votes
Oct 22 in GCP by anonymous
• 6,670 points
17 views

1 answer to this question.

0 votes

You can do this using the gcloud command-line tool, deploy your function from the directory containing your function code with the gcloud functions deploy command:

gcloud functions deploy NAME --runtime RUNTIME TRIGGER [FLAGS...]

For more info refer to https://cloud.google.com/functions/docs/deploying/filesystem

answered Oct 22 by Sirajul
• 40,990 points

Related Questions In GCP

0 votes
1 answer
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
18,898 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
65 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
77 views
0 votes
1 answer

How do i delete a RAM disk from my instance on GCP?

You can unmount a tmpfs RAM disk just like ...READ MORE

answered Oct 22 in GCP by Sirajul
• 40,990 points
32 views
0 votes
1 answer