@@ -5,7 +5,7 @@ Google Data Loss Prevention Python Samples
5
5
===============================================================================
6
6
7
7
.. image :: https://gstatic.com/cloudssh/images/open-btn.png
8
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp /README.rst
8
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets /README.rst
9
9
10
10
11
11
This directory contains samples for Google Data Loss Prevention. `Google Data Loss Prevention `_ provides programmatic access to a powerful detection engine for personally identifiable information and other privacy-sensitive data in unstructured data streams.
@@ -37,11 +37,12 @@ credentials for applications.
37
37
Install Dependencies
38
38
++++++++++++++++++++
39
39
40
- #. Clone python-docs-samples and change directory to the sample directory you want to use.
40
+ #. Clone python-dlp and change directory to the sample directory you want to use.
41
41
42
42
.. code-block :: bash
43
43
44
- $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
44
+ $ git clone https://github.com/googleapis/python-dlp.git
45
+ $ cd samples/snippets
45
46
46
47
#. Install `pip `_ and `virtualenv `_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide `_ for Google Cloud Platform for instructions.
47
48
@@ -77,7 +78,7 @@ Quickstart
77
78
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
78
79
79
80
.. image :: https://gstatic.com/cloudssh/images/open-btn.png
80
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ quickstart.py,dlp /README.rst
81
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ quickstart.py,samples/snippets /README.rst
81
82
82
83
83
84
@@ -95,7 +96,7 @@ Inspect Content
95
96
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
96
97
97
98
.. image :: https://gstatic.com/cloudssh/images/open-btn.png
98
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ inspect_content.py,dlp /README.rst
99
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ inspect_content.py,samples/snippets /README.rst
99
100
100
101
101
102
@@ -133,7 +134,7 @@ Redact Content
133
134
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
134
135
135
136
.. image :: https://gstatic.com/cloudssh/images/open-btn.png
136
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ redact.py,dlp /README.rst
137
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ redact.py,samples/snippets /README.rst
137
138
138
139
139
140
@@ -169,7 +170,7 @@ Metadata
169
170
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
170
171
171
172
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
172
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ metadata.py,dlp /README.rst
173
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ metadata.py,samples/snippets /README.rst
173
174
174
175
175
176
202
203
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
203
204
204
205
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
205
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ jobs.py,dlp /README.rst
206
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ jobs.py,samples/snippets /README.rst
206
207
207
208
208
209
@@ -235,7 +236,7 @@ Templates
235
236
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
236
237
237
238
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
238
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ templates.py,dlp /README.rst
239
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ templates.py,samples/snippets /README.rst
239
240
240
241
241
242
@@ -268,7 +269,7 @@ Triggers
268
269
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
269
270
270
271
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
271
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ triggers.py,dlp /README.rst
272
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ triggers.py,samples/snippets /README.rst
272
273
273
274
274
275
@@ -301,7 +302,7 @@ Risk Analysis
301
302
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
302
303
303
304
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
304
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ risk.py,dlp /README.rst
305
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ risk.py,samples/snippets /README.rst
305
306
306
307
307
308
340
341
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
341
342
342
343
.. image:: https://gstatic.com/cloudssh/images/open-btn.png
343
- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform /python-docs-samples &page=editor&open_in_editor=dlp/ deid.py,dlp /README.rst
344
+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis /python-dlp &page=editor&open_in_editor=samples/snippets/ deid.py,samples/snippets /README.rst
344
345
345
346
346
347
0 commit comments