Search code examples
google-cloud-platformgoogle-cloud-dlp

When creating a Cloud Data Loss Prevention (DLP) job where is the metadata later found?


Python create_dlp_job method

I want to associate some additional data with a DLP job.

The create_dlp_job method has a metadata parameter. Is there a method that allows me to retrieve that metadata from the dlp job?


Solution

  • The only job types that support additional information are Hybrid inspect jobs. https://cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.HybridOptions