Skip to content

Commit

Permalink
docs: update list of available samples (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 17, 2020
1 parent 493b1d1 commit 9bd5bfa
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/google-cloud-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ has instructions for running the samples.
| Create Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/createJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/createJob.js,samples/README.md) |
| Delete Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/deleteJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/deleteJob.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Update Job | [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/updateJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/updateJob.js,samples/README.md) |



Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-scheduler/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* [Create Job](#create-job)
* [Delete Job](#delete-job)
* [Quickstart](#quickstart)
* [Update Job](#update-job)

## Before you begin

Expand Down Expand Up @@ -101,6 +102,25 @@ __Usage:__
`node quickstart.js [project-id] [location-id] [url]`


-----




### Update Job

Update a job by its ID.

View the [source code](https://github.com/googleapis/nodejs-scheduler/blob/master/samples/updateJob.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-scheduler&page=editor&open_in_editor=samples/updateJob.js,samples/README.md)

__Usage:__


`node updateJob.js [project-id] [location-id] [job-id]`





Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-scheduler/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-scheduler.git",
"sha": "5f111835e74472b5944fd87da28d03edcab7473d"
"sha": "ae033532e0f0f0402f8f4530df3bed4ad4d53ab0"
}
},
{
Expand Down

0 comments on commit 9bd5bfa

Please sign in to comment.