Cloud Data Loss Prevention (DLP) API

Provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.

Service: dlp.googleapis.com

All URIs below are relative to https://dlp.googleapis.com

This service provides the following discovery document:

REST Resource: v2.infoTypes

Methods
list GET /v2/infoTypes
Returns a list of the sensitive information types that the DLP API supports.

REST Resource: v2.organizations.deidentifyTemplates

Methods
create POST /v2/{parent=organizations/*}/deidentifyTemplates
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage.
delete DELETE /v2/{name=organizations/*/deidentifyTemplates/*}
Deletes a DeidentifyTemplate.
get GET /v2/{name=organizations/*/deidentifyTemplates/*}
Gets a DeidentifyTemplate.
list GET /v2/{parent=organizations/*}/deidentifyTemplates
Lists DeidentifyTemplates.
patch PATCH /v2/{name=organizations/*/deidentifyTemplates/*}
Updates the DeidentifyTemplate.

REST Resource: v2.organizations.inspectTemplates

Methods
create POST /v2/{parent=organizations/*}/inspectTemplates
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage.
delete DELETE /v2/{name=organizations/*/inspectTemplates/*}
Deletes an InspectTemplate.
get GET /v2/{name=organizations/*/inspectTemplates/*}
Gets an InspectTemplate.
list GET /v2/{parent=organizations/*}/inspectTemplates
Lists InspectTemplates.
patch PATCH /v2/{name=organizations/*/inspectTemplates/*}
Updates the InspectTemplate.

REST Resource: v2.organizations.storedInfoTypes

Methods
create POST /v2/{parent=organizations/*}/storedInfoTypes
Creates a pre-built stored infoType to be used for inspection.
delete DELETE /v2/{name=organizations/*/storedInfoTypes/*}
Deletes a stored infoType.
get GET /v2/{name=organizations/*/storedInfoTypes/*}
Gets a stored infoType.
list GET /v2/{parent=organizations/*}/storedInfoTypes
Lists stored infoTypes.
patch PATCH /v2/{name=organizations/*/storedInfoTypes/*}
Updates the stored infoType by creating a new version.

REST Resource: v2.projects.content

Methods
deidentify POST /v2/{parent=projects/*}/content:deidentify
De-identifies potentially sensitive info from a ContentItem.
inspect POST /v2/{parent=projects/*}/content:inspect
Finds potentially sensitive info in content.
reidentify POST /v2/{parent=projects/*}/content:reidentify
Re-identifies content that has been de-identified.

REST Resource: v2.projects.deidentifyTemplates

Methods
create POST /v2/{parent=projects/*}/deidentifyTemplates
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage.
delete DELETE /v2/{name=projects/*/deidentifyTemplates/*}
Deletes a DeidentifyTemplate.
get GET /v2/{name=projects/*/deidentifyTemplates/*}
Gets a DeidentifyTemplate.
list GET /v2/{parent=projects/*}/deidentifyTemplates
Lists DeidentifyTemplates.
patch PATCH /v2/{name=projects/*/deidentifyTemplates/*}
Updates the DeidentifyTemplate.

REST Resource: v2.projects.dlpJobs

Methods
cancel POST /v2/{name=projects/*/dlpJobs/*}:cancel
Starts asynchronous cancellation on a long-running DlpJob.
create POST /v2/{parent=projects/*}/dlpJobs
Creates a new job to inspect storage or calculate risk metrics.
delete DELETE /v2/{name=projects/*/dlpJobs/*}
Deletes a long-running DlpJob.
get GET /v2/{name=projects/*/dlpJobs/*}
Gets the latest state of a long-running DlpJob.
list GET /v2/{parent=projects/*}/dlpJobs
Lists DlpJobs that match the specified filter in the request.

REST Resource: v2.projects.image

Methods
redact POST /v2/{parent=projects/*}/image:redact
Redacts potentially sensitive info from an image.

REST Resource: v2.projects.inspectTemplates

Methods
create POST /v2/{parent=projects/*}/inspectTemplates
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage.
delete DELETE /v2/{name=projects/*/inspectTemplates/*}
Deletes an InspectTemplate.
get GET /v2/{name=projects/*/inspectTemplates/*}
Gets an InspectTemplate.
list GET /v2/{parent=projects/*}/inspectTemplates
Lists InspectTemplates.
patch PATCH /v2/{name=projects/*/inspectTemplates/*}
Updates the InspectTemplate.

REST Resource: v2.projects.jobTriggers

Methods
create POST /v2/{parent=projects/*}/jobTriggers
Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule.
delete DELETE /v2/{name=projects/*/jobTriggers/*}
Deletes a job trigger.
get GET /v2/{name=projects/*/jobTriggers/*}
Gets a job trigger.
list GET /v2/{parent=projects/*}/jobTriggers
Lists job triggers.
patch PATCH /v2/{name=projects/*/jobTriggers/*}
Updates a job trigger.

REST Resource: v2.projects.storedInfoTypes

Methods
create POST /v2/{parent=projects/*}/storedInfoTypes
Creates a pre-built stored infoType to be used for inspection.
delete DELETE /v2/{name=projects/*/storedInfoTypes/*}
Deletes a stored infoType.
get GET /v2/{name=projects/*/storedInfoTypes/*}
Gets a stored infoType.
list GET /v2/{parent=projects/*}/storedInfoTypes
Lists stored infoTypes.
patch PATCH /v2/{name=projects/*/storedInfoTypes/*}
Updates the stored infoType by creating a new version.
Was this page helpful? Let us know how we did:

Send feedback about...

Data Loss Prevention API