Data Loss Prevention API Documentation Quickstarts Quickstart Using a Command-Line Tool Set up the Data Loss Prevention API and perform your first text inspection using the command-line tool. Quickstart Using a JSON Request Set up the Data Loss Prevention API and perform your first text inspection using a JSON request. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.