Como encobrir dados sensíveis usando a API DLP avaliações

20589 avaliações

Wahyu R. · Revisado há almost 2 years

Sam C. · Revisado há almost 2 years

Rafansya D. · Revisado há almost 2 years

node redactImage.js $GCLOUD_PROJECT ~/dlp-input.png "" EMAIL_ADDRESS ~/dlp-redacted.png

Julius S. · Revisado há almost 2 years

Syahbagus Radithya H. · Revisado há almost 2 years

Ahmad Fikri N. · Revisado há almost 2 years

Difa S. · Revisado há almost 2 years

Arizki Putra R. · Revisado há almost 2 years

khozin a. · Revisado há almost 2 years

khozin a. · Revisado há almost 2 years

Daniel S. · Revisado há almost 2 years

At the time of writing, there's an error with the latest version of mime on the last task using redactImage.js as reported by others in the review related with failing to import the mime module. The easy workaround is to edit package.json so that it uses mime "3.0.0" instead of "^4.0.0", but the sample code really ought to be fixed for the lab.

Bernas Cakra Sakti H. · Revisado há almost 2 years

Makmurry A. · Revisado há almost 2 years

Fitria Novyanti T. · Revisado há almost 2 years

Ichsanul H. · Revisado há almost 2 years

EFA Y. · Revisado há almost 2 years

KHAMDAN A. · Revisado há almost 2 years

nice

003_ A. · Revisado há almost 2 years

David W. · Revisado há almost 2 years

Putri P. · Revisado há almost 2 years

Rishabh A. · Revisado há almost 2 years

Brian K. · Revisado há almost 2 years

the last command didn't work but good to see this how easy it can be to redact sensitive data.

Tian W. · Revisado há almost 2 years

Ran into error with importing mime: /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js:27 const mime = require('mime'); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/node_modules/mime/dist/src/index.js from /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js not supported. Instead change the require of index.js in /home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js to a dynamic import() which is available in all CommonJS modules. at main (/home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js:27:16) at Object.<anonymous> (/home/student_03_e75e363a1593/nodejs-docs-samples/dlp/redactImage.js:83:1) { code: 'ERR_REQUIRE_ESM' } Node.js v20.17.0

April C. · Revisado há almost 2 years

Issy P. · Revisado há almost 2 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.