Skip to content

Per internal documentation complaint, fix the naming. #1933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dlp/quickstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def quickstart():
project = 'your-project'

# Instantiate a client.
dlp = google.cloud.dlp.DlpServiceClient()
dlp_client = google.cloud.dlp.DlpServiceClient()

# The string to inspect
content = 'Robert Frost'
Expand Down Expand Up @@ -59,10 +59,10 @@ def quickstart():
}

# Convert the project id into a full resource id.
parent = dlp.project_path(project)
parent = dlp_client.project_path(project)

# Call the API.
response = dlp.inspect_content(parent, inspect_config, item)
response = dlp_client.inspect_content(parent, inspect_config, item)

# Print out the results.
if response.result.findings:
Expand Down