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

Function callTpuVMList

tpu/getVMList.js:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 const zone = 'europe-west4-a';
35
36 async function callTpuVMList() {
37 const request = {
38 parent: `projects/${projectId}/locations/${zone}`,
39 };
40
41 const [response] = await tpuClient.listNodes(request);
42
43 return response;
44 }
45
46 return await callTpuVMList();
47 // [END tpu_vm_list]

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected