Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

feat: added deidentify replacement dictionaries #722

Merged
merged 2 commits into from Dec 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -2733,9 +2733,7 @@ public final UnaryCallable<UpdateJobTriggerRequest, JobTrigger> updateJobTrigger
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a trigger. The inspection will be processed
* asynchronously. To review the findings monitor the jobs within the trigger. Early access
* feature is in a pre-release state and might change or have limited support. For more
* information, see https://cloud.google.com/products#product-launch-stages.
* asynchronously. To review the findings monitor the jobs within the trigger.
*
* <p>Sample code:
*
Expand All @@ -2761,9 +2759,7 @@ public final HybridInspectResponse hybridInspectJobTrigger(JobTriggerName name)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a trigger. The inspection will be processed
* asynchronously. To review the findings monitor the jobs within the trigger. Early access
* feature is in a pre-release state and might change or have limited support. For more
* information, see https://cloud.google.com/products#product-launch-stages.
* asynchronously. To review the findings monitor the jobs within the trigger.
*
* <p>Sample code:
*
Expand All @@ -2787,9 +2783,7 @@ public final HybridInspectResponse hybridInspectJobTrigger(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a trigger. The inspection will be processed
* asynchronously. To review the findings monitor the jobs within the trigger. Early access
* feature is in a pre-release state and might change or have limited support. For more
* information, see https://cloud.google.com/products#product-launch-stages.
* asynchronously. To review the findings monitor the jobs within the trigger.
*
* <p>Sample code:
*
Expand All @@ -2816,9 +2810,7 @@ public final HybridInspectResponse hybridInspectJobTrigger(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a trigger. The inspection will be processed
* asynchronously. To review the findings monitor the jobs within the trigger. Early access
* feature is in a pre-release state and might change or have limited support. For more
* information, see https://cloud.google.com/products#product-launch-stages.
* asynchronously. To review the findings monitor the jobs within the trigger.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3051,6 +3043,7 @@ public final ListJobTriggersPagedResponse listJobTriggers(String parent) {
* .setPageSize(883849137)
* .setOrderBy("orderBy-1207110587")
* .setFilter("filter-1274492040")
* .setType(DlpJobType.forNumber(0))
* .setLocationId("locationId1541836720")
* .build();
* for (JobTrigger element : dlpServiceClient.listJobTriggers(request).iterateAll()) {
Expand Down Expand Up @@ -3081,6 +3074,7 @@ public final ListJobTriggersPagedResponse listJobTriggers(ListJobTriggersRequest
* .setPageSize(883849137)
* .setOrderBy("orderBy-1207110587")
* .setFilter("filter-1274492040")
* .setType(DlpJobType.forNumber(0))
* .setLocationId("locationId1541836720")
* .build();
* ApiFuture<JobTrigger> future =
Expand Down Expand Up @@ -3112,6 +3106,7 @@ public final ListJobTriggersPagedResponse listJobTriggers(ListJobTriggersRequest
* .setPageSize(883849137)
* .setOrderBy("orderBy-1207110587")
* .setFilter("filter-1274492040")
* .setType(DlpJobType.forNumber(0))
* .setLocationId("locationId1541836720")
* .build();
* while (true) {
Expand Down Expand Up @@ -3309,7 +3304,7 @@ public final UnaryCallable<ActivateJobTriggerRequest, DlpJob> activateJobTrigger
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
* @param inspectJob Set to control what and how to inspect.
* @param inspectJob An inspection job scans a storage repository for InfoTypes.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DlpJob createDlpJob(LocationName parent, InspectJobConfig inspectJob) {
Expand Down Expand Up @@ -3351,7 +3346,8 @@ public final DlpJob createDlpJob(LocationName parent, InspectJobConfig inspectJo
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
* @param riskJob Set to choose what metric to calculate.
* @param riskJob A risk analysis job calculates re-identification risk metrics for a BigQuery
* table.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DlpJob createDlpJob(LocationName parent, RiskAnalysisJobConfig riskJob) {
Expand Down Expand Up @@ -3393,7 +3389,7 @@ public final DlpJob createDlpJob(LocationName parent, RiskAnalysisJobConfig risk
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
* @param inspectJob Set to control what and how to inspect.
* @param inspectJob An inspection job scans a storage repository for InfoTypes.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DlpJob createDlpJob(ProjectName parent, InspectJobConfig inspectJob) {
Expand Down Expand Up @@ -3435,7 +3431,8 @@ public final DlpJob createDlpJob(ProjectName parent, InspectJobConfig inspectJob
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
* @param riskJob Set to choose what metric to calculate.
* @param riskJob A risk analysis job calculates re-identification risk metrics for a BigQuery
* table.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DlpJob createDlpJob(ProjectName parent, RiskAnalysisJobConfig riskJob) {
Expand Down Expand Up @@ -3477,7 +3474,7 @@ public final DlpJob createDlpJob(ProjectName parent, RiskAnalysisJobConfig riskJ
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
* @param inspectJob Set to control what and how to inspect.
* @param inspectJob An inspection job scans a storage repository for InfoTypes.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DlpJob createDlpJob(String parent, InspectJobConfig inspectJob) {
Expand Down Expand Up @@ -3516,7 +3513,8 @@ public final DlpJob createDlpJob(String parent, InspectJobConfig inspectJob) {
* <p>The following example `parent` string specifies a parent project with the identifier
* `example-project`, and specifies the `europe-west3` location for processing data:
* <p>parent=projects/example-project/locations/europe-west3
* @param riskJob Set to choose what metric to calculate.
* @param riskJob A risk analysis job calculates re-identification risk metrics for a BigQuery
* table.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final DlpJob createDlpJob(String parent, RiskAnalysisJobConfig riskJob) {
Expand Down Expand Up @@ -4976,10 +4974,8 @@ public final UnaryCallable<DeleteStoredInfoTypeRequest, Empty> deleteStoredInfoT

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a job. To review the findings inspect the job.
* Inspection will occur asynchronously. Early access feature is in a pre-release state and might
* change or have limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* Inspect hybrid content and store findings to a job. To review the findings, inspect the job.
* Inspection will occur asynchronously.
*
* <p>Sample code:
*
Expand All @@ -5004,10 +5000,8 @@ public final HybridInspectResponse hybridInspectDlpJob(DlpJobName name) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a job. To review the findings inspect the job.
* Inspection will occur asynchronously. Early access feature is in a pre-release state and might
* change or have limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* Inspect hybrid content and store findings to a job. To review the findings, inspect the job.
* Inspection will occur asynchronously.
*
* <p>Sample code:
*
Expand All @@ -5030,10 +5024,8 @@ public final HybridInspectResponse hybridInspectDlpJob(String name) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a job. To review the findings inspect the job.
* Inspection will occur asynchronously. Early access feature is in a pre-release state and might
* change or have limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* Inspect hybrid content and store findings to a job. To review the findings, inspect the job.
* Inspection will occur asynchronously.
*
* <p>Sample code:
*
Expand All @@ -5057,10 +5049,8 @@ public final HybridInspectResponse hybridInspectDlpJob(HybridInspectDlpJobReques

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Inspect hybrid content and store findings to a job. To review the findings inspect the job.
* Inspection will occur asynchronously. Early access feature is in a pre-release state and might
* change or have limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* Inspect hybrid content and store findings to a job. To review the findings, inspect the job.
* Inspection will occur asynchronously.
*
* <p>Sample code:
*
Expand All @@ -5086,9 +5076,7 @@ public final HybridInspectResponse hybridInspectDlpJob(HybridInspectDlpJobReques
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled
* actions that have not yet run. Early access feature is in a pre-release state and might change
* or have limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* actions that have not yet run.
*
* <p>Sample code:
*
Expand All @@ -5112,9 +5100,7 @@ public final void finishDlpJob(FinishDlpJobRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled
* actions that have not yet run. Early access feature is in a pre-release state and might change
* or have limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* actions that have not yet run.
*
* <p>Sample code:
*
Expand Down
Expand Up @@ -1938,9 +1938,6 @@ public void updateJobTrigger(
* Inspect hybrid content and store findings to a trigger. The inspection
* will be processed asynchronously. To review the findings monitor the
* jobs within the trigger.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public void hybridInspectJobTrigger(
Expand Down Expand Up @@ -2186,11 +2183,8 @@ public void deleteStoredInfoType(
*
* <pre>
* Inspect hybrid content and store findings to a job.
* To review the findings inspect the job. Inspection will occur
* To review the findings, inspect the job. Inspection will occur
* asynchronously.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public void hybridInspectDlpJob(
Expand All @@ -2207,9 +2201,6 @@ public void hybridInspectDlpJob(
* <pre>
* Finish a running hybrid DlpJob. Triggers the finalization steps and running
* of any enabled actions that have not yet run.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public void finishDlpJob(
Expand Down Expand Up @@ -2805,9 +2796,6 @@ public void updateJobTrigger(
* Inspect hybrid content and store findings to a trigger. The inspection
* will be processed asynchronously. To review the findings monitor the
* jobs within the trigger.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public void hybridInspectJobTrigger(
Expand Down Expand Up @@ -3082,11 +3070,8 @@ public void deleteStoredInfoType(
*
* <pre>
* Inspect hybrid content and store findings to a job.
* To review the findings inspect the job. Inspection will occur
* To review the findings, inspect the job. Inspection will occur
* asynchronously.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public void hybridInspectDlpJob(
Expand All @@ -3105,9 +3090,6 @@ public void hybridInspectDlpJob(
* <pre>
* Finish a running hybrid DlpJob. Triggers the finalization steps and running
* of any enabled actions that have not yet run.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public void finishDlpJob(
Expand Down Expand Up @@ -3417,9 +3399,6 @@ public com.google.privacy.dlp.v2.JobTrigger updateJobTrigger(
* Inspect hybrid content and store findings to a trigger. The inspection
* will be processed asynchronously. To review the findings monitor the
* jobs within the trigger.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectJobTrigger(
Expand Down Expand Up @@ -3647,11 +3626,8 @@ public com.google.protobuf.Empty deleteStoredInfoType(
*
* <pre>
* Inspect hybrid content and store findings to a job.
* To review the findings inspect the job. Inspection will occur
* To review the findings, inspect the job. Inspection will occur
* asynchronously.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob(
Expand All @@ -3666,9 +3642,6 @@ public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob(
* <pre>
* Finish a running hybrid DlpJob. Triggers the finalization steps and running
* of any enabled actions that have not yet run.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public com.google.protobuf.Empty finishDlpJob(
Expand Down Expand Up @@ -3990,9 +3963,6 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
* Inspect hybrid content and store findings to a trigger. The inspection
* will be processed asynchronously. To review the findings monitor the
* jobs within the trigger.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down Expand Up @@ -4227,11 +4197,8 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*
* <pre>
* Inspect hybrid content and store findings to a job.
* To review the findings inspect the job. Inspection will occur
* To review the findings, inspect the job. Inspection will occur
* asynchronously.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand All @@ -4247,9 +4214,6 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
* <pre>
* Finish a running hybrid DlpJob. Triggers the finalization steps and running
* of any enabled actions that have not yet run.
* Early access feature is in a pre-release state and might change or have
* limited support. For more information, see
* https://cloud.google.com/products#product-launch-stages.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Expand Down
Expand Up @@ -2138,11 +2138,11 @@ public interface PublishFindingsToCloudDataCatalogOrBuilder
*
*
* <pre>
* Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
* Publish findings of a DlpJob to Data Catalog. Labels summarizing the
* results of the DlpJob will be applied to the entry for the resource scanned
* in Cloud Data Catalog. Any labels previously written by another DlpJob will
* in Data Catalog. Any labels previously written by another DlpJob will
* be deleted. InfoType naming patterns are strictly enforced when using this
* feature. Note that the findings will be persisted in Cloud Data Catalog
* feature. Note that the findings will be persisted in Data Catalog
* storage and are governed by Data Catalog service-specific policy, see
* https://cloud.google.com/terms/service-terms
* Only a single instance of this action can be specified and only allowed if
Expand Down Expand Up @@ -2386,11 +2386,11 @@ protected Builder newBuilderForType(
*
*
* <pre>
* Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
* Publish findings of a DlpJob to Data Catalog. Labels summarizing the
* results of the DlpJob will be applied to the entry for the resource scanned
* in Cloud Data Catalog. Any labels previously written by another DlpJob will
* in Data Catalog. Any labels previously written by another DlpJob will
* be deleted. InfoType naming patterns are strictly enforced when using this
* feature. Note that the findings will be persisted in Cloud Data Catalog
* feature. Note that the findings will be persisted in Data Catalog
* storage and are governed by Data Catalog service-specific policy, see
* https://cloud.google.com/terms/service-terms
* Only a single instance of this action can be specified and only allowed if
Expand Down