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

Function getDataset

healthcare/datasets/getDataset.js:31–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected