From cc5f8b93559551e04948fcfe805e4b7c204f473a Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Mon, 16 Jul 2018 13:09:36 -0700 Subject: [PATCH 1/3] update gcloud command --- appengine/flexible/tasks/README.md | 6 +++--- tasks/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/appengine/flexible/tasks/README.md b/appengine/flexible/tasks/README.md index 00353ceaca1..db7be7f01f3 100644 --- a/appengine/flexible/tasks/README.md +++ b/appengine/flexible/tasks/README.md @@ -35,7 +35,7 @@ To set up authentication, please refer to our To create a queue using the Cloud SDK, use the following gcloud command: ``` -gcloud alpha tasks queues create app-engine my-appengine-queue +gcloud beta tasks queues create app-engine my-appengine-queue ``` Note: A newly created queue will route to the default App Engine service and @@ -74,14 +74,14 @@ export PROJECT_ID=my-project-id ``` Then the queue ID, as specified at queue creation time. Queue IDs already -created can be listed with `gcloud alpha tasks queues list`. +created can be listed with `gcloud beta tasks queues list`. ``` export QUEUE_ID=my-appengine-queue ``` And finally the location ID, which can be discovered with -`gcloud alpha tasks queues describe $QUEUE_ID`, with the location embedded in +`gcloud beta tasks queues describe $QUEUE_ID`, with the location embedded in the "name" value (for instance, if the name is "projects/my-project/locations/us-central1/queues/my-appengine-queue", then the location is "us-central1"). diff --git a/tasks/README.md b/tasks/README.md index b5eeb48efd3..e56fde385f1 100644 --- a/tasks/README.md +++ b/tasks/README.md @@ -28,7 +28,7 @@ To set up authentication, please refer to our To create a queue using the Cloud SDK, use the following gcloud command: - gcloud alpha tasks queues create pull my-pull-queue + gcloud beta tasks queues create pull my-pull-queue ## Running the Samples @@ -41,12 +41,12 @@ First, your project ID: export PROJECT_ID=my-project-id Then the queue ID, as specified at queue creation time. Queue IDs already -created can be listed with `gcloud alpha tasks queues list`. +created can be listed with `gcloud beta tasks queues list`. export QUEUE_ID=my-pull-queue And finally the location ID, which can be discovered with -`gcloud alpha tasks queues describe $QUEUE_ID`, with the location embedded in +`gcloud beta tasks queues describe $QUEUE_ID`, with the location embedded in the "name" value (for instance, if the name is "projects/my-project/locations/us-central1/queues/my-pull-queue", then the location is "us-central1"). From 8ffff202edc1910185ad91c4fc62db7513d98be5 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Mon, 16 Jul 2018 15:05:53 -0700 Subject: [PATCH 2/3] update pull queue command --- tasks/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/README.md b/tasks/README.md index e56fde385f1..407f7db2bee 100644 --- a/tasks/README.md +++ b/tasks/README.md @@ -28,14 +28,12 @@ To set up authentication, please refer to our To create a queue using the Cloud SDK, use the following gcloud command: - gcloud beta tasks queues create pull my-pull-queue + gcloud beta tasks queues create-pull-queue my-pull-queue ## Running the Samples Set the environment variables: -Set environment variables: - First, your project ID: export PROJECT_ID=my-project-id From 7328ca9a6463c3a4e10f32b18b69f3fb3655abed Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Mon, 16 Jul 2018 15:06:53 -0700 Subject: [PATCH 3/3] update pull queue command --- appengine/flexible/tasks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/flexible/tasks/README.md b/appengine/flexible/tasks/README.md index db7be7f01f3..1469225ea3f 100644 --- a/appengine/flexible/tasks/README.md +++ b/appengine/flexible/tasks/README.md @@ -35,7 +35,7 @@ To set up authentication, please refer to our To create a queue using the Cloud SDK, use the following gcloud command: ``` -gcloud beta tasks queues create app-engine my-appengine-queue +gcloud beta tasks queues create-app-engine-queue my-appengine-queue ``` Note: A newly created queue will route to the default App Engine service and