Skip to content

Commit

Permalink
Update dlp/snippets/inspect_content.py
Browse files Browse the repository at this point in the history
included locations/global in parent path

Co-authored-by: Mike DaCosta <michel.david@gmail.com>
  • Loading branch information
Avani-Thakker-Crest and micheldavid authored Jun 19, 2023
1 parent deec396 commit c08676e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlp/snippets/inspect_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def inspect_column_values_w_custom_hotwords(
}

# Convert the project id into a full resource id.
parent = f"projects/{project}"
parent = f"projects/{project}/locations/global"

# Call the API
response = dlp.inspect_content(
Expand Down

0 comments on commit c08676e

Please sign in to comment.