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 latest version of the Google Cloud Data Loss Prevention v2 API is 4.16.0, with multiple previous versions available for reference, including 4.11.0, which is the version the user was inquiring about.\u003c/p\u003e\n"],["\u003cp\u003eThe DlpService class provides access to the Cloud Data Loss Prevention (DLP) API, a service for detecting Personally Identifiable Information (PII) and other privacy-sensitive data in unstructured data streams.\u003c/p\u003e\n"],["\u003cp\u003eThe DLP API offers methods for data redaction and scheduling data scans on Google Cloud Platform, offering a wide array of security features.\u003c/p\u003e\n"],["\u003cp\u003eThe DlpService class includes methods like \u003ccode\u003eBindService\u003c/code\u003e for creating and registering service definitions, which allows the implementation of server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe methods offered within the class DlpService, such as \u003ccode\u003eBindService\u003c/code\u003e, are used for defining and registering the server side logic, and use specific objects and types like \u003ccode\u003eServerServiceDefinition\u003c/code\u003e, \u003ccode\u003eServiceBinderBase\u003c/code\u003e and \u003ccode\u003eDlpServiceBase\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]