Use templates to create and persist configuration information for use with Cloud DLP. Templates are useful for decoupling configuration information—such as what you inspect for and how you de-identify it—from the implementation of your requests. Templates provide a way to re-use configuration and enable consistency across users and datasets. In addition, whenever you update a template, it's updated for any job trigger that uses it.
Explore further
For detailed documentation that includes this code sample, see the following:
Code sample
C#
To learn how to install and use the client library for Cloud DLP, see Cloud DLP client libraries.
Go
To learn how to install and use the client library for Cloud DLP, see Cloud DLP client libraries.
Java
To learn how to install and use the client library for Cloud DLP, see Cloud DLP client libraries.
Node.js
To learn how to install and use the client library for Cloud DLP, see Cloud DLP client libraries.
PHP
To learn how to install and use the client library for Cloud DLP, see Cloud DLP client libraries.
Python
To learn how to install and use the client library for Cloud DLP, see Cloud DLP client libraries.
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.