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

Function getValue

dlp/kAnonymityAnalysis.js:92–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91 // Create helper function for unpacking values
92 const getValue = obj => obj[Object.keys(obj)[0]];
93
94 // Run risk analysis job
95 const [topicResponse] = await pubsub.topic(topicId).get();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected