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

Function deleteSlate

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

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected