3102486ff151670944bfcf731abdf254bb0fc3c8,dlp/risk.py,,k_anonymity_analysis,#Any#Any#Any#Any#Any#Any#Any#Any#,253
Before Change
quasi_ids = map(map_fields, quasi_ids)
// Tell the API where to send a notification when the job is complete.
actions = [{"pub_sub": {"topic": "{}/topics/{}".format(parent, topic_id) }}]
// Configure risk analysis job
// Give the name of the numeric column to compute risk metrics for
After Change
dlp = google.cloud.dlp_v2.DlpServiceClient()
// Convert the project id into a full resource id.
topic = google.cloud.pubsub.PublisherClient.topic_path(project, topic_id)
parent = dlp.location_path(project, "global")
// Location info of the BigQuery table.
source_table = {
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 6
Instances Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/risk.py
Class Name:
Method Name: k_anonymity_analysis
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/inspect_content.py
Class Name:
Method Name: inspect_gcs_file
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/risk.py
Class Name:
Method Name: categorical_risk_analysis
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/risk.py
Class Name:
Method Name: numerical_risk_analysis
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/risk.py
Class Name:
Method Name: k_map_estimate_analysis
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/risk.py
Class Name:
Method Name: l_diversity_analysis
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/inspect_content.py
Class Name:
Method Name: inspect_bigquery
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 3102486ff151670944bfcf731abdf254bb0fc3c8
Time: 2020-06-03
Author: tmatsuo@google.com
File Name: dlp/inspect_content.py
Class Name:
Method Name: inspect_datastore