Google Cloud DLP API Call

99 Views Asked by At

I am using a free tier google account and i want to call any DLP API for text/image scanning for some demo purpose. I see DLP service don't fall in the category of free tier service. is there any way to call dlp api using curl in active shell? Thanks

2

There are 2 best solutions below

0
DeadPool On BEST ANSWER

sure thanks for the inputs. I created a service account and downloaded the json file from google cloud console. I am using that json and projectId to call DLP clients for scanning and its working fine now. One thing i am not sure about billing charges here. I created this small JAVA class from where i am calling DLP.

0
Siegfred V. On

You must authenticate to the DLP API in order to use it.

You can curl the DLP API either using an API key for unauthenticated access or bearer tokens using a service account.

You can also check this public documentation for guidance.

Cloud DLP provides a set of features for inspecting and transforming data which is free up to 1GB and pricing will depend per content method inspection and transformation once it exceeds the 1GB of transformed or inspected data. Check this documentation for more information on its pricing.