Skip to content

Commit 628d47c

Browse files
committed
Add a link to the info types docs
1 parent 81d2287 commit 628d47c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dlp/custom_infotype.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def omit_name_if_also_email(
4141
# Instantiate a client.
4242
dlp = google.cloud.dlp_v2.DlpServiceClient()
4343

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

4749
# Construct the configuration dictionary that will only match on PERSON_NAME

0 commit comments

Comments
 (0)