You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Create a Cloud Storage Bucket to stage our deployment:
21
21
22
-
gsutil mb gs://<your-bucket-name>
22
+
gsutil mb gs://<your-bucket-name>
23
23
24
24
1. Ensure the Cloud Datastore API is enabled:
25
25
26
26
[Click here to enable the Cloud Datastore API](https://console.cloud.google.com/flows/enableapi?apiid=datastore.googleapis.com&redirect=https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/functions/datastore)
27
27
28
28
1. Deploy the "ds-get" function with an HTTP trigger:
29
29
30
-
gcloud alpha functions deploy ds-get --bucket <your-bucket-name> --trigger-http --entry-point get
30
+
gcloud alpha functions deploy ds-get --bucket <your-bucket-name> --trigger-http --entry-point get
31
31
32
32
1. Deploy the "ds-set" function with an HTTP trigger:
33
33
34
-
gcloud alpha functions deploy ds-set --bucket <your-bucket-name> --trigger-http --entry-point set
34
+
gcloud alpha functions deploy ds-set --bucket <your-bucket-name> --trigger-http --entry-point set
35
35
36
36
1. Deploy the "ds-del" function with an HTTP trigger:
37
37
38
-
gcloud alpha functions deploy ds-del --bucket <your-bucket-name> --trigger-http --entry-point del
38
+
gcloud alpha functions deploy ds-del --bucket <your-bucket-name> --trigger-http --entry-point del
39
39
40
40
1. Call the "ds-set" function to create a new entity:
0 commit comments