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

Function listInputs

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

Source from the content-addressed store, hash-verified

30 const livestreamServiceClient = new LivestreamServiceClient();
31
32 async function listInputs() {
33 const iterable = await livestreamServiceClient.listInputsAsync({
34 parent: livestreamServiceClient.locationPath(projectId, location),
35 });
36 console.info('Inputs:');
37 for await (const response of iterable) {
38 console.log(response.name);
39 }
40 }
41
42 listInputs();
43 // [END livestream_list_inputs]

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected