()
| 31 | const livestreamServiceClient = new LivestreamServiceClient(); |
| 32 | |
| 33 | async function getPool() { |
| 34 | // Construct request |
| 35 | const request = { |
| 36 | name: livestreamServiceClient.poolPath(projectId, location, poolId), |
| 37 | }; |
| 38 | const [pool] = await livestreamServiceClient.getPool(request); |
| 39 | console.log(`Pool: ${pool.name}`); |
| 40 | } |
| 41 | |
| 42 | getPool(); |
| 43 | // [END livestream_get_pool] |