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