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

Function getInput

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

Source from the content-addressed store, hash-verified

31 const livestreamServiceClient = new LivestreamServiceClient();
32
33 async function getInput() {
34 // Construct request
35 const request = {
36 name: livestreamServiceClient.inputPath(projectId, location, inputId),
37 };
38 const [input] = await livestreamServiceClient.getInput(request);
39 console.log(`Input: ${input.name}`);
40 }
41
42 getInput();
43 // [END livestream_get_input]

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected