mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
579 lines
44 KiB
HTML
579 lines
44 KiB
HTML
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en" >
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="A complete library to interact with DLP (protocol v2)" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-dlp2-cli/" />
|
|
<link rel="shortcut icon" href="img/favicon.ico" />
|
|
<title>DLP v5.0.4+20240225</title>
|
|
<link rel="stylesheet" href="css/theme.css" />
|
|
<link rel="stylesheet" href="css/theme_extra.css" />
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
|
|
|
|
<script>
|
|
// Current page data
|
|
var mkdocs_page_name = "Home";
|
|
var mkdocs_page_input_path = "index.md";
|
|
var mkdocs_page_url = "/google-apis-rs/google-dlp2-cli/";
|
|
</script>
|
|
|
|
<script src="js/jquery-3.6.0.min.js" defer></script>
|
|
<!--[if lt IE 9]>
|
|
<script src="js/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search">
|
|
<a href="." class="icon icon-home"> DLP v5.0.4+20240225
|
|
</a><div role="search">
|
|
<form id ="rtd-search-form" class="wy-form" action="./search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<ul class="current">
|
|
<li class="toctree-l1 current"><a class="reference internal current" href=".">Home</a>
|
|
<ul class="current">
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Info Types</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="info-types_list/">List</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Locations</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="locations_info-types-list/">Info Types List</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Organizations</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_deidentify-templates-create/">Deidentify Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_deidentify-templates-delete/">Deidentify Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_deidentify-templates-get/">Deidentify Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_deidentify-templates-list/">Deidentify Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_deidentify-templates-patch/">Deidentify Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_inspect-templates-create/">Inspect Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_inspect-templates-delete/">Inspect Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_inspect-templates-get/">Inspect Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_inspect-templates-list/">Inspect Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_inspect-templates-patch/">Inspect Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-column-data-profiles-get/">Locations Column Data Profiles Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-column-data-profiles-list/">Locations Column Data Profiles List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-deidentify-templates-create/">Locations Deidentify Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-deidentify-templates-delete/">Locations Deidentify Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-deidentify-templates-get/">Locations Deidentify Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-deidentify-templates-list/">Locations Deidentify Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-deidentify-templates-patch/">Locations Deidentify Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-discovery-configs-create/">Locations Discovery Configs Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-discovery-configs-delete/">Locations Discovery Configs Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-discovery-configs-get/">Locations Discovery Configs Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-discovery-configs-list/">Locations Discovery Configs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-discovery-configs-patch/">Locations Discovery Configs Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-dlp-jobs-list/">Locations Dlp Jobs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-inspect-templates-create/">Locations Inspect Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-inspect-templates-delete/">Locations Inspect Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-inspect-templates-get/">Locations Inspect Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-inspect-templates-list/">Locations Inspect Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-inspect-templates-patch/">Locations Inspect Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-job-triggers-create/">Locations Job Triggers Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-job-triggers-delete/">Locations Job Triggers Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-job-triggers-get/">Locations Job Triggers Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-job-triggers-list/">Locations Job Triggers List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-job-triggers-patch/">Locations Job Triggers Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-project-data-profiles-get/">Locations Project Data Profiles Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-project-data-profiles-list/">Locations Project Data Profiles List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-stored-info-types-create/">Locations Stored Info Types Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-stored-info-types-delete/">Locations Stored Info Types Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-stored-info-types-get/">Locations Stored Info Types Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-stored-info-types-list/">Locations Stored Info Types List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-stored-info-types-patch/">Locations Stored Info Types Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-table-data-profiles-get/">Locations Table Data Profiles Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_locations-table-data-profiles-list/">Locations Table Data Profiles List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_stored-info-types-create/">Stored Info Types Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_stored-info-types-delete/">Stored Info Types Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_stored-info-types-get/">Stored Info Types Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_stored-info-types-list/">Stored Info Types List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="organizations_stored-info-types-patch/">Stored Info Types Patch</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Projects</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_content-deidentify/">Content Deidentify</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_content-inspect/">Content Inspect</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_content-reidentify/">Content Reidentify</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_deidentify-templates-create/">Deidentify Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_deidentify-templates-delete/">Deidentify Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_deidentify-templates-get/">Deidentify Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_deidentify-templates-list/">Deidentify Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_deidentify-templates-patch/">Deidentify Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_dlp-jobs-cancel/">Dlp Jobs Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_dlp-jobs-create/">Dlp Jobs Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_dlp-jobs-delete/">Dlp Jobs Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_dlp-jobs-get/">Dlp Jobs Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_dlp-jobs-list/">Dlp Jobs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_image-redact/">Image Redact</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_inspect-templates-create/">Inspect Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_inspect-templates-delete/">Inspect Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_inspect-templates-get/">Inspect Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_inspect-templates-list/">Inspect Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_inspect-templates-patch/">Inspect Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_job-triggers-activate/">Job Triggers Activate</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_job-triggers-create/">Job Triggers Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_job-triggers-delete/">Job Triggers Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_job-triggers-get/">Job Triggers Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_job-triggers-list/">Job Triggers List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_job-triggers-patch/">Job Triggers Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-column-data-profiles-get/">Locations Column Data Profiles Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-column-data-profiles-list/">Locations Column Data Profiles List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-content-deidentify/">Locations Content Deidentify</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-content-inspect/">Locations Content Inspect</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-content-reidentify/">Locations Content Reidentify</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-deidentify-templates-create/">Locations Deidentify Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-deidentify-templates-delete/">Locations Deidentify Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-deidentify-templates-get/">Locations Deidentify Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-deidentify-templates-list/">Locations Deidentify Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-deidentify-templates-patch/">Locations Deidentify Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-discovery-configs-create/">Locations Discovery Configs Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-discovery-configs-delete/">Locations Discovery Configs Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-discovery-configs-get/">Locations Discovery Configs Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-discovery-configs-list/">Locations Discovery Configs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-discovery-configs-patch/">Locations Discovery Configs Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-cancel/">Locations Dlp Jobs Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-create/">Locations Dlp Jobs Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-delete/">Locations Dlp Jobs Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-finish/">Locations Dlp Jobs Finish</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-get/">Locations Dlp Jobs Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-hybrid-inspect/">Locations Dlp Jobs Hybrid Inspect</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-dlp-jobs-list/">Locations Dlp Jobs List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-image-redact/">Locations Image Redact</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-inspect-templates-create/">Locations Inspect Templates Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-inspect-templates-delete/">Locations Inspect Templates Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-inspect-templates-get/">Locations Inspect Templates Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-inspect-templates-list/">Locations Inspect Templates List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-inspect-templates-patch/">Locations Inspect Templates Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-activate/">Locations Job Triggers Activate</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-create/">Locations Job Triggers Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-delete/">Locations Job Triggers Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-get/">Locations Job Triggers Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-hybrid-inspect/">Locations Job Triggers Hybrid Inspect</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-list/">Locations Job Triggers List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-job-triggers-patch/">Locations Job Triggers Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-project-data-profiles-get/">Locations Project Data Profiles Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-project-data-profiles-list/">Locations Project Data Profiles List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-stored-info-types-create/">Locations Stored Info Types Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-stored-info-types-delete/">Locations Stored Info Types Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-stored-info-types-get/">Locations Stored Info Types Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-stored-info-types-list/">Locations Stored Info Types List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-stored-info-types-patch/">Locations Stored Info Types Patch</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-table-data-profiles-get/">Locations Table Data Profiles Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_locations-table-data-profiles-list/">Locations Table Data Profiles List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_stored-info-types-create/">Stored Info Types Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_stored-info-types-delete/">Stored Info Types Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_stored-info-types-get/">Stored Info Types Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_stored-info-types-list/">Stored Info Types List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="projects_stored-info-types-patch/">Stored Info Types Patch</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href=".">DLP v5.0.4+20240225</a>
|
|
|
|
</nav>
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href="." class="icon icon-home" alt="Docs"></a> »</li>
|
|
<li>Home</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2-cli/edit/master/docs/index.md"
|
|
class="icon icon-github"> Edit on GitHub</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div class="section" itemprop="articleBody">
|
|
|
|
<!---
|
|
DO NOT EDIT !
|
|
This file was generated automatically from 'src/generator/templates/cli/README.md.mako'
|
|
DO NOT EDIT !
|
|
-->
|
|
<p>The <code>dlp2</code> command-line interface <em>(CLI)</em> allows to use most features of the <em>Google DLP</em> service from the comfort of your terminal.</p>
|
|
<p>By default all output is printed to standard out, but flags can be set to direct it into a file independent of your shell's
|
|
capabilities. Errors will be printed to standard error, and cause the program's exit code to be non-zero.</p>
|
|
<p>If data-structures are requested, these will be returned as pretty-printed JSON, to be useful as input to other tools.</p>
|
|
<p>Everything else about the <em>DLP</em> API can be found at the
|
|
<a href="https://cloud.google.com/sensitive-data-protection/docs/">official documentation site</a>.</p>
|
|
<h1 id="installation-and-source-code">Installation and Source Code</h1>
|
|
<p>Install the command-line interface with cargo using:</p>
|
|
<pre><code class="language-bash">cargo install google-dlp2-cli
|
|
</code></pre>
|
|
<p>Find the source code <a href="https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2-cli">on github</a>.</p>
|
|
<h1 id="usage">Usage</h1>
|
|
<p>This documentation was generated from the <em>DLP</em> API at revision <em>20240225</em>. The CLI is at version <em>5.0.4</em>.</p>
|
|
<pre><code class="language-bash">dlp2 [options]
|
|
info-types
|
|
list [-p <v>]... [-o <out>]
|
|
locations
|
|
info-types-list <parent> [-p <v>]... [-o <out>]
|
|
organizations
|
|
deidentify-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
deidentify-templates-delete <name> [-p <v>]... [-o <out>]
|
|
deidentify-templates-get <name> [-p <v>]... [-o <out>]
|
|
deidentify-templates-list <parent> [-p <v>]... [-o <out>]
|
|
deidentify-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
inspect-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
inspect-templates-delete <name> [-p <v>]... [-o <out>]
|
|
inspect-templates-get <name> [-p <v>]... [-o <out>]
|
|
inspect-templates-list <parent> [-p <v>]... [-o <out>]
|
|
inspect-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-column-data-profiles-get <name> [-p <v>]... [-o <out>]
|
|
locations-column-data-profiles-list <parent> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-delete <name> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-get <name> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-list <parent> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-delete <name> [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-get <name> [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-list <parent> [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-list <parent> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-delete <name> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-get <name> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-list <parent> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-job-triggers-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-job-triggers-delete <name> [-p <v>]... [-o <out>]
|
|
locations-job-triggers-get <name> [-p <v>]... [-o <out>]
|
|
locations-job-triggers-list <parent> [-p <v>]... [-o <out>]
|
|
locations-job-triggers-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-project-data-profiles-get <name> [-p <v>]... [-o <out>]
|
|
locations-project-data-profiles-list <parent> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-delete <name> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-get <name> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-list <parent> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-table-data-profiles-get <name> [-p <v>]... [-o <out>]
|
|
locations-table-data-profiles-list <parent> [-p <v>]... [-o <out>]
|
|
stored-info-types-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
stored-info-types-delete <name> [-p <v>]... [-o <out>]
|
|
stored-info-types-get <name> [-p <v>]... [-o <out>]
|
|
stored-info-types-list <parent> [-p <v>]... [-o <out>]
|
|
stored-info-types-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
projects
|
|
content-deidentify <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
content-inspect <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
content-reidentify <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
deidentify-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
deidentify-templates-delete <name> [-p <v>]... [-o <out>]
|
|
deidentify-templates-get <name> [-p <v>]... [-o <out>]
|
|
deidentify-templates-list <parent> [-p <v>]... [-o <out>]
|
|
deidentify-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
dlp-jobs-cancel <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
dlp-jobs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
dlp-jobs-delete <name> [-p <v>]... [-o <out>]
|
|
dlp-jobs-get <name> [-p <v>]... [-o <out>]
|
|
dlp-jobs-list <parent> [-p <v>]... [-o <out>]
|
|
image-redact <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
inspect-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
inspect-templates-delete <name> [-p <v>]... [-o <out>]
|
|
inspect-templates-get <name> [-p <v>]... [-o <out>]
|
|
inspect-templates-list <parent> [-p <v>]... [-o <out>]
|
|
inspect-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
job-triggers-activate <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
job-triggers-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
job-triggers-delete <name> [-p <v>]... [-o <out>]
|
|
job-triggers-get <name> [-p <v>]... [-o <out>]
|
|
job-triggers-list <parent> [-p <v>]... [-o <out>]
|
|
job-triggers-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-column-data-profiles-get <name> [-p <v>]... [-o <out>]
|
|
locations-column-data-profiles-list <parent> [-p <v>]... [-o <out>]
|
|
locations-content-deidentify <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-content-inspect <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-content-reidentify <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-delete <name> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-get <name> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-list <parent> [-p <v>]... [-o <out>]
|
|
locations-deidentify-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-delete <name> [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-get <name> [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-list <parent> [-p <v>]... [-o <out>]
|
|
locations-discovery-configs-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-cancel <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-delete <name> [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-finish <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-get <name> [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-hybrid-inspect <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-dlp-jobs-list <parent> [-p <v>]... [-o <out>]
|
|
locations-image-redact <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-delete <name> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-get <name> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-list <parent> [-p <v>]... [-o <out>]
|
|
locations-inspect-templates-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-job-triggers-activate <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-job-triggers-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-job-triggers-delete <name> [-p <v>]... [-o <out>]
|
|
locations-job-triggers-get <name> [-p <v>]... [-o <out>]
|
|
locations-job-triggers-hybrid-inspect <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-job-triggers-list <parent> [-p <v>]... [-o <out>]
|
|
locations-job-triggers-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-project-data-profiles-get <name> [-p <v>]... [-o <out>]
|
|
locations-project-data-profiles-list <parent> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-delete <name> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-get <name> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-list <parent> [-p <v>]... [-o <out>]
|
|
locations-stored-info-types-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
locations-table-data-profiles-get <name> [-p <v>]... [-o <out>]
|
|
locations-table-data-profiles-list <parent> [-p <v>]... [-o <out>]
|
|
stored-info-types-create <parent> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
stored-info-types-delete <name> [-p <v>]... [-o <out>]
|
|
stored-info-types-get <name> [-p <v>]... [-o <out>]
|
|
stored-info-types-list <parent> [-p <v>]... [-o <out>]
|
|
stored-info-types-patch <name> (-r <kv>)... [-p <v>]... [-o <out>]
|
|
dlp2 --help
|
|
|
|
Configuration:
|
|
[--scope <url>]...
|
|
Specify the authentication a method should be executed in. Each scope
|
|
requires the user to grant this application permission to use it.
|
|
If unset, it defaults to the shortest scope url for a particular method.
|
|
--config-dir <folder>
|
|
A directory into which we will store our persistent data. Defaults to
|
|
a user-writable directory that we will create during the first invocation.
|
|
[default: ~/.google-service-cli]
|
|
|
|
</code></pre>
|
|
<h1 id="configuration">Configuration</h1>
|
|
<p>The program will store all persistent data in the <code>~/.google-service-cli</code> directory in <em>JSON</em> files prefixed with <code>dlp2-</code>. You can change the directory used to store configuration with the <code>--config-dir</code> flag on a per-invocation basis.</p>
|
|
<p>More information about the various kinds of persistent data are given in the following paragraphs.</p>
|
|
<h1 id="authentication">Authentication</h1>
|
|
<p>Most APIs require a user to authenticate any request. If this is the case, the <a href="https://developers.google.com/+/api/oauth#scopes">scope</a> determines the
|
|
set of permissions granted. The granularity of these is usually no more than <em>read-only</em> or <em>full-access</em>.</p>
|
|
<p>If not set, the system will automatically select the smallest feasible scope, e.g. when invoking a
|
|
method that is read-only, it will ask only for a read-only scope.
|
|
You may use the <code>--scope</code> flag to specify a scope directly.
|
|
All applicable scopes are documented in the respective method's CLI documentation.</p>
|
|
<p>The first time a scope is used, the user is asked for permission. Follow the instructions given
|
|
by the CLI to grant permissions, or to decline.</p>
|
|
<p>If a scope was authenticated by the user, the respective information will be stored as <em>JSON</em> in the configuration
|
|
directory, e.g. <code>~/.google-service-cli/dlp2-token-<scope-hash>.json</code>. No manual management of these tokens
|
|
is necessary.</p>
|
|
<p>To revoke granted authentication, please refer to the <a href="http://webapps.stackexchange.com/a/30849">official documentation</a>.</p>
|
|
<h1 id="application-secrets">Application Secrets</h1>
|
|
<p>In order to allow any application to use Google services, it will need to be registered using the
|
|
<a href="https://console.developers.google.com/">Google Developer Console</a>. APIs the application may use are then enabled for it
|
|
one by one. Most APIs can be used for free and have a daily quota.</p>
|
|
<p>To allow more comfortable usage of the CLI without forcing anyone to register an own application, the CLI
|
|
comes with a default application secret that is configured accordingly. This also means that heavy usage
|
|
all around the world may deplete the daily quota.</p>
|
|
<p>You can workaround this limitation by putting your own secrets file at this location:
|
|
<code>~/.google-service-cli/dlp2-secret.json</code>, assuming that the required <em>dlp</em> API
|
|
was enabled for it. Such a secret file can be downloaded in the <em>Google Developer Console</em> at
|
|
<em>APIs & auth -> Credentials -> Download JSON</em> and used as is.</p>
|
|
<p>Learn more about how to setup Google projects and enable APIs using the <a href="https://developers.google.com/console/help/new/">official documentation</a>.</p>
|
|
<h1 id="debugging">Debugging</h1>
|
|
<p>Even though the CLI does its best to provide usable error messages, sometimes it might be desirable to know
|
|
what exactly led to a particular issue. This is done by allowing all client-server communication to be
|
|
output to standard error <em>as-is</em>.</p>
|
|
<p>The <code>--debug</code> flag will print errors using the <code>Debug</code> representation to standard error.</p>
|
|
<p>You may consider redirecting standard error into a file for ease of use, e.g. <code>dlp2 --debug <resource> <method> [options] 2>debug.txt</code>.</p>
|
|
|
|
</div>
|
|
</div><footer>
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
|
|
<a href="info-types_list/" class="btn btn-neutral float-right" title="List">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<!-- Copyright etc -->
|
|
<p>Copyright © 2015-2020, `Sebastian Thiel`</p>
|
|
</div>
|
|
|
|
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="rst-versions" role="note" aria-label="Versions">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
|
<span>
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
|
|
|
|
|
|
<span><a href="info-types_list/" style="color: #fcfcfc">Next »</a></span>
|
|
|
|
</span>
|
|
</div>
|
|
<script>var base_url = '.';</script>
|
|
<script src="js/theme_extra.js" defer></script>
|
|
<script src="js/theme.js" defer></script>
|
|
<script src="search/main.js" defer></script>
|
|
<script defer>
|
|
window.onload = function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
};
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
<!--
|
|
MkDocs version : 1.3.1
|
|
Build Date UTC : 2024-03-05 20:05:02.606282+00:00
|
|
-->
|