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
Copy file name to clipboardExpand all lines: functions/datastore/README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -21,31 +21,31 @@ Functions for your project.
21
21
22
22
1. Create a Cloud Storage Bucket to stage our deployment:
23
23
24
-
gsutil mb gs://[YOUR_BUCKET_NAME]
24
+
gsutil mb gs://YOUR_BUCKET_NAME
25
25
26
-
* Replace `[YOUR_BUCKET_NAME]` with the name of your Cloud Storage Bucket.
26
+
* Replace `YOUR_BUCKET_NAME` with the name of your Cloud Storage Bucket.
27
27
28
28
1. Ensure the Cloud Datastore API is enabled:
29
29
30
30
[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)
31
31
32
32
1. Deploy the "get" function with an HTTP trigger:
33
33
34
-
gcloud alpha functions deploy get --stage-bucket [YOUR_BUCKET_NAME] --trigger-http
34
+
gcloud alpha functions deploy get --stage-bucket YOUR_BUCKET_NAME --trigger-http
35
35
36
-
* Replace `[YOUR_BUCKET_NAME]` with the name of your Cloud Storage Bucket.
36
+
* Replace `YOUR_BUCKET_NAME` with the name of your Cloud Storage Bucket.
37
37
38
38
1. Deploy the "set" function with an HTTP trigger:
39
39
40
-
gcloud alpha functions deploy set --stage-bucket [YOUR_BUCKET_NAME] --trigger-http
40
+
gcloud alpha functions deploy set --stage-bucket YOUR_BUCKET_NAME --trigger-http
41
41
42
-
* Replace `[YOUR_BUCKET_NAME]` with the name of your Cloud Storage Bucket.
42
+
* Replace `YOUR_BUCKET_NAME` with the name of your Cloud Storage Bucket.
43
43
44
44
1. Deploy the "del" function with an HTTP trigger:
45
45
46
-
gcloud alpha functions deploy del --stage-bucket [YOUR_BUCKET_NAME] --trigger-http
46
+
gcloud alpha functions deploy del --stage-bucket YOUR_BUCKET_NAME --trigger-http
47
47
48
-
* Replace `[YOUR_BUCKET_NAME]` with the name of your Cloud Storage Bucket.
48
+
* Replace `YOUR_BUCKET_NAME` with the name of your Cloud Storage Bucket.
49
49
50
50
1. Call the "set" function to create a new entity:
0 commit comments