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 page provides documentation for the Google Cloud Data Loss Prevention (DLP) v2 API, specifically the \u003ccode\u003eDlpService\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe DLP API allows for the detection of Personally Identifiable Information (PII) and other sensitive data in unstructured text and images, along with data redaction and scan scheduling capabilities on the Google Cloud Platform.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the available versions of the \u003ccode\u003eDlpService\u003c/code\u003e class, ranging from the latest version 4.16.0 down to 2.15.0, with links to the respective documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDlpService\u003c/code\u003e class contains two static methods for creating and registering service definitions: \u003ccode\u003eBindService(DlpServiceBase)\u003c/code\u003e which creates a server service definition, and \u003ccode\u003eBindService(ServiceBinderBase, DlpServiceBase)\u003c/code\u003e for customizing service binding.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the service is version 4.16.0, which is followed by multiple prior versions, going down to version 2.15.0.\u003c/p\u003e\n"]]],[],null,[]]