()
| 27 | const client = new CatalogServiceClient(); |
| 28 | |
| 29 | async function listCatalogs() { |
| 30 | const catalogs = await client.listCatalogs({ |
| 31 | parent: `projects/${projectId}/locations/${location}`, |
| 32 | }); |
| 33 | console.info(catalogs); |
| 34 | } |
| 35 | listCatalogs(); |
| 36 | // [END nodejs_retail_quickstart] |
| 37 | } |