diff --git a/cloud-tasks/README.md b/cloud-tasks/README.md index efe1ccf436..535095bd4b 100644 --- a/cloud-tasks/README.md +++ b/cloud-tasks/README.md @@ -12,8 +12,8 @@ * [Before you begin](#before-you-begin) * [Samples](#samples) - * [Create Http Task](#create-http-task) - * [Create Http Task With Token](#create-http-task-with-token) + * [Cloud Tasks Create HTTP Target](#cloud-tasks-create-http-target) + * [Cloud Tasks Create HTTP Target with Token](#cloud-tasks-create-http-target-with-token) * [Create Queue](#create-queue) * [Create Task](#create-task) * [Delete Queue](#delete-queue) @@ -30,7 +30,9 @@ Before running the samples, make sure you've followed the steps outlined in -### Create Http Task +### Cloud Tasks Create HTTP Target + +Create Cloud Tasks with a HTTP Target View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTask.js). @@ -47,7 +49,9 @@ __Usage:__ -### Create Http Task With Token +### Cloud Tasks Create HTTP Target with Token + +Create Cloud Tasks with a HTTP Target with Token View the [source code](https://github.com/googleapis/nodejs-tasks/blob/master/samples/createHttpTaskWithToken.js). diff --git a/cloud-tasks/createHttpTask.js b/cloud-tasks/createHttpTask.js index 39aae9ae33..c7683aae32 100644 --- a/cloud-tasks/createHttpTask.js +++ b/cloud-tasks/createHttpTask.js @@ -15,6 +15,10 @@ 'use strict'; +// sample-metadata: +// title: Cloud Tasks Create HTTP Target +// description: Create Cloud Tasks with a HTTP Target + /** * Create a task with an HTTP target for a given queue with an arbitrary payload. */ diff --git a/cloud-tasks/createHttpTaskWithToken.js b/cloud-tasks/createHttpTaskWithToken.js index baacd830cd..1107158181 100644 --- a/cloud-tasks/createHttpTaskWithToken.js +++ b/cloud-tasks/createHttpTaskWithToken.js @@ -15,6 +15,10 @@ 'use strict'; +// sample-metadata: +// title: Cloud Tasks Create HTTP Target with Token +// description: Create Cloud Tasks with a HTTP Target with Token + /** * Create a task with an HTTP target for a given queue with an arbitrary payload. */