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

Function listDatasets

healthcare/datasets/listDatasets.js:30–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 });
29
30 const listDatasets = async () => {
31 // TODO(developer): uncomment these lines before running the sample
32 // const cloudRegion = 'us-central1';
33 // const projectId = 'adjective-noun-123';
34 const parent = `projects/${projectId}/locations/${cloudRegion}`;
35 const request = {parent};
36
37 const dataset = await healthcare.projects.locations.datasets.list(request);
38 console.log(dataset.data);
39 };
40
41 listDatasets();
42 // [END healthcare_list_datasets]

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected