()
| 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] |