Google

Sensitive Data Protection (DLP)

Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.

Data & analytics#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.

Endpoints 34

infoTypes

  • GETReturns a list of the sensitive information types that the DLP API supports/v2/infoTypes?filter=string&languageCode=string&locationId=string&parent=stringReturns a list of the sensitive information types that the DLP API supports. See…

projects.locations.infoTypes

  • GETReturns a list of the sensitive information types that the DLP API supports/v2/:parent/infoTypes?filter=string&languageCode=string&locationId=stringReturns a list of the sensitive information types that the DLP API supports. See…

projects.locations.deidentifyTemplates

  • GETLists DeidentifyTemplates/v2/:parent/deidentifyTemplates?locationId=string&orderBy=string&pageSize=0&pageToken=stringLists DeidentifyTemplates. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
  • POSTCreates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage/v2/:parent/deidentifyTemplatesCreates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See…

projects.storedInfoTypes

  • GETGets a stored infoType/v2/:nameGets a stored infoType. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
  • DELETEDeletes a stored infoType/v2/:nameDeletes a stored infoType. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
  • PATCHUpdates the stored infoType by creating a new version/v2/:nameUpdates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See…
  • GETLists stored infoTypes/v2/:parent/storedInfoTypes?locationId=string&orderBy=string&pageSize=0&pageToken=stringLists stored infoTypes. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
  • POSTCreates a pre-built stored infoType to be used for inspection/v2/:parent/storedInfoTypesCreates a pre-built stored infoType to be used for inspection. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to…

projects.locations.inspectTemplates

  • GETLists InspectTemplates/v2/:parent/inspectTemplates?locationId=string&orderBy=string&pageSize=0&pageToken=stringLists InspectTemplates. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
  • POSTCreates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage/v2/:parent/inspectTemplatesCreates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See…

projects.locations.columnDataProfiles

  • GETLists column data profiles for an organization./v2/:parent/columnDataProfiles?filter=string&orderBy=string&pageSize=0&pageToken=stringLists column data profiles for an organization.

projects.locations.connections

  • GETLists Connections in a parent/v2/:parent/connections?filter=string&pageSize=0&pageToken=stringLists Connections in a parent. Use SearchConnections to see all connections within an organization.
  • POSTCreate a Connection to an external data source./v2/:parent/connectionsCreate a Connection to an external data source.
  • GETSearches for Connections in a parent./v2/:parent/connections:search?filter=string&pageSize=0&pageToken=stringSearches for Connections in a parent.

projects.locations.discoveryConfigs

  • GETLists discovery configurations./v2/:parent/discoveryConfigs?orderBy=string&pageSize=0&pageToken=stringLists discovery configurations.
  • POSTCreates a config for discovery to scan and profile storage./v2/:parent/discoveryConfigsCreates a config for discovery to scan and profile storage.

projects.locations.dlpJobs

  • GETLists DlpJobs that match the specified filter in the request/v2/:parent/dlpJobs?filter=string&locationId=string&orderBy=string&pageSize=0&pageToken=string&type=DLP_JOB_TYPE_UNSPECIFIEDLists DlpJobs that match the specified filter in the request. See https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage and…
  • POSTCreates a new job to inspect storage or calculate risk metrics/v2/:parent/dlpJobsCreates a new job to inspect storage or calculate risk metrics. See https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage and…
  • POSTStarts asynchronous cancellation on a long-running DlpJob/v2/:name:cancelStarts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See…
  • POSTFinish a running hybrid DlpJob/v2/:name:finishFinish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.

projects.locations.fileStoreDataProfiles

  • GETLists file store data profiles for an organization./v2/:parent/fileStoreDataProfiles?filter=string&orderBy=string&pageSize=0&pageToken=stringLists file store data profiles for an organization.

projects.locations.jobTriggers

  • GETLists job triggers/v2/:parent/jobTriggers?filter=string&locationId=string&orderBy=string&pageSize=0&pageToken=string&type=DLP_JOB_TYPE_UNSPECIFIEDLists job triggers. See https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
  • POSTCreates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule/v2/:parent/jobTriggersCreates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See…
  • POSTActivate a job trigger/v2/:name:activateActivate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
  • POSTInspect hybrid content and store findings to a trigger/v2/:name:hybridInspectInspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the…

projects.locations.projectDataProfiles

  • GETLists project data profiles for an organization./v2/:parent/projectDataProfiles?filter=string&orderBy=string&pageSize=0&pageToken=stringLists project data profiles for an organization.

projects.locations.tableDataProfiles

  • GETLists table data profiles for an organization./v2/:parent/tableDataProfiles?filter=string&orderBy=string&pageSize=0&pageToken=stringLists table data profiles for an organization.

projects.locations.content

  • POSTDe-identifies potentially sensitive info from a ContentItem/v2/:parent/content:deidentifyDe-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See…
  • POSTFinds potentially sensitive info in content/v2/:parent/content:inspectFinds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are…
  • POSTRe-identifies content that has been de-identified/v2/:parent/content:reidentifyRe-identifies content that has been de-identified. See…

projects.locations.image

  • POSTRedacts potentially sensitive info from an image/v2/:parent/image:redactRedacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See…

projects.locations.contentPolicies

  • GETLists ContentPolicies in a parent./v2/:parent/contentPolicies?pageSize=0&pageToken=stringLists ContentPolicies in a parent.
  • POSTCreate a ContentPolicy./v2/:parent/contentPoliciesCreate a ContentPolicy.

API details

Base URL
https://dlp.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
34 operations on 24 pathsGET 16POST 16PATCH 1DELETE 1
Main resources
projects.storedInfoTypes 5projects.locations.dlpJobs 4projects.locations.jobTriggers 4projects.locations.connections 3projects.locations.content 3projects.locations.contentPolicies 2projects.locations.deidentifyTemplates 2projects.locations.discoveryConfigs 2projects.locations.inspectTemplates 2infoTypes 1
Response formats
application/json
Description format
Google API Discovery, API version v2

How to test the Sensitive Data Protection (DLP) in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Sensitive Data Protection (DLP) collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Returns a list of the sensitive information types that the DLP API supports” (GET /v2/infoTypes?filter=string&languageCode=string&locationId=string&parent=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Sensitive Data Protection (DLP)?

Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease. It is listed under Data & analytics and has 34 endpoints.

Who publishes the Sensitive Data Protection (DLP)?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Sensitive Data Protection (DLP)?

Requests go to https://dlp.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Sensitive Data Protection (DLP)?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.

How many endpoints does the Sensitive Data Protection (DLP) have?

34 operations on 24 paths (16 GET, 16 POST, 1 PATCH, 1 DELETE). The largest groups are projects.storedInfoTypes, projects.locations.dlpJobs, projects.locations.jobTriggers, projects.locations.connections.

Is forking the Sensitive Data Protection (DLP) free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.