@google-cloud/dlp 4.2.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  [//]: # "To regenerate it, use `python -m synthtool`."
3
3
  <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
4
4
 
5
- # [Cloud Data Loss Prevention: Node.js Client](https://github.com/googleapis/nodejs-dlp)
5
+ # [Cloud Data Loss Prevention: Node.js Client](https://github.com/googleapis/google-cloud-node)
6
6
 
7
7
  [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
8
8
  [![npm version](https://img.shields.io/npm/v/@google-cloud/dlp.svg)](https://www.npmjs.org/package/@google-cloud/dlp)
@@ -10,17 +10,15 @@
10
10
 
11
11
 
12
12
 
13
- The [Data Loss Prevention API](https://cloud.google.com/dlp/docs/) provides programmatic access to a
14
- powerful detection engine for personally identifiable information and other privacy-sensitive
15
- data in unstructured data streams.
13
+ DLP API client for Node.js
16
14
 
17
15
 
18
16
  A comprehensive list of changes in each version may be found in
19
- [the CHANGELOG](https://github.com/googleapis/nodejs-dlp/blob/main/CHANGELOG.md).
17
+ [the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-privacy-dlp/CHANGELOG.md).
20
18
 
21
19
  * [Cloud Data Loss Prevention Node.js Client API Reference][client-docs]
22
20
  * [Cloud Data Loss Prevention Documentation][product-docs]
23
- * [github.com/googleapis/nodejs-dlp](https://github.com/googleapis/nodejs-dlp)
21
+ * [github.com/googleapis/google-cloud-node/packages/google-privacy-dlp](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-privacy-dlp)
24
22
 
25
23
  Read more about the client libraries for Cloud APIs, including the older
26
24
  Google APIs Client Libraries, in [Client Libraries Explained][explained].
@@ -123,37 +121,46 @@ quickStart();
123
121
 
124
122
  ## Samples
125
123
 
126
- Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dlp/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
124
+ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
127
125
 
128
126
  | Sample | Source Code | Try it |
129
127
  | --------------------------- | --------------------------------- | ------ |
130
- | Categorical Risk Analysis | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/categoricalRiskAnalysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/categoricalRiskAnalysis.js,samples/README.md) |
131
- | Inspect Templates | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/createInspectTemplate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/createInspectTemplate.js,samples/README.md) |
132
- | Job Triggers | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/createTrigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/createTrigger.js,samples/README.md) |
133
- | Deidentify with Date Shift | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deidentifyWithDateShift.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deidentifyWithDateShift.js,samples/README.md) |
134
- | Deidentify with FPE | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deidentifyWithFpe.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deidentifyWithFpe.js,samples/README.md) |
135
- | Deidentify with Mask | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deidentifyWithMask.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deidentifyWithMask.js,samples/README.md) |
136
- | Deidentify with Replacement | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deidentifyWithReplacement.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deidentifyWithReplacement.js,samples/README.md) |
137
- | Delete Inspect Templates | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deleteInspectTemplate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deleteInspectTemplate.js,samples/README.md) |
138
- | Delete Job | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deleteJob.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deleteJob.js,samples/README.md) |
139
- | Delete Trigger | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/deleteTrigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/deleteTrigger.js,samples/README.md) |
140
- | Inspect Bigquery | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/inspectBigQuery.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/inspectBigQuery.js,samples/README.md) |
141
- | Inspect Datastore | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/inspectDatastore.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/inspectDatastore.js,samples/README.md) |
142
- | Inspect File | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/inspectFile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/inspectFile.js,samples/README.md) |
143
- | Inspect GCS File | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/inspectGCSFile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/inspectGCSFile.js,samples/README.md) |
144
- | Inspects strings | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/inspectString.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/inspectString.js,samples/README.md) |
145
- | kAnonymity Analysis | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/kAnonymityAnalysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/kAnonymityAnalysis.js,samples/README.md) |
146
- | kMap Estimation Analysis | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/kMapEstimationAnalysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/kMapEstimationAnalysis.js,samples/README.md) |
147
- | l Diversity Analysis | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/lDiversityAnalysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/lDiversityAnalysis.js,samples/README.md) |
148
- | List Inspect Templates | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/listInspectTemplates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/listInspectTemplates.js,samples/README.md) |
149
- | List jobs | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/listJobs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/listJobs.js,samples/README.md) |
150
- | List Triggers | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/listTriggers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/listTriggers.js,samples/README.md) |
151
- | Metadata | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/metadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/metadata.js,samples/README.md) |
152
- | Numerical Risk Analysis | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/numericalRiskAnalysis.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/numericalRiskAnalysis.js,samples/README.md) |
153
- | Quickstart | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
154
- | Redact Image | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/redactImage.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/redactImage.js,samples/README.md) |
155
- | Redact Text | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/redactText.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/redactText.js,samples/README.md) |
156
- | Reidentify with FPE | [source code](https://github.com/googleapis/nodejs-dlp/blob/main/samples/reidentifyWithFpe.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/reidentifyWithFpe.js,samples/README.md) |
128
+ | Dlp_service.activate_job_trigger | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.activate_job_trigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.activate_job_trigger.js,samples/README.md) |
129
+ | Dlp_service.cancel_dlp_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.cancel_dlp_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.cancel_dlp_job.js,samples/README.md) |
130
+ | Dlp_service.create_deidentify_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_deidentify_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_deidentify_template.js,samples/README.md) |
131
+ | Dlp_service.create_dlp_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_dlp_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_dlp_job.js,samples/README.md) |
132
+ | Dlp_service.create_inspect_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_inspect_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_inspect_template.js,samples/README.md) |
133
+ | Dlp_service.create_job_trigger | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_job_trigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_job_trigger.js,samples/README.md) |
134
+ | Dlp_service.create_stored_info_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_stored_info_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.create_stored_info_type.js,samples/README.md) |
135
+ | Dlp_service.deidentify_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.deidentify_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.deidentify_content.js,samples/README.md) |
136
+ | Dlp_service.delete_deidentify_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_deidentify_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_deidentify_template.js,samples/README.md) |
137
+ | Dlp_service.delete_dlp_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_dlp_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_dlp_job.js,samples/README.md) |
138
+ | Dlp_service.delete_inspect_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_inspect_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_inspect_template.js,samples/README.md) |
139
+ | Dlp_service.delete_job_trigger | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_job_trigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_job_trigger.js,samples/README.md) |
140
+ | Dlp_service.delete_stored_info_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_stored_info_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.delete_stored_info_type.js,samples/README.md) |
141
+ | Dlp_service.finish_dlp_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.finish_dlp_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.finish_dlp_job.js,samples/README.md) |
142
+ | Dlp_service.get_deidentify_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_deidentify_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_deidentify_template.js,samples/README.md) |
143
+ | Dlp_service.get_dlp_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_dlp_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_dlp_job.js,samples/README.md) |
144
+ | Dlp_service.get_inspect_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_inspect_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_inspect_template.js,samples/README.md) |
145
+ | Dlp_service.get_job_trigger | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_job_trigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_job_trigger.js,samples/README.md) |
146
+ | Dlp_service.get_stored_info_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_stored_info_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.get_stored_info_type.js,samples/README.md) |
147
+ | Dlp_service.hybrid_inspect_dlp_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.hybrid_inspect_dlp_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.hybrid_inspect_dlp_job.js,samples/README.md) |
148
+ | Dlp_service.hybrid_inspect_job_trigger | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.hybrid_inspect_job_trigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.hybrid_inspect_job_trigger.js,samples/README.md) |
149
+ | Dlp_service.inspect_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.inspect_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.inspect_content.js,samples/README.md) |
150
+ | Dlp_service.list_deidentify_templates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_deidentify_templates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_deidentify_templates.js,samples/README.md) |
151
+ | Dlp_service.list_dlp_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_dlp_jobs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_dlp_jobs.js,samples/README.md) |
152
+ | Dlp_service.list_info_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_info_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_info_types.js,samples/README.md) |
153
+ | Dlp_service.list_inspect_templates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_inspect_templates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_inspect_templates.js,samples/README.md) |
154
+ | Dlp_service.list_job_triggers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_job_triggers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_job_triggers.js,samples/README.md) |
155
+ | Dlp_service.list_stored_info_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_stored_info_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_stored_info_types.js,samples/README.md) |
156
+ | Dlp_service.redact_image | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.redact_image.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.redact_image.js,samples/README.md) |
157
+ | Dlp_service.reidentify_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.reidentify_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.reidentify_content.js,samples/README.md) |
158
+ | Dlp_service.update_deidentify_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_deidentify_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_deidentify_template.js,samples/README.md) |
159
+ | Dlp_service.update_inspect_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_inspect_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_inspect_template.js,samples/README.md) |
160
+ | Dlp_service.update_job_trigger | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_job_trigger.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_job_trigger.js,samples/README.md) |
161
+ | Dlp_service.update_stored_info_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_stored_info_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/generated/v2/dlp_service.update_stored_info_type.js,samples/README.md) |
162
+ | Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/quickstart.js,samples/README.md) |
163
+ | Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-privacy-dlp/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-privacy-dlp/samples/test/quickstart.test.js,samples/README.md) |
157
164
 
