File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Al code in the snippets directory demonstrate how to invoke Cloud Tasks from PHP
26265. Create a Queue
2727 To create a queue using the Cloud SDK, use the following gcloud command:
2828 ` ` ` sh
29- gcloud beta tasks queues create-app-engine-queue my-appengine-queue
29+ gcloud beta tasks queues create < QUEUE_NAME >
3030 ` ` `
3131
3232# # Using an HTTP Target
@@ -39,13 +39,13 @@ Al code in the snippets directory demonstrate how to invoke Cloud Tasks from PHP
3939
4040 where:
4141 * ` PROJECT_ID` is your Google Cloud Project id.
42- * ` QUEUE_ID` is your queue id (ie my-appengine-queue).
42+ * ` QUEUE_ID` is your queue id.
4343 Queue IDs already created can be listed with ` gcloud alpha tasks queues list` .
4444 * ` LOCATION_ID` is the location of your queue.
4545 Determine the location ID, which can be discovered with
46- ` gcloud beta tasks queues describe $QUEUE_ID ` , with the location embedded in
46+ ` gcloud beta tasks queues describe < QUEUE_NAME > ` , with the location embedded in
4747 the " name" value (for instance, if the name is
48- " projects/my-project/locations/us-central1/queues/my-pull- queue" , then the
48+ " projects/my-project/locations/us-central1/queues/my-queue" , then the
4949 location is " us-central1" ).
5050 * ` URL` is the full URL to your target endpoint.
5151
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function testCreateHttpTask()
3535 $ output = $ this ->runSnippet ('create_http_task ' , [
3636 $ location ,
3737 $ queue ,
38- 'http://example.com ' ,
38+ 'http://example.com/taskhandler ' ,
3939 'Task Details ' ,
4040 ]);
4141 $ taskNamePrefix = sprintf ('projects/%s/locations/%s/queues/%s/tasks/ ' ,
You can’t perform that action at this time.
0 commit comments