MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / listSlates

Function listSlates

media/video-stitcher/listSlates.js:32–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected