Skip to content

Commit f032a03

Browse files
authored
samples: removed region tags from events and search directories (#216)
1 parent 439ee1f commit f032a03

13 files changed

+0
-35
lines changed

retail/interactive-tutorials/events/import-user-events-big-query.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
'use strict';
1616

1717
async function main(datasetId) {
18-
// [START retail_import_user_events_big_query]
19-
2018
// Imports the Google Cloud client library.
2119
const {UserEventServiceClient} = require('@google-cloud/retail').v2;
2220

@@ -71,7 +69,6 @@ async function main(datasetId) {
7169
console.log('Start events import');
7270
await callImportUserEvents();
7371
console.log('Events import finished');
74-
// [END retail_import_user_events_big_query]
7572
}
7673

7774
process.on('unhandledRejection', err => {

retail/interactive-tutorials/events/import-user-events-gcs.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
'use strict';
1616

1717
async function main(bucketName) {
18-
// [START retail_import_user_events_gcs]
19-
2018
// Imports the Google Cloud client library.
2119
const {UserEventServiceClient} = require('@google-cloud/retail').v2;
2220

@@ -78,7 +76,6 @@ async function main(bucketName) {
7876
console.log('Start events import');
7977
await callImportUserEvents();
8078
console.log('Events import finished');
81-
// [END retail_import_user_events_gcs]
8279
}
8380

8481
process.on('unhandledRejection', err => {

retail/interactive-tutorials/events/import-user-events-inline.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_import_user_events_inline]
19-
2018
// Imports the Google Cloud client library.
2119
const {UserEventServiceClient} = require('@google-cloud/retail').v2;
2220

@@ -81,7 +79,6 @@ async function main() {
8179
console.log('Start events import');
8280
await callImportUserEvents();
8381
console.log('Events import finished');
84-
// [END retail_import_user_events_inline]
8582
}
8683

8784
process.on('unhandledRejection', err => {

retail/interactive-tutorials/events/purge-user-events.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_purge_user_events]
19-
2018
// Imports the Google Cloud client library.
2119
const {UserEventServiceClient} = require('@google-cloud/retail').v2;
2220
const utils = require('../setup/setup-cleanup');
@@ -62,7 +60,6 @@ async function main() {
6260

6361
// Purge events
6462
await callPurgeUserEvents();
65-
// [END retail_purge_user_events]
6663
}
6764

6865
process.on('unhandledRejection', err => {

retail/interactive-tutorials/events/rejoin-user-events.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_rejoin_user_event]
19-
2018
// Imports the Google Cloud client library.
2119
const {UserEventServiceClient} = require('@google-cloud/retail').v2;
2220
const utils = require('../setup/setup-cleanup');
@@ -66,7 +64,6 @@ async function main() {
6664

6765
// Purge events
6866
utils.purgeUserEvents(parent, visitorId);
69-
// [END retail_rejoin_user_event]
7067
}
7168

7269
process.on('unhandledRejection', err => {

retail/interactive-tutorials/events/write-user-event.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_write_user_event]
19-
2018
// Imports the Google Cloud client library.
2119
const {UserEventServiceClient} = require('@google-cloud/retail').v2;
2220
const utils = require('../setup/setup-cleanup');
@@ -60,7 +58,6 @@ async function main() {
6058

6159
// Purge user events by visitor id
6260
await utils.purgeUserEvents(parent, visitorId);
63-
// [END retail_write_user_event]
6461
}
6562

6663
process.on('unhandledRejection', err => {

retail/interactive-tutorials/search/search-simple-query.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_search_for_products_with_query_parameter]
1918
// Call Retail API to search for a products in a catalog using only search query.
2019

2120
// Imports the Google Cloud client library.
@@ -69,7 +68,6 @@ async function main() {
6968
};
7069

7170
callSearch();
72-
// [END retail_search_for_products_with_query_parameter]
7371
}
7472

7573
process.on('unhandledRejection', err => {

retail/interactive-tutorials/search/search-with-boost-spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_search_product_with_boost_spec]
1918
// Call Retail API to search for a products in a catalog, rerank the
2019
// results boosting or burying the products that match defined condition.
2120

@@ -82,7 +81,6 @@ async function main() {
8281
};
8382

8483
callSearch();
85-
// [END retail_search_product_with_boost_spec]
8684
}
8785

8886
process.on('unhandledRejection', err => {

retail/interactive-tutorials/search/search-with-facet-spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_search_products_with_facet_spec]
1918
// Call Retail API to search for a products in a catalog using only search query.
2019

2120
// Imports the Google Cloud client library.
@@ -73,7 +72,6 @@ async function main() {
7372
};
7473

7574
callSearch();
76-
// [END retail_search_products_with_facet_spec]
7775
}
7876

7977
process.on('unhandledRejection', err => {

retail/interactive-tutorials/search/search-with-filtering.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
'use strict';
1616

1717
async function main() {
18-
// [START retail_search_for_products_with_filter]
1918
// Call Retail API to search for a products in a catalog, filter the results by different product fields.
2019

2120
// Imports the Google Cloud client library.
@@ -75,7 +74,6 @@ async function main() {
7574
};
7675

7776
callSearch();
78-
// [END retail_search_for_products_with_filter]
7977
}
8078

8179
process.on('unhandledRejection', err => {

0 commit comments

Comments
 (0)