Skip to content

Commit 0575171

Browse files
authored
fix(retail): add region tag for JS- Update SearchwithPagination (#4106)
* Update search-simple-query.js Added region tag to simply search query for code snippet update in the documentation. * Update search-with-pagination.js
1 parent 375215f commit 0575171

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// [START retail_search_simple_query]
1516
'use strict';
1617

1718
async function main() {
@@ -76,3 +77,5 @@ process.on('unhandledRejection', err => {
7677
});
7778

7879
main();
80+
81+
// [END retail_search_simple_query]

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
'use strict';
1616

17+
// [START retail_search_for_products_with_pagination]
1718
async function main() {
1819
// Imports the Google Cloud client library.
1920
const {SearchServiceClient} = require('@google-cloud/retail');
@@ -83,6 +84,8 @@ async function main() {
8384
//PASTE CALL WITH NEXT PAGE TOKEN HERE:
8485
}
8586

87+
// [END retail_search_for_products_with_pagination]
88+
8689
process.on('unhandledRejection', err => {
8790
console.error(err.message);
8891
process.exitCode = 1;

0 commit comments

Comments
 (0)