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\u003eThe Google Cloud Data Loss Prevention (DLP) v2 API offers tools for detecting sensitive data like Personally Identifiable Information (PII) in unstructured data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDlpService\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace provides methods for server-side handling of DLP operations and can detect sensitive data within text and images.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists different versions of the \u003ccode\u003eDlpService\u003c/code\u003e class, with version 4.16.0 being the latest and a range of previous versions being accessible dating down to version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDlpService\u003c/code\u003e has methods like \u003ccode\u003eBindService\u003c/code\u003e, which enables the creation and registration of a service definition for use with a server, and the ability to connect the service methods to a binder.\u003c/p\u003e\n"]]],[],null,[]]