158
165
 
159
166
 
@@ -203,7 +210,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
203
210
 
204
211
  ## Contributing
205
212
 
206
- Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-dlp/blob/main/CONTRIBUTING.md).
213
+ Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
207
214
 
208
215
  Please note that this `README.md`, the `samples/README.md`,
209
216
  and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -215,7 +222,7 @@ to its templates in
215
222
 
216
223
  Apache Version 2.0
217
224
 
218
- See [LICENSE](https://github.com/googleapis/nodejs-dlp/blob/main/LICENSE)
225
+ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
219
226
 
220
227
  [client-docs]: https://cloud.google.com/nodejs/docs/reference/dlp/latest
221
228
  [product-docs]: https://cloud.google.com/dlp/docs/
@@ -673,6 +673,20 @@ message ExcludeInfoTypes {
673
673
  repeated InfoType info_types = 1;
674
674
  }
675
675
 
676
+ // The rule to exclude findings based on a hotword. For record inspection of
677
+ // tables, column names are considered hotwords. An example of this is to
678
+ // exclude a finding if a BigQuery column matches a specific pattern.
679
+ message ExcludeByHotword {
680
+ // Regular expression pattern defining what qualifies as a hotword.
681
+ CustomInfoType.Regex hotword_regex = 1;
682
+
683
+ // Range of characters within which the entire hotword must reside.
684
+ // The total length of the window cannot exceed 1000 characters.
685
+ // The windowBefore property in proximity should be set to 1 if the hotword
686
+ // needs to be included in a column header.
687
+ CustomInfoType.DetectionRule.Proximity proximity = 2;
688
+ }
689
+
676
690
  // The rule that specifies conditions when findings of infoTypes specified in
677
691
  // `InspectionRuleSet` are removed from results.
678
692
  message ExclusionRule {
@@ -686,6 +700,10 @@ message ExclusionRule {
686
700
 
687
701
  // Set of infoTypes for which findings would affect this rule.
688
702
  ExcludeInfoTypes exclude_info_types = 3;
703
+
704
+ // Drop if the hotword rule is contained in the proximate context. For
705
+ // tabular data, the context includes the column name.
706
+ ExcludeByHotword exclude_by_hotword = 5;
689
707
  }
690
708
 
691
709
  // How the rule is applied, see MatchingType documentation for details.
@@ -862,7 +880,6 @@ message ByteContentItem {
862
880
  bytes data = 2;
863
881
  }
864
882
 
865
- // Container structure for the content to inspect.
866
883
  message ContentItem {
867
884
  // Data of the item either in the byte array or UTF-8 string form, or table.
868
885
  oneof data_item {
@@ -1289,6 +1306,13 @@ message DeidentifyContentRequest {
1289
1306
  InspectConfig inspect_config = 3;
1290
1307
 
1291
1308
  // The item to de-identify. Will be treated as text.
1309
+ //
1310
+ // This value must be of type
1311
+ // [Table][google.privacy.dlp.v2.Table] if your
1312
+ // [deidentify_config][google.privacy.dlp.v2.DeidentifyContentRequest.deidentify_config]
1313
+ // is a
1314
+ // [RecordTransformations][google.privacy.dlp.v2.RecordTransformations]
1315
+ // object.
1292
1316
  ContentItem item = 4;
1293
1317
 
1294
1318
  // Template to use. Any configuration directly specified in
@@ -1705,6 +1729,9 @@ message InfoTypeCategory {
1705
1729
 
1706
1730
  // The infoType is typically used in Google internally.
1707
1731
  INTERNAL = 40;
1732
+
1733
+ // The infoType is typically used in New Zealand.
1734
+ NEW_ZEALAND = 41;
1708
1735
  }
1709
1736
 
1710
1737
  // Enum of the current industries in the category.
@@ -3716,8 +3743,9 @@ message Action {
3716
3743
  // Create a de-identified copy of the input data.
3717
3744
  Deidentify deidentify = 7;
3718
3745
 
3719
- // Enable email notification for project owners and editors on job's
3720
- // completion/failure.
3746
+ // Sends an email when the job completes. The email goes to IAM project
3747
+ // owners and technical [Essential
3748
+ // Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
3721
3749
  JobNotificationEmails job_notification_emails = 8;
3722
3750
 
3723
3751
  // Enable Stackdriver metric dlp.googleapis.com/finding_count.
@@ -5249,6 +5277,7 @@ message TableDataProfile {
5249
5277
  int64 table_size_bytes = 12;
5250
5278
 
5251
5279
  // Number of rows in the table when the profile was generated.
5280
+ // This will not be populated for BigLake tables.
5252
5281
  int64 row_count = 13;
5253
5282
 
5254
5283
  // How the table is encrypted.
@@ -5292,9 +5321,8 @@ message InfoTypeSummary {
5292
5321
  // The infoType.
5293
5322
  InfoType info_type = 1;
5294
5323
 
5295
- // Approximate percentage of non-null rows that contained data detected by
5296
- // this infotype.
5297
- int32 estimated_prevalence = 2;
5324
+ // Not populated for predicted infotypes.
5325
+ int32 estimated_prevalence = 2 [deprecated = true];
5298
5326
  }
5299
5327
 
5300
5328
  // Infotype details for other infoTypes found within a column.
@@ -33,7 +33,7 @@ message InfoType {
33
33
  // creating a CustomInfoType, or one of the names listed
34
34
  // at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
35
35
  // a built-in type. When sending Cloud DLP results to Data Catalog, infoType
36
- // names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
36
+ // names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`.
37
37
  string name = 1;
38
38
 
39
39
  // Optional version name for this InfoType.