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 webpage provides documentation for the \u003ccode\u003eDlpService\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, covering a range of versions from 2.15.0 up to the latest release 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDlpService\u003c/code\u003e class is used to detect personally identifiable information (PII) and other sensitive data in unstructured text and images, along with offering data redaction and data scan scheduling capabilities on the Google Cloud Platform.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the inheritance structure of the \u003ccode\u003eDlpService\u003c/code\u003e class, noting that it inherits from \u003ccode\u003eobject\u003c/code\u003e, and also lists 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 webpage details two static methods for binding the \u003ccode\u003eDlpService\u003c/code\u003e to a server: \u003ccode\u003eBindService(DlpServiceBase)\u003c/code\u003e which creates a server definition, and \u003ccode\u003eBindService(ServiceBinderBase, DlpServiceBase)\u003c/code\u003e which is utilized to register service methods, along with information of their parameters and return types.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is specific to the namespace \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e within the assembly \u003ccode\u003eGoogle.Cloud.Dlp.V2.dll\u003c/code\u003e, and provides a link to external documentation for further information on the concepts and usage of the Cloud DLP API.\u003c/p\u003e\n"]]],[],null,[]]