Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DlpService.
The Cloud Data Loss Prevention (DLP) API is a service that allows clients
to detect the presence of Personally Identifiable Information (PII) and other
privacy-sensitive data in user-supplied, unstructured data streams, like text
blocks or images.
The service also includes methods for sensitive data redaction and
scheduling of data scans on Google Cloud Platform based data sets.
public static void BindService(ServiceBinderBase serviceBinder, DlpService.DlpServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page provides reference information for the \u003ccode\u003eDlpService\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for version 4.4.0, and offers documentation for other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDlpService\u003c/code\u003e class is used to detect Personally Identifiable Information (PII) and other sensitive data within unstructured data streams, with capabilities for data redaction and scheduled scans.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the API, from the latest 4.16.0 down to 2.15.0, allowing users to navigate to the documentation for each specific version.\u003c/p\u003e\n"],["\u003cp\u003eTwo methods, \u003ccode\u003eBindService(DlpService.DlpServiceBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, DlpService.DlpServiceBase)\u003c/code\u003e, are detailed, which are used to create and register service definitions with a server, facilitating the server-side handling logic of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe service is part of the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace and is housed within the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly, and further guidance can be found at the provided link for documentation.\u003c/p\u003e\n"]]],[],null,[]]