Skip to content

Commit 11bcf0a

Browse files
averikitschandrewsg
authored andcommitted
update gcloud command for Cloud Tasks (#1566)
* update gcloud command * update pull queue command * update pull queue command
1 parent 061b898 commit 11bcf0a

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

appengine/flexible/tasks/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To set up authentication, please refer to our
3535
To create a queue using the Cloud SDK, use the following gcloud command:
3636

3737
```
38-
gcloud alpha tasks queues create app-engine my-appengine-queue
38+
gcloud beta tasks queues create-app-engine-queue my-appengine-queue
3939
```
4040

4141
Note: A newly created queue will route to the default App Engine service and
@@ -74,14 +74,14 @@ export PROJECT_ID=my-project-id
7474
```
7575

7676
Then the queue ID, as specified at queue creation time. Queue IDs already
77-
created can be listed with `gcloud alpha tasks queues list`.
77+
created can be listed with `gcloud beta tasks queues list`.
7878

7979
```
8080
export QUEUE_ID=my-appengine-queue
8181
```
8282

8383
And finally the location ID, which can be discovered with
84-
`gcloud alpha tasks queues describe $QUEUE_ID`, with the location embedded in
84+
`gcloud beta tasks queues describe $QUEUE_ID`, with the location embedded in
8585
the "name" value (for instance, if the name is
8686
"projects/my-project/locations/us-central1/queues/my-appengine-queue", then the
8787
location is "us-central1").

tasks/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,23 @@ To set up authentication, please refer to our
2828

2929
To create a queue using the Cloud SDK, use the following gcloud command:
3030

31-
gcloud alpha tasks queues create pull my-pull-queue
31+
gcloud beta tasks queues create-pull-queue my-pull-queue
3232

3333
## Running the Samples
3434

3535
Set the environment variables:
3636

37-
Set environment variables:
38-
3937
First, your project ID:
4038

4139
export PROJECT_ID=my-project-id
4240

4341
Then the queue ID, as specified at queue creation time. Queue IDs already
44-
created can be listed with `gcloud alpha tasks queues list`.
42+
created can be listed with `gcloud beta tasks queues list`.
4543

4644
export QUEUE_ID=my-pull-queue
4745

4846
And finally the location ID, which can be discovered with
49-
`gcloud alpha tasks queues describe $QUEUE_ID`, with the location embedded in
47+
`gcloud beta tasks queues describe $QUEUE_ID`, with the location embedded in
5048
the "name" value (for instance, if the name is
5149
"projects/my-project/locations/us-central1/queues/my-pull-queue", then the
5250
location is "us-central1").

0 commit comments

Comments
 (0)