Skip to content

Commit 16b0592

Browse files
authored
Merge pull request GoogleCloudPlatform#890 from GoogleCloudPlatform/tasks
Update Task comments
2 parents c79bbda + 3d34469 commit 16b0592

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tasks/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Al code in the snippets directory demonstrate how to invoke Cloud Tasks from PHP
2626
5. 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

tasks/test/tasksTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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/',

0 commit comments

Comments
 (0)