Skip to content

Commit 92977ab

Browse files
WalterHubjmdobry
authored andcommitted
Update README.md to use gcloud beta functions (GoogleCloudPlatform#366)
Replaced gcloud alpha functions with gcloud beta functions.
1 parent 886a6d3 commit 92977ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

functions/datastore/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ Functions for your project.
3131

3232
1. Deploy the "get" function with an HTTP trigger:
3333

34-
gcloud alpha functions deploy get --stage-bucket YOUR_BUCKET_NAME --trigger-http
34+
gcloud beta functions deploy get --stage-bucket YOUR_BUCKET_NAME --trigger-http
3535

3636
1. Deploy the "set" function with an HTTP trigger:
3737

38-
gcloud alpha functions deploy set --stage-bucket YOUR_BUCKET_NAME --trigger-http
38+
gcloud beta functions deploy set --stage-bucket YOUR_BUCKET_NAME --trigger-http
3939

4040
1. Deploy the "del" function with an HTTP trigger:
4141

42-
gcloud alpha functions deploy del --stage-bucket YOUR_BUCKET_NAME --trigger-http
42+
gcloud beta functions deploy del --stage-bucket YOUR_BUCKET_NAME --trigger-http
4343

4444
1. Call the "set" function to create a new entity:
4545

46-
gcloud alpha functions call set --data '{"kind":"Task","key":"sampletask1","value":{"description":"Buy milk"}}'
46+
gcloud beta functions call set --data '{"kind":"Task","key":"sampletask1","value":{"description":"Buy milk"}}'
4747

4848
or
4949

@@ -54,7 +54,7 @@ Functions for your project.
5454

5555
1. Call the "get" function to read the newly created entity:
5656

57-
gcloud alpha functions call get --data '{"kind":"Task","key":"sampletask1"}'
57+
gcloud beta functions call get --data '{"kind":"Task","key":"sampletask1"}'
5858

5959
or
6060

@@ -76,7 +76,7 @@ Functions for your project.
7676

7777
1. Call the "get" function again to verify it was deleted:
7878

79-
gcloud alpha functions call get --data '{"kind":"Task","key":"sampletask1"}'
79+
gcloud beta functions call get --data '{"kind":"Task","key":"sampletask1"}'
8080

8181
or
8282

0 commit comments

Comments
 (0)