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

Function getSlate

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

Source from the content-addressed store, hash-verified

31 const stitcherClient = new VideoStitcherServiceClient();
32
33 async function getSlate() {
34 // Construct request
35 const request = {
36 name: stitcherClient.slatePath(projectId, location, slateId),
37 };
38 const [slate] = await stitcherClient.getSlate(request);
39 console.log(`Slate: ${slate.name}`);
40 }
41
42 getSlate().catch(err => {
43 console.error(err.message);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected