Skip to content

Commit

Permalink
fix(docs): duplicate readme sample names (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
laljikanjareeya authored and JustinBeckwith committed Aug 1, 2019
1 parent e502df2 commit 56040f5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions samples/deleteLabelDataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
'use strict';

// sample-metadata:
// title: BigQuery Update Model
// description: Updates a model's metadata.
// usage: node updateModel.js <DATASET_ID> <MODEL_ID>
// title: Delete Label Dataset
// description: Deletes a label on a dataset.
// usage: node deleteLabelDataset.js <DATASET_ID>

function main(
datasetId = 'my_dataset' // Existing dataset
Expand Down
6 changes: 3 additions & 3 deletions samples/getDatasetLabels.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
'use strict';

// sample-metadata:
// title: BigQuery Update Model
// description: Updates a model's metadata.
// usage: node updateModel.js <DATASET_ID> <MODEL_ID>
// title: Get Dataset Labels
// description: Gets labels on a dataset.
// usage: node getDatasetLabels.js <DATASET_ID>

function main(datasetId = 'my_dataset') {
// [START bigquery_get_dataset_labels]
Expand Down
6 changes: 3 additions & 3 deletions samples/getTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
'use strict';

// sample-metadata:
// title: BigQuery Get Model
// description: Retrieves an existing model from a dataset.
// usage: node getModel.js <DATASET_ID> <MODEL_ID>
// title: BigQuery Get Table
// description: Retrieves an existing table from a dataset.
// usage: node getTable.js <DATASET_ID> <TABLE_ID>

function main(datasetId = 'my_dataset', tableId = 'my_table') {
// [START bigquery_get_table]
Expand Down
6 changes: 3 additions & 3 deletions samples/getTableLabels.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
'use strict';

// sample-metadata:
// title: BigQuery Update Model
// description: Updates a model's metadata.
// usage: node updateModel.js <DATASET_ID> <MODEL_ID>
// title: Get Table Labels
// description: Gets labels on a dataset.
// usage: node getTableLabels.js <DATASET_ID> <TABLE_ID>

function main(datasetId = 'my_dataset', tableId = 'my_table') {
// [START bigquery_get_table_labels]
Expand Down
6 changes: 3 additions & 3 deletions samples/labelDataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
'use strict';

// sample-metadata:
// title: BigQuery Update Model
// description: Updates a model's metadata.
// usage: node updateModel.js <DATASET_ID> <MODEL_ID>
// title: BigQuery Label Dataset
// description: Updates a label on a dataset.
// usage: node labelDataset.js <DATASET_ID>

function main(datasetId = 'my_dataset') {
// [START bigquery_label_dataset]
Expand Down

0 comments on commit 56040f5

Please sign in to comment.