Skip to content

Commit

Permalink
Add a link to the info types docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmoo committed Jun 5, 2020
1 parent 81d2287 commit 628d47c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dlp/custom_infotype.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def omit_name_if_also_email(
# Instantiate a client.
dlp = google.cloud.dlp_v2.DlpServiceClient()

# Construct a list of infoTypes for DLP to locate in `content_string`
# Construct a list of infoTypes for DLP to locate in `content_string`. See
# https://cloud.google.com/dlp/docs/concepts-infotypes for more information
# about supported infoTypes.
info_types_to_locate = [{"name": "PERSON_NAME"}, {"name": "EMAIL_ADDRESS"}]

# Construct the configuration dictionary that will only match on PERSON_NAME
Expand Down

0 comments on commit 628d47c

Please sign in to comment.