Skip to content

Commit

Permalink
docs: update README sample links (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and callmehiphop committed Dec 19, 2019
1 parent 777e2a1 commit 1e2fc63
Show file tree
Hide file tree
Showing 3 changed files with 1,049 additions and 924 deletions.
5 changes: 5 additions & 0 deletions packages/google-cloud-automl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,14 @@ has instructions for running the samples.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Delete_dataset | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/delete_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/delete_dataset.js,samples/README.md) |
| Export_dataset | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/export_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/export_dataset.js,samples/README.md) |
| Get_dataset | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/get_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/get_dataset.js,samples/README.md) |
| Import_dataset | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/import_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/import_dataset.js,samples/README.md) |
| Language_entity_extraction_create_dataset | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/language_entity_extraction_create_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/language_entity_extraction_create_dataset.js,samples/README.md) |
| Language_entity_extraction_create_model | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/language_entity_extraction_create_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/language_entity_extraction_create_model.js,samples/README.md) |
| Language_entity_extraction_predict | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/language_entity_extraction_predict.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/language_entity_extraction_predict.js,samples/README.md) |
| List_datasets | [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/list_datasets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-automl&page=editor&open_in_editor=samples/list_datasets.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-automl/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-automl&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |


Expand Down
90 changes: 90 additions & 0 deletions packages/google-cloud-automl/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@

* [Before you begin](#before-you-begin)
* [Samples](#samples)
* [Delete_dataset](#delete_dataset)
* [Export_dataset](#export_dataset)
* [Get_dataset](#get_dataset)
* [Import_dataset](#import_dataset)
* [Language_entity_extraction_create_dataset](#language_entity_extraction_create_dataset)
* [Language_entity_extraction_create_model](#language_entity_extraction_create_model)
* [Language_entity_extraction_predict](#language_entity_extraction_predict)
* [List_datasets](#list_datasets)
* [Quickstart](#quickstart)

## Before you begin
Expand All @@ -26,6 +31,74 @@ Before running the samples, make sure you've followed the steps outlined in



### Delete_dataset

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

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

__Usage:__


`node delete_dataset.js`


-----




### Export_dataset

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

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

__Usage:__


`node export_dataset.js`


-----




### Get_dataset

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

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

__Usage:__


`node get_dataset.js`


-----




### Import_dataset

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

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

__Usage:__


`node import_dataset.js`


-----




### Language_entity_extraction_create_dataset

View the [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/language_entity_extraction_create_dataset.js).
Expand Down Expand Up @@ -77,6 +150,23 @@ __Usage:__



### List_datasets

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

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

__Usage:__


`node list_datasets.js`


-----




### Quickstart

View the [source code](https://github.com/googleapis/nodejs-automl/blob/master/samples/quickstart.js).
Expand Down
Loading

0 comments on commit 1e2fc63

Please sign in to comment.