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

Function getPool

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

Source from the content-addressed store, hash-verified

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]

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected