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

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://dlp.googleapis.com

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.locations.infoTypes

Methods
list GET /v2/locations/{location}/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
activate POST /v2/{name=projects/*/jobTriggers/*}:activate
Activate a job trigger.
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.locations.content

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

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.
หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น