File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
retail/interactive-tutorials/search Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 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
1718async function main ( ) {
@@ -76,3 +77,5 @@ process.on('unhandledRejection', err => {
7677} ) ;
7778
7879main ( ) ;
80+
81+ // [END retail_search_simple_query]
Original file line number Diff line number Diff line change 1414
1515'use strict' ;
1616
17+ // [START retail_search_for_products_with_pagination]
1718async 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+
8689process . on ( 'unhandledRejection' , err => {
8790 console . error ( err . message ) ;
8891 process . exitCode = 1 ;
You can’t perform that action at this time.
0 commit comments