Skip to content

Commit

Permalink
add files
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Jul 20, 2018
1 parent 963dc3a commit d2e1b57
Show file tree
Hide file tree
Showing 6 changed files with 547 additions and 2 deletions.
6 changes: 6 additions & 0 deletions dlp/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,16 @@ Windows
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-dlp
Preview
~~~~~~~

DlpServiceClient
^^^^^^^^^^^^^^^^
.. code:: py
from google.cloud import dlp_v2
client = dlp_v2.DlpServiceClient()
name = 'EMAIL_ADDRESS'
info_types_element = {'name': name}
info_types = [info_types_element]
Expand All @@ -76,6 +81,7 @@ DlpServiceClient
value = 'My email is example@example.com.'
items_element = {'type': type_, 'value': value}
items = [items_element]
response = client.inspect_content(inspect_config, items)
Next Steps
Expand Down
2 changes: 1 addition & 1 deletion dlp/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ Api Reference

gapic/v2/api
gapic/v2/types
changelog
changelog
Empty file.

0 comments on commit d2e1b57

Please sign in to comment.