()
| 30 | const stitcherClient = new VideoStitcherServiceClient(); |
| 31 | |
| 32 | async function listCdnKeys() { |
| 33 | const iterable = await stitcherClient.listCdnKeysAsync({ |
| 34 | parent: stitcherClient.locationPath(projectId, location), |
| 35 | }); |
| 36 | console.info('CDN keys:'); |
| 37 | for await (const response of iterable) { |
| 38 | console.log(response.name); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | listCdnKeys().catch(err => { |
| 43 | console.error(err.message); |