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

Function deleteChannel

media/livestream/deleteChannel.js:33–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 const livestreamServiceClient = new LivestreamServiceClient();
32
33 async function deleteChannel() {
34 // Construct request
35 const request = {
36 name: livestreamServiceClient.channelPath(projectId, location, channelId),
37 };
38
39 // Run request
40 const [operation] = await livestreamServiceClient.deleteChannel(request);
41 await operation.promise();
42 console.log('Deleted channel');
43 }
44
45 deleteChannel();
46 // [END livestream_delete_channel]

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected