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's \u003ccode\u003eDlpService\u003c/code\u003e class helps detect Personally Identifiable Information (PII) in unstructured data, redact sensitive information, and schedule data scans on Google Cloud Platform.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDlpService\u003c/code\u003e class is 4.16.0, while the current page is showing information about version 4.8.0, including links to older versions as far back as version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDlpService\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and has inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDlpService\u003c/code\u003e class offers methods to bind the service, such as \u003ccode\u003eBindService(DlpServiceBase)\u003c/code\u003e for creating a service definition, and \u003ccode\u003eBindService(ServiceBinderBase, DlpServiceBase)\u003c/code\u003e for registering service methods.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the \u003ccode\u003eDlpService\u003c/code\u003e class located in the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]