Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit d19a210

Browse files
averikitschandrewsg
authored andcommitted
update gcloud command for Cloud Tasks [(#1566)](GoogleCloudPlatform/python-docs-samples#1566)
* update gcloud command * update pull queue command * update pull queue command
1 parent 8064084 commit d19a210

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

samples/snippets/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)