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

Function getChannel

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

Source from the content-addressed store, hash-verified

31 const livestreamServiceClient = new LivestreamServiceClient();
32
33 async function getChannel() {
34 // Construct request
35 const request = {
36 name: livestreamServiceClient.channelPath(projectId, location, channelId),
37 };
38 const [channel] = await livestreamServiceClient.getChannel(request);
39 console.log(`Channel: ${channel.name}`);
40 }
41
42 getChannel();
43 // [END livestream_get_channel]

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected