diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java index db3addd9..e6fea7af 100644 --- a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java +++ b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/DlpServiceClient.java @@ -2733,9 +2733,7 @@ public final UnaryCallable 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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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()) { @@ -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 future = @@ -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) { @@ -3309,7 +3304,7 @@ public final UnaryCallable activateJobTrigger *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

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) { @@ -3351,7 +3346,8 @@ public final DlpJob createDlpJob(LocationName parent, InspectJobConfig inspectJo *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

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) { @@ -3393,7 +3389,7 @@ public final DlpJob createDlpJob(LocationName parent, RiskAnalysisJobConfig risk *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

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) { @@ -3435,7 +3431,8 @@ public final DlpJob createDlpJob(ProjectName parent, InspectJobConfig inspectJob *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

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) { @@ -3477,7 +3474,7 @@ public final DlpJob createDlpJob(ProjectName parent, RiskAnalysisJobConfig riskJ *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

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) { @@ -3516,7 +3513,8 @@ public final DlpJob createDlpJob(String parent, InspectJobConfig inspectJob) { *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

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) { @@ -4976,10 +4974,8 @@ public final UnaryCallable 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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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. * *

Sample code: * @@ -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. * *

Sample code: * diff --git a/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java b/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java index c02cd619..6f4b5922 100644 --- a/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java +++ b/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java @@ -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. * */ public void hybridInspectJobTrigger( @@ -2186,11 +2183,8 @@ public void deleteStoredInfoType( * *

      * 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.
      * 
*/ public void hybridInspectDlpJob( @@ -2207,9 +2201,6 @@ public void hybridInspectDlpJob( *
      * 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.
      * 
*/ public void finishDlpJob( @@ -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. * */ public void hybridInspectJobTrigger( @@ -3082,11 +3070,8 @@ public void deleteStoredInfoType( * *
      * 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.
      * 
*/ public void hybridInspectDlpJob( @@ -3105,9 +3090,6 @@ public void hybridInspectDlpJob( *
      * 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.
      * 
*/ public void finishDlpJob( @@ -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. * */ public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectJobTrigger( @@ -3647,11 +3626,8 @@ public com.google.protobuf.Empty deleteStoredInfoType( * *
      * 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.
      * 
*/ public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob( @@ -3666,9 +3642,6 @@ public com.google.privacy.dlp.v2.HybridInspectResponse hybridInspectDlpJob( *
      * 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.
      * 
*/ public com.google.protobuf.Empty finishDlpJob( @@ -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. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -4227,11 +4197,8 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * *
      * 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.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -4247,9 +4214,6 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption *
      * 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.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index 9124b2bb..0899a8a0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -2138,11 +2138,11 @@ public interface PublishFindingsToCloudDataCatalogOrBuilder * * *
-   * 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
@@ -2386,11 +2386,11 @@ protected Builder newBuilderForType(
      *
      *
      * 
-     * 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
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
index d39a9041..4be1abc8 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java
@@ -41,6 +41,7 @@ private BigQueryOptions() {
     identifyingFields_ = java.util.Collections.emptyList();
     sampleMethod_ = 0;
     excludedFields_ = java.util.Collections.emptyList();
+    includedFields_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
@@ -126,6 +127,16 @@ private BigQueryOptions(
               rowsLimitPercent_ = input.readInt32();
               break;
             }
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                includedFields_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              includedFields_.add(
+                  input.readMessage(com.google.privacy.dlp.v2.FieldId.parser(), extensionRegistry));
+              break;
+            }
           default:
             {
               if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -146,6 +157,9 @@ private BigQueryOptions(
       if (((mutable_bitField0_ & 0x00000002) != 0)) {
         excludedFields_ = java.util.Collections.unmodifiableList(excludedFields_);
       }
+      if (((mutable_bitField0_ & 0x00000004) != 0)) {
+        includedFields_ = java.util.Collections.unmodifiableList(includedFields_);
+      }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
@@ -593,6 +607,75 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int
     return excludedFields_.get(index);
   }
 
+  public static final int INCLUDED_FIELDS_FIELD_NUMBER = 7;
+  private java.util.List includedFields_;
+  /**
+   *
+   *
+   * 
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + @java.lang.Override + public java.util.List getIncludedFieldsList() { + return includedFields_; + } + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + @java.lang.Override + public java.util.List + getIncludedFieldsOrBuilderList() { + return includedFields_; + } + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + @java.lang.Override + public int getIncludedFieldsCount() { + return includedFields_.size(); + } + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { + return includedFields_.get(index); + } + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index) { + return includedFields_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -627,6 +710,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (rowsLimitPercent_ != 0) { output.writeInt32(6, rowsLimitPercent_); } + for (int i = 0; i < includedFields_.size(); i++) { + output.writeMessage(7, includedFields_.get(i)); + } unknownFields.writeTo(output); } @@ -657,6 +743,9 @@ public int getSerializedSize() { if (rowsLimitPercent_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, rowsLimitPercent_); } + for (int i = 0; i < includedFields_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, includedFields_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -682,6 +771,7 @@ public boolean equals(final java.lang.Object obj) { if (getRowsLimitPercent() != other.getRowsLimitPercent()) return false; if (sampleMethod_ != other.sampleMethod_) return false; if (!getExcludedFieldsList().equals(other.getExcludedFieldsList())) return false; + if (!getIncludedFieldsList().equals(other.getIncludedFieldsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -711,6 +801,10 @@ public int hashCode() { hash = (37 * hash) + EXCLUDED_FIELDS_FIELD_NUMBER; hash = (53 * hash) + getExcludedFieldsList().hashCode(); } + if (getIncludedFieldsCount() > 0) { + hash = (37 * hash) + INCLUDED_FIELDS_FIELD_NUMBER; + hash = (53 * hash) + getIncludedFieldsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -853,6 +947,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIdentifyingFieldsFieldBuilder(); getExcludedFieldsFieldBuilder(); + getIncludedFieldsFieldBuilder(); } } @@ -883,6 +978,12 @@ public Builder clear() { } else { excludedFieldsBuilder_.clear(); } + if (includedFieldsBuilder_ == null) { + includedFields_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + includedFieldsBuilder_.clear(); + } return this; } @@ -937,6 +1038,15 @@ public com.google.privacy.dlp.v2.BigQueryOptions buildPartial() { } else { result.excludedFields_ = excludedFieldsBuilder_.build(); } + if (includedFieldsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + includedFields_ = java.util.Collections.unmodifiableList(includedFields_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.includedFields_ = includedFields_; + } else { + result.includedFields_ = includedFieldsBuilder_.build(); + } onBuilt(); return result; } @@ -1052,6 +1162,33 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.BigQueryOptions other) { } } } + if (includedFieldsBuilder_ == null) { + if (!other.includedFields_.isEmpty()) { + if (includedFields_.isEmpty()) { + includedFields_ = other.includedFields_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureIncludedFieldsIsMutable(); + includedFields_.addAll(other.includedFields_); + } + onChanged(); + } + } else { + if (!other.includedFields_.isEmpty()) { + if (includedFieldsBuilder_.isEmpty()) { + includedFieldsBuilder_.dispose(); + includedFieldsBuilder_ = null; + includedFields_ = other.includedFields_; + bitField0_ = (bitField0_ & ~0x00000004); + includedFieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIncludedFieldsFieldBuilder() + : null; + } else { + includedFieldsBuilder_.addAllMessages(other.includedFields_); + } + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2253,6 +2390,359 @@ public com.google.privacy.dlp.v2.FieldId.Builder addExcludedFieldsBuilder(int in return excludedFieldsBuilder_; } + private java.util.List includedFields_ = + java.util.Collections.emptyList(); + + private void ensureIncludedFieldsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + includedFields_ = + new java.util.ArrayList(includedFields_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + includedFieldsBuilder_; + + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public java.util.List getIncludedFieldsList() { + if (includedFieldsBuilder_ == null) { + return java.util.Collections.unmodifiableList(includedFields_); + } else { + return includedFieldsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public int getIncludedFieldsCount() { + if (includedFieldsBuilder_ == null) { + return includedFields_.size(); + } else { + return includedFieldsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { + if (includedFieldsBuilder_ == null) { + return includedFields_.get(index); + } else { + return includedFieldsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder setIncludedFields(int index, com.google.privacy.dlp.v2.FieldId value) { + if (includedFieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedFieldsIsMutable(); + includedFields_.set(index, value); + onChanged(); + } else { + includedFieldsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder setIncludedFields( + int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + if (includedFieldsBuilder_ == null) { + ensureIncludedFieldsIsMutable(); + includedFields_.set(index, builderForValue.build()); + onChanged(); + } else { + includedFieldsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId value) { + if (includedFieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedFieldsIsMutable(); + includedFields_.add(value); + onChanged(); + } else { + includedFieldsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder addIncludedFields(int index, com.google.privacy.dlp.v2.FieldId value) { + if (includedFieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedFieldsIsMutable(); + includedFields_.add(index, value); + onChanged(); + } else { + includedFieldsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + if (includedFieldsBuilder_ == null) { + ensureIncludedFieldsIsMutable(); + includedFields_.add(builderForValue.build()); + onChanged(); + } else { + includedFieldsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder addIncludedFields( + int index, com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + if (includedFieldsBuilder_ == null) { + ensureIncludedFieldsIsMutable(); + includedFields_.add(index, builderForValue.build()); + onChanged(); + } else { + includedFieldsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder addAllIncludedFields( + java.lang.Iterable values) { + if (includedFieldsBuilder_ == null) { + ensureIncludedFieldsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedFields_); + onChanged(); + } else { + includedFieldsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder clearIncludedFields() { + if (includedFieldsBuilder_ == null) { + includedFields_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + includedFieldsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public Builder removeIncludedFields(int index) { + if (includedFieldsBuilder_ == null) { + ensureIncludedFieldsIsMutable(); + includedFields_.remove(index); + onChanged(); + } else { + includedFieldsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public com.google.privacy.dlp.v2.FieldId.Builder getIncludedFieldsBuilder(int index) { + return getIncludedFieldsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index) { + if (includedFieldsBuilder_ == null) { + return includedFields_.get(index); + } else { + return includedFieldsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public java.util.List + getIncludedFieldsOrBuilderList() { + if (includedFieldsBuilder_ != null) { + return includedFieldsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(includedFields_); + } + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder() { + return getIncludedFieldsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public com.google.privacy.dlp.v2.FieldId.Builder addIncludedFieldsBuilder(int index) { + return getIncludedFieldsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.FieldId.getDefaultInstance()); + } + /** + * + * + *
+     * Limit scanning only to these fields.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + public java.util.List + getIncludedFieldsBuilderList() { + return getIncludedFieldsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder> + getIncludedFieldsFieldBuilder() { + if (includedFieldsBuilder_ == null) { + includedFieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.FieldId, + com.google.privacy.dlp.v2.FieldId.Builder, + com.google.privacy.dlp.v2.FieldIdOrBuilder>( + includedFields_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + includedFields_ = null; + } + return includedFieldsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java index c5d6b920..1c87d1cd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptionsOrBuilder.java @@ -232,4 +232,56 @@ public interface BigQueryOptionsOrBuilder * repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5; */ com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index); + + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + java.util.List getIncludedFieldsList(); + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + com.google.privacy.dlp.v2.FieldId getIncludedFields(int index); + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + int getIncludedFieldsCount(); + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + java.util.List + getIncludedFieldsOrBuilderList(); + /** + * + * + *
+   * Limit scanning only to these fields.
+   * 
+ * + * repeated .google.privacy.dlp.v2.FieldId included_fields = 7; + */ + com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java index f6ece275..eaba63bf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ByteContentItem.java @@ -121,7 +121,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The type of data being sent for inspection.
+   * The type of data being sent for inspection. To learn more, see
+   * [Supported file
+   * types](https://cloud.google.com/dlp/docs/supported-file-types).
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.ByteContentItem.BytesType} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java index 7a95b388..02800160 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java @@ -1422,6 +1422,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet * Max number of bytes to scan from a file. If a scanned file's size is bigger * than this value then the rest of the bytes are omitted. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. *
* * int64 bytes_limit_per_file = 4; @@ -1443,6 +1444,7 @@ public long getBytesLimitPerFile() { * number of bytes scanned is rounded down. Must be between 0 and 100, * inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. *
* * int32 bytes_limit_per_file_percent = 8; @@ -2257,6 +2259,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet * Max number of bytes to scan from a file. If a scanned file's size is bigger * than this value then the rest of the bytes are omitted. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int64 bytes_limit_per_file = 4; @@ -2274,6 +2277,7 @@ public long getBytesLimitPerFile() { * Max number of bytes to scan from a file. If a scanned file's size is bigger * than this value then the rest of the bytes are omitted. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int64 bytes_limit_per_file = 4; @@ -2294,6 +2298,7 @@ public Builder setBytesLimitPerFile(long value) { * Max number of bytes to scan from a file. If a scanned file's size is bigger * than this value then the rest of the bytes are omitted. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int64 bytes_limit_per_file = 4; @@ -2316,6 +2321,7 @@ public Builder clearBytesLimitPerFile() { * number of bytes scanned is rounded down. Must be between 0 and 100, * inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int32 bytes_limit_per_file_percent = 8; @@ -2334,6 +2340,7 @@ public int getBytesLimitPerFilePercent() { * number of bytes scanned is rounded down. Must be between 0 and 100, * inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int32 bytes_limit_per_file_percent = 8; @@ -2355,6 +2362,7 @@ public Builder setBytesLimitPerFilePercent(int value) { * number of bytes scanned is rounded down. Must be between 0 and 100, * inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int32 bytes_limit_per_file_percent = 8; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java index 1ba5c6cf..68a7458b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptionsOrBuilder.java @@ -65,6 +65,7 @@ public interface CloudStorageOptionsOrBuilder * Max number of bytes to scan from a file. If a scanned file's size is bigger * than this value then the rest of the bytes are omitted. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int64 bytes_limit_per_file = 4; @@ -81,6 +82,7 @@ public interface CloudStorageOptionsOrBuilder * number of bytes scanned is rounded down. Must be between 0 and 100, * inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one * of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + * Cannot be set if de-identification is requested. * * * int32 bytes_limit_per_file_percent = 8; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java index 6efdbfc8..922eb3d9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSet.java @@ -309,6 +309,7 @@ public com.google.protobuf.ByteString getIncludeRegexBytes(int index) { * * *
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -328,6 +329,7 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -347,6 +349,7 @@ public int getExcludeRegexCount() {
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -367,6 +370,7 @@ public java.lang.String getExcludeRegex(int index) {
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -1146,6 +1150,7 @@ private void ensureExcludeRegexIsMutable() {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1165,6 +1170,7 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1184,6 +1190,7 @@ public int getExcludeRegexCount() {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1204,6 +1211,7 @@ public java.lang.String getExcludeRegex(int index) {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1224,6 +1232,7 @@ public com.google.protobuf.ByteString getExcludeRegexBytes(int index) {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1251,6 +1260,7 @@ public Builder setExcludeRegex(int index, java.lang.String value) {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1277,6 +1287,7 @@ public Builder addExcludeRegex(java.lang.String value) {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1300,6 +1311,7 @@ public Builder addAllExcludeRegex(java.lang.Iterable values) {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
@@ -1322,6 +1334,7 @@ public Builder clearExcludeRegex() {
      *
      *
      * 
+     * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
      * A list of regular expressions matching file paths to exclude. All files in
      * the bucket that match at least one of these regular expressions will be
      * excluded from the scan.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java
index 935373a7..4e8c43ab 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageRegexFileSetOrBuilder.java
@@ -131,6 +131,7 @@ public interface CloudStorageRegexFileSetOrBuilder
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -148,6 +149,7 @@ public interface CloudStorageRegexFileSetOrBuilder
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -165,6 +167,7 @@ public interface CloudStorageRegexFileSetOrBuilder
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
@@ -183,6 +186,7 @@ public interface CloudStorageRegexFileSetOrBuilder
    *
    *
    * 
+   * [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
    * A list of regular expressions matching file paths to exclude. All files in
    * the bucket that match at least one of these regular expressions will be
    * excluded from the scan.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
index 82e1f25d..a039046e 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java
@@ -288,7 +288,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    *
    *
    * 
-   * Set to control what and how to inspect.
+   * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -303,7 +303,7 @@ public boolean hasInspectJob() { * * *
-   * Set to control what and how to inspect.
+   * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -321,7 +321,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { * * *
-   * Set to control what and how to inspect.
+   * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -339,7 +339,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * * *
-   * Set to choose what metric to calculate.
+   * A risk analysis job calculates re-identification risk metrics for a
+   * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -354,7 +355,8 @@ public boolean hasRiskJob() { * * *
-   * Set to choose what metric to calculate.
+   * A risk analysis job calculates re-identification risk metrics for a
+   * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -372,7 +374,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { * * *
-   * Set to choose what metric to calculate.
+   * A risk analysis job calculates re-identification risk metrics for a
+   * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1105,7 +1108,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1120,7 +1123,7 @@ public boolean hasInspectJob() { * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1145,7 +1148,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1167,7 +1170,7 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1187,7 +1190,7 @@ public Builder setInspectJob( * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1218,7 +1221,7 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1243,7 +1246,7 @@ public Builder clearInspectJob() { * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1255,7 +1258,7 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1275,7 +1278,7 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * * *
-     * Set to control what and how to inspect.
+     * An inspection job scans a storage repository for InfoTypes.
      * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -1314,7 +1317,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1329,7 +1333,8 @@ public boolean hasRiskJob() { * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1354,7 +1359,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1376,7 +1382,8 @@ public Builder setRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig value) * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1396,7 +1403,8 @@ public Builder setRiskJob( * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1427,7 +1435,8 @@ public Builder mergeRiskJob(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1452,7 +1461,8 @@ public Builder clearRiskJob() { * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1464,7 +1474,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder getRiskJobBuilder * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -1484,7 +1495,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil * * *
-     * Set to choose what metric to calculate.
+     * A risk analysis job calculates re-identification risk metrics for a
+     * BigQuery table.
      * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java index f8a16e37..234e12e8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java @@ -78,7 +78,7 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * Set to control what and how to inspect.
+   * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -90,7 +90,7 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * Set to control what and how to inspect.
+   * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -102,7 +102,7 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * Set to control what and how to inspect.
+   * An inspection job scans a storage repository for InfoTypes.
    * 
* * .google.privacy.dlp.v2.InspectJobConfig inspect_job = 2; @@ -113,7 +113,8 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * Set to choose what metric to calculate.
+   * A risk analysis job calculates re-identification risk metrics for a
+   * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -125,7 +126,8 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * Set to choose what metric to calculate.
+   * A risk analysis job calculates re-identification risk metrics for a
+   * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; @@ -137,7 +139,8 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * Set to choose what metric to calculate.
+   * A risk analysis job calculates re-identification risk metrics for a
+   * BigQuery table.
    * 
* * .google.privacy.dlp.v2.RiskAnalysisJobConfig risk_job = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java index 4a55832d..8b043b2d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java @@ -156,7 +156,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The key used by the encryption function.
+   * The key used by the encryption function. For deterministic encryption
+   * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+   * use.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -171,7 +173,9 @@ public boolean hasCryptoKey() { * * *
-   * The key used by the encryption function.
+   * The key used by the encryption function. For deterministic encryption
+   * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+   * use.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -188,7 +192,9 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { * * *
-   * The key used by the encryption function.
+   * The key used by the encryption function. For deterministic encryption
+   * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+   * use.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -804,7 +810,9 @@ public Builder mergeFrom( * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -818,7 +826,9 @@ public boolean hasCryptoKey() { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -838,7 +848,9 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -860,7 +872,9 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -879,7 +893,9 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -905,7 +921,9 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -925,7 +943,9 @@ public Builder clearCryptoKey() { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -939,7 +959,9 @@ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -957,7 +979,9 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * * *
-     * The key used by the encryption function.
+     * The key used by the encryption function. For deterministic encryption
+     * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+     * use.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java index da7f5dd6..14513ed4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java @@ -27,7 +27,9 @@ public interface CryptoDeterministicConfigOrBuilder * * *
-   * The key used by the encryption function.
+   * The key used by the encryption function. For deterministic encryption
+   * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+   * use.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -39,7 +41,9 @@ public interface CryptoDeterministicConfigOrBuilder * * *
-   * The key used by the encryption function.
+   * The key used by the encryption function. For deterministic encryption
+   * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+   * use.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; @@ -51,7 +55,9 @@ public interface CryptoDeterministicConfigOrBuilder * * *
-   * The key used by the encryption function.
+   * The key used by the encryption function. For deterministic encryption
+   * using AES-SIV, the provided key is internally expanded to 64 bytes prior to
+   * use.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java index e0a90ce8..45516384 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKey.java @@ -23,10 +23,11 @@ * *
  * This is a data encryption key (DEK) (as opposed to
- * a key encryption key (KEK) stored by KMS).
- * When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
- * IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
- * unwrap the data crypto key.
+ * a key encryption key (KEK) stored by Cloud Key Management Service
+ * (Cloud KMS).
+ * When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate
+ * IAM policy on the KEK to ensure an attacker cannot
+ * unwrap the DEK.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.CryptoKey} @@ -311,7 +312,7 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild * * *
-   * Kms wrapped key
+   * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -326,7 +327,7 @@ public boolean hasKmsWrapped() { * * *
-   * Kms wrapped key
+   * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -344,7 +345,7 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { * * *
-   * Kms wrapped key
+   * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -564,10 +565,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * This is a data encryption key (DEK) (as opposed to
-   * a key encryption key (KEK) stored by KMS).
-   * When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
-   * IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
-   * unwrap the data crypto key.
+   * a key encryption key (KEK) stored by Cloud Key Management Service
+   * (Cloud KMS).
+   * When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate
+   * IAM policy on the KEK to ensure an attacker cannot
+   * unwrap the DEK.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.CryptoKey} @@ -1198,7 +1200,7 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1213,7 +1215,7 @@ public boolean hasKmsWrapped() { * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1238,7 +1240,7 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1260,7 +1262,7 @@ public Builder setKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1280,7 +1282,7 @@ public Builder setKmsWrapped( * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1311,7 +1313,7 @@ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey val * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1336,7 +1338,7 @@ public Builder clearKmsWrapped() { * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1348,7 +1350,7 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder getKmsWrappedBuilde * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -1368,7 +1370,7 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui * * *
-     * Kms wrapped key
+     * Key wrapped using Cloud KMS
      * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java index 6b18963e..39934042 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoKeyOrBuilder.java @@ -97,7 +97,7 @@ public interface CryptoKeyOrBuilder * * *
-   * Kms wrapped key
+   * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -109,7 +109,7 @@ public interface CryptoKeyOrBuilder * * *
-   * Kms wrapped key
+   * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; @@ -121,7 +121,7 @@ public interface CryptoKeyOrBuilder * * *
-   * Kms wrapped key
+   * Key wrapped using Cloud KMS
    * 
* * .google.privacy.dlp.v2.KmsWrappedCryptoKey kms_wrapped = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java index 06957112..56ccf440 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java @@ -444,7 +444,7 @@ public interface DictionaryOrBuilder * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) * will be replaced with whitespace when scanning for matches, so the * dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", - * "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) * surrounding any match must be of a different type than the adjacent * characters within the word, so letters must be next to non-letters and * digits next to non-digits. For example, the dictionary word "jen" will @@ -456,7 +456,7 @@ public interface DictionaryOrBuilder * [limits](https://cloud.google.com/dlp/limits) page contains details about * the size limits of dictionaries. For dictionaries that do not fit within * these constraints, consider using `LargeCustomDictionaryConfig` in the - * `StoredInfoType` API. + * [limits](https://cloud.google.com/dlp/limits) page contains details about *
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary} @@ -1752,7 +1752,7 @@ protected Builder newBuilderForType( * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) * will be replaced with whitespace when scanning for matches, so the * dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", - * "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + * Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) * surrounding any match must be of a different type than the adjacent * characters within the word, so letters must be next to non-letters and * digits next to non-digits. For example, the dictionary word "jen" will @@ -1764,7 +1764,7 @@ protected Builder newBuilderForType( * [limits](https://cloud.google.com/dlp/limits) page contains details about * the size limits of dictionaries. For dictionaries that do not fit within * these constraints, consider using `LargeCustomDictionaryConfig` in the - * `StoredInfoType` API. + * [limits](https://cloud.google.com/dlp/limits) page contains details about *
* * Protobuf type {@code google.privacy.dlp.v2.CustomInfoType.Dictionary} @@ -2486,6 +2486,7 @@ public interface RegexOrBuilder * * *
+     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
@@ -2499,6 +2500,7 @@ public interface RegexOrBuilder * * *
+     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
@@ -2512,6 +2514,7 @@ public interface RegexOrBuilder * * *
+     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
@@ -2703,6 +2706,7 @@ public com.google.protobuf.ByteString getPatternBytes() { * * *
+     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
@@ -2719,6 +2723,7 @@ public java.util.List getGroupIndexesList() { * * *
+     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
@@ -2734,6 +2739,7 @@ public int getGroupIndexesCount() { * * *
+     * (https://github.com/google/re2/wiki/Syntax) can be found under the
      * The index of the submatch to extract as findings. When not
      * specified, the entire match is returned. No more than 3 may be included.
      * 
@@ -3244,6 +3250,7 @@ private void ensureGroupIndexesIsMutable() { * * *
+       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
@@ -3261,6 +3268,7 @@ public java.util.List getGroupIndexesList() { * * *
+       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
@@ -3276,6 +3284,7 @@ public int getGroupIndexesCount() { * * *
+       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
@@ -3292,6 +3301,7 @@ public int getGroupIndexes(int index) { * * *
+       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
@@ -3312,6 +3322,7 @@ public Builder setGroupIndexes(int index, int value) { * * *
+       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
@@ -3331,6 +3342,7 @@ public Builder addGroupIndexes(int value) { * * *
+       * (https://github.com/google/re2/wiki/Syntax) can be found under the
        * The index of the submatch to extract as findings. When not
        * specified, the entire match is returned. No more than 3 may be included.
        * 
@@ -3350,6 +3362,7 @@ public Builder addAllGroupIndexes(java.lang.Iterable + * (https://github.com/google/re2/wiki/Syntax) can be found under the * The index of the submatch to extract as findings. When not * specified, the entire match is returned. No more than 3 may be included. *
@@ -3430,7 +3443,7 @@ public interface SurrogateTypeOrBuilder * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). * These types of transformations are * those that perform pseudonymization, thereby producing a "surrogate" as - * output. This should be used in conjunction with a field on the + * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). * transformation such as `surrogate_info_type`. This CustomInfoType does * not support the use of `detection_rules`. *
@@ -3673,7 +3686,7 @@ protected Builder newBuilderForType( * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). * These types of transformations are * those that perform pseudonymization, thereby producing a "surrogate" as - * output. This should be used in conjunction with a field on the + * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). * transformation such as `surrogate_info_type`. This CustomInfoType does * not support the use of `detection_rules`. *
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java index 4cb7f871..4f46e5a4 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplate.java @@ -431,7 +431,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-   * ///////////// // The core content of the template  // ///////////////
+   * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -446,7 +446,7 @@ public boolean hasDeidentifyConfig() { * * *
-   * ///////////// // The core content of the template  // ///////////////
+   * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -463,7 +463,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { * * *
-   * ///////////// // The core content of the template  // ///////////////
+   * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1651,7 +1651,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1665,7 +1665,7 @@ public boolean hasDeidentifyConfig() { * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1685,7 +1685,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getDeidentifyConfig() { * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1707,7 +1707,7 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1727,7 +1727,7 @@ public Builder setDeidentifyConfig( * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1753,7 +1753,7 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1773,7 +1773,7 @@ public Builder clearDeidentifyConfig() { * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1787,7 +1787,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getDeidentifyConfigBui * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -1805,7 +1805,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr * * *
-     * ///////////// // The core content of the template  // ///////////////
+     * The core content of the template.
      * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java index 80b4014f..b94cd5d5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateOrBuilder.java @@ -184,7 +184,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * ///////////// // The core content of the template  // ///////////////
+   * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -196,7 +196,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * ///////////// // The core content of the template  // ///////////////
+   * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; @@ -208,7 +208,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * ///////////// // The core content of the template  // ///////////////
+   * The core content of the template.
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java index 70bc7f8d..ada686bf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpJobType.java @@ -32,7 +32,7 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Unused
+   * Defaults to INSPECT_JOB.
    * 
* * DLP_JOB_TYPE_UNSPECIFIED = 0; @@ -65,7 +65,7 @@ public enum DlpJobType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Unused
+   * Defaults to INSPECT_JOB.
    * 
* * DLP_JOB_TYPE_UNSPECIFIED = 0; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java index a0ca33fb..f749bf41 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -383,6 +383,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_privacy_dlp_v2_ReplaceValueConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_privacy_dlp_v2_ReplaceValueConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -795,7 +799,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle.privacy.dlp.v2.Value\"]\n\rInspectRes" + "ult\0220\n\010findings\030\001 \003(\0132\036.google.privacy.d" + "lp.v2.Finding\022\032\n\022findings_truncated\030\002 \001(" - + "\010\"\313\005\n\007Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quote\030\001 \001" + + "\010\"\337\005\n\007Finding\022\014\n\004name\030\016 \001(\t\022\r\n\005quote\030\001 \001" + "(\t\0222\n\tinfo_type\030\002 \001(\0132\037.google.privacy.d" + "lp.v2.InfoType\0225\n\nlikelihood\030\003 \001(\0162!.goo" + "gle.privacy.dlp.v2.Likelihood\0221\n\010locatio" @@ -809,1005 +813,1020 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.privacy.dlp.v2.Finding.LabelsEntry\0223\n\017" + "job_create_time\030\013 \001(\0132\032.google.protobuf." + "Timestamp\0220\n\010job_name\030\r \001(\tB\036\372A\033\n\031dlp.go" - + "ogleapis.com/DlpJob\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:[\352AX\n\032dlp.goo" - + "gleapis.com/Finding\022:projects/{project}/" - + "locations/{location}/findings/{finding}\"" - + "\353\001\n\010Location\0220\n\nbyte_range\030\001 \001(\0132\034.googl" - + "e.privacy.dlp.v2.Range\0225\n\017codepoint_rang" - + "e\030\002 \001(\0132\034.google.privacy.dlp.v2.Range\022A\n" - + "\021content_locations\030\007 \003(\0132&.google.privac" - + "y.dlp.v2.ContentLocation\0223\n\tcontainer\030\010 " - + "\001(\0132 .google.privacy.dlp.v2.Container\"\227\003" - + "\n\017ContentLocation\022\026\n\016container_name\030\001 \001(" - + "\t\022@\n\017record_location\030\002 \001(\0132%.google.priv" - + "acy.dlp.v2.RecordLocationH\000\022>\n\016image_loc" - + "ation\030\003 \001(\0132$.google.privacy.dlp.v2.Imag" - + "eLocationH\000\022D\n\021document_location\030\005 \001(\0132\'" - + ".google.privacy.dlp.v2.DocumentLocationH" - + "\000\022D\n\021metadata_location\030\010 \001(\0132\'.google.pr" - + "ivacy.dlp.v2.MetadataLocationH\000\0227\n\023conta" - + "iner_timestamp\030\006 \001(\0132\032.google.protobuf.T" - + "imestamp\022\031\n\021container_version\030\007 \001(\tB\n\n\010l" - + "ocation\"\224\001\n\020MetadataLocation\0221\n\004type\030\001 \001" - + "(\0162#.google.privacy.dlp.v2.MetadataType\022" - + "D\n\rstorage_label\030\003 \001(\0132+.google.privacy." - + "dlp.v2.StorageMetadataLabelH\000B\007\n\005label\"#" - + "\n\024StorageMetadataLabel\022\013\n\003key\030\001 \001(\t\"\'\n\020D" - + "ocumentLocation\022\023\n\013file_offset\030\001 \001(\003\"\266\001\n" - + "\016RecordLocation\0224\n\nrecord_key\030\001 \001(\0132 .go" - + "ogle.privacy.dlp.v2.RecordKey\0220\n\010field_i" - + "d\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldId\022" - + "<\n\016table_location\030\003 \001(\0132$.google.privacy" - + ".dlp.v2.TableLocation\"\"\n\rTableLocation\022\021" - + "\n\trow_index\030\001 \001(\003\"\254\001\n\tContainer\022\014\n\004type\030" - + "\001 \001(\t\022\022\n\nproject_id\030\002 \001(\t\022\021\n\tfull_path\030\003" - + " \001(\t\022\021\n\troot_path\030\004 \001(\t\022\025\n\rrelative_path" - + "\030\005 \001(\t\022/\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022\017\n\007version\030\007 \001(\t\"#\n\005Rang" - + "e\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"K\n\rImageLo" - + "cation\022:\n\016bounding_boxes\030\001 \003(\0132\".google." - + "privacy.dlp.v2.BoundingBox\"G\n\013BoundingBo" - + "x\022\013\n\003top\030\001 \001(\005\022\014\n\004left\030\002 \001(\005\022\r\n\005width\030\003 " - + "\001(\005\022\016\n\006height\030\004 \001(\005\"\374\003\n\022RedactImageReque" - + "st\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.googleapis." - + "com/DlpContent\022\023\n\013location_id\030\010 \001(\t\022<\n\016i" - + "nspect_config\030\002 \001(\0132$.google.privacy.dlp" - + ".v2.InspectConfig\022_\n\027image_redaction_con" - + "figs\030\005 \003(\0132>.google.privacy.dlp.v2.Redac" - + "tImageRequest.ImageRedactionConfig\022\030\n\020in" - + "clude_findings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132" - + "&.google.privacy.dlp.v2.ByteContentItem\032" - + "\250\001\n\024ImageRedactionConfig\0224\n\tinfo_type\030\001 " - + "\001(\0132\037.google.privacy.dlp.v2.InfoTypeH\000\022\031" - + "\n\017redact_all_text\030\002 \001(\010H\000\0225\n\017redaction_c" - + "olor\030\003 \001(\0132\034.google.privacy.dlp.v2.Color" - + "B\010\n\006target\"1\n\005Color\022\013\n\003red\030\001 \001(\002\022\r\n\005gree" - + "n\030\002 \001(\002\022\014\n\004blue\030\003 \001(\002\"\203\001\n\023RedactImageRes" - + "ponse\022\026\n\016redacted_image\030\001 \001(\014\022\026\n\016extract" - + "ed_text\030\002 \001(\t\022<\n\016inspect_result\030\003 \001(\0132$." - + "google.privacy.dlp.v2.InspectResult\"\330\002\n\030" - + "DeidentifyContentRequest\0222\n\006parent\030\001 \001(\t" - + "B\"\372A\037\022\035dlp.googleapis.com/DlpContent\022B\n\021" - + "deidentify_config\030\002 \001(\0132\'.google.privacy" - + ".dlp.v2.DeidentifyConfig\022<\n\016inspect_conf" - + "ig\030\003 \001(\0132$.google.privacy.dlp.v2.Inspect" - + "Config\0220\n\004item\030\004 \001(\0132\".google.privacy.dl" - + "p.v2.ContentItem\022\035\n\025inspect_template_nam" - + "e\030\005 \001(\t\022 \n\030deidentify_template_name\030\006 \001(" - + "\t\022\023\n\013location_id\030\007 \001(\t\"\216\001\n\031DeidentifyCon" - + "tentResponse\0220\n\004item\030\001 \001(\0132\".google.priv" - + "acy.dlp.v2.ContentItem\022?\n\010overview\030\002 \001(\013" - + "2-.google.privacy.dlp.v2.TransformationO" - + "verview\"\333\002\n\030ReidentifyContentRequest\0225\n\006" - + "parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.com" - + "/DlpContent\022B\n\021reidentify_config\030\002 \001(\0132\'" - + ".google.privacy.dlp.v2.DeidentifyConfig\022" - + "<\n\016inspect_config\030\003 \001(\0132$.google.privacy" - + ".dlp.v2.InspectConfig\0220\n\004item\030\004 \001(\0132\".go" - + "ogle.privacy.dlp.v2.ContentItem\022\035\n\025inspe" - + "ct_template_name\030\005 \001(\t\022 \n\030reidentify_tem" - + "plate_name\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"\216\001" - + "\n\031ReidentifyContentResponse\0220\n\004item\030\001 \001(" - + "\0132\".google.privacy.dlp.v2.ContentItem\022?\n" - + "\010overview\030\002 \001(\0132-.google.privacy.dlp.v2." - + "TransformationOverview\"\357\001\n\025InspectConten" - + "tRequest\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.googl" - + "eapis.com/DlpContent\022<\n\016inspect_config\030\002" - + " \001(\0132$.google.privacy.dlp.v2.InspectConf" - + "ig\0220\n\004item\030\003 \001(\0132\".google.privacy.dlp.v2" - + ".ContentItem\022\035\n\025inspect_template_name\030\004 " - + "\001(\t\022\023\n\013location_id\030\005 \001(\t\"N\n\026InspectConte" - + "ntResponse\0224\n\006result\030\001 \001(\0132$.google.priv" - + "acy.dlp.v2.InspectResult\"\267\002\n\023OutputStora" - + "geConfig\0225\n\005table\030\001 \001(\0132$.google.privacy" - + ".dlp.v2.BigQueryTableH\000\022N\n\routput_schema" - + "\030\003 \001(\01627.google.privacy.dlp.v2.OutputSto" - + "rageConfig.OutputSchema\"\220\001\n\014OutputSchema" - + "\022\035\n\031OUTPUT_SCHEMA_UNSPECIFIED\020\000\022\021\n\rBASIC" - + "_COLUMNS\020\001\022\017\n\013GCS_COLUMNS\020\002\022\025\n\021DATASTORE" - + "_COLUMNS\020\003\022\025\n\021BIG_QUERY_COLUMNS\020\004\022\017\n\013ALL" - + "_COLUMNS\020\005B\006\n\004type\"R\n\rInfoTypeStats\0222\n\ti" - + "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" - + "nfoType\022\r\n\005count\030\002 \001(\003\"\244\004\n\030InspectDataSo" - + "urceDetails\022[\n\021requested_options\030\002 \001(\0132@" - + ".google.privacy.dlp.v2.InspectDataSource" - + "Details.RequestedOptions\022F\n\006result\030\003 \001(\013" - + "26.google.privacy.dlp.v2.InspectDataSour" - + "ceDetails.Result\032\232\001\n\020RequestedOptions\022I\n" - + "\031snapshot_inspect_template\030\001 \001(\0132&.googl" - + "e.privacy.dlp.v2.InspectTemplate\022;\n\njob_" - + "config\030\003 \001(\0132\'.google.privacy.dlp.v2.Ins" - + "pectJobConfig\032\305\001\n\006Result\022\027\n\017processed_by" - + "tes\030\001 \001(\003\022\035\n\025total_estimated_bytes\030\002 \001(\003" - + "\022=\n\017info_type_stats\030\003 \003(\0132$.google.priva" - + "cy.dlp.v2.InfoTypeStats\022D\n\014hybrid_stats\030" - + "\007 \001(\0132..google.privacy.dlp.v2.HybridInsp" - + "ectStatistics\"`\n\027HybridInspectStatistics" - + "\022\027\n\017processed_count\030\001 \001(\003\022\025\n\raborted_cou" - + "nt\030\002 \001(\003\022\025\n\rpending_count\030\003 \001(\003\"\220\001\n\023Info" - + "TypeDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014display" - + "_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\0162*.goog" - + "le.privacy.dlp.v2.InfoTypeSupportedBy\022\023\n" - + "\013description\030\004 \001(\t\"b\n\024ListInfoTypesReque" - + "st\022\016\n\006parent\030\004 \001(\t\022\025\n\rlanguage_code\030\001 \001(" - + "\t\022\016\n\006filter\030\002 \001(\t\022\023\n\013location_id\030\003 \001(\t\"W" - + "\n\025ListInfoTypesResponse\022>\n\ninfo_types\030\001 " - + "\003(\0132*.google.privacy.dlp.v2.InfoTypeDesc" - + "ription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016pri" - + "vacy_metric\030\001 \001(\0132$.google.privacy.dlp.v" - + "2.PrivacyMetric\022:\n\014source_table\030\002 \001(\0132$." - + "google.privacy.dlp.v2.BigQueryTable\022.\n\007a" - + "ctions\030\003 \003(\0132\035.google.privacy.dlp.v2.Act" - + "ion\"\274\001\n\007QuasiId\0222\n\005field\030\001 \001(\0132\036.google." - + "privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_type" - + "\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoTypeH" - + "\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(" - + "\0132\026.google.protobuf.EmptyH\000B\005\n\003tag\"\276\002\n\020S" - + "tatisticalTable\0228\n\005table\030\003 \001(\0132$.google." - + "privacy.dlp.v2.BigQueryTableB\003\340A\002\022T\n\tqua" - + "si_ids\030\001 \003(\0132<.google.privacy.dlp.v2.Sta" - + "tisticalTable.QuasiIdentifierFieldB\003\340A\002\022" - + "?\n\022relative_frequency\030\002 \001(\0132\036.google.pri" - + "vacy.dlp.v2.FieldIdB\003\340A\002\032Y\n\024QuasiIdentif" - + "ierField\022-\n\005field\030\001 \001(\0132\036.google.privacy" - + ".dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017\n\r" - + "PrivacyMetric\022[\n\026numerical_stats_config\030" - + "\001 \001(\01329.google.privacy.dlp.v2.PrivacyMet" - + "ric.NumericalStatsConfigH\000\022_\n\030categorica" - + "l_stats_config\030\002 \001(\0132;.google.privacy.dl" - + "p.v2.PrivacyMetric.CategoricalStatsConfi" - + "gH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.google" - + ".privacy.dlp.v2.PrivacyMetric.KAnonymity" - + "ConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325.g" - + "oogle.privacy.dlp.v2.PrivacyMetric.LDive" - + "rsityConfigH\000\022\\\n\027k_map_estimation_config" - + "\030\005 \001(\01329.google.privacy.dlp.v2.PrivacyMe" - + "tric.KMapEstimationConfigH\000\022n\n delta_pre" - + "sence_estimation_config\030\006 \001(\0132B.google.p" - + "rivacy.dlp.v2.PrivacyMetric.DeltaPresenc" - + "eEstimationConfigH\000\032E\n\024NumericalStatsCon" - + "fig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp." - + "v2.FieldId\032G\n\026CategoricalStatsConfig\022-\n\005" - + "field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001 \003" - + "(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\ten" - + "tity_id\030\002 \001(\0132\037.google.privacy.dlp.v2.En" - + "tityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_ids" - + "\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022;" - + "\n\023sensitive_attribute\030\002 \001(\0132\036.google.pri" - + "vacy.dlp.v2.FieldId\032\201\006\n\024KMapEstimationCo" - + "nfig\022]\n\tquasi_ids\030\001 \003(\0132E.google.privacy" - + ".dlp.v2.PrivacyMetric.KMapEstimationConf" - + "ig.TaggedFieldB\003\340A\002\022\023\n\013region_code\030\002 \001(\t" - + "\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.priv" + + "ogleapis.com/DlpJob\022\022\n\nfinding_id\030\017 \001(\t\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001:[\352AX\n\032dlp.googleapis.com/Finding\022" + + ":projects/{project}/locations/{location}" + + "/findings/{finding}\"\353\001\n\010Location\0220\n\nbyte" + + "_range\030\001 \001(\0132\034.google.privacy.dlp.v2.Ran" + + "ge\0225\n\017codepoint_range\030\002 \001(\0132\034.google.pri" + + "vacy.dlp.v2.Range\022A\n\021content_locations\030\007" + + " \003(\0132&.google.privacy.dlp.v2.ContentLoca" + + "tion\0223\n\tcontainer\030\010 \001(\0132 .google.privacy" + + ".dlp.v2.Container\"\227\003\n\017ContentLocation\022\026\n" + + "\016container_name\030\001 \001(\t\022@\n\017record_location" + + "\030\002 \001(\0132%.google.privacy.dlp.v2.RecordLoc" + + "ationH\000\022>\n\016image_location\030\003 \001(\0132$.google" + + ".privacy.dlp.v2.ImageLocationH\000\022D\n\021docum" + + "ent_location\030\005 \001(\0132\'.google.privacy.dlp." + + "v2.DocumentLocationH\000\022D\n\021metadata_locati" + + "on\030\010 \001(\0132\'.google.privacy.dlp.v2.Metadat" + + "aLocationH\000\0227\n\023container_timestamp\030\006 \001(\013" + + "2\032.google.protobuf.Timestamp\022\031\n\021containe" + + "r_version\030\007 \001(\tB\n\n\010location\"\224\001\n\020Metadata" + + "Location\0221\n\004type\030\001 \001(\0162#.google.privacy." + + "dlp.v2.MetadataType\022D\n\rstorage_label\030\003 \001" + + "(\0132+.google.privacy.dlp.v2.StorageMetada" + + "taLabelH\000B\007\n\005label\"#\n\024StorageMetadataLab" + + "el\022\013\n\003key\030\001 \001(\t\"\'\n\020DocumentLocation\022\023\n\013f" + + "ile_offset\030\001 \001(\003\"\266\001\n\016RecordLocation\0224\n\nr" + + "ecord_key\030\001 \001(\0132 .google.privacy.dlp.v2." + + "RecordKey\0220\n\010field_id\030\002 \001(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\022<\n\016table_location\030\003 " + + "\001(\0132$.google.privacy.dlp.v2.TableLocatio" + + "n\"\"\n\rTableLocation\022\021\n\trow_index\030\001 \001(\003\"\254\001" + + "\n\tContainer\022\014\n\004type\030\001 \001(\t\022\022\n\nproject_id\030" + + "\002 \001(\t\022\021\n\tfull_path\030\003 \001(\t\022\021\n\troot_path\030\004 " + + "\001(\t\022\025\n\rrelative_path\030\005 \001(\t\022/\n\013update_tim" + + "e\030\006 \001(\0132\032.google.protobuf.Timestamp\022\017\n\007v" + + "ersion\030\007 \001(\t\"#\n\005Range\022\r\n\005start\030\001 \001(\003\022\013\n\003" + + "end\030\002 \001(\003\"K\n\rImageLocation\022:\n\016bounding_b" + + "oxes\030\001 \003(\0132\".google.privacy.dlp.v2.Bound" + + "ingBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004le" + + "ft\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\"" + + "\374\003\n\022RedactImageRequest\0222\n\006parent\030\001 \001(\tB\"" + + "\372A\037\022\035dlp.googleapis.com/DlpContent\022\023\n\013lo" + + "cation_id\030\010 \001(\t\022<\n\016inspect_config\030\002 \001(\0132" + + "$.google.privacy.dlp.v2.InspectConfig\022_\n" + + "\027image_redaction_configs\030\005 \003(\0132>.google." + + "privacy.dlp.v2.RedactImageRequest.ImageR" + + "edactionConfig\022\030\n\020include_findings\030\006 \001(\010" + + "\0229\n\tbyte_item\030\007 \001(\0132&.google.privacy.dlp" + + ".v2.ByteContentItem\032\250\001\n\024ImageRedactionCo" + + "nfig\0224\n\tinfo_type\030\001 \001(\0132\037.google.privacy" + + ".dlp.v2.InfoTypeH\000\022\031\n\017redact_all_text\030\002 " + + "\001(\010H\000\0225\n\017redaction_color\030\003 \001(\0132\034.google." + + "privacy.dlp.v2.ColorB\010\n\006target\"1\n\005Color\022" + + "\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014\n\004blue\030\003 \001(" + + "\002\"\203\001\n\023RedactImageResponse\022\026\n\016redacted_im" + + "age\030\001 \001(\014\022\026\n\016extracted_text\030\002 \001(\t\022<\n\016ins" + + "pect_result\030\003 \001(\0132$.google.privacy.dlp.v" + + "2.InspectResult\"\330\002\n\030DeidentifyContentReq" + + "uest\0222\n\006parent\030\001 \001(\tB\"\372A\037\022\035dlp.googleapi" + + "s.com/DlpContent\022B\n\021deidentify_config\030\002 " + + "\001(\0132\'.google.privacy.dlp.v2.DeidentifyCo" + + "nfig\022<\n\016inspect_config\030\003 \001(\0132$.google.pr" + + "ivacy.dlp.v2.InspectConfig\0220\n\004item\030\004 \001(\013" + + "2\".google.privacy.dlp.v2.ContentItem\022\035\n\025" + + "inspect_template_name\030\005 \001(\t\022 \n\030deidentif" + + "y_template_name\030\006 \001(\t\022\023\n\013location_id\030\007 \001" + + "(\t\"\216\001\n\031DeidentifyContentResponse\0220\n\004item" + + "\030\001 \001(\0132\".google.privacy.dlp.v2.ContentIt" + + "em\022?\n\010overview\030\002 \001(\0132-.google.privacy.dl" + + "p.v2.TransformationOverview\"\333\002\n\030Reidenti" + + "fyContentRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037" + + "\022\035dlp.googleapis.com/DlpContent\022B\n\021reide" + + "ntify_config\030\002 \001(\0132\'.google.privacy.dlp." + + "v2.DeidentifyConfig\022<\n\016inspect_config\030\003 " + + "\001(\0132$.google.privacy.dlp.v2.InspectConfi" + + "g\0220\n\004item\030\004 \001(\0132\".google.privacy.dlp.v2." + + "ContentItem\022\035\n\025inspect_template_name\030\005 \001" + + "(\t\022 \n\030reidentify_template_name\030\006 \001(\t\022\023\n\013" + + "location_id\030\007 \001(\t\"\216\001\n\031ReidentifyContentR" + + "esponse\0220\n\004item\030\001 \001(\0132\".google.privacy.d" + + "lp.v2.ContentItem\022?\n\010overview\030\002 \001(\0132-.go" + + "ogle.privacy.dlp.v2.TransformationOvervi" + + "ew\"\357\001\n\025InspectContentRequest\0222\n\006parent\030\001" + + " \001(\tB\"\372A\037\022\035dlp.googleapis.com/DlpContent" + + "\022<\n\016inspect_config\030\002 \001(\0132$.google.privac" + + "y.dlp.v2.InspectConfig\0220\n\004item\030\003 \001(\0132\".g" + + "oogle.privacy.dlp.v2.ContentItem\022\035\n\025insp" + + "ect_template_name\030\004 \001(\t\022\023\n\013location_id\030\005" + + " \001(\t\"N\n\026InspectContentResponse\0224\n\006result" + + "\030\001 \001(\0132$.google.privacy.dlp.v2.InspectRe" + + "sult\"\267\002\n\023OutputStorageConfig\0225\n\005table\030\001 " + + "\001(\0132$.google.privacy.dlp.v2.BigQueryTabl" + + "eH\000\022N\n\routput_schema\030\003 \001(\01627.google.priv" + + "acy.dlp.v2.OutputStorageConfig.OutputSch" + + "ema\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SCHEMA_UN" + + "SPECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013GCS_CO" + + "LUMNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n\021BIG_QU" + + "ERY_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R" + + "\n\rInfoTypeStats\0222\n\tinfo_type\030\001 \001(\0132\037.goo" + + "gle.privacy.dlp.v2.InfoType\022\r\n\005count\030\002 \001" + + "(\003\"\244\004\n\030InspectDataSourceDetails\022[\n\021reque" + + "sted_options\030\002 \001(\0132@.google.privacy.dlp." + + "v2.InspectDataSourceDetails.RequestedOpt" + + "ions\022F\n\006result\030\003 \001(\01326.google.privacy.dl" + + "p.v2.InspectDataSourceDetails.Result\032\232\001\n" + + "\020RequestedOptions\022I\n\031snapshot_inspect_te" + + "mplate\030\001 \001(\0132&.google.privacy.dlp.v2.Ins" + + "pectTemplate\022;\n\njob_config\030\003 \001(\0132\'.googl" + + "e.privacy.dlp.v2.InspectJobConfig\032\305\001\n\006Re" + + "sult\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025total_e" + + "stimated_bytes\030\002 \001(\003\022=\n\017info_type_stats\030" + + "\003 \003(\0132$.google.privacy.dlp.v2.InfoTypeSt" + + "ats\022D\n\014hybrid_stats\030\007 \001(\0132..google.priva" + + "cy.dlp.v2.HybridInspectStatistics\"`\n\027Hyb" + + "ridInspectStatistics\022\027\n\017processed_count\030" + + "\001 \001(\003\022\025\n\raborted_count\030\002 \001(\003\022\025\n\rpending_" + + "count\030\003 \001(\003\"\220\001\n\023InfoTypeDescription\022\014\n\004n" + + "ame\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014suppo" + + "rted_by\030\003 \003(\0162*.google.privacy.dlp.v2.In" + + "foTypeSupportedBy\022\023\n\013description\030\004 \001(\t\"b" + + "\n\024ListInfoTypesRequest\022\016\n\006parent\030\004 \001(\t\022\025" + + "\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\023\n" + + "\013location_id\030\003 \001(\t\"W\n\025ListInfoTypesRespo" + + "nse\022>\n\ninfo_types\030\001 \003(\0132*.google.privacy" + + ".dlp.v2.InfoTypeDescription\"\301\001\n\025RiskAnal" + + "ysisJobConfig\022<\n\016privacy_metric\030\001 \001(\0132$." + + "google.privacy.dlp.v2.PrivacyMetric\022:\n\014s" + + "ource_table\030\002 \001(\0132$.google.privacy.dlp.v" + + "2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035.googl" + + "e.privacy.dlp.v2.Action\"\274\001\n\007QuasiId\0222\n\005f" + + "ield\030\001 \001(\0132\036.google.privacy.dlp.v2.Field" + + "IdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001(" + + "\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobuf." + + "EmptyH\000B\005\n\003tag\"\276\002\n\020StatisticalTable\0228\n\005t" + + "able\030\003 \001(\0132$.google.privacy.dlp.v2.BigQu" + + "eryTableB\003\340A\002\022T\n\tquasi_ids\030\001 \003(\0132<.googl" + + "e.privacy.dlp.v2.StatisticalTable.QuasiI" + + "dentifierFieldB\003\340A\002\022?\n\022relative_frequenc" + + "y\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldIdB" + + "\003\340A\002\032Y\n\024QuasiIdentifierField\022-\n\005field\030\001 " + + "\001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\nc" + + "ustom_tag\030\002 \001(\t\"\223\017\n\rPrivacyMetric\022[\n\026num" + + "erical_stats_config\030\001 \001(\01329.google.priva" + + "cy.dlp.v2.PrivacyMetric.NumericalStatsCo" + + "nfigH\000\022_\n\030categorical_stats_config\030\002 \001(\013" + + "2;.google.privacy.dlp.v2.PrivacyMetric.C" + + "ategoricalStatsConfigH\000\022S\n\022k_anonymity_c" + + "onfig\030\003 \001(\01325.google.privacy.dlp.v2.Priv" + + "acyMetric.KAnonymityConfigH\000\022S\n\022l_divers" + + "ity_config\030\004 \001(\01325.google.privacy.dlp.v2" + + ".PrivacyMetric.LDiversityConfigH\000\022\\\n\027k_m" + + "ap_estimation_config\030\005 \001(\01329.google.priv" + "acy.dlp.v2.PrivacyMetric.KMapEstimationC" - + "onfig.AuxiliaryTable\032\300\001\n\013TaggedField\0222\n\005" - + "field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.pri" - + "vacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001" - + "(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobuf" - + ".EmptyH\000B\005\n\003tag\032\315\002\n\016AuxiliaryTable\0228\n\005ta" - + "ble\030\003 \001(\0132$.google.privacy.dlp.v2.BigQue" - + "ryTableB\003\340A\002\022m\n\tquasi_ids\030\001 \003(\0132U.google" - + ".privacy.dlp.v2.PrivacyMetric.KMapEstima" - + "tionConfig.AuxiliaryTable.QuasiIdFieldB\003" - + "\340A\002\022?\n\022relative_frequency\030\002 \001(\0132\036.google" - + ".privacy.dlp.v2.FieldIdB\003\340A\002\032Q\n\014QuasiIdF" - + "ield\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp" - + ".v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\257\001\n\035Delt" - + "aPresenceEstimationConfig\0226\n\tquasi_ids\030\001" - + " \003(\0132\036.google.privacy.dlp.v2.QuasiIdB\003\340A" - + "\002\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_tabl" - + "es\030\003 \003(\0132\'.google.privacy.dlp.v2.Statist" - + "icalTableB\006\n\004type\"\301\037\n\034AnalyzeDataSourceR" - + "iskDetails\022F\n\030requested_privacy_metric\030\001" - + " \001(\0132$.google.privacy.dlp.v2.PrivacyMetr" - + "ic\022D\n\026requested_source_table\030\002 \001(\0132$.goo" - + "gle.privacy.dlp.v2.BigQueryTable\022j\n\026nume" - + "rical_stats_result\030\003 \001(\0132H.google.privac" - + "y.dlp.v2.AnalyzeDataSourceRiskDetails.Nu" - + "mericalStatsResultH\000\022n\n\030categorical_stat" - + "s_result\030\004 \001(\0132J.google.privacy.dlp.v2.A" - + "nalyzeDataSourceRiskDetails.CategoricalS" - + "tatsResultH\000\022b\n\022k_anonymity_result\030\005 \001(\013" - + "2D.google.privacy.dlp.v2.AnalyzeDataSour" - + "ceRiskDetails.KAnonymityResultH\000\022b\n\022l_di" - + "versity_result\030\006 \001(\0132D.google.privacy.dl" - + "p.v2.AnalyzeDataSourceRiskDetails.LDiver" - + "sityResultH\000\022k\n\027k_map_estimation_result\030" - + "\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeDat" - + "aSourceRiskDetails.KMapEstimationResultH" - + "\000\022}\n delta_presence_estimation_result\030\t " - + "\001(\0132Q.google.privacy.dlp.v2.AnalyzeDataS" - + "ourceRiskDetails.DeltaPresenceEstimation" - + "ResultH\000\022k\n\021requested_options\030\n \001(\0132P.go" - + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" - + "kDetails.RequestedRiskAnalysisOptions\032\257\001" - + "\n\024NumericalStatsResult\022/\n\tmin_value\030\001 \001(" - + "\0132\034.google.privacy.dlp.v2.Value\022/\n\tmax_v" - + "alue\030\002 \001(\0132\034.google.privacy.dlp.v2.Value" - + "\0225\n\017quantile_values\030\004 \003(\0132\034.google.priva" - + "cy.dlp.v2.Value\032\215\003\n\026CategoricalStatsResu" - + "lt\022\225\001\n!value_frequency_histogram_buckets" - + "\030\005 \003(\0132j.google.privacy.dlp.v2.AnalyzeDa" - + "taSourceRiskDetails.CategoricalStatsResu" - + "lt.CategoricalStatsHistogramBucket\032\332\001\n\037C" - + "ategoricalStatsHistogramBucket\022#\n\033value_" - + "frequency_lower_bound\030\001 \001(\003\022#\n\033value_fre" - + "quency_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030" - + "\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google.pr" - + "ivacy.dlp.v2.ValueFrequency\022\032\n\022bucket_va" - + "lue_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213\001\n" - + "#equivalence_class_histogram_buckets\030\005 \003" - + "(\0132^.google.privacy.dlp.v2.AnalyzeDataSo" - + "urceRiskDetails.KAnonymityResult.KAnonym" - + "ityHistogramBucket\032t\n\032KAnonymityEquivale" - + "nceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.goo" - + "gle.privacy.dlp.v2.Value\022\036\n\026equivalence_" - + "class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHistogram" - + "Bucket\022*\n\"equivalence_class_size_lower_b" - + "ound\030\001 \001(\003\022*\n\"equivalence_class_size_upp" - + "er_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rb" - + "ucket_values\030\004 \003(\0132_.google.privacy.dlp." - + "v2.AnalyzeDataSourceRiskDetails.KAnonymi" - + "tyResult.KAnonymityEquivalenceClass\022\032\n\022b" - + "ucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversityRe" - + "sult\022\223\001\n+sensitive_value_frequency_histo" - + "gram_buckets\030\005 \003(\0132^.google.privacy.dlp." - + "v2.AnalyzeDataSourceRiskDetails.LDiversi" - + "tyResult.LDiversityHistogramBucket\032\340\001\n\032L" - + "DiversityEquivalenceClass\0226\n\020quasi_ids_v" - + "alues\030\001 \003(\0132\034.google.privacy.dlp.v2.Valu" - + "e\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035num" - + "_distinct_sensitive_values\030\003 \001(\003\022C\n\024top_" - + "sensitive_values\030\004 \003(\0132%.google.privacy." - + "dlp.v2.ValueFrequency\032\242\002\n\031LDiversityHist" - + "ogramBucket\022-\n%sensitive_value_frequency" - + "_lower_bound\030\001 \001(\003\022-\n%sensitive_value_fr" - + "equency_upper_bound\030\002 \001(\003\022\023\n\013bucket_size" - + "\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google.p" - + "rivacy.dlp.v2.AnalyzeDataSourceRiskDetai" - + "ls.LDiversityResult.LDiversityEquivalenc" - + "eClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n\024K" - + "MapEstimationResult\022\212\001\n\032k_map_estimation" - + "_histogram\030\001 \003(\0132f.google.privacy.dlp.v2" - + ".AnalyzeDataSourceRiskDetails.KMapEstima" - + "tionResult.KMapEstimationHistogramBucket" - + "\032r\n\033KMapEstimationQuasiIdValues\0226\n\020quasi" - + "_ids_values\030\001 \003(\0132\034.google.privacy.dlp.v" - + "2.Value\022\033\n\023estimated_anonymity\030\002 \001(\003\032\373\001\n" - + "\035KMapEstimationHistogramBucket\022\025\n\rmin_an" - + "onymity\030\001 \001(\003\022\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013" - + "bucket_size\030\005 \001(\003\022{\n\rbucket_values\030\006 \003(\013" - + "2d.google.privacy.dlp.v2.AnalyzeDataSour" - + "ceRiskDetails.KMapEstimationResult.KMapE" - + "stimationQuasiIdValues\022\032\n\022bucket_value_c" - + "ount\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimationRe" - + "sult\022\245\001\n#delta_presence_estimation_histo" - + "gram\030\001 \003(\0132x.google.privacy.dlp.v2.Analy" - + "zeDataSourceRiskDetails.DeltaPresenceEst" - + "imationResult.DeltaPresenceEstimationHis" - + "togramBucket\032}\n$DeltaPresenceEstimationQ" - + "uasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\0132\034" - + ".google.privacy.dlp.v2.Value\022\035\n\025estimate" - + "d_probability\030\002 \001(\001\032\233\002\n&DeltaPresenceEst" - + "imationHistogramBucket\022\027\n\017min_probabilit" - + "y\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013buck" - + "et_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132v." - + "google.privacy.dlp.v2.AnalyzeDataSourceR" - + "iskDetails.DeltaPresenceEstimationResult" - + ".DeltaPresenceEstimationQuasiIdValues\022\032\n" - + "\022bucket_value_count\030\007 \001(\003\032`\n\034RequestedRi" - + "skAnalysisOptions\022@\n\njob_config\030\001 \001(\0132,." - + "google.privacy.dlp.v2.RiskAnalysisJobCon" - + "figB\010\n\006result\"L\n\016ValueFrequency\022+\n\005value" - + "\030\001 \001(\0132\034.google.privacy.dlp.v2.Value\022\r\n\005" - + "count\030\002 \001(\003\"\263\002\n\005Value\022\027\n\rinteger_value\030\001" - + " \001(\003H\000\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014string_" - + "value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000\0225" - + "\n\017timestamp_value\030\005 \001(\0132\032.google.protobu" - + "f.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026.goog" - + "le.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(\0132" - + "\021.google.type.DateH\000\0223\n\021day_of_week_valu" - + "e\030\010 \001(\0162\026.google.type.DayOfWeekH\000B\006\n\004typ" - + "e\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.goog" - + "le.privacy.dlp.v2.DateTimeH\000B\016\n\014parsed_q" - + "uote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.google" - + ".type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.google" - + ".type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google.t" - + "ype.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.googl" - + "e.privacy.dlp.v2.DateTime.TimeZone\032\"\n\010Ti" - + "meZone\022\026\n\016offset_minutes\030\001 \001(\005\"\244\002\n\020Deide" - + "ntifyConfig\022S\n\031info_type_transformations" - + "\030\001 \001(\0132..google.privacy.dlp.v2.InfoTypeT" - + "ransformationsH\000\022N\n\026record_transformatio" - + "ns\030\002 \001(\0132,.google.privacy.dlp.v2.RecordT" - + "ransformationsH\000\022Y\n\035transformation_error" - + "_handling\030\003 \001(\01322.google.privacy.dlp.v2." - + "TransformationErrorHandlingB\020\n\016transform" - + "ation\"\205\002\n\033TransformationErrorHandling\022T\n" - + "\013throw_error\030\001 \001(\0132=.google.privacy.dlp." - + "v2.TransformationErrorHandling.ThrowErro" - + "rH\000\022d\n\023leave_untransformed\030\002 \001(\0132E.googl" - + "e.privacy.dlp.v2.TransformationErrorHand" - + "ling.LeaveUntransformedH\000\032\014\n\nThrowError\032", - "\024\n\022LeaveUntransformedB\006\n\004mode\"\365\006\n\027Primit" - + "iveTransformation\022C\n\016replace_config\030\001 \001(" - + "\0132).google.privacy.dlp.v2.ReplaceValueCo" - + "nfigH\000\022<\n\rredact_config\030\002 \001(\0132#.google.p" - + "rivacy.dlp.v2.RedactConfigH\000\022K\n\025characte" - + "r_mask_config\030\003 \001(\0132*.google.privacy.dlp" - + ".v2.CharacterMaskConfigH\000\022Y\n\035crypto_repl" - + "ace_ffx_fpe_config\030\004 \001(\01320.google.privac" - + "y.dlp.v2.CryptoReplaceFfxFpeConfigH\000\022V\n\033" - + "fixed_size_bucketing_config\030\005 \001(\0132/.goog" - + "le.privacy.dlp.v2.FixedSizeBucketingConf" - + "igH\000\022B\n\020bucketing_config\030\006 \001(\0132&.google." - + "privacy.dlp.v2.BucketingConfigH\000\022Y\n\035repl" - + "ace_with_info_type_config\030\007 \001(\01320.google" - + ".privacy.dlp.v2.ReplaceWithInfoTypeConfi" - + "gH\000\022A\n\020time_part_config\030\010 \001(\0132%.google.p" - + "rivacy.dlp.v2.TimePartConfigH\000\022E\n\022crypto" - + "_hash_config\030\t \001(\0132\'.google.privacy.dlp." - + "v2.CryptoHashConfigH\000\022C\n\021date_shift_conf" - + "ig\030\013 \001(\0132&.google.privacy.dlp.v2.DateShi" - + "ftConfigH\000\022W\n\033crypto_deterministic_confi" - + "g\030\014 \001(\01320.google.privacy.dlp.v2.CryptoDe" - + "terministicConfigH\000B\020\n\016transformation\"\334\001" - + "\n\016TimePartConfig\022G\n\017part_to_extract\030\001 \001(" - + "\0162..google.privacy.dlp.v2.TimePartConfig" - + ".TimePart\"\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSP" - + "ECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF" - + "_MONTH\020\003\022\017\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEA" - + "R\020\005\022\017\n\013HOUR_OF_DAY\020\006\"H\n\020CryptoHashConfig" - + "\0224\n\ncrypto_key\030\001 \001(\0132 .google.privacy.dl" - + "p.v2.CryptoKey\"\300\001\n\031CryptoDeterministicCo" - + "nfig\0224\n\ncrypto_key\030\001 \001(\0132 .google.privac" - + "y.dlp.v2.CryptoKey\022<\n\023surrogate_info_typ" + + "onfigH\000\022n\n delta_presence_estimation_con" + + "fig\030\006 \001(\0132B.google.privacy.dlp.v2.Privac" + + "yMetric.DeltaPresenceEstimationConfigH\000\032" + + "E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001(\0132\036" + + ".google.privacy.dlp.v2.FieldId\032G\n\026Catego" + + "ricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.google" + + ".privacy.dlp.v2.FieldId\032y\n\020KAnonymityCon" + + "fig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.privacy." + + "dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037.goog" + + "le.privacy.dlp.v2.EntityId\032\202\001\n\020LDiversit" + + "yConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priv" + + "acy.dlp.v2.FieldId\022;\n\023sensitive_attribut" + + "e\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldId\032" + + "\201\006\n\024KMapEstimationConfig\022]\n\tquasi_ids\030\001 " + + "\003(\0132E.google.privacy.dlp.v2.PrivacyMetri" + + "c.KMapEstimationConfig.TaggedFieldB\003\340A\002\022" + + "\023\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_tables" + + "\030\003 \003(\0132H.google.privacy.dlp.v2.PrivacyMe" + + "tric.KMapEstimationConfig.AuxiliaryTable" + + "\032\300\001\n\013TaggedField\0222\n\005field\030\001 \001(\0132\036.google" + + ".privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_typ" + "e\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoType" - + "\022/\n\007context\030\003 \001(\0132\036.google.privacy.dlp.v" - + "2.FieldId\"E\n\022ReplaceValueConfig\022/\n\tnew_v" - + "alue\030\001 \001(\0132\034.google.privacy.dlp.v2.Value" - + "\"\033\n\031ReplaceWithInfoTypeConfig\"\016\n\014RedactC" - + "onfig\"\266\002\n\rCharsToIgnore\022\034\n\022characters_to" - + "_skip\030\001 \001(\tH\000\022_\n\033common_characters_to_ig" - + "nore\030\002 \001(\01628.google.privacy.dlp.v2.Chars" - + "ToIgnore.CommonCharsToIgnoreH\000\"\227\001\n\023Commo" - + "nCharsToIgnore\022&\n\"COMMON_CHARS_TO_IGNORE" - + "_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPP" - + "ER_CASE\020\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCT" - + "UATION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\"\243" - + "\001\n\023CharacterMaskConfig\022\031\n\021masking_charac" - + "ter\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rrev" - + "erse_order\030\003 \001(\010\022B\n\024characters_to_ignore" - + "\030\004 \003(\0132$.google.privacy.dlp.v2.CharsToIg" - + "nore\"\244\001\n\030FixedSizeBucketingConfig\0226\n\013low" - + "er_bound\030\001 \001(\0132\034.google.privacy.dlp.v2.V" - + "alueB\003\340A\002\0226\n\013upper_bound\030\002 \001(\0132\034.google." - + "privacy.dlp.v2.ValueB\003\340A\002\022\030\n\013bucket_size" - + "\030\003 \001(\001B\003\340A\002\"\360\001\n\017BucketingConfig\022>\n\007bucke" - + "ts\030\001 \003(\0132-.google.privacy.dlp.v2.Bucketi" - + "ngConfig.Bucket\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\0132" - + "\034.google.privacy.dlp.v2.Value\022)\n\003max\030\002 \001" - + "(\0132\034.google.privacy.dlp.v2.Value\022<\n\021repl" - + "acement_value\030\003 \001(\0132\034.google.privacy.dlp" - + ".v2.ValueB\003\340A\002\"\371\003\n\031CryptoReplaceFfxFpeCo" - + "nfig\0229\n\ncrypto_key\030\001 \001(\0132 .google.privac" - + "y.dlp.v2.CryptoKeyB\003\340A\002\022/\n\007context\030\002 \001(\013" - + "2\036.google.privacy.dlp.v2.FieldId\022c\n\017comm" - + "on_alphabet\030\004 \001(\0162H.google.privacy.dlp.v" - + "2.CryptoReplaceFfxFpeConfig.FfxCommonNat" - + "iveAlphabetH\000\022\031\n\017custom_alphabet\030\005 \001(\tH\000" - + "\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_info_type" - + "\030\010 \001(\0132\037.google.privacy.dlp.v2.InfoType\"" - + "\224\001\n\027FfxCommonNativeAlphabet\022*\n&FFX_COMMO" - + "N_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013\n\007NUMER" - + "IC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CASE_ALPH" - + "A_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n\010alphab" - + "et\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001(\0132).go" - + "ogle.privacy.dlp.v2.TransientCryptoKeyH\000" - + "\022>\n\tunwrapped\030\002 \001(\0132).google.privacy.dlp" - + ".v2.UnwrappedCryptoKeyH\000\022A\n\013kms_wrapped\030" - + "\003 \001(\0132*.google.privacy.dlp.v2.KmsWrapped" - + "CryptoKeyH\000B\010\n\006source\"\'\n\022TransientCrypto" - + "Key\022\021\n\004name\030\001 \001(\tB\003\340A\002\"&\n\022UnwrappedCrypt" - + "oKey\022\020\n\003key\030\001 \001(\014B\003\340A\002\"M\n\023KmsWrappedCryp" - + "toKey\022\030\n\013wrapped_key\030\001 \001(\014B\003\340A\002\022\034\n\017crypt" - + "o_key_name\030\002 \001(\tB\003\340A\002\"\302\001\n\017DateShiftConfi" - + "g\022\035\n\020upper_bound_days\030\001 \001(\005B\003\340A\002\022\035\n\020lowe" - + "r_bound_days\030\002 \001(\005B\003\340A\002\022/\n\007context\030\003 \001(\013" - + "2\036.google.privacy.dlp.v2.FieldId\0226\n\ncryp" - + "to_key\030\004 \001(\0132 .google.privacy.dlp.v2.Cry" - + "ptoKeyH\000B\010\n\006method\"\245\002\n\027InfoTypeTransform" - + "ations\022c\n\017transformations\030\001 \003(\0132E.google" - + ".privacy.dlp.v2.InfoTypeTransformations." - + "InfoTypeTransformationB\003\340A\002\032\244\001\n\026InfoType" - + "Transformation\0223\n\ninfo_types\030\001 \003(\0132\037.goo" - + "gle.privacy.dlp.v2.InfoType\022U\n\030primitive" - + "_transformation\030\002 \001(\0132..google.privacy.d" - + "lp.v2.PrimitiveTransformationB\003\340A\002\"\300\002\n\023F" - + "ieldTransformation\0223\n\006fields\030\001 \003(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldIdB\003\340A\002\0229\n\tcondi" - + "tion\030\003 \001(\0132&.google.privacy.dlp.v2.Recor" - + "dCondition\022R\n\030primitive_transformation\030\004" - + " \001(\0132..google.privacy.dlp.v2.PrimitiveTr" - + "ansformationH\000\022S\n\031info_type_transformati" - + "ons\030\005 \001(\0132..google.privacy.dlp.v2.InfoTy" - + "peTransformationsH\000B\020\n\016transformation\"\251\001" - + "\n\025RecordTransformations\022I\n\025field_transfo" - + "rmations\030\001 \003(\0132*.google.privacy.dlp.v2.F" - + "ieldTransformation\022E\n\023record_suppression" - + "s\030\002 \003(\0132(.google.privacy.dlp.v2.RecordSu" - + "ppression\"N\n\021RecordSuppression\0229\n\tcondit" - + "ion\030\001 \001(\0132&.google.privacy.dlp.v2.Record" - + "Condition\"\334\004\n\017RecordCondition\022G\n\013express" - + "ions\030\003 \001(\01322.google.privacy.dlp.v2.Recor" - + "dCondition.Expressions\032\256\001\n\tCondition\0222\n\005" - + "field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dIdB\003\340A\002\022@\n\010operator\030\003 \001(\0162).google.priv" - + "acy.dlp.v2.RelationalOperatorB\003\340A\002\022+\n\005va" - + "lue\030\004 \001(\0132\034.google.privacy.dlp.v2.Value\032" - + "R\n\nConditions\022D\n\nconditions\030\001 \003(\01320.goog" + + "H\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001" + + "(\0132\026.google.protobuf.EmptyH\000B\005\n\003tag\032\315\002\n\016" + + "AuxiliaryTable\0228\n\005table\030\003 \001(\0132$.google.p" + + "rivacy.dlp.v2.BigQueryTableB\003\340A\002\022m\n\tquas" + + "i_ids\030\001 \003(\0132U.google.privacy.dlp.v2.Priv" + + "acyMetric.KMapEstimationConfig.Auxiliary" + + "Table.QuasiIdFieldB\003\340A\002\022?\n\022relative_freq" + + "uency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fiel" + + "dIdB\003\340A\002\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(\0132" + + "\036.google.privacy.dlp.v2.FieldId\022\022\n\ncusto" + + "m_tag\030\002 \001(\t\032\257\001\n\035DeltaPresenceEstimationC" + + "onfig\0226\n\tquasi_ids\030\001 \003(\0132\036.google.privac" + + "y.dlp.v2.QuasiIdB\003\340A\002\022\023\n\013region_code\030\002 \001" + + "(\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.google.pr" + + "ivacy.dlp.v2.StatisticalTableB\006\n\004type\"\301\037" + + "\n\034AnalyzeDataSourceRiskDetails\022F\n\030reques" + + "ted_privacy_metric\030\001 \001(\0132$.google.privac" + + "y.dlp.v2.PrivacyMetric\022D\n\026requested_sour" + + "ce_table\030\002 \001(\0132$.google.privacy.dlp.v2.B" + + "igQueryTable\022j\n\026numerical_stats_result\030\003" + + " \001(\0132H.google.privacy.dlp.v2.AnalyzeData" + + "SourceRiskDetails.NumericalStatsResultH\000" + + "\022n\n\030categorical_stats_result\030\004 \001(\0132J.goo" + + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" + + "Details.CategoricalStatsResultH\000\022b\n\022k_an" + + "onymity_result\030\005 \001(\0132D.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.KAnony" + + "mityResultH\000\022b\n\022l_diversity_result\030\006 \001(\013" + + "2D.google.privacy.dlp.v2.AnalyzeDataSour" + + "ceRiskDetails.LDiversityResultH\000\022k\n\027k_ma" + + "p_estimation_result\030\007 \001(\0132H.google.priva" + + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.K" + + "MapEstimationResultH\000\022}\n delta_presence_" + + "estimation_result\030\t \001(\0132Q.google.privacy" + + ".dlp.v2.AnalyzeDataSourceRiskDetails.Del" + + "taPresenceEstimationResultH\000\022k\n\021requeste" + + "d_options\030\n \001(\0132P.google.privacy.dlp.v2." + + "AnalyzeDataSourceRiskDetails.RequestedRi" + + "skAnalysisOptions\032\257\001\n\024NumericalStatsResu" + + "lt\022/\n\tmin_value\030\001 \001(\0132\034.google.privacy.d" + + "lp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.google." + + "privacy.dlp.v2.Value\0225\n\017quantile_values\030" + + "\004 \003(\0132\034.google.privacy.dlp.v2.Value\032\215\003\n\026" + + "CategoricalStatsResult\022\225\001\n!value_frequen" + + "cy_histogram_buckets\030\005 \003(\0132j.google.priv" + + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." + + "CategoricalStatsResult.CategoricalStatsH" + + "istogramBucket\032\332\001\n\037CategoricalStatsHisto" + + "gramBucket\022#\n\033value_frequency_lower_boun" + + "d\030\001 \001(\003\022#\n\033value_frequency_upper_bound\030\002" + + " \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket_valu" + + "es\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFr" + + "equency\022\032\n\022bucket_value_count\030\005 \001(\003\032\265\004\n\020" + + "KAnonymityResult\022\213\001\n#equivalence_class_h" + + "istogram_buckets\030\005 \003(\0132^.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.KAno" + + "nymityResult.KAnonymityHistogramBucket\032t" + + "\n\032KAnonymityEquivalenceClass\0226\n\020quasi_id" + + "s_values\030\001 \003(\0132\034.google.privacy.dlp.v2.V" + + "alue\022\036\n\026equivalence_class_size\030\002 \001(\003\032\234\002\n" + + "\031KAnonymityHistogramBucket\022*\n\"equivalenc" + + "e_class_size_lower_bound\030\001 \001(\003\022*\n\"equiva" + + "lence_class_size_upper_bound\030\002 \001(\003\022\023\n\013bu" + + "cket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_" + + ".google.privacy.dlp.v2.AnalyzeDataSource" + + "RiskDetails.KAnonymityResult.KAnonymityE" + + "quivalenceClass\022\032\n\022bucket_value_count\030\005 " + + "\001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensitive_v" + + "alue_frequency_histogram_buckets\030\005 \003(\0132^" + + ".google.privacy.dlp.v2.AnalyzeDataSource" + + "RiskDetails.LDiversityResult.LDiversityH" + + "istogramBucket\032\340\001\n\032LDiversityEquivalence" + + "Class\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google" + + ".privacy.dlp.v2.Value\022\036\n\026equivalence_cla" + + "ss_size\030\002 \001(\003\022%\n\035num_distinct_sensitive_" + + "values\030\003 \001(\003\022C\n\024top_sensitive_values\030\004 \003" + + "(\0132%.google.privacy.dlp.v2.ValueFrequenc" + + "y\032\242\002\n\031LDiversityHistogramBucket\022-\n%sensi" + + "tive_value_frequency_lower_bound\030\001 \001(\003\022-" + + "\n%sensitive_value_frequency_upper_bound\030" + + "\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_val" + + "ues\030\004 \003(\0132_.google.privacy.dlp.v2.Analyz" + + "eDataSourceRiskDetails.LDiversityResult." + + "LDiversityEquivalenceClass\022\032\n\022bucket_val" + + "ue_count\030\005 \001(\003\032\225\004\n\024KMapEstimationResult\022" + + "\212\001\n\032k_map_estimation_histogram\030\001 \003(\0132f.g" + + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" + + "skDetails.KMapEstimationResult.KMapEstim" + + "ationHistogramBucket\032r\n\033KMapEstimationQu" + + "asiIdValues\0226\n\020quasi_ids_values\030\001 \003(\0132\034." + + "google.privacy.dlp.v2.Value\022\033\n\023estimated" + + "_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimationHisto" + + "gramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025\n\rmax" + + "_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 \001(\003\022{\n" + + "\rbucket_values\030\006 \003(\0132d.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.KMapEs" + + "timationResult.KMapEstimationQuasiIdValu" + + "es\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035Delta" + + "PresenceEstimationResult\022\245\001\n#delta_prese" + + "nce_estimation_histogram\030\001 \003(\0132x.google." + + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" + + "ils.DeltaPresenceEstimationResult.DeltaP" + + "resenceEstimationHistogramBucket\032}\n$Delt" + + "aPresenceEstimationQuasiIdValues\0226\n\020quas" + + "i_ids_values\030\001 \003(\0132\034.google.privacy.dlp." + + "v2.Value\022\035\n\025estimated_probability\030\002 \001(\001\032" + + "\233\002\n&DeltaPresenceEstimationHistogramBuck" + + "et\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max_proba" + + "bility\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215\001\n\rbu" + + "cket_values\030\006 \003(\0132v.google.privacy.dlp.v" + + "2.AnalyzeDataSourceRiskDetails.DeltaPres" + + "enceEstimationResult.DeltaPresenceEstima" + + "tionQuasiIdValues\022\032\n\022bucket_value_count\030" + + "\007 \001(\003\032`\n\034RequestedRiskAnalysisOptions\022@\n" + + "\njob_config\030\001 \001(\0132,.google.privacy.dlp.v" + + "2.RiskAnalysisJobConfigB\010\n\006result\"L\n\016Val" + + "ueFrequency\022+\n\005value\030\001 \001(\0132\034.google.priv" + + "acy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Valu" + + "e\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013float_valu" + + "e\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000\022\027\n\rboo" + + "lean_value\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 " + + "\001(\0132\032.google.protobuf.TimestampH\000\022,\n\ntim" + + "e_value\030\006 \001(\0132\026.google.type.TimeOfDayH\000\022" + + "\'\n\ndate_value\030\007 \001(\0132\021.google.type.DateH\000" + + "\0223\n\021day_of_week_value\030\010 \001(\0162\026.google.typ" + + "e.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tda" + + "te_time\030\002 \001(\0132\037.google.privacy.dlp.v2.Da" + + "teTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateTime\022\037\n" + + "\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013day_of" + + "_week\030\002 \001(\0162\026.google.type.DayOfWeek\022$\n\004t" + + "ime\030\003 \001(\0132\026.google.type.TimeOfDay\022;\n\ttim" + + "e_zone\030\004 \001(\0132(.google.privacy.dlp.v2.Dat" + + "eTime.TimeZone\032\"\n\010TimeZone\022\026\n\016offset_min" + + "utes\030\001 \001(\005\"\244\002\n\020DeidentifyConfig\022S\n\031info_" + + "type_transformations\030\001 \001(\0132..google.priv" + + "acy.dlp.v2.InfoTypeTransformationsH\000\022N\n\026" + + "record_transformations\030\002 \001(\0132,.google.pr" + + "ivacy.dlp.v2.RecordTransformationsH\000\022Y\n\035" + + "transformation_error_handling\030\003 \001(\01322.go" + + "ogle.privacy.dlp.v2.TransformationErrorH" + + "andlingB\020\n\016transformation\"\205\002\n\033Transforma" + + "tionErrorHandling\022T\n\013throw_error\030\001 \001(\0132=" + + ".google.privacy.dlp.v2.TransformationErr" + + "orHandling.ThrowErrorH\000\022d\n\023leave_untrans" + + "formed\030\002 \001(\0132E.google.privacy.dlp.v2.Tra" + + "nsformationErrorHandling.LeaveUntransfor", + "medH\000\032\014\n\nThrowError\032\024\n\022LeaveUntransforme" + + "dB\006\n\004mode\"\312\007\n\027PrimitiveTransformation\022C\n" + + "\016replace_config\030\001 \001(\0132).google.privacy.d" + + "lp.v2.ReplaceValueConfigH\000\022<\n\rredact_con" + + "fig\030\002 \001(\0132#.google.privacy.dlp.v2.Redact" + + "ConfigH\000\022K\n\025character_mask_config\030\003 \001(\0132" + + "*.google.privacy.dlp.v2.CharacterMaskCon" + + "figH\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004" + + " \001(\01320.google.privacy.dlp.v2.CryptoRepla" + + "ceFfxFpeConfigH\000\022V\n\033fixed_size_bucketing" + + "_config\030\005 \001(\0132/.google.privacy.dlp.v2.Fi" + + "xedSizeBucketingConfigH\000\022B\n\020bucketing_co" + + "nfig\030\006 \001(\0132&.google.privacy.dlp.v2.Bucke" + + "tingConfigH\000\022Y\n\035replace_with_info_type_c" + + "onfig\030\007 \001(\01320.google.privacy.dlp.v2.Repl" + + "aceWithInfoTypeConfigH\000\022A\n\020time_part_con" + + "fig\030\010 \001(\0132%.google.privacy.dlp.v2.TimePa" + + "rtConfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'" + + ".google.privacy.dlp.v2.CryptoHashConfigH" + + "\000\022C\n\021date_shift_config\030\013 \001(\0132&.google.pr" + + "ivacy.dlp.v2.DateShiftConfigH\000\022W\n\033crypto" + + "_deterministic_config\030\014 \001(\01320.google.pri" + + "vacy.dlp.v2.CryptoDeterministicConfigH\000\022" + + "S\n\031replace_dictionary_config\030\r \001(\0132..goo" + + "gle.privacy.dlp.v2.ReplaceDictionaryConf" + + "igH\000B\020\n\016transformation\"\334\001\n\016TimePartConfi" + + "g\022G\n\017part_to_extract\030\001 \001(\0162..google.priv" + + "acy.dlp.v2.TimePartConfig.TimePart\"\200\001\n\010T" + + "imePart\022\031\n\025TIME_PART_UNSPECIFIED\020\000\022\010\n\004YE" + + "AR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003\022\017\n\013DAY" + + "_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013HOUR_OF_" + + "DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030" + + "\001 \001(\0132 .google.privacy.dlp.v2.CryptoKey\"" + + "\300\001\n\031CryptoDeterministicConfig\0224\n\ncrypto_" + + "key\030\001 \001(\0132 .google.privacy.dlp.v2.Crypto" + + "Key\022<\n\023surrogate_info_type\030\002 \001(\0132\037.googl" + + "e.privacy.dlp.v2.InfoType\022/\n\007context\030\003 \001" + + "(\0132\036.google.privacy.dlp.v2.FieldId\"E\n\022Re" + + "placeValueConfig\022/\n\tnew_value\030\001 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.Value\"q\n\027ReplaceDict" + + "ionaryConfig\022N\n\tword_list\030\001 \001(\01329.google" + + ".privacy.dlp.v2.CustomInfoType.Dictionar" + + "y.WordListH\000B\006\n\004type\"\033\n\031ReplaceWithInfoT" + + "ypeConfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgn" + + "ore\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033com" + + "mon_characters_to_ignore\030\002 \001(\01628.google." + + "privacy.dlp.v2.CharsToIgnore.CommonChars" + + "ToIgnoreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"CO" + + "MMON_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NU" + + "MERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_L" + + "OWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPA" + + "CE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterMaskConf" + + "ig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016number_" + + "to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024" + + "characters_to_ignore\030\004 \003(\0132$.google.priv" + + "acy.dlp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBu" + + "cketingConfig\0226\n\013lower_bound\030\001 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_b" + + "ound\030\002 \001(\0132\034.google.privacy.dlp.v2.Value" + + "B\003\340A\002\022\030\n\013bucket_size\030\003 \001(\001B\003\340A\002\"\360\001\n\017Buck" + + "etingConfig\022>\n\007buckets\030\001 \003(\0132-.google.pr" + + "ivacy.dlp.v2.BucketingConfig.Bucket\032\234\001\n\006" + + "Bucket\022)\n\003min\030\001 \001(\0132\034.google.privacy.dlp" + + ".v2.Value\022)\n\003max\030\002 \001(\0132\034.google.privacy." + + "dlp.v2.Value\022<\n\021replacement_value\030\003 \001(\0132" + + "\034.google.privacy.dlp.v2.ValueB\003\340A\002\"\371\003\n\031C" + + "ryptoReplaceFfxFpeConfig\0229\n\ncrypto_key\030\001" + + " \001(\0132 .google.privacy.dlp.v2.CryptoKeyB\003" + + "\340A\002\022/\n\007context\030\002 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\022c\n\017common_alphabet\030\004 \001(\0162H." + + "google.privacy.dlp.v2.CryptoReplaceFfxFp" + + "eConfig.FfxCommonNativeAlphabetH\000\022\031\n\017cus" + + "tom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n" + + "\023surrogate_info_type\030\010 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNativeA" + + "lphabet\022*\n&FFX_COMMON_NATIVE_ALPHABET_UN" + + "SPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020" + + "\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA" + + "_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\t" + + "transient\030\001 \001(\0132).google.privacy.dlp.v2." + + "TransientCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132" + + ").google.privacy.dlp.v2.UnwrappedCryptoK" + + "eyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google.priva" + + "cy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006sourc" + + "e\"\'\n\022TransientCryptoKey\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\002\"&\n\022UnwrappedCryptoKey\022\020\n\003key\030\001 \001(\014B\003\340" + + "A\002\"M\n\023KmsWrappedCryptoKey\022\030\n\013wrapped_key" + + "\030\001 \001(\014B\003\340A\002\022\034\n\017crypto_key_name\030\002 \001(\tB\003\340A" + + "\002\"\302\001\n\017DateShiftConfig\022\035\n\020upper_bound_day" + + "s\030\001 \001(\005B\003\340A\002\022\035\n\020lower_bound_days\030\002 \001(\005B\003" + + "\340A\002\022/\n\007context\030\003 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .googl" + + "e.privacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\245" + + "\002\n\027InfoTypeTransformations\022c\n\017transforma" + + "tions\030\001 \003(\0132E.google.privacy.dlp.v2.Info" + + "TypeTransformations.InfoTypeTransformati" + + "onB\003\340A\002\032\244\001\n\026InfoTypeTransformation\0223\n\nin" + + "fo_types\030\001 \003(\0132\037.google.privacy.dlp.v2.I" + + "nfoType\022U\n\030primitive_transformation\030\002 \001(" + + "\0132..google.privacy.dlp.v2.PrimitiveTrans" + + "formationB\003\340A\002\"\300\002\n\023FieldTransformation\0223" + + "\n\006fields\030\001 \003(\0132\036.google.privacy.dlp.v2.F" + + "ieldIdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.google." + + "privacy.dlp.v2.RecordCondition\022R\n\030primit" + + "ive_transformation\030\004 \001(\0132..google.privac" + + "y.dlp.v2.PrimitiveTransformationH\000\022S\n\031in" + + "fo_type_transformations\030\005 \001(\0132..google.p" + + "rivacy.dlp.v2.InfoTypeTransformationsH\000B" + + "\020\n\016transformation\"\251\001\n\025RecordTransformati" + + "ons\022I\n\025field_transformations\030\001 \003(\0132*.goo" + + "gle.privacy.dlp.v2.FieldTransformation\022E" + + "\n\023record_suppressions\030\002 \003(\0132(.google.pri" + + "vacy.dlp.v2.RecordSuppression\"N\n\021RecordS" + + "uppression\0229\n\tcondition\030\001 \001(\0132&.google.p" + + "rivacy.dlp.v2.RecordCondition\"\334\004\n\017Record" + + "Condition\022G\n\013expressions\030\003 \001(\01322.google." + + "privacy.dlp.v2.RecordCondition.Expressio" + + "ns\032\256\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.google" + + ".privacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010operator" + + "\030\003 \001(\0162).google.privacy.dlp.v2.Relationa" + + "lOperatorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.p" + + "rivacy.dlp.v2.Value\032R\n\nConditions\022D\n\ncon" + + "ditions\030\001 \003(\01320.google.privacy.dlp.v2.Re" + + "cordCondition.Condition\032\372\001\n\013Expressions\022" + + "\\\n\020logical_operator\030\001 \001(\0162B.google.priva" + + "cy.dlp.v2.RecordCondition.Expressions.Lo" + + "gicalOperator\022G\n\nconditions\030\003 \001(\01321.goog" + "le.privacy.dlp.v2.RecordCondition.Condit" - + "ion\032\372\001\n\013Expressions\022\\\n\020logical_operator\030" - + "\001 \001(\0162B.google.privacy.dlp.v2.RecordCond" - + "ition.Expressions.LogicalOperator\022G\n\ncon" - + "ditions\030\003 \001(\01321.google.privacy.dlp.v2.Re" - + "cordCondition.ConditionsH\000\"<\n\017LogicalOpe" - + "rator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED\020\000\022" - + "\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026TransformationOverv" - + "iew\022\031\n\021transformed_bytes\030\002 \001(\003\022N\n\030transf" - + "ormation_summaries\030\003 \003(\0132,.google.privac" - + "y.dlp.v2.TransformationSummary\"\237\005\n\025Trans" - + "formationSummary\0222\n\tinfo_type\030\001 \001(\0132\037.go" - + "ogle.privacy.dlp.v2.InfoType\022-\n\005field\030\002 " - + "\001(\0132\036.google.privacy.dlp.v2.FieldId\022F\n\016t" - + "ransformation\030\003 \001(\0132..google.privacy.dlp" - + ".v2.PrimitiveTransformation\022I\n\025field_tra" - + "nsformations\030\005 \003(\0132*.google.privacy.dlp." - + "v2.FieldTransformation\022A\n\017record_suppres" - + "s\030\006 \001(\0132(.google.privacy.dlp.v2.RecordSu" - + "ppression\022K\n\007results\030\004 \003(\0132:.google.priv" - + "acy.dlp.v2.TransformationSummary.Summary" - + "Result\022\031\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rSu" - + "mmaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\016" - + "2E.google.privacy.dlp.v2.TransformationS" - + "ummary.TransformationResultCode\022\017\n\007detai" - + "ls\030\003 \001(\t\"^\n\030TransformationResultCode\022*\n&" - + "TRANSFORMATION_RESULT_CODE_UNSPECIFIED\020\000" - + "\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032" - + "recurrence_period_duration\030\001 \001(\0132\031.googl" - + "e.protobuf.DurationH\000B\010\n\006option\"\010\n\006Manua" - + "l\"\302\004\n\017InspectTemplate\022\021\n\004name\030\001 \001(\tB\003\340A\003" - + "\022\024\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003 " - + "\001(\t\0224\n\013create_time\030\004 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\022<\n\016inspe" - + "ct_config\030\006 \001(\0132$.google.privacy.dlp.v2." - + "InspectConfig:\306\002\352A\302\002\n\"dlp.googleapis.com" - + "/InspectTemplate\022@organizations/{organiz" + + "ionsH\000\"<\n\017LogicalOperator\022 \n\034LOGICAL_OPE" + + "RATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n" + + "\026TransformationOverview\022\031\n\021transformed_b" + + "ytes\030\002 \001(\003\022N\n\030transformation_summaries\030\003" + + " \003(\0132,.google.privacy.dlp.v2.Transformat" + + "ionSummary\"\237\005\n\025TransformationSummary\0222\n\t" + + "info_type\030\001 \001(\0132\037.google.privacy.dlp.v2." + + "InfoType\022-\n\005field\030\002 \001(\0132\036.google.privacy" + + ".dlp.v2.FieldId\022F\n\016transformation\030\003 \001(\0132" + + "..google.privacy.dlp.v2.PrimitiveTransfo" + + "rmation\022I\n\025field_transformations\030\005 \003(\0132*" + + ".google.privacy.dlp.v2.FieldTransformati" + + "on\022A\n\017record_suppress\030\006 \001(\0132(.google.pri" + + "vacy.dlp.v2.RecordSuppression\022K\n\007results" + + "\030\004 \003(\0132:.google.privacy.dlp.v2.Transform" + + "ationSummary.SummaryResult\022\031\n\021transforme" + + "d_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r\n\005count" + + "\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.privacy.dl" + + "p.v2.TransformationSummary.Transformatio" + + "nResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Transfor" + + "mationResultCode\022*\n&TRANSFORMATION_RESUL" + + "T_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERR" + + "OR\020\002\"U\n\010Schedule\022?\n\032recurrence_period_du" + + "ration\030\001 \001(\0132\031.google.protobuf.DurationH" + + "\000B\010\n\006option\"\010\n\006Manual\"\302\004\n\017InspectTemplat" + + "e\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name\030\002 \001" + + "(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_time\030\004" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022<\n\016inspect_config\030\006 \001(\0132$.go" + + "ogle.privacy.dlp.v2.InspectConfig:\306\002\352A\302\002" + + "\n\"dlp.googleapis.com/InspectTemplate\022@or" + + "ganizations/{organization}/inspectTempla" + + "tes/{inspect_template}\0226projects/{projec" + + "t}/inspectTemplates/{inspect_template}\022U" + + "organizations/{organization}/locations/{" + + "location}/inspectTemplates/{inspect_temp" + + "late}\022Kprojects/{project}/locations/{loc" + "ation}/inspectTemplates/{inspect_templat" - + "e}\0226projects/{project}/inspectTemplates/" - + "{inspect_template}\022Uorganizations/{organ" - + "ization}/locations/{location}/inspectTem" - + "plates/{inspect_template}\022Kprojects/{pro" - + "ject}/locations/{location}/inspectTempla" - + "tes/{inspect_template}\"\346\004\n\022DeidentifyTem" - + "plate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display_name" - + "\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224\n\013create_ti" - + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\0224\n\013update_time\030\005 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022B\n\021deidentify_config\030\006 \001" - + "(\0132\'.google.privacy.dlp.v2.DeidentifyCon" - + "fig:\341\002\352A\335\002\n%dlp.googleapis.com/Deidentif" - + "yTemplate\022Forganizations/{organization}/" - + "deidentifyTemplates/{deidentify_template" - + "}\022\n\013inspect_job\030\004 \001(\0132\'.google.priv" - + "acy.dlp.v2.InspectJobConfigH\000\022;\n\010trigger" - + "s\030\005 \003(\0132).google.privacy.dlp.v2.JobTrigg" - + "er.Trigger\0221\n\006errors\030\006 \003(\0132\034.google.priv" - + "acy.dlp.v2.ErrorB\003\340A\003\0224\n\013create_time\030\007 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" - + "pdate_time\030\010 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\0226\n\rlast_run_time\030\t \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022=\n\006status\030\n \001(" - + "\0162(.google.privacy.dlp.v2.JobTrigger.Sta" - + "tusB\003\340A\002\032z\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037." - + "google.privacy.dlp.v2.ScheduleH\000\022/\n\006manu" - + "al\030\002 \001(\0132\035.google.privacy.dlp.v2.ManualH" - + "\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STATUS_UNSPECI" - + "FIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCE" - + "LLED\020\003:\224\001\352A\220\001\n\035dlp.googleapis.com/JobTri" - + "gger\022,projects/{project}/jobTriggers/{jo" - + "b_trigger}\022Aprojects/{project}/locations" - + "/{location}/jobTriggers/{job_trigger}B\005\n" - + "\003job\"\364\005\n\006Action\022C\n\rsave_findings\030\001 \001(\0132*" - + ".google.privacy.dlp.v2.Action.SaveFindin" - + "gsH\000\022@\n\007pub_sub\030\002 \001(\0132-.google.privacy.d" - + "lp.v2.Action.PublishToPubSubH\000\022U\n\027publis" - + "h_summary_to_cscc\030\003 \001(\01322.google.privacy" - + ".dlp.v2.Action.PublishSummaryToCsccH\000\022q\n" - + "&publish_findings_to_cloud_data_catalog\030" - + "\005 \001(\0132?.google.privacy.dlp.v2.Action.Pub" - + "lishFindingsToCloudDataCatalogH\000\022V\n\027job_" - + "notification_emails\030\010 \001(\01323.google.priva" - + "cy.dlp.v2.Action.JobNotificationEmailsH\000" - + "\022T\n\026publish_to_stackdriver\030\t \001(\01322.googl" - + "e.privacy.dlp.v2.Action.PublishToStackdr" - + "iverH\000\032Q\n\014SaveFindings\022A\n\routput_config\030" - + "\001 \001(\0132*.google.privacy.dlp.v2.OutputStor" - + "ageConfig\032 \n\017PublishToPubSub\022\r\n\005topic\030\001 " - + "\001(\t\032\026\n\024PublishSummaryToCscc\032#\n!PublishFi" - + "ndingsToCloudDataCatalog\032\027\n\025JobNotificat" - + "ionEmails\032\026\n\024PublishToStackdriverB\010\n\006act" - + "ion\"\313\001\n\034CreateInspectTemplateRequest\022:\n\006" - + "parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis.com" - + "/InspectTemplate\022E\n\020inspect_template\030\002 \001" - + "(\0132&.google.privacy.dlp.v2.InspectTempla" - + "teB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013location" - + "_id\030\004 \001(\t\"\313\001\n\034UpdateInspectTemplateReque" - + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis" - + ".com/InspectTemplate\022@\n\020inspect_template" - + "\030\002 \001(\0132&.google.privacy.dlp.v2.InspectTe" - + "mplate\022/\n\013update_mask\030\003 \001(\0132\032.google.pro" - + "tobuf.FieldMask\"U\n\031GetInspectTemplateReq" - + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleap" - + "is.com/InspectTemplate\"\247\001\n\033ListInspectTe" - + "mplatesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"" - + "dlp.googleapis.com/InspectTemplate\022\022\n\npa" - + "ge_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010ord" - + "er_by\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"z\n\034List" - + "InspectTemplatesResponse\022A\n\021inspect_temp" - + "lates\030\001 \003(\0132&.google.privacy.dlp.v2.Insp" - + "ectTemplate\022\027\n\017next_page_token\030\002 \001(\t\"X\n\034" - + "DeleteInspectTemplateRequest\0228\n\004name\030\001 \001" - + "(\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectTe" - + "mplate\"\266\001\n\027CreateJobTriggerRequest\0225\n\006pa" - + "rent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.com/J" - + "obTrigger\022;\n\013job_trigger\030\002 \001(\0132!.google." - + "privacy.dlp.v2.JobTriggerB\003\340A\002\022\022\n\ntrigge" - + "r_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"P\n\031Activ" - + "ateJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372" - + "A\037\n\035dlp.googleapis.com/JobTrigger\"\267\001\n\027Up" - + "dateJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002" - + "\372A\037\n\035dlp.googleapis.com/JobTrigger\0226\n\013jo" - + "b_trigger\030\002 \001(\0132!.google.privacy.dlp.v2." - + "JobTrigger\022/\n\013update_mask\030\003 \001(\0132\032.google" - + ".protobuf.FieldMask\"K\n\024GetJobTriggerRequ" - + "est\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapi" - + "s.com/JobTrigger\"\366\001\n\023CreateDlpJobRequest" - + "\0221\n\006parent\030\001 \001(\tB!\340A\002\372A\033\022\031dlp.googleapis" - + ".com/DlpJob\022>\n\013inspect_job\030\002 \001(\0132\'.googl" - + "e.privacy.dlp.v2.InspectJobConfigH\000\022@\n\010r" - + "isk_job\030\003 \001(\0132,.google.privacy.dlp.v2.Ri" - + "skAnalysisJobConfigH\000\022\016\n\006job_id\030\004 \001(\t\022\023\n" - + "\013location_id\030\005 \001(\tB\005\n\003job\"\255\001\n\026ListJobTri" - + "ggersRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dl" - + "p.googleapis.com/JobTrigger\022\022\n\npage_toke" - + "n\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004" - + " \001(\t\022\016\n\006filter\030\005 \001(\t\022\023\n\013location_id\030\007 \001(" - + "\t\"k\n\027ListJobTriggersResponse\0227\n\014job_trig" - + "gers\030\001 \003(\0132!.google.privacy.dlp.v2.JobTr" - + "igger\022\027\n\017next_page_token\030\002 \001(\t\"N\n\027Delete" - + "JobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n" - + "\035dlp.googleapis.com/JobTrigger\"\335\001\n\020Inspe" - + "ctJobConfig\022<\n\016storage_config\030\001 \001(\0132$.go" - + "ogle.privacy.dlp.v2.StorageConfig\022<\n\016ins" - + "pect_config\030\002 \001(\0132$.google.privacy.dlp.v" - + "2.InspectConfig\022\035\n\025inspect_template_name" - + "\030\003 \001(\t\022.\n\007actions\030\004 \003(\0132\035.google.privacy" - + ".dlp.v2.Action\"\353\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022" - + "/\n\004type\030\002 \001(\0162!.google.privacy.dlp.v2.Dl" - + "pJobType\0225\n\005state\030\003 \001(\0162&.google.privacy" - + ".dlp.v2.DlpJob.JobState\022K\n\014risk_details\030" - + "\004 \001(\01323.google.privacy.dlp.v2.AnalyzeDat" - + "aSourceRiskDetailsH\000\022J\n\017inspect_details\030" - + "\005 \001(\0132/.google.privacy.dlp.v2.InspectDat" - + "aSourceDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022.\n\nstart_time\030" - + "\007 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" - + "_time\030\010 \001(\0132\032.google.protobuf.Timestamp\022" - + "\030\n\020job_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(" - + "\0132\034.google.privacy.dlp.v2.Error\"o\n\010JobSt" - + "ate\022\031\n\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDIN" - + "G\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004" - + "\022\n\n\006FAILED\020\005\022\n\n\006ACTIVE\020\006:\177\352A|\n\031dlp.googl" - + "eapis.com/DlpJob\022$projects/{project}/dlp" - + "Jobs/{dlp_job}\0229projects/{project}/locat" - + "ions/{location}/dlpJobs/{dlp_job}B\t\n\007det" - + "ails\"C\n\020GetDlpJobRequest\022/\n\004name\030\001 \001(\tB!" - + "\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"\326\001\n\022Li" - + "stDlpJobsRequest\0221\n\006parent\030\004 \001(\tB!\340A\002\372A\033" - + "\022\031dlp.googleapis.com/DlpJob\022\016\n\006filter\030\001 " - + "\001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\022/\n\004type\030\005 \001(\0162!.google.privacy.dlp.v2" - + ".DlpJobType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013locatio" - + "n_id\030\007 \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004job" - + "s\030\001 \003(\0132\035.google.privacy.dlp.v2.DlpJob\022\027" - + "\n\017next_page_token\030\002 \001(\t\"F\n\023CancelDlpJobR" - + "equest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.google" - + "apis.com/DlpJob\"F\n\023FinishDlpJobRequest\022/" - + "\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com" - + "/DlpJob\"F\n\023DeleteDlpJobRequest\022/\n\004name\030\001" - + " \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"" - + "\327\001\n\037CreateDeidentifyTemplateRequest\022=\n\006p" - + "arent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/" - + "DeidentifyTemplate\022K\n\023deidentify_templat" - + "e\030\002 \001(\0132).google.privacy.dlp.v2.Deidenti" - + "fyTemplateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013" - + "location_id\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTe" - + "mplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp" - + ".googleapis.com/DeidentifyTemplate\022F\n\023de" - + "identify_template\030\002 \001(\0132).google.privacy" - + ".dlp.v2.DeidentifyTemplate\022/\n\013update_mas" - + "k\030\003 \001(\0132\032.google.protobuf.FieldMask\"[\n\034G" - + "etDeidentifyTemplateRequest\022;\n\004name\030\001 \001(" - + "\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deidentify" - + "Template\"\255\001\n\036ListDeidentifyTemplatesRequ" - + "est\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googlea" - + "pis.com/DeidentifyTemplate\022\022\n\npage_token" - + "\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 " - + "\001(\t\022\023\n\013location_id\030\005 \001(\t\"\203\001\n\037ListDeident" - + "ifyTemplatesResponse\022G\n\024deidentify_templ" - + "ates\030\001 \003(\0132).google.privacy.dlp.v2.Deide" - + "ntifyTemplate\022\027\n\017next_page_token\030\002 \001(\t\"^" - + "\n\037DeleteDeidentifyTemplateRequest\022;\n\004nam" - + "e\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.com/Deid" - + "entifyTemplate\"\364\001\n\033LargeCustomDictionary" - + "Config\022<\n\013output_path\030\001 \001(\0132\'.google.pri" - + "vacy.dlp.v2.CloudStoragePath\022L\n\026cloud_st" - + "orage_file_set\030\002 \001(\0132*.google.privacy.dl" - + "p.v2.CloudStorageFileSetH\000\022?\n\017big_query_" - + "field\030\003 \001(\0132$.google.privacy.dlp.v2.BigQ" - + "ueryFieldH\000B\010\n\006source\"8\n\032LargeCustomDict" - + "ionaryStats\022\032\n\022approx_num_phrases\030\001 \001(\003\"" - + "\246\002\n\024StoredInfoTypeConfig\022\024\n\014display_name" - + "\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_cus" - + "tom_dictionary\030\003 \001(\01322.google.privacy.dl" - + "p.v2.LargeCustomDictionaryConfigH\000\022F\n\ndi" - + "ctionary\030\004 \001(\01320.google.privacy.dlp.v2.C" - + "ustomInfoType.DictionaryH\000\022<\n\005regex\030\005 \001(" - + "\0132+.google.privacy.dlp.v2.CustomInfoType" - + ".RegexH\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022" - + "T\n\027large_custom_dictionary\030\001 \001(\01321.googl" - + "e.privacy.dlp.v2.LargeCustomDictionarySt" - + "atsH\000B\006\n\004type\"\251\002\n\025StoredInfoTypeVersion\022" - + ";\n\006config\030\001 \001(\0132+.google.privacy.dlp.v2." - + "StoredInfoTypeConfig\022/\n\013create_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\0229\n\005state\030\003" - + " \001(\0162*.google.privacy.dlp.v2.StoredInfoT" - + "ypeState\022,\n\006errors\030\004 \003(\0132\034.google.privac" - + "y.dlp.v2.Error\0229\n\005stats\030\005 \001(\0132*.google.p" - + "rivacy.dlp.v2.StoredInfoTypeStats\"\361\003\n\016St" - + "oredInfoType\022\014\n\004name\030\001 \001(\t\022E\n\017current_ve" - + "rsion\030\002 \001(\0132,.google.privacy.dlp.v2.Stor" - + "edInfoTypeVersion\022F\n\020pending_versions\030\003 " - + "\003(\0132,.google.privacy.dlp.v2.StoredInfoTy" - + "peVersion:\301\002\352A\275\002\n!dlp.googleapis.com/Sto" - + "redInfoType\022?organizations/{organization" - + "}/storedInfoTypes/{stored_info_type}\0225pr" - + "ojects/{project}/storedInfoTypes/{stored" - + "_info_type}\022Torganizations/{organization" - + "}/locations/{location}/storedInfoTypes/{" - + "stored_info_type}\022Jprojects/{project}/lo" - + "cations/{location}/storedInfoTypes/{stor" - + "ed_info_type}\"\314\001\n\033CreateStoredInfoTypeRe" - + "quest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googl" - + "eapis.com/StoredInfoType\022@\n\006config\030\002 \001(\013" - + "2+.google.privacy.dlp.v2.StoredInfoTypeC" - + "onfigB\003\340A\002\022\033\n\023stored_info_type_id\030\003 \001(\t\022" - + "\023\n\013location_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInf" - + "oTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp." - + "googleapis.com/StoredInfoType\022;\n\006config\030" - + "\002 \001(\0132+.google.privacy.dlp.v2.StoredInfo" - + "TypeConfig\022/\n\013update_mask\030\003 \001(\0132\032.google" - + ".protobuf.FieldMask\"S\n\030GetStoredInfoType" - + "Request\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googl" - + "eapis.com/StoredInfoType\"\245\001\n\032ListStoredI" - + "nfoTypesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022" - + "!dlp.googleapis.com/StoredInfoType\022\022\n\npa" - + "ge_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010ord" - + "er_by\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"x\n\033List" - + "StoredInfoTypesResponse\022@\n\021stored_info_t" - + "ypes\030\001 \003(\0132%.google.privacy.dlp.v2.Store" - + "dInfoType\022\027\n\017next_page_token\030\002 \001(\t\"V\n\033De" - + "leteStoredInfoTypeRequest\0227\n\004name\030\001 \001(\tB" - + ")\340A\002\372A#\n!dlp.googleapis.com/StoredInfoTy" - + "pe\"\224\001\n\036HybridInspectJobTriggerRequest\0223\n" - + "\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/" - + "JobTrigger\022=\n\013hybrid_item\030\003 \001(\0132(.google" - + ".privacy.dlp.v2.HybridContentItem\"\214\001\n\032Hy" - + "bridInspectDlpJobRequest\022/\n\004name\030\001 \001(\tB!" - + "\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\022=\n\013hyb" - + "rid_item\030\003 \001(\0132(.google.privacy.dlp.v2.H" - + "ybridContentItem\"\213\001\n\021HybridContentItem\0220", - "\n\004item\030\001 \001(\0132\".google.privacy.dlp.v2.Con" - + "tentItem\022D\n\017finding_details\030\002 \001(\0132+.goog" - + "le.privacy.dlp.v2.HybridFindingDetails\"\260" - + "\002\n\024HybridFindingDetails\022;\n\021container_det" - + "ails\030\001 \001(\0132 .google.privacy.dlp.v2.Conta" - + "iner\022\023\n\013file_offset\030\002 \001(\003\022\022\n\nrow_offset\030" - + "\003 \001(\003\022:\n\rtable_options\030\004 \001(\0132#.google.pr" - + "ivacy.dlp.v2.TableOptions\022G\n\006labels\030\005 \003(" - + "\01327.google.privacy.dlp.v2.HybridFindingD" - + "etails.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025HybridInspe" - + "ctResponse*\273\001\n\022RelationalOperator\022#\n\037REL" - + "ATIONAL_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_" - + "TO\020\001\022\020\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003" - + "\022\r\n\tLESS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUAL" - + "S\020\005\022\027\n\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007" - + "*\215\001\n\014MatchingType\022\035\n\031MATCHING_TYPE_UNSPE" - + "CIFIED\020\000\022\034\n\030MATCHING_TYPE_FULL_MATCH\020\001\022\037" - + "\n\033MATCHING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCH" - + "ING_TYPE_INVERSE_MATCH\020\003*M\n\rContentOptio" - + "n\022\027\n\023CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TE" - + "XT\020\001\022\021\n\rCONTENT_IMAGE\020\002*B\n\014MetadataType\022" - + "\034\n\030METADATATYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE" - + "_METADATA\020\002*P\n\023InfoTypeSupportedBy\022\031\n\025EN" - + "UM_TYPE_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRI" - + "SK_ANALYSIS\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_T" - + "YPE_UNSPECIFIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RI" - + "SK_ANALYSIS_JOB\020\002*n\n\023StoredInfoTypeState" - + "\022&\n\"STORED_INFO_TYPE_STATE_UNSPECIFIED\020\000" - + "\022\013\n\007PENDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007" - + "INVALID\020\0042\303I\n\nDlpService\022\333\001\n\016InspectCont" - + "ent\022,.google.privacy.dlp.v2.InspectConte" - + "ntRequest\032-.google.privacy.dlp.v2.Inspec" - + "tContentResponse\"l\202\323\344\223\002f\"\'/v2/{parent=pr" - + "ojects/*}/content:inspect:\001*Z8\"3/v2/{par" - + "ent=projects/*/locations/*}/content:insp" - + "ect:\001*\022\314\001\n\013RedactImage\022).google.privacy." - + "dlp.v2.RedactImageRequest\032*.google.priva" - + "cy.dlp.v2.RedactImageResponse\"f\202\323\344\223\002`\"$/" - + "v2/{parent=projects/*}/image:redact:\001*Z5" - + "\"0/v2/{parent=projects/*/locations/*}/im" - + "age:redact:\001*\022\352\001\n\021DeidentifyContent\022/.go" - + "ogle.privacy.dlp.v2.DeidentifyContentReq" - + "uest\0320.google.privacy.dlp.v2.DeidentifyC" - + "ontentResponse\"r\202\323\344\223\002l\"*/v2/{parent=proj" - + "ects/*}/content:deidentify:\001*Z;\"6/v2/{pa" - + "rent=projects/*/locations/*}/content:dei" - + "dentify:\001*\022\352\001\n\021ReidentifyContent\022/.googl" - + "e.privacy.dlp.v2.ReidentifyContentReques" - + "t\0320.google.privacy.dlp.v2.ReidentifyCont" - + "entResponse\"r\202\323\344\223\002l\"*/v2/{parent=project" - + "s/*}/content:reidentify:\001*Z;\"6/v2/{paren" - + "t=projects/*/locations/*}/content:reiden" - + "tify:\001*\022\260\001\n\rListInfoTypes\022+.google.priva" - + "cy.dlp.v2.ListInfoTypesRequest\032,.google." - + "privacy.dlp.v2.ListInfoTypesResponse\"D\202\323" - + "\344\223\0025\022\r/v2/infoTypesZ$\022\"/v2/{parent=locat" - + "ions/*}/infoTypes\332A\006parent\022\364\002\n\025CreateIns" - + "pectTemplate\0223.google.privacy.dlp.v2.Cre" - + "ateInspectTemplateRequest\032&.google.priva" - + "cy.dlp.v2.InspectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2" - + "/{parent=organizations/*}/inspectTemplat" - + "es:\001*Z>\"9/v2/{parent=organizations/*/loc" - + "ations/*}/inspectTemplates:\001*Z-\"(/v2/{pa" - + "rent=projects/*}/inspectTemplates:\001*Z9\"4" - + "/v2/{parent=projects/*/locations/*}/insp" - + "ectTemplates:\001*\332A\027parent,inspect_templat" - + "e\022\376\002\n\025UpdateInspectTemplate\0223.google.pri" - + "vacy.dlp.v2.UpdateInspectTemplateRequest" - + "\032&.google.privacy.dlp.v2.InspectTemplate" - + "\"\207\002\202\323\344\223\002\334\0012-/v2/{name=organizations/*/in" - + "spectTemplates/*}:\001*Z>29/v2/{name=organi" - + "zations/*/locations/*/inspectTemplates/*" - + "}:\001*Z-2(/v2/{name=projects/*/inspectTemp" - + "lates/*}:\001*Z924/v2/{name=projects/*/loca" - + "tions/*/inspectTemplates/*}:\001*\332A!name,in" - + "spect_template,update_mask\022\317\002\n\022GetInspec" - + "tTemplate\0220.google.privacy.dlp.v2.GetIns" - + "pectTemplateRequest\032&.google.privacy.dlp" - + ".v2.InspectTemplate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name" - + "=organizations/*/inspectTemplates/*}Z;\0229" - + "/v2/{name=organizations/*/locations/*/in" - + "spectTemplates/*}Z*\022(/v2/{name=projects/" - + "*/inspectTemplates/*}Z6\0224/v2/{name=proje" - + "cts/*/locations/*/inspectTemplates/*}\332A\004" - + "name\022\342\002\n\024ListInspectTemplates\0222.google.p" - + "rivacy.dlp.v2.ListInspectTemplatesReques" - + "t\0323.google.privacy.dlp.v2.ListInspectTem" - + "platesResponse\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=or" - + "ganizations/*}/inspectTemplatesZ;\0229/v2/{" - + "parent=organizations/*/locations/*}/insp" - + "ectTemplatesZ*\022(/v2/{parent=projects/*}/" - + "inspectTemplatesZ6\0224/v2/{parent=projects" - + "/*/locations/*}/inspectTemplates\332A\006paren" - + "t\022\305\002\n\025DeleteInspectTemplate\0223.google.pri" - + "vacy.dlp.v2.DeleteInspectTemplateRequest" - + "\032\026.google.protobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/" - + "{name=organizations/*/inspectTemplates/*" - + "}Z;*9/v2/{name=organizations/*/locations" - + "/*/inspectTemplates/*}Z**(/v2/{name=proj" - + "ects/*/inspectTemplates/*}Z6*4/v2/{name=" - + "projects/*/locations/*/inspectTemplates/" - + "*}\332A\004name\022\214\003\n\030CreateDeidentifyTemplate\0226" - + ".google.privacy.dlp.v2.CreateDeidentifyT" - + "emplateRequest\032).google.privacy.dlp.v2.D" - + "eidentifyTemplate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent" - + "=organizations/*}/deidentifyTemplates:\001*" - + "ZA\"\022\022*\"9/v2/{name=projects/*/loc" - + "ations/*/dlpJobs/*}:hybridInspect:\001*\332A\004n" - + "ame\022\221\001\n\014FinishDlpJob\022*.google.privacy.dl" - + "p.v2.FinishDlpJobRequest\032\026.google.protob" - + "uf.Empty\"=\202\323\344\223\0027\"2/v2/{name=projects/*/l" - + "ocations/*/dlpJobs/*}:finish:\001*\032F\312A\022dlp." - + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\372\002\n\031com.google.p" - + "rivacy.dlp.v2B\010DlpProtoP\001Z8google.golang" - + ".org/genproto/googleapis/privacy/dlp/v2;" - + "dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud" - + "\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2\352Ar\n\035dlp" - + ".googleapis.com/DlpContent\022\035projects/{pr" - + "oject}/dlpContent\0222projects/{project}/lo" - + "cations/{location}/dlpContent\352A\\\n\'dlp.go" - + "ogleapis.com/OrganizationLocation\0221organ" - + "izations/{organization}/locations/{locat" - + "ion}b\006proto3" + + "e}\"\346\004\n\022DeidentifyTemplate\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descriptio" + + "n\030\003 \001(\t\0224\n\013create_time\030\004 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022B\n\021d" + + "eidentify_config\030\006 \001(\0132\'.google.privacy." + + "dlp.v2.DeidentifyConfig:\341\002\352A\335\002\n%dlp.goog" + + "leapis.com/DeidentifyTemplate\022Forganizat" + + "ions/{organization}/deidentifyTemplates/" + + "{deidentify_template}\022\n\013inspect_job" + + "\030\004 \001(\0132\'.google.privacy.dlp.v2.InspectJo" + + "bConfigH\000\022;\n\010triggers\030\005 \003(\0132).google.pri" + + "vacy.dlp.v2.JobTrigger.Trigger\0221\n\006errors" + + "\030\006 \003(\0132\034.google.privacy.dlp.v2.ErrorB\003\340A" + + "\003\0224\n\013create_time\030\007 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\0226\n\rlast_ru" + + "n_time\030\t \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022=\n\006status\030\n \001(\0162(.google.privacy.d" + + "lp.v2.JobTrigger.StatusB\003\340A\002\032z\n\007Trigger\022" + + "3\n\010schedule\030\001 \001(\0132\037.google.privacy.dlp.v" + + "2.ScheduleH\000\022/\n\006manual\030\002 \001(\0132\035.google.pr" + + "ivacy.dlp.v2.ManualH\000B\t\n\007trigger\"H\n\006Stat" + + "us\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022" + + "\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003:\224\001\352A\220\001\n\035dlp.g" + + "oogleapis.com/JobTrigger\022,projects/{proj" + + "ect}/jobTriggers/{job_trigger}\022Aprojects" + + "/{project}/locations/{location}/jobTrigg" + + "ers/{job_trigger}B\005\n\003job\"\364\005\n\006Action\022C\n\rs" + + "ave_findings\030\001 \001(\0132*.google.privacy.dlp." + + "v2.Action.SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(" + + "\0132-.google.privacy.dlp.v2.Action.Publish" + + "ToPubSubH\000\022U\n\027publish_summary_to_cscc\030\003 " + + "\001(\01322.google.privacy.dlp.v2.Action.Publi" + + "shSummaryToCsccH\000\022q\n&publish_findings_to" + + "_cloud_data_catalog\030\005 \001(\0132?.google.priva" + + "cy.dlp.v2.Action.PublishFindingsToCloudD" + + "ataCatalogH\000\022V\n\027job_notification_emails\030" + + "\010 \001(\01323.google.privacy.dlp.v2.Action.Job" + + "NotificationEmailsH\000\022T\n\026publish_to_stack" + + "driver\030\t \001(\01322.google.privacy.dlp.v2.Act" + + "ion.PublishToStackdriverH\000\032Q\n\014SaveFindin" + + "gs\022A\n\routput_config\030\001 \001(\0132*.google.priva" + + "cy.dlp.v2.OutputStorageConfig\032 \n\017Publish" + + "ToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummar" + + "yToCscc\032#\n!PublishFindingsToCloudDataCat" + + "alog\032\027\n\025JobNotificationEmails\032\026\n\024Publish" + + "ToStackdriverB\010\n\006action\"\313\001\n\034CreateInspec" + + "tTemplateRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$" + + "\022\"dlp.googleapis.com/InspectTemplate\022E\n\020" + + "inspect_template\030\002 \001(\0132&.google.privacy." + + "dlp.v2.InspectTemplateB\003\340A\002\022\023\n\013template_" + + "id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\313\001\n\034Update" + + "InspectTemplateRequest\0228\n\004name\030\001 \001(\tB*\340A" + + "\002\372A$\n\"dlp.googleapis.com/InspectTemplate" + + "\022@\n\020inspect_template\030\002 \001(\0132&.google.priv" + + "acy.dlp.v2.InspectTemplate\022/\n\013update_mas" + + "k\030\003 \001(\0132\032.google.protobuf.FieldMask\"U\n\031G" + + "etInspectTemplateRequest\0228\n\004name\030\001 \001(\tB*" + + "\340A\002\372A$\n\"dlp.googleapis.com/InspectTempla" + + "te\"\247\001\n\033ListInspectTemplatesRequest\022:\n\006pa" + + "rent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis.com/I" + + "nspectTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpa" + + "ge_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013locat" + + "ion_id\030\005 \001(\t\"z\n\034ListInspectTemplatesResp" + + "onse\022A\n\021inspect_templates\030\001 \003(\0132&.google" + + ".privacy.dlp.v2.InspectTemplate\022\027\n\017next_" + + "page_token\030\002 \001(\t\"X\n\034DeleteInspectTemplat" + + "eRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.goog" + + "leapis.com/InspectTemplate\"\266\001\n\027CreateJob" + + "TriggerRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035" + + "dlp.googleapis.com/JobTrigger\022;\n\013job_tri" + + "gger\030\002 \001(\0132!.google.privacy.dlp.v2.JobTr" + + "iggerB\003\340A\002\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013locati" + + "on_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRequest" + + "\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.c" + + "om/JobTrigger\"\267\001\n\027UpdateJobTriggerReques" + + "t\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis." + + "com/JobTrigger\0226\n\013job_trigger\030\002 \001(\0132!.go" + + "ogle.privacy.dlp.v2.JobTrigger\022/\n\013update" + + "_mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"" + + "K\n\024GetJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340" + + "A\002\372A\037\n\035dlp.googleapis.com/JobTrigger\"\366\001\n" + + "\023CreateDlpJobRequest\0221\n\006parent\030\001 \001(\tB!\340A" + + "\002\372A\033\022\031dlp.googleapis.com/DlpJob\022>\n\013inspe" + + "ct_job\030\002 \001(\0132\'.google.privacy.dlp.v2.Ins" + + "pectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.goog" + + "le.privacy.dlp.v2.RiskAnalysisJobConfigH" + + "\000\022\016\n\006job_id\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\tB\005" + + "\n\003job\"\336\001\n\026ListJobTriggersRequest\0225\n\006pare" + + "nt\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.com/Job" + + "Trigger\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size" + + "\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t" + + "\022/\n\004type\030\006 \001(\0162!.google.privacy.dlp.v2.D" + + "lpJobType\022\023\n\013location_id\030\007 \001(\t\"k\n\027ListJo" + + "bTriggersResponse\0227\n\014job_triggers\030\001 \003(\0132" + + "!.google.privacy.dlp.v2.JobTrigger\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"N\n\027DeleteJobTriggerR" + + "equest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.google" + + "apis.com/JobTrigger\"\335\001\n\020InspectJobConfig" + + "\022<\n\016storage_config\030\001 \001(\0132$.google.privac" + + "y.dlp.v2.StorageConfig\022<\n\016inspect_config" + + "\030\002 \001(\0132$.google.privacy.dlp.v2.InspectCo" + + "nfig\022\035\n\025inspect_template_name\030\003 \001(\t\022.\n\007a" + + "ctions\030\004 \003(\0132\035.google.privacy.dlp.v2.Act" + + "ion\"\353\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001" + + "(\0162!.google.privacy.dlp.v2.DlpJobType\0225\n" + + "\005state\030\003 \001(\0162&.google.privacy.dlp.v2.Dlp" + + "Job.JobState\022K\n\014risk_details\030\004 \001(\01323.goo" + + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" + + "DetailsH\000\022J\n\017inspect_details\030\005 \001(\0132/.goo" + + "gle.privacy.dlp.v2.InspectDataSourceDeta" + + "ilsH\000\022/\n\013create_time\030\006 \001(\0132\032.google.prot" + + "obuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022,\n\010end_time\030\010 \001(\013" + + "2\032.google.protobuf.Timestamp\022\030\n\020job_trig" + + "ger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google." + + "privacy.dlp.v2.Error\"o\n\010JobState\022\031\n\025JOB_" + + "STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNN" + + "ING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED\020" + + "\005\022\n\n\006ACTIVE\020\006:\177\352A|\n\031dlp.googleapis.com/D" + + "lpJob\022$projects/{project}/dlpJobs/{dlp_j" + + "ob}\0229projects/{project}/locations/{locat" + + "ion}/dlpJobs/{dlp_job}B\t\n\007details\"C\n\020Get" + + "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" + + ".googleapis.com/DlpJob\"\326\001\n\022ListDlpJobsRe" + + "quest\0221\n\006parent\030\004 \001(\tB!\340A\002\372A\033\022\031dlp.googl" + + "eapis.com/DlpJob\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004type\030" + + "\005 \001(\0162!.google.privacy.dlp.v2.DlpJobType" + + "\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"" + + "[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001 \003(\0132\035.g" + + "oogle.privacy.dlp.v2.DlpJob\022\027\n\017next_page" + + "_token\030\002 \001(\t\"F\n\023CancelDlpJobRequest\022/\n\004n" + + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/Dl" + + "pJob\"F\n\023FinishDlpJobRequest\022/\n\004name\030\001 \001(" + + "\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJob\"F\n\023" + + "DeleteDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A" + + "\033\n\031dlp.googleapis.com/DlpJob\"\327\001\n\037CreateD" + + "eidentifyTemplateRequest\022=\n\006parent\030\001 \001(\t" + + "B-\340A\002\372A\'\022%dlp.googleapis.com/DeidentifyT" + + "emplate\022K\n\023deidentify_template\030\002 \001(\0132).g" + + "oogle.privacy.dlp.v2.DeidentifyTemplateB" + + "\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013location_id" + + "\030\004 \001(\t\"\327\001\n\037UpdateDeidentifyTemplateReque" + + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis" + + ".com/DeidentifyTemplate\022F\n\023deidentify_te" + + "mplate\030\002 \001(\0132).google.privacy.dlp.v2.Dei" + + "dentifyTemplate\022/\n\013update_mask\030\003 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"[\n\034GetDeidentif" + + "yTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + + "dlp.googleapis.com/DeidentifyTemplate\"\255\001" + + "\n\036ListDeidentifyTemplatesRequest\022=\n\006pare" + + "nt\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Dei" + + "dentifyTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tp" + + "age_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013loca" + + "tion_id\030\005 \001(\t\"\203\001\n\037ListDeidentifyTemplate" + + "sResponse\022G\n\024deidentify_templates\030\001 \003(\0132" + + ").google.privacy.dlp.v2.DeidentifyTempla" + + "te\022\027\n\017next_page_token\030\002 \001(\t\"^\n\037DeleteDei" + + "dentifyTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A" + + "\002\372A\'\n%dlp.googleapis.com/DeidentifyTempl" + + "ate\"\364\001\n\033LargeCustomDictionaryConfig\022<\n\013o" + + "utput_path\030\001 \001(\0132\'.google.privacy.dlp.v2" + + ".CloudStoragePath\022L\n\026cloud_storage_file_" + + "set\030\002 \001(\0132*.google.privacy.dlp.v2.CloudS" + + "torageFileSetH\000\022?\n\017big_query_field\030\003 \001(\013" + + "2$.google.privacy.dlp.v2.BigQueryFieldH\000" + + "B\010\n\006source\"8\n\032LargeCustomDictionaryStats" + + "\022\032\n\022approx_num_phrases\030\001 \001(\003\"\246\002\n\024StoredI" + + "nfoTypeConfig\022\024\n\014display_name\030\001 \001(\t\022\023\n\013d" + + "escription\030\002 \001(\t\022U\n\027large_custom_diction" + + "ary\030\003 \001(\01322.google.privacy.dlp.v2.LargeC" + + "ustomDictionaryConfigH\000\022F\n\ndictionary\030\004 " + + "\001(\01320.google.privacy.dlp.v2.CustomInfoTy" + + "pe.DictionaryH\000\022<\n\005regex\030\005 \001(\0132+.google." + + "privacy.dlp.v2.CustomInfoType.RegexH\000B\006\n" + + "\004type\"s\n\023StoredInfoTypeStats\022T\n\027large_cu" + + "stom_dictionary\030\001 \001(\01321.google.privacy.d" + + "lp.v2.LargeCustomDictionaryStatsH\000B\006\n\004ty" + + "pe\"\251\002\n\025StoredInfoTypeVersion\022;\n\006config\030\001" + + " \001(\0132+.google.privacy.dlp.v2.StoredInfoT" + + "ypeConfig\022/\n\013create_time\030\002 \001(\0132\032.google." + + "protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.goog" + + "le.privacy.dlp.v2.StoredInfoTypeState\022,\n" + + "\006errors\030\004 \003(\0132\034.google.privacy.dlp.v2.Er" + + "ror\0229\n\005stats\030\005 \001(\0132*.google.privacy.dlp." + + "v2.StoredInfoTypeStats\"\361\003\n\016StoredInfoTyp" + + "e\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030\002 \001(\013" + + "2,.google.privacy.dlp.v2.StoredInfoTypeV" + + "ersion\022F\n\020pending_versions\030\003 \003(\0132,.googl" + + "e.privacy.dlp.v2.StoredInfoTypeVersion:\301" + + "\002\352A\275\002\n!dlp.googleapis.com/StoredInfoType" + + "\022?organizations/{organization}/storedInf" + + "oTypes/{stored_info_type}\0225projects/{pro" + + "ject}/storedInfoTypes/{stored_info_type}" + + "\022Torganizations/{organization}/locations" + + "/{location}/storedInfoTypes/{stored_info" + + "_type}\022Jprojects/{project}/locations/{lo" + + "cation}/storedInfoTypes/{stored_info_typ" + + "e}\"\314\001\n\033CreateStoredInfoTypeRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/S" + + "toredInfoType\022@\n\006config\030\002 \001(\0132+.google.p" + + "rivacy.dlp.v2.StoredInfoTypeConfigB\003\340A\002\022" + + "\033\n\023stored_info_type_id\030\003 \001(\t\022\023\n\013location" + + "_id\030\004 \001(\t\"\304\001\n\033UpdateStoredInfoTypeReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis." + + "com/StoredInfoType\022;\n\006config\030\002 \001(\0132+.goo" + + "gle.privacy.dlp.v2.StoredInfoTypeConfig\022" + + "/\n\013update_mask\030\003 \001(\0132\032.google.protobuf.F" + + "ieldMask\"S\n\030GetStoredInfoTypeRequest\0227\n\004" + + "name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/S" + + "toredInfoType\"\245\001\n\032ListStoredInfoTypesReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.google" + + "apis.com/StoredInfoType\022\022\n\npage_token\030\002 " + + "\001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t" + + "\022\023\n\013location_id\030\005 \001(\t\"x\n\033ListStoredInfoT" + + "ypesResponse\022@\n\021stored_info_types\030\001 \003(\0132" + + "%.google.privacy.dlp.v2.StoredInfoType\022\027" + + "\n\017next_page_token\030\002 \001(\t\"V\n\033DeleteStoredI" + + "nfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dl" + + "p.googleapis.com/StoredInfoType\"\224\001\n\036Hybr" + + "idInspectJobTriggerRequest\0223\n\004name\030\001 \001(\t", + "B%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigger\022" + + "=\n\013hybrid_item\030\003 \001(\0132(.google.privacy.dl" + + "p.v2.HybridContentItem\"\214\001\n\032HybridInspect" + + "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" + + ".googleapis.com/DlpJob\022=\n\013hybrid_item\030\003 " + + "\001(\0132(.google.privacy.dlp.v2.HybridConten" + + "tItem\"\213\001\n\021HybridContentItem\0220\n\004item\030\001 \001(" + + "\0132\".google.privacy.dlp.v2.ContentItem\022D\n" + + "\017finding_details\030\002 \001(\0132+.google.privacy." + + "dlp.v2.HybridFindingDetails\"\260\002\n\024HybridFi" + + "ndingDetails\022;\n\021container_details\030\001 \001(\0132" + + " .google.privacy.dlp.v2.Container\022\023\n\013fil" + + "e_offset\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022:\n\rta" + + "ble_options\030\004 \001(\0132#.google.privacy.dlp.v" + + "2.TableOptions\022G\n\006labels\030\005 \003(\01327.google." + + "privacy.dlp.v2.HybridFindingDetails.Labe" + + "lsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\"\027\n\025HybridInspectResponse*" + + "\273\001\n\022RelationalOperator\022#\n\037RELATIONAL_OPE" + + "RATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NOT" + + "_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLESS_TH" + + "AN\020\004\022\032\n\026GREATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS" + + "_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014Matchi" + + "ngType\022\035\n\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n" + + "\030MATCHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_" + + "TYPE_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_IN" + + "VERSE_MATCH\020\003*M\n\rContentOption\022\027\n\023CONTEN" + + "T_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCON" + + "TENT_IMAGE\020\002*B\n\014MetadataType\022\034\n\030METADATA" + + "TYPE_UNSPECIFIED\020\000\022\024\n\020STORAGE_METADATA\020\002" + + "*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYPE_UNS" + + "PECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS" + + "\020\002*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECI" + + "FIED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS" + + "_JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"STORED_" + + "INFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING" + + "\020\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\240" + + "L\n\nDlpService\022\333\001\n\016InspectContent\022,.googl" + + "e.privacy.dlp.v2.InspectContentRequest\032-" + + ".google.privacy.dlp.v2.InspectContentRes" + + "ponse\"l\202\323\344\223\002f\"\'/v2/{parent=projects/*}/c" + + "ontent:inspect:\001*Z8\"3/v2/{parent=project" + + "s/*/locations/*}/content:inspect:\001*\022\314\001\n\013" + + "RedactImage\022).google.privacy.dlp.v2.Reda" + + "ctImageRequest\032*.google.privacy.dlp.v2.R" + + "edactImageResponse\"f\202\323\344\223\002`\"$/v2/{parent=" + + "projects/*}/image:redact:\001*Z5\"0/v2/{pare" + + "nt=projects/*/locations/*}/image:redact:" + + "\001*\022\352\001\n\021DeidentifyContent\022/.google.privac" + + "y.dlp.v2.DeidentifyContentRequest\0320.goog" + + "le.privacy.dlp.v2.DeidentifyContentRespo" + + "nse\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/con" + + "tent:deidentify:\001*Z;\"6/v2/{parent=projec" + + "ts/*/locations/*}/content:deidentify:\001*\022" + + "\352\001\n\021ReidentifyContent\022/.google.privacy.d" + + "lp.v2.ReidentifyContentRequest\0320.google." + + "privacy.dlp.v2.ReidentifyContentResponse" + + "\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/conten" + + "t:reidentify:\001*Z;\"6/v2/{parent=projects/" + + "*/locations/*}/content:reidentify:\001*\022\260\001\n" + + "\rListInfoTypes\022+.google.privacy.dlp.v2.L" + + "istInfoTypesRequest\032,.google.privacy.dlp" + + ".v2.ListInfoTypesResponse\"D\202\323\344\223\0025\022\r/v2/i" + + "nfoTypesZ$\022\"/v2/{parent=locations/*}/inf" + + "oTypes\332A\006parent\022\364\002\n\025CreateInspectTemplat" + + "e\0223.google.privacy.dlp.v2.CreateInspectT" + + "emplateRequest\032&.google.privacy.dlp.v2.I" + + "nspectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{parent=or" + + "ganizations/*}/inspectTemplates:\001*Z>\"9/v" + + "2/{parent=organizations/*/locations/*}/i" + + "nspectTemplates:\001*Z-\"(/v2/{parent=projec" + + "ts/*}/inspectTemplates:\001*Z9\"4/v2/{parent" + + "=projects/*/locations/*}/inspectTemplate" + + "s:\001*\332A\027parent,inspect_template\022\376\002\n\025Updat" + + "eInspectTemplate\0223.google.privacy.dlp.v2" + + ".UpdateInspectTemplateRequest\032&.google.p" + + "rivacy.dlp.v2.InspectTemplate\"\207\002\202\323\344\223\002\334\0012" + + "-/v2/{name=organizations/*/inspectTempla" + + "tes/*}:\001*Z>29/v2/{name=organizations/*/l" + + "ocations/*/inspectTemplates/*}:\001*Z-2(/v2" + + "/{name=projects/*/inspectTemplates/*}:\001*" + + "Z924/v2/{name=projects/*/locations/*/ins" + + "pectTemplates/*}:\001*\332A!name,inspect_templ" + + "ate,update_mask\022\317\002\n\022GetInspectTemplate\0220" + + ".google.privacy.dlp.v2.GetInspectTemplat" + + "eRequest\032&.google.privacy.dlp.v2.Inspect" + + "Template\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organizati" + + "ons/*/inspectTemplates/*}Z;\0229/v2/{name=o" + + "rganizations/*/locations/*/inspectTempla" + + "tes/*}Z*\022(/v2/{name=projects/*/inspectTe" + + "mplates/*}Z6\0224/v2/{name=projects/*/locat" + + "ions/*/inspectTemplates/*}\332A\004name\022\342\002\n\024Li" + + "stInspectTemplates\0222.google.privacy.dlp." + + "v2.ListInspectTemplatesRequest\0323.google." + + "privacy.dlp.v2.ListInspectTemplatesRespo" + + "nse\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organizations" + + "/*}/inspectTemplatesZ;\0229/v2/{parent=orga" + + "nizations/*/locations/*}/inspectTemplate" + + "sZ*\022(/v2/{parent=projects/*}/inspectTemp" + + "latesZ6\0224/v2/{parent=projects/*/location" + + "s/*}/inspectTemplates\332A\006parent\022\305\002\n\025Delet" + + "eInspectTemplate\0223.google.privacy.dlp.v2" + + ".DeleteInspectTemplateRequest\032\026.google.p" + + "rotobuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organ" + + "izations/*/inspectTemplates/*}Z;*9/v2/{n" + + "ame=organizations/*/locations/*/inspectT" + + "emplates/*}Z**(/v2/{name=projects/*/insp" + + "ectTemplates/*}Z6*4/v2/{name=projects/*/" + + "locations/*/inspectTemplates/*}\332A\004name\022\214" + + "\003\n\030CreateDeidentifyTemplate\0226.google.pri" + + "vacy.dlp.v2.CreateDeidentifyTemplateRequ" + + "est\032).google.privacy.dlp.v2.DeidentifyTe" + + "mplate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organizati" + + "ons/*}/deidentifyTemplates:\001*ZA\"\022\022*\"9/v2/{n" + + "ame=projects/*/locations/*/dlpJobs/*}:hy" + + "bridInspect:\001*\332A\004name\022\221\001\n\014FinishDlpJob\022*" + + ".google.privacy.dlp.v2.FinishDlpJobReque" + + "st\032\026.google.protobuf.Empty\"=\202\323\344\223\0027\"2/v2/" + + "{name=projects/*/locations/*/dlpJobs/*}:" + + "finish:\001*\032F\312A\022dlp.googleapis.com\322A.https" + + "://www.googleapis.com/auth/cloud-platfor" + + "mB\372\002\n\031com.google.privacy.dlp.v2B\010DlpProt" + + "oP\001Z8google.golang.org/genproto/googleap" + + "is/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp" + + ".V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Clou" + + "d::Dlp::V2\352Ar\n\035dlp.googleapis.com/DlpCon" + + "tent\022\035projects/{project}/dlpContent\0222pro" + + "jects/{project}/locations/{location}/dlp" + + "Content\352A\\\n\'dlp.googleapis.com/Organizat" + + "ionLocation\0221organizations/{organization" + + "}/locations/{location}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1950,6 +1969,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "JobCreateTime", "JobName", + "FindingId", }); internal_static_google_privacy_dlp_v2_Finding_LabelsEntry_descriptor = internal_static_google_privacy_dlp_v2_Finding_descriptor.getNestedTypes().get(0); @@ -2643,6 +2663,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CryptoHashConfig", "DateShiftConfig", "CryptoDeterministicConfig", + "ReplaceDictionaryConfig", "Transformation", }); internal_static_google_privacy_dlp_v2_TimePartConfig_descriptor = @@ -2677,20 +2698,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "NewValue", }); - internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor = getDescriptor().getMessageTypes().get(53); + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor, + new java.lang.String[] { + "WordList", "Type", + }); + internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(54); internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ReplaceWithInfoTypeConfig_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_RedactConfig_descriptor = - getDescriptor().getMessageTypes().get(54); + getDescriptor().getMessageTypes().get(55); internal_static_google_privacy_dlp_v2_RedactConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RedactConfig_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor = - getDescriptor().getMessageTypes().get(55); + getDescriptor().getMessageTypes().get(56); internal_static_google_privacy_dlp_v2_CharsToIgnore_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CharsToIgnore_descriptor, @@ -2698,7 +2727,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CharactersToSkip", "CommonCharactersToIgnore", "Characters", }); internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor = - getDescriptor().getMessageTypes().get(56); + getDescriptor().getMessageTypes().get(57); internal_static_google_privacy_dlp_v2_CharacterMaskConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CharacterMaskConfig_descriptor, @@ -2706,7 +2735,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaskingCharacter", "NumberToMask", "ReverseOrder", "CharactersToIgnore", }); internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(57); + getDescriptor().getMessageTypes().get(58); internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_FixedSizeBucketingConfig_descriptor, @@ -2714,7 +2743,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LowerBound", "UpperBound", "BucketSize", }); internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor = - getDescriptor().getMessageTypes().get(58); + getDescriptor().getMessageTypes().get(59); internal_static_google_privacy_dlp_v2_BucketingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_BucketingConfig_descriptor, @@ -2730,7 +2759,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Min", "Max", "ReplacementValue", }); internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor = - getDescriptor().getMessageTypes().get(59); + getDescriptor().getMessageTypes().get(60); internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CryptoReplaceFfxFpeConfig_descriptor, @@ -2744,7 +2773,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Alphabet", }); internal_static_google_privacy_dlp_v2_CryptoKey_descriptor = - getDescriptor().getMessageTypes().get(60); + getDescriptor().getMessageTypes().get(61); internal_static_google_privacy_dlp_v2_CryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CryptoKey_descriptor, @@ -2752,7 +2781,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transient", "Unwrapped", "KmsWrapped", "Source", }); internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(61); + getDescriptor().getMessageTypes().get(62); internal_static_google_privacy_dlp_v2_TransientCryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransientCryptoKey_descriptor, @@ -2760,7 +2789,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(62); + getDescriptor().getMessageTypes().get(63); internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UnwrappedCryptoKey_descriptor, @@ -2768,7 +2797,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", }); internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor = - getDescriptor().getMessageTypes().get(63); + getDescriptor().getMessageTypes().get(64); internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_KmsWrappedCryptoKey_descriptor, @@ -2776,7 +2805,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WrappedKey", "CryptoKeyName", }); internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor = - getDescriptor().getMessageTypes().get(64); + getDescriptor().getMessageTypes().get(65); internal_static_google_privacy_dlp_v2_DateShiftConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DateShiftConfig_descriptor, @@ -2784,7 +2813,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpperBoundDays", "LowerBoundDays", "Context", "CryptoKey", "Method", }); internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor = - getDescriptor().getMessageTypes().get(65); + getDescriptor().getMessageTypes().get(66); internal_static_google_privacy_dlp_v2_InfoTypeTransformations_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InfoTypeTransformations_descriptor, @@ -2802,7 +2831,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InfoTypes", "PrimitiveTransformation", }); internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor = - getDescriptor().getMessageTypes().get(66); + getDescriptor().getMessageTypes().get(67); internal_static_google_privacy_dlp_v2_FieldTransformation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_FieldTransformation_descriptor, @@ -2814,7 +2843,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Transformation", }); internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor = - getDescriptor().getMessageTypes().get(67); + getDescriptor().getMessageTypes().get(68); internal_static_google_privacy_dlp_v2_RecordTransformations_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordTransformations_descriptor, @@ -2822,7 +2851,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FieldTransformations", "RecordSuppressions", }); internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor = - getDescriptor().getMessageTypes().get(68); + getDescriptor().getMessageTypes().get(69); internal_static_google_privacy_dlp_v2_RecordSuppression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordSuppression_descriptor, @@ -2830,7 +2859,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Condition", }); internal_static_google_privacy_dlp_v2_RecordCondition_descriptor = - getDescriptor().getMessageTypes().get(69); + getDescriptor().getMessageTypes().get(70); internal_static_google_privacy_dlp_v2_RecordCondition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordCondition_descriptor, @@ -2862,7 +2891,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LogicalOperator", "Conditions", "Type", }); internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor = - getDescriptor().getMessageTypes().get(70); + getDescriptor().getMessageTypes().get(71); internal_static_google_privacy_dlp_v2_TransformationOverview_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransformationOverview_descriptor, @@ -2870,7 +2899,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TransformedBytes", "TransformationSummaries", }); internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor = - getDescriptor().getMessageTypes().get(71); + getDescriptor().getMessageTypes().get(72); internal_static_google_privacy_dlp_v2_TransformationSummary_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_TransformationSummary_descriptor, @@ -2894,7 +2923,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Count", "Code", "Details", }); internal_static_google_privacy_dlp_v2_Schedule_descriptor = - getDescriptor().getMessageTypes().get(72); + getDescriptor().getMessageTypes().get(73); internal_static_google_privacy_dlp_v2_Schedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Schedule_descriptor, @@ -2902,12 +2931,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RecurrencePeriodDuration", "Option", }); internal_static_google_privacy_dlp_v2_Manual_descriptor = - getDescriptor().getMessageTypes().get(73); + getDescriptor().getMessageTypes().get(74); internal_static_google_privacy_dlp_v2_Manual_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Manual_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor = - getDescriptor().getMessageTypes().get(74); + getDescriptor().getMessageTypes().get(75); internal_static_google_privacy_dlp_v2_InspectTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectTemplate_descriptor, @@ -2915,7 +2944,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "InspectConfig", }); internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor = - getDescriptor().getMessageTypes().get(75); + getDescriptor().getMessageTypes().get(76); internal_static_google_privacy_dlp_v2_DeidentifyTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeidentifyTemplate_descriptor, @@ -2923,7 +2952,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "Description", "CreateTime", "UpdateTime", "DeidentifyConfig", }); internal_static_google_privacy_dlp_v2_Error_descriptor = - getDescriptor().getMessageTypes().get(76); + getDescriptor().getMessageTypes().get(77); internal_static_google_privacy_dlp_v2_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Error_descriptor, @@ -2931,7 +2960,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Details", "Timestamps", }); internal_static_google_privacy_dlp_v2_JobTrigger_descriptor = - getDescriptor().getMessageTypes().get(77); + getDescriptor().getMessageTypes().get(78); internal_static_google_privacy_dlp_v2_JobTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_JobTrigger_descriptor, @@ -2957,7 +2986,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Schedule", "Manual", "Trigger", }); internal_static_google_privacy_dlp_v2_Action_descriptor = - getDescriptor().getMessageTypes().get(78); + getDescriptor().getMessageTypes().get(79); internal_static_google_privacy_dlp_v2_Action_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Action_descriptor, @@ -3011,7 +3040,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(79); + getDescriptor().getMessageTypes().get(80); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor, @@ -3019,7 +3048,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "InspectTemplate", "TemplateId", "LocationId", }); internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(80); + getDescriptor().getMessageTypes().get(81); internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateInspectTemplateRequest_descriptor, @@ -3027,7 +3056,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "InspectTemplate", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(81); + getDescriptor().getMessageTypes().get(82); internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetInspectTemplateRequest_descriptor, @@ -3035,7 +3064,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(82); + getDescriptor().getMessageTypes().get(83); internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListInspectTemplatesRequest_descriptor, @@ -3043,7 +3072,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(83); + getDescriptor().getMessageTypes().get(84); internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListInspectTemplatesResponse_descriptor, @@ -3051,7 +3080,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InspectTemplates", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(84); + getDescriptor().getMessageTypes().get(85); internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteInspectTemplateRequest_descriptor, @@ -3059,7 +3088,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(85); + getDescriptor().getMessageTypes().get(86); internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor, @@ -3067,7 +3096,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "JobTrigger", "TriggerId", "LocationId", }); internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(86); + getDescriptor().getMessageTypes().get(87); internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, @@ -3075,7 +3104,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(87); + getDescriptor().getMessageTypes().get(88); internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, @@ -3083,7 +3112,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "JobTrigger", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(88); + getDescriptor().getMessageTypes().get(89); internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, @@ -3091,7 +3120,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(90); internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, @@ -3099,15 +3128,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "InspectJob", "RiskJob", "JobId", "LocationId", "Job", }); internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(91); internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, new java.lang.String[] { - "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "LocationId", + "Parent", "PageToken", "PageSize", "OrderBy", "Filter", "Type", "LocationId", }); internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(92); internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, @@ -3115,7 +3144,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "JobTriggers", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(93); internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, @@ -3123,7 +3152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(94); internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, @@ -3131,7 +3160,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", }); internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(95); internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DlpJob_descriptor, @@ -3149,7 +3178,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Details", }); internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(96); internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, @@ -3157,7 +3186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(97); internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, @@ -3165,7 +3194,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(98); internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, @@ -3173,7 +3202,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Jobs", "NextPageToken", }); internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(99); internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, @@ -3181,7 +3210,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(100); internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_FinishDlpJobRequest_descriptor, @@ -3189,7 +3218,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(101); internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, @@ -3197,7 +3226,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(102); internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, @@ -3205,7 +3234,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "DeidentifyTemplate", "TemplateId", "LocationId", }); internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(103); internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, @@ -3213,7 +3242,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DeidentifyTemplate", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(104); internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, @@ -3221,7 +3250,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(105); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, @@ -3229,7 +3258,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(106); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, @@ -3237,7 +3266,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeidentifyTemplates", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(107); internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, @@ -3245,7 +3274,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(108); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, @@ -3253,7 +3282,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", }); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(109); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_LargeCustomDictionaryStats_descriptor, @@ -3261,7 +3290,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ApproxNumPhrases", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(110); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, @@ -3269,7 +3298,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DisplayName", "Description", "LargeCustomDictionary", "Dictionary", "Regex", "Type", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor = - getDescriptor().getMessageTypes().get(110); + getDescriptor().getMessageTypes().get(111); internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeStats_descriptor, @@ -3277,7 +3306,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LargeCustomDictionary", "Type", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = - getDescriptor().getMessageTypes().get(111); + getDescriptor().getMessageTypes().get(112); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, @@ -3285,7 +3314,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Config", "CreateTime", "State", "Errors", "Stats", }); internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = - getDescriptor().getMessageTypes().get(112); + getDescriptor().getMessageTypes().get(113); internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, @@ -3293,7 +3322,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "CurrentVersion", "PendingVersions", }); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(113); + getDescriptor().getMessageTypes().get(114); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, @@ -3301,7 +3330,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Config", "StoredInfoTypeId", "LocationId", }); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(114); + getDescriptor().getMessageTypes().get(115); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, @@ -3309,7 +3338,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Config", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(115); + getDescriptor().getMessageTypes().get(116); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, @@ -3317,7 +3346,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(116); + getDescriptor().getMessageTypes().get(117); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, @@ -3325,7 +3354,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageToken", "PageSize", "OrderBy", "LocationId", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(117); + getDescriptor().getMessageTypes().get(118); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, @@ -3333,7 +3362,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "StoredInfoTypes", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(118); + getDescriptor().getMessageTypes().get(119); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, @@ -3341,7 +3370,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(119); + getDescriptor().getMessageTypes().get(120); internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectJobTriggerRequest_descriptor, @@ -3349,7 +3378,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "HybridItem", }); internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(120); + getDescriptor().getMessageTypes().get(121); internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectDlpJobRequest_descriptor, @@ -3357,7 +3386,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "HybridItem", }); internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor = - getDescriptor().getMessageTypes().get(121); + getDescriptor().getMessageTypes().get(122); internal_static_google_privacy_dlp_v2_HybridContentItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridContentItem_descriptor, @@ -3365,7 +3394,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Item", "FindingDetails", }); internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor = - getDescriptor().getMessageTypes().get(122); + getDescriptor().getMessageTypes().get(123); internal_static_google_privacy_dlp_v2_HybridFindingDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridFindingDetails_descriptor, @@ -3383,7 +3412,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor = - getDescriptor().getMessageTypes().get(123); + getDescriptor().getMessageTypes().get(124); internal_static_google_privacy_dlp_v2_HybridInspectResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_HybridInspectResponse_descriptor, diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java index 8e9c6153..dba8bb21 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -173,143 +173,144 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n#google/privacy/dlp/v2/storage.proto\022\025g" - + "oogle.privacy.dlp.v2\032\031google/api/resourc" - + "e.proto\032\037google/protobuf/timestamp.proto" - + "\032\034google/api/annotations.proto\"\030\n\010InfoTy" - + "pe\022\014\n\004name\030\001 \001(\t\"K\n\nStoredType\022\014\n\004name\030\001" - + " \001(\t\022/\n\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\"\310\013\n\016CustomInfoType\0222\n\tinfo" - + "_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Info" - + "Type\0225\n\nlikelihood\030\006 \001(\0162!.google.privac" - + "y.dlp.v2.Likelihood\022F\n\ndictionary\030\002 \001(\0132" - + "0.google.privacy.dlp.v2.CustomInfoType.D" - + "ictionaryH\000\022<\n\005regex\030\003 \001(\0132+.google.priv" - + "acy.dlp.v2.CustomInfoType.RegexH\000\022M\n\016sur" - + "rogate_type\030\004 \001(\01323.google.privacy.dlp.v" - + "2.CustomInfoType.SurrogateTypeH\000\0228\n\013stor" - + "ed_type\030\005 \001(\0132!.google.privacy.dlp.v2.St" - + "oredTypeH\000\022L\n\017detection_rules\030\007 \003(\01323.go" - + "ogle.privacy.dlp.v2.CustomInfoType.Detec" - + "tionRule\022K\n\016exclusion_type\030\010 \001(\01623.googl" - + "e.privacy.dlp.v2.CustomInfoType.Exclusio" - + "nType\032\310\001\n\nDictionary\022N\n\tword_list\030\001 \001(\0132" - + "9.google.privacy.dlp.v2.CustomInfoType.D" - + "ictionary.WordListH\000\022E\n\022cloud_storage_pa" - + "th\030\003 \001(\0132\'.google.privacy.dlp.v2.CloudSt" - + "oragePathH\000\032\031\n\010WordList\022\r\n\005words\030\001 \003(\tB\010" - + "\n\006source\032/\n\005Regex\022\017\n\007pattern\030\001 \001(\t\022\025\n\rgr" - + "oup_indexes\030\002 \003(\005\032\017\n\rSurrogateType\032\276\004\n\rD" - + "etectionRule\022W\n\014hotword_rule\030\001 \001(\0132?.goo" - + "gle.privacy.dlp.v2.CustomInfoType.Detect" - + "ionRule.HotwordRuleH\000\0328\n\tProximity\022\025\n\rwi" - + "ndow_before\030\001 \001(\005\022\024\n\014window_after\030\002 \001(\005\032" - + "\202\001\n\024LikelihoodAdjustment\022=\n\020fixed_likeli" - + "hood\030\001 \001(\0162!.google.privacy.dlp.v2.Likel" - + "ihoodH\000\022\035\n\023relative_likelihood\030\002 \001(\005H\000B\014" - + "\n\nadjustment\032\214\002\n\013HotwordRule\022B\n\rhotword_" - + "regex\030\001 \001(\0132+.google.privacy.dlp.v2.Cust" - + "omInfoType.Regex\022P\n\tproximity\030\002 \001(\0132=.go" - + "ogle.privacy.dlp.v2.CustomInfoType.Detec" - + "tionRule.Proximity\022g\n\025likelihood_adjustm" - + "ent\030\003 \001(\0132H.google.privacy.dlp.v2.Custom" - + "InfoType.DetectionRule.LikelihoodAdjustm" - + "entB\006\n\004type\"K\n\rExclusionType\022\036\n\032EXCLUSIO" - + "N_TYPE_UNSPECIFIED\020\000\022\032\n\026EXCLUSION_TYPE_E" - + "XCLUDE\020\001B\006\n\004type\"\027\n\007FieldId\022\014\n\004name\030\001 \001(" - + "\t\"7\n\013PartitionId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014" - + "namespace_id\030\004 \001(\t\"\036\n\016KindExpression\022\014\n\004" - + "name\030\001 \001(\t\"\201\001\n\020DatastoreOptions\0228\n\014parti" - + "tion_id\030\001 \001(\0132\".google.privacy.dlp.v2.Pa" - + "rtitionId\0223\n\004kind\030\002 \001(\0132%.google.privacy" - + ".dlp.v2.KindExpression\"]\n\030CloudStorageRe" - + "gexFileSet\022\023\n\013bucket_name\030\001 \001(\t\022\025\n\rinclu" - + "de_regex\030\002 \003(\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003" - + "\n\023CloudStorageOptions\022D\n\010file_set\030\001 \001(\0132" - + "2.google.privacy.dlp.v2.CloudStorageOpti" - + "ons.FileSet\022\034\n\024bytes_limit_per_file\030\004 \001(" - + "\003\022$\n\034bytes_limit_per_file_percent\030\010 \001(\005\022" - + "3\n\nfile_types\030\005 \003(\0162\037.google.privacy.dlp" - + ".v2.FileType\022N\n\rsample_method\030\006 \001(\01627.go" - + "ogle.privacy.dlp.v2.CloudStorageOptions." - + "SampleMethod\022\033\n\023files_limit_percent\030\007 \001(" - + "\005\032_\n\007FileSet\022\013\n\003url\030\001 \001(\t\022G\n\016regex_file_" - + "set\030\002 \001(\0132/.google.privacy.dlp.v2.CloudS" - + "torageRegexFileSet\"H\n\014SampleMethod\022\035\n\031SA" - + "MPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RA" - + "NDOM_START\020\002\"\"\n\023CloudStorageFileSet\022\013\n\003u" - + "rl\030\001 \001(\t\" \n\020CloudStoragePath\022\014\n\004path\030\001 \001" - + "(\t\"\213\003\n\017BigQueryOptions\022=\n\017table_referenc" - + "e\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuery" - + "Table\022:\n\022identifying_fields\030\002 \003(\0132\036.goog" - + "le.privacy.dlp.v2.FieldId\022\022\n\nrows_limit\030" - + "\003 \001(\003\022\032\n\022rows_limit_percent\030\006 \001(\005\022J\n\rsam" - + "ple_method\030\004 \001(\01623.google.privacy.dlp.v2" - + ".BigQueryOptions.SampleMethod\0227\n\017exclude" - + "d_fields\030\005 \003(\0132\036.google.privacy.dlp.v2.F" - + "ieldId\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_" - + "UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002" - + "\"\332\004\n\rStorageConfig\022D\n\021datastore_options\030" - + "\002 \001(\0132\'.google.privacy.dlp.v2.DatastoreO" - + "ptionsH\000\022K\n\025cloud_storage_options\030\003 \001(\0132" - + "*.google.privacy.dlp.v2.CloudStorageOpti" - + "onsH\000\022C\n\021big_query_options\030\004 \001(\0132&.googl" - + "e.privacy.dlp.v2.BigQueryOptionsH\000\022>\n\016hy" - + "brid_options\030\t \001(\0132$.google.privacy.dlp." - + "v2.HybridOptionsH\000\022L\n\017timespan_config\030\006 " - + "\001(\01323.google.privacy.dlp.v2.StorageConfi" - + "g.TimespanConfig\032\332\001\n\016TimespanConfig\022.\n\ns" - + "tart_time\030\001 \001(\0132\032.google.protobuf.Timest" - + "amp\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf." - + "Timestamp\0227\n\017timestamp_field\030\003 \001(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldId\0221\n)enable_aut" - + "o_population_of_timespan_config\030\004 \001(\010B\006\n" - + "\004type\"\366\001\n\rHybridOptions\022\023\n\013description\030\001" - + " \001(\t\022#\n\033required_finding_label_keys\030\002 \003(" - + "\t\022@\n\006labels\030\003 \003(\01320.google.privacy.dlp.v" - + "2.HybridOptions.LabelsEntry\022:\n\rtable_opt" - + "ions\030\004 \001(\0132#.google.privacy.dlp.v2.Table" - + "Options\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"`\n\013BigQueryKey\022=\n\017table_r" - + "eference\030\001 \001(\0132$.google.privacy.dlp.v2.B" - + "igQueryTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014Data" - + "storeKey\022.\n\nentity_key\030\001 \001(\0132\032.google.pr" - + "ivacy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014partition_id" - + "\030\001 \001(\0132\".google.privacy.dlp.v2.Partition" - + "Id\0224\n\004path\030\002 \003(\0132&.google.privacy.dlp.v2" - + ".Key.PathElement\032D\n\013PathElement\022\014\n\004kind\030" - + "\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n\007i" - + "d_type\"\241\001\n\tRecordKey\022<\n\rdatastore_key\030\002 " - + "\001(\0132#.google.privacy.dlp.v2.DatastoreKey" - + "H\000\022;\n\rbig_query_key\030\003 \001(\0132\".google.priva" - + "cy.dlp.v2.BigQueryKeyH\000\022\021\n\tid_values\030\005 \003" - + "(\tB\006\n\004type\"I\n\rBigQueryTable\022\022\n\nproject_i" - + "d\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table_id\030" - + "\003 \001(\t\"s\n\rBigQueryField\0223\n\005table\030\001 \001(\0132$." - + "google.privacy.dlp.v2.BigQueryTable\022-\n\005f" - + "ield\030\002 \001(\0132\036.google.privacy.dlp.v2.Field" - + "Id\"9\n\010EntityId\022-\n\005field\030\001 \001(\0132\036.google.p" - + "rivacy.dlp.v2.FieldId\"J\n\014TableOptions\022:\n" - + "\022identifying_fields\030\001 \003(\0132\036.google.priva" - + "cy.dlp.v2.FieldId*t\n\nLikelihood\022\032\n\026LIKEL" - + "IHOOD_UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014" - + "\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017" - + "\n\013VERY_LIKELY\020\005*\177\n\010FileType\022\031\n\025FILE_TYPE" - + "_UNSPECIFIED\020\000\022\017\n\013BINARY_FILE\020\001\022\r\n\tTEXT_" - + "FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n\003PDF\020\006\022\010\n\004" - + "AVRO\020\007\022\007\n\003CSV\020\010\022\007\n\003TSV\020\tB\250\001\n\031com.google." - + "privacy.dlp.v2B\nDlpStorageP\001Z8google.gol" - + "ang.org/genproto/googleapis/privacy/dlp/" - + "v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cl" - + "oud\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2b\006pro" - + "to3" + + "oogle.privacy.dlp.v2\032\034google/api/annotat" + + "ions.proto\032\031google/api/resource.proto\032\037g" + + "oogle/protobuf/timestamp.proto\")\n\010InfoTy" + + "pe\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\"K\n\nSto" + + "redType\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\"\310\013\n\016Custo" + + "mInfoType\0222\n\tinfo_type\030\001 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(" + + "\0162!.google.privacy.dlp.v2.Likelihood\022F\n\n" + + "dictionary\030\002 \001(\01320.google.privacy.dlp.v2" + + ".CustomInfoType.DictionaryH\000\022<\n\005regex\030\003 " + + "\001(\0132+.google.privacy.dlp.v2.CustomInfoTy" + + "pe.RegexH\000\022M\n\016surrogate_type\030\004 \001(\01323.goo" + + "gle.privacy.dlp.v2.CustomInfoType.Surrog" + + "ateTypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google." + + "privacy.dlp.v2.StoredTypeH\000\022L\n\017detection" + + "_rules\030\007 \003(\01323.google.privacy.dlp.v2.Cus" + + "tomInfoType.DetectionRule\022K\n\016exclusion_t" + + "ype\030\010 \001(\01623.google.privacy.dlp.v2.Custom" + + "InfoType.ExclusionType\032\310\001\n\nDictionary\022N\n" + + "\tword_list\030\001 \001(\01329.google.privacy.dlp.v2" + + ".CustomInfoType.Dictionary.WordListH\000\022E\n" + + "\022cloud_storage_path\030\003 \001(\0132\'.google.priva" + + "cy.dlp.v2.CloudStoragePathH\000\032\031\n\010WordList" + + "\022\r\n\005words\030\001 \003(\tB\010\n\006source\032/\n\005Regex\022\017\n\007pa" + + "ttern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSu" + + "rrogateType\032\276\004\n\rDetectionRule\022W\n\014hotword" + + "_rule\030\001 \001(\0132?.google.privacy.dlp.v2.Cust" + + "omInfoType.DetectionRule.HotwordRuleH\000\0328" + + "\n\tProximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014wi" + + "ndow_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustmen" + + "t\022=\n\020fixed_likelihood\030\001 \001(\0162!.google.pri" + + "vacy.dlp.v2.LikelihoodH\000\022\035\n\023relative_lik" + + "elihood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013Hotwor" + + "dRule\022B\n\rhotword_regex\030\001 \001(\0132+.google.pr" + + "ivacy.dlp.v2.CustomInfoType.Regex\022P\n\tpro" + + "ximity\030\002 \001(\0132=.google.privacy.dlp.v2.Cus" + + "tomInfoType.DetectionRule.Proximity\022g\n\025l" + + "ikelihood_adjustment\030\003 \001(\0132H.google.priv" + + "acy.dlp.v2.CustomInfoType.DetectionRule." + + "LikelihoodAdjustmentB\006\n\004type\"K\n\rExclusio" + + "nType\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n" + + "\026EXCLUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007Fie" + + "ldId\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\npro" + + "ject_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016K" + + "indExpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020Datastor" + + "eOptions\0228\n\014partition_id\030\001 \001(\0132\".google." + + "privacy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\013" + + "2%.google.privacy.dlp.v2.KindExpression\"" + + "]\n\030CloudStorageRegexFileSet\022\023\n\013bucket_na" + + "me\030\001 \001(\t\022\025\n\rinclude_regex\030\002 \003(\t\022\025\n\rexclu" + + "de_regex\030\003 \003(\t\"\354\003\n\023CloudStorageOptions\022D" + + "\n\010file_set\030\001 \001(\01322.google.privacy.dlp.v2" + + ".CloudStorageOptions.FileSet\022\034\n\024bytes_li" + + "mit_per_file\030\004 \001(\003\022$\n\034bytes_limit_per_fi" + + "le_percent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.g" + + "oogle.privacy.dlp.v2.FileType\022N\n\rsample_" + + "method\030\006 \001(\01627.google.privacy.dlp.v2.Clo" + + "udStorageOptions.SampleMethod\022\033\n\023files_l" + + "imit_percent\030\007 \001(\005\032_\n\007FileSet\022\013\n\003url\030\001 \001" + + "(\t\022G\n\016regex_file_set\030\002 \001(\0132/.google.priv" + + "acy.dlp.v2.CloudStorageRegexFileSet\"H\n\014S" + + "ampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED" + + "\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudSt" + + "orageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStorag" + + "ePath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQueryOptions\022" + + "=\n\017table_reference\030\001 \001(\0132$.google.privac" + + "y.dlp.v2.BigQueryTable\022:\n\022identifying_fi" + + "elds\030\002 \003(\0132\036.google.privacy.dlp.v2.Field" + + "Id\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_per" + + "cent\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.goog" + + "le.privacy.dlp.v2.BigQueryOptions.Sample" + + "Method\0227\n\017excluded_fields\030\005 \003(\0132\036.google" + + ".privacy.dlp.v2.FieldId\0227\n\017included_fiel" + + "ds\030\007 \003(\0132\036.google.privacy.dlp.v2.FieldId" + + "\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPEC" + + "IFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\332\004\n\rS" + + "torageConfig\022D\n\021datastore_options\030\002 \001(\0132" + + "\'.google.privacy.dlp.v2.DatastoreOptions" + + "H\000\022K\n\025cloud_storage_options\030\003 \001(\0132*.goog" + + "le.privacy.dlp.v2.CloudStorageOptionsH\000\022" + + "C\n\021big_query_options\030\004 \001(\0132&.google.priv" + + "acy.dlp.v2.BigQueryOptionsH\000\022>\n\016hybrid_o" + + "ptions\030\t \001(\0132$.google.privacy.dlp.v2.Hyb" + + "ridOptionsH\000\022L\n\017timespan_config\030\006 \001(\01323." + + "google.privacy.dlp.v2.StorageConfig.Time" + + "spanConfig\032\332\001\n\016TimespanConfig\022.\n\nstart_t" + + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n" + + "\010end_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "amp\0227\n\017timestamp_field\030\003 \001(\0132\036.google.pr" + + "ivacy.dlp.v2.FieldId\0221\n)enable_auto_popu" + + "lation_of_timespan_config\030\004 \001(\010B\006\n\004type\"" + + "\366\001\n\rHybridOptions\022\023\n\013description\030\001 \001(\t\022#" + + "\n\033required_finding_label_keys\030\002 \003(\t\022@\n\006l" + + "abels\030\003 \003(\01320.google.privacy.dlp.v2.Hybr" + + "idOptions.LabelsEntry\022:\n\rtable_options\030\004" + + " \001(\0132#.google.privacy.dlp.v2.TableOption" + + "s\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"`\n\013BigQueryKey\022=\n\017table_referen" + + "ce\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuer" + + "yTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014DatastoreK" + + "ey\022.\n\nentity_key\030\001 \001(\0132\032.google.privacy." + + "dlp.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 \001(\013" + + "2\".google.privacy.dlp.v2.PartitionId\0224\n\004" + + "path\030\002 \003(\0132&.google.privacy.dlp.v2.Key.P" + + "athElement\032D\n\013PathElement\022\014\n\004kind\030\001 \001(\t\022" + + "\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n\007id_type" + + "\"\241\001\n\tRecordKey\022<\n\rdatastore_key\030\002 \001(\0132#." + + "google.privacy.dlp.v2.DatastoreKeyH\000\022;\n\r" + + "big_query_key\030\003 \001(\0132\".google.privacy.dlp" + + ".v2.BigQueryKeyH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004" + + "type\"I\n\rBigQueryTable\022\022\n\nproject_id\030\001 \001(" + + "\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"" + + "s\n\rBigQueryField\0223\n\005table\030\001 \001(\0132$.google" + + ".privacy.dlp.v2.BigQueryTable\022-\n\005field\030\002" + + " \001(\0132\036.google.privacy.dlp.v2.FieldId\"9\n\010" + + "EntityId\022-\n\005field\030\001 \001(\0132\036.google.privacy" + + ".dlp.v2.FieldId\"J\n\014TableOptions\022:\n\022ident" + + "ifying_fields\030\001 \003(\0132\036.google.privacy.dlp" + + ".v2.FieldId*t\n\nLikelihood\022\032\n\026LIKELIHOOD_" + + "UNSPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLI" + + "KELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY" + + "_LIKELY\020\005*\177\n\010FileType\022\031\n\025FILE_TYPE_UNSPE" + + "CIFIED\020\000\022\017\n\013BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002" + + "\022\t\n\005IMAGE\020\003\022\010\n\004WORD\020\005\022\007\n\003PDF\020\006\022\010\n\004AVRO\020\007" + + "\022\007\n\003CSV\020\010\022\007\n\003TSV\020\tB\250\001\n\031com.google.privac" + + "y.dlp.v2B\nDlpStorageP\001Z8google.golang.or" + + "g/genproto/googleapis/privacy/dlp/v2;dlp" + + "\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dl" + + "p\\V2\352\002\026Google::Cloud::Dlp::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_privacy_dlp_v2_InfoType_descriptor = getDescriptor().getMessageTypes().get(0); @@ -317,7 +318,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InfoType_descriptor, new java.lang.String[] { - "Name", + "Name", "Version", }); internal_static_google_privacy_dlp_v2_StoredType_descriptor = getDescriptor().getMessageTypes().get(1); @@ -504,6 +505,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RowsLimitPercent", "SampleMethod", "ExcludedFields", + "IncludedFields", }); internal_static_google_privacy_dlp_v2_StorageConfig_descriptor = getDescriptor().getMessageTypes().get(12); @@ -614,9 +616,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "IdentifyingFields", }); + com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java index cf99c0e6..a0abd76b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformation.java @@ -228,6 +228,9 @@ public TransformationCase getTransformationCase() { * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -243,6 +246,9 @@ public java.util.List getFieldsList() { * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -259,6 +265,9 @@ public java.util.List getFieldsList() { * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -274,6 +283,9 @@ public int getFieldsCount() { * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -289,6 +301,9 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) { * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -966,6 +981,9 @@ private void ensureFieldsIsMutable() { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -984,6 +1002,9 @@ public java.util.List getFieldsList() { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1002,6 +1023,9 @@ public int getFieldsCount() { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1020,6 +1044,9 @@ public com.google.privacy.dlp.v2.FieldId getFields(int index) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1044,6 +1071,9 @@ public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId value) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1065,6 +1095,9 @@ public Builder setFields(int index, com.google.privacy.dlp.v2.FieldId.Builder bu * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1089,6 +1122,9 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId value) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1113,6 +1149,9 @@ public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId value) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1134,6 +1173,9 @@ public Builder addFields(com.google.privacy.dlp.v2.FieldId.Builder builderForVal * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1155,6 +1197,9 @@ public Builder addFields(int index, com.google.privacy.dlp.v2.FieldId.Builder bu * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1177,6 +1222,9 @@ public Builder addAllFields( * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1198,6 +1246,9 @@ public Builder clearFields() { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1219,6 +1270,9 @@ public Builder removeFields(int index) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1233,6 +1287,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder getFieldsBuilder(int index) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1251,6 +1308,9 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1270,6 +1330,9 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldsOrBuilder(int index) * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1285,6 +1348,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder() { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * @@ -1300,6 +1366,9 @@ public com.google.privacy.dlp.v2.FieldId.Builder addFieldsBuilder(int index) { * *
      * Required. Input field(s) to apply the transformation to.
+     * When you have columns that reference their position within a list,
+     * omit the index from the FieldId. FieldId name matching ignores the index.
+     * For example, instead of "contact.nums[0].type", use "contact.nums.type".
      * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java index bca17181..5572edf9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FieldTransformationOrBuilder.java @@ -28,6 +28,9 @@ public interface FieldTransformationOrBuilder * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -40,6 +43,9 @@ public interface FieldTransformationOrBuilder * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -52,6 +58,9 @@ public interface FieldTransformationOrBuilder * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -64,6 +73,9 @@ public interface FieldTransformationOrBuilder * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * @@ -76,6 +88,9 @@ public interface FieldTransformationOrBuilder * *
    * Required. Input field(s) to apply the transformation to.
+   * When you have columns that reference their position within a list,
+   * omit the index from the FieldId. FieldId name matching ignores the index.
+   * For example, instead of "contact.nums[0].type", use "contact.nums.type".
    * 
* * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java index 5b32994a..ffdc1c1a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java @@ -58,11 +58,12 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { * *
    * Included file extensions:
-   *   asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp,
-   *   hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json,
-   *   ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw,
-   *   rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml,
-   *   xml, xsl, xsd, yml, yaml.
+   *   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
+   *   dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm,
+   *   mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht,
+   *   properties, py, pyw, rb, rbw, rs, rss,  rc, scala, sh, sql, swift, tex,
+   *   shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md,
+   *   txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
    * 
* * TEXT_FILE = 2; @@ -170,11 +171,12 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { * *
    * Included file extensions:
-   *   asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp,
-   *   hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json,
-   *   ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw,
-   *   rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml,
-   *   xml, xsl, xsd, yml, yaml.
+   *   asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
+   *   dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm,
+   *   mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht,
+   *   properties, py, pyw, rb, rbw, rs, rss,  rc, scala, sh, sql, swift, tex,
+   *   shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md,
+   *   txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
    * 
* * TEXT_FILE = 2; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java index e4405468..09070544 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java @@ -44,6 +44,7 @@ private Finding() { resourceName_ = ""; triggerName_ = ""; jobName_ = ""; + findingId_ = ""; } @java.lang.Override @@ -207,6 +208,13 @@ private Finding( name_ = s; break; } + case 122: + { + java.lang.String s = input.readStringRequireUtf8(); + + findingId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -918,6 +926,55 @@ public com.google.protobuf.ByteString getJobNameBytes() { } } + public static final int FINDING_ID_FIELD_NUMBER = 15; + private volatile java.lang.Object findingId_; + /** + * + * + *
+   * The unique finding id.
+   * 
+ * + * string finding_id = 15; + * + * @return The findingId. + */ + @java.lang.Override + public java.lang.String getFindingId() { + java.lang.Object ref = findingId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + findingId_ = s; + return s; + } + } + /** + * + * + *
+   * The unique finding id.
+   * 
+ * + * string finding_id = 15; + * + * @return The bytes for findingId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFindingIdBytes() { + java.lang.Object ref = findingId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + findingId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -967,6 +1024,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, name_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(findingId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, findingId_); + } unknownFields.writeTo(output); } @@ -1019,6 +1079,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, name_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(findingId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, findingId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1061,6 +1124,7 @@ public boolean equals(final java.lang.Object obj) { if (!getJobCreateTime().equals(other.getJobCreateTime())) return false; } if (!getJobName().equals(other.getJobName())) return false; + if (!getFindingId().equals(other.getFindingId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1108,6 +1172,8 @@ public int hashCode() { } hash = (37 * hash) + JOB_NAME_FIELD_NUMBER; hash = (53 * hash) + getJobName().hashCode(); + hash = (37 * hash) + FINDING_ID_FIELD_NUMBER; + hash = (53 * hash) + getFindingId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1315,6 +1381,8 @@ public Builder clear() { } jobName_ = ""; + findingId_ = ""; + return this; } @@ -1375,6 +1443,7 @@ public com.google.privacy.dlp.v2.Finding buildPartial() { result.jobCreateTime_ = jobCreateTimeBuilder_.build(); } result.jobName_ = jobName_; + result.findingId_ = findingId_; onBuilt(); return result; } @@ -1463,6 +1532,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Finding other) { jobName_ = other.jobName_; onChanged(); } + if (!other.getFindingId().isEmpty()) { + findingId_ = other.findingId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -3308,6 +3381,112 @@ public Builder setJobNameBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object findingId_ = ""; + /** + * + * + *
+     * The unique finding id.
+     * 
+ * + * string finding_id = 15; + * + * @return The findingId. + */ + public java.lang.String getFindingId() { + java.lang.Object ref = findingId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + findingId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The unique finding id.
+     * 
+ * + * string finding_id = 15; + * + * @return The bytes for findingId. + */ + public com.google.protobuf.ByteString getFindingIdBytes() { + java.lang.Object ref = findingId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + findingId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The unique finding id.
+     * 
+ * + * string finding_id = 15; + * + * @param value The findingId to set. + * @return This builder for chaining. + */ + public Builder setFindingId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + findingId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The unique finding id.
+     * 
+ * + * string finding_id = 15; + * + * @return This builder for chaining. + */ + public Builder clearFindingId() { + + findingId_ = getDefaultInstance().getFindingId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The unique finding id.
+     * 
+ * + * string finding_id = 15; + * + * @param value The bytes for findingId to set. + * @return This builder for chaining. + */ + public Builder setFindingIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + findingId_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java index 65dde62d..a6c9d395 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java @@ -462,4 +462,29 @@ public interface FindingOrBuilder * @return The bytes for jobName. */ com.google.protobuf.ByteString getJobNameBytes(); + + /** + * + * + *
+   * The unique finding id.
+   * 
+ * + * string finding_id = 15; + * + * @return The findingId. + */ + java.lang.String getFindingId(); + /** + * + * + *
+   * The unique finding id.
+   * 
+ * + * string finding_id = 15; + * + * @return The bytes for findingId. + */ + com.google.protobuf.ByteString getFindingIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java index c1a6ac8d..f6979016 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FixedSizeBucketingConfig.java @@ -27,8 +27,8 @@ * but requires more configuration. This message is provided as a convenience to * the user for simple bucketing strategies. * The transformed value will be a hyphenated string of - * {lower_bound}-{upper_bound}, i.e if lower_bound = 10 and upper_bound = 20 - * all values that are within this bucket will be replaced with "10-20". + * {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound + * = 20, all values that are within this bucket will be replaced with "10-20". * This can be used on data of type: double, long. * If the bound Value type differs from the type of data * being transformed, we will first attempt converting the type of the data to @@ -479,8 +479,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * but requires more configuration. This message is provided as a convenience to * the user for simple bucketing strategies. * The transformed value will be a hyphenated string of - * {lower_bound}-{upper_bound}, i.e if lower_bound = 10 and upper_bound = 20 - * all values that are within this bucket will be replaced with "10-20". + * {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound + * = 20, all values that are within this bucket will be replaced with "10-20". * This can be used on data of type: double, long. * If the bound Value type differs from the type of data * being transformed, we will first attempt converting the type of the data to diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java index 257edc0f..b5c8b7ca 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java @@ -39,6 +39,7 @@ private InfoType(com.google.protobuf.GeneratedMessageV3.Builder builder) { private InfoType() { name_ = ""; + version_ = ""; } @java.lang.Override @@ -77,6 +78,13 @@ private InfoType( name_ = s; break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -168,6 +176,55 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object version_; + /** + * + * + *
+   * Optional version name for this InfoType.
+   * 
+ * + * string version = 2; + * + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + * + * + *
+   * Optional version name for this InfoType.
+   * 
+ * + * string version = 2; + * + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -185,6 +242,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } unknownFields.writeTo(output); } @@ -197,6 +257,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -213,6 +276,7 @@ public boolean equals(final java.lang.Object obj) { com.google.privacy.dlp.v2.InfoType other = (com.google.privacy.dlp.v2.InfoType) obj; if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,6 +290,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -372,6 +438,8 @@ public Builder clear() { super.clear(); name_ = ""; + version_ = ""; + return this; } @@ -399,6 +467,7 @@ public com.google.privacy.dlp.v2.InfoType build() { public com.google.privacy.dlp.v2.InfoType buildPartial() { com.google.privacy.dlp.v2.InfoType result = new com.google.privacy.dlp.v2.InfoType(this); result.name_ = name_; + result.version_ = version_; onBuilt(); return result; } @@ -452,6 +521,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoType other) { name_ = other.name_; onChanged(); } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -607,6 +680,112 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object version_ = ""; + /** + * + * + *
+     * Optional version name for this InfoType.
+     * 
+ * + * string version = 2; + * + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional version name for this InfoType.
+     * 
+ * + * string version = 2; + * + * @return The bytes for version. + */ + public com.google.protobuf.ByteString getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional version name for this InfoType.
+     * 
+ * + * string version = 2; + * + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional version name for this InfoType.
+     * 
+ * + * string version = 2; + * + * @return This builder for chaining. + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional version name for this InfoType.
+     * 
+ * + * string version = 2; + * + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java index 31a9dd1b..f0026243 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java @@ -55,4 +55,29 @@ public interface InfoTypeOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional version name for this InfoType.
+   * 
+ * + * string version = 2; + * + * @return The version. + */ + java.lang.String getVersion(); + /** + * + * + *
+   * Optional version name for this InfoType.
+   * 
+ * + * string version = 2; + * + * @return The bytes for version. + */ + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java index c0157599..5c4e2913 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java @@ -322,7 +322,8 @@ com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getMaxFindin * * *
-   * Configuration to control the number of findings returned.
+   * Configuration to control the number of findings returned. Cannot be set if
+   * de-identification is requested.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits} @@ -1673,7 +1674,8 @@ protected Builder newBuilderForType( * * *
-     * Configuration to control the number of findings returned.
+     * Configuration to control the number of findings returned. Cannot be set if
+     * de-identification is requested.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.InspectConfig.FindingLimits} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java index 92978f17..0dce0310 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetails.java @@ -1334,9 +1334,6 @@ public interface ResultOrBuilder * *
      * Statistics related to the processing of hybrid inspect.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -1349,9 +1346,6 @@ public interface ResultOrBuilder * *
      * Statistics related to the processing of hybrid inspect.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -1364,9 +1358,6 @@ public interface ResultOrBuilder * *
      * Statistics related to the processing of hybrid inspect.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -1619,9 +1610,6 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde * *
      * Statistics related to the processing of hybrid inspect.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -1637,9 +1625,6 @@ public boolean hasHybridStats() { * *
      * Statistics related to the processing of hybrid inspect.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -1657,9 +1642,6 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() { * *
      * Statistics related to the processing of hybrid inspect.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2579,9 +2561,6 @@ public com.google.privacy.dlp.v2.InfoTypeStats.Builder addInfoTypeStatsBuilder(i * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2596,9 +2575,6 @@ public boolean hasHybridStats() { * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2619,9 +2595,6 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics getHybridStats() { * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2644,9 +2617,6 @@ public Builder setHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistics * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2667,9 +2637,6 @@ public Builder setHybridStats( * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2696,9 +2663,6 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2719,9 +2683,6 @@ public Builder clearHybridStats() { * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2736,9 +2697,6 @@ public com.google.privacy.dlp.v2.HybridInspectStatistics.Builder getHybridStatsB * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2757,9 +2715,6 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats * *
        * Statistics related to the processing of hybrid inspect.
-       * 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.
        * 
* * .google.privacy.dlp.v2.HybridInspectStatistics hybrid_stats = 7; @@ -2891,7 +2846,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions getRe * * *
-   * A summary of the outcome of this inspect job.
+   * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -2906,7 +2861,7 @@ public boolean hasResult() { * * *
-   * A summary of the outcome of this inspect job.
+   * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -2923,7 +2878,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() { * * *
-   * A summary of the outcome of this inspect job.
+   * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3505,7 +3460,7 @@ public Builder clearRequestedOptions() { * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3519,7 +3474,7 @@ public boolean hasResult() { * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3539,7 +3494,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result getResult() { * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3561,7 +3516,7 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3581,7 +3536,7 @@ public Builder setResult( * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3607,7 +3562,7 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3627,7 +3582,7 @@ public Builder clearResult() { * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3641,7 +3596,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Result.Builder getResu * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -3659,7 +3614,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes * * *
-     * A summary of the outcome of this inspect job.
+     * A summary of the outcome of this inspection job.
      * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java index 1d80c839..af173210 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectDataSourceDetailsOrBuilder.java @@ -66,7 +66,7 @@ public interface InspectDataSourceDetailsOrBuilder * * *
-   * A summary of the outcome of this inspect job.
+   * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -78,7 +78,7 @@ public interface InspectDataSourceDetailsOrBuilder * * *
-   * A summary of the outcome of this inspect job.
+   * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; @@ -90,7 +90,7 @@ public interface InspectDataSourceDetailsOrBuilder * * *
-   * A summary of the outcome of this inspect job.
+   * A summary of the outcome of this inspection job.
    * 
* * .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java index 09745953..b377c0cd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java @@ -454,9 +454,6 @@ public interface TriggerOrBuilder * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
-     * 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.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -469,9 +466,6 @@ public interface TriggerOrBuilder * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
-     * 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.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -484,9 +478,6 @@ public interface TriggerOrBuilder * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
-     * 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.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -714,9 +705,6 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
-     * 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.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -732,9 +720,6 @@ public boolean hasManual() { * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
-     * 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.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -753,9 +738,6 @@ public com.google.privacy.dlp.v2.Manual getManual() { * *
      * For use with hybrid jobs. Jobs must be manually created and finished.
-     * 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.
      * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1374,9 +1356,6 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1392,9 +1371,6 @@ public boolean hasManual() { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1420,9 +1396,6 @@ public com.google.privacy.dlp.v2.Manual getManual() { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1445,9 +1418,6 @@ public Builder setManual(com.google.privacy.dlp.v2.Manual value) { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1467,9 +1437,6 @@ public Builder setManual(com.google.privacy.dlp.v2.Manual.Builder builderForValu * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1501,9 +1468,6 @@ public Builder mergeManual(com.google.privacy.dlp.v2.Manual value) { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1529,9 +1493,6 @@ public Builder clearManual() { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1544,9 +1505,6 @@ public com.google.privacy.dlp.v2.Manual.Builder getManualBuilder() { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; @@ -1567,9 +1525,6 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
-       * 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.
        * 
* * .google.privacy.dlp.v2.Manual manual = 2; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java index ca5d3c41..bb3ce037 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/KmsWrappedCryptoKey.java @@ -23,10 +23,14 @@ * *
  * Include to use an existing data crypto key wrapped by KMS.
- * The wrapped key must be a 128/192/256 bit key.
+ * The wrapped key must be a 128-, 192-, or 256-bit key.
  * Authorization requires the following IAM permissions when sending a request
- * to perform a crypto transformation using a kms-wrapped crypto key:
+ * to perform a crypto transformation using a KMS-wrapped crypto key:
  * dlp.kms.encrypt
+ * For more information, see [Creating a wrapped key]
+ * (https://cloud.google.com/dlp/docs/create-wrapped-key).
+ * Note: When you use Cloud KMS for cryptographic operations,
+ * [charges apply](https://cloud.google.com/kms/pricing).
  * 
* * Protobuf type {@code google.privacy.dlp.v2.KmsWrappedCryptoKey} @@ -361,10 +365,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Include to use an existing data crypto key wrapped by KMS.
-   * The wrapped key must be a 128/192/256 bit key.
+   * The wrapped key must be a 128-, 192-, or 256-bit key.
    * Authorization requires the following IAM permissions when sending a request
-   * to perform a crypto transformation using a kms-wrapped crypto key:
+   * to perform a crypto transformation using a KMS-wrapped crypto key:
    * dlp.kms.encrypt
+   * For more information, see [Creating a wrapped key]
+   * (https://cloud.google.com/dlp/docs/create-wrapped-key).
+   * Note: When you use Cloud KMS for cryptographic operations,
+   * [charges apply](https://cloud.google.com/kms/pricing).
    * 
* * Protobuf type {@code google.privacy.dlp.v2.KmsWrappedCryptoKey} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java index 7db38a66..15054d7a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java @@ -42,6 +42,7 @@ private ListJobTriggersRequest() { pageToken_ = ""; orderBy_ = ""; filter_ = ""; + type_ = 0; locationId_ = ""; } @@ -107,6 +108,13 @@ private ListJobTriggersRequest( filter_ = s; break; } + case 48: + { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } case 58: { java.lang.String s = input.readStringRequireUtf8(); @@ -377,7 +385,7 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -418,7 +426,7 @@ public java.lang.String getFilter() { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -450,6 +458,42 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int TYPE_FIELD_NUMBER = 6; + private int type_; + /** + * + * + *
+   * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+   * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+   * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+   * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return The type. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.DlpJobType getType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; + } + public static final int LOCATION_ID_FIELD_NUMBER = 7; private volatile java.lang.Object locationId_; /** @@ -528,6 +572,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } + if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, type_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locationId_); } @@ -555,6 +602,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } + if (type_ != com.google.privacy.dlp.v2.DlpJobType.DLP_JOB_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, type_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); } @@ -579,6 +629,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (type_ != other.type_) return false; if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -601,6 +652,8 @@ public int hashCode() { hash = (53 * hash) + getOrderBy().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -758,6 +811,8 @@ public Builder clear() { filter_ = ""; + type_ = 0; + locationId_ = ""; return this; @@ -792,6 +847,7 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { result.pageSize_ = pageSize_; result.orderBy_ = orderBy_; result.filter_ = filter_; + result.type_ = type_; result.locationId_ = locationId_; onBuilt(); return result; @@ -862,6 +918,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersRequest other) filter_ = other.filter_; onChanged(); } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } if (!other.getLocationId().isEmpty()) { locationId_ = other.locationId_; onChanged(); @@ -1406,7 +1465,7 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -1446,7 +1505,7 @@ public java.lang.String getFilter() { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -1486,7 +1545,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -1525,7 +1584,7 @@ public Builder setFilter(java.lang.String value) { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -1560,7 +1619,7 @@ public Builder clearFilter() { * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -1591,6 +1650,97 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private int type_ = 0; + /** + * + * + *
+     * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+     * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+     * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+     * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + + type_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+     * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return The type. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.DlpJobType getType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.DlpJobType result = + com.google.privacy.dlp.v2.DlpJobType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.DlpJobType.UNRECOGNIZED : result; + } + /** + * + * + *
+     * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+     * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.privacy.dlp.v2.DlpJobType value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+     * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return This builder for chaining. + */ + public Builder clearType() { + + type_ = 0; + onChanged(); + return this; + } + private java.lang.Object locationId_ = ""; /** * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java index 15115080..b5337bce 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java @@ -173,7 +173,7 @@ public interface ListJobTriggersRequestOrBuilder * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -203,7 +203,7 @@ public interface ListJobTriggersRequestOrBuilder * * Restrictions can be combined by `AND` or `OR` logical operators. A * sequence of restrictions implicitly uses `AND`. * * A restriction has the form of `{field} {operator} {value}`. - * * Supported fields/values for inspect jobs: + * * Supported fields/values for inspect triggers: * - `status` - HEALTHY|PAUSED|CANCELLED * - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY * - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -224,6 +224,31 @@ public interface ListJobTriggersRequestOrBuilder */ com.google.protobuf.ByteString getFilterBytes(); + /** + * + * + *
+   * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+   * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * + * + *
+   * The type of jobs. Will use `DlpJobType.INSPECT` if not set.
+   * 
+ * + * .google.privacy.dlp.v2.DlpJobType type = 6; + * + * @return The type. + */ + com.google.privacy.dlp.v2.DlpJobType getType(); + /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java index 46559746..a21d6a3e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformation.java @@ -268,6 +268,26 @@ private PrimitiveTransformation( transformationCase_ = 12; break; } + case 106: + { + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder subBuilder = null; + if (transformationCase_ == 13) { + subBuilder = + ((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) + .toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 13; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -320,6 +340,7 @@ public enum TransformationCase CRYPTO_HASH_CONFIG(9), DATE_SHIFT_CONFIG(11), CRYPTO_DETERMINISTIC_CONFIG(12), + REPLACE_DICTIONARY_CONFIG(13), TRANSFORMATION_NOT_SET(0); private final int value; @@ -360,6 +381,8 @@ public static TransformationCase forNumber(int value) { return DATE_SHIFT_CONFIG; case 12: return CRYPTO_DETERMINISTIC_CONFIG; + case 13: + return REPLACE_DICTIONARY_CONFIG; case 0: return TRANSFORMATION_NOT_SET; default: @@ -381,7 +404,7 @@ public TransformationCase getTransformationCase() { * * *
-   * Replace
+   * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -396,7 +419,7 @@ public boolean hasReplaceConfig() { * * *
-   * Replace
+   * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -414,7 +437,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { * * *
-   * Replace
+   * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -947,6 +970,58 @@ public com.google.privacy.dlp.v2.CryptoDeterministicConfig getCryptoDeterministi return com.google.privacy.dlp.v2.CryptoDeterministicConfig.getDefaultInstance(); } + public static final int REPLACE_DICTIONARY_CONFIG_FIELD_NUMBER = 13; + /** + * + * + *
+   * Replace with a value randomly drawn (with replacement) from a dictionary.
+   * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * + * @return Whether the replaceDictionaryConfig field is set. + */ + @java.lang.Override + public boolean hasReplaceDictionaryConfig() { + return transformationCase_ == 13; + } + /** + * + * + *
+   * Replace with a value randomly drawn (with replacement) from a dictionary.
+   * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * + * @return The replaceDictionaryConfig. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig() { + if (transformationCase_ == 13) { + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + } + return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } + /** + * + * + *
+   * Replace with a value randomly drawn (with replacement) from a dictionary.
+   * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder + getReplaceDictionaryConfigOrBuilder() { + if (transformationCase_ == 13) { + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + } + return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -995,6 +1070,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage( 12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); } + if (transformationCase_ == 13) { + output.writeMessage(13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + } unknownFields.writeTo(output); } @@ -1059,6 +1137,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 12, (com.google.privacy.dlp.v2.CryptoDeterministicConfig) transformation_); } + if (transformationCase_ == 13) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 13, (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1114,6 +1197,9 @@ public boolean equals(final java.lang.Object obj) { if (!getCryptoDeterministicConfig().equals(other.getCryptoDeterministicConfig())) return false; break; + case 13: + if (!getReplaceDictionaryConfig().equals(other.getReplaceDictionaryConfig())) return false; + break; case 0: default: } @@ -1173,6 +1259,10 @@ public int hashCode() { hash = (37 * hash) + CRYPTO_DETERMINISTIC_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCryptoDeterministicConfig().hashCode(); break; + case 13: + hash = (37 * hash) + REPLACE_DICTIONARY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getReplaceDictionaryConfig().hashCode(); + break; case 0: default: } @@ -1427,6 +1517,13 @@ public com.google.privacy.dlp.v2.PrimitiveTransformation buildPartial() { result.transformation_ = cryptoDeterministicConfigBuilder_.build(); } } + if (transformationCase_ == 13) { + if (replaceDictionaryConfigBuilder_ == null) { + result.transformation_ = transformation_; + } else { + result.transformation_ = replaceDictionaryConfigBuilder_.build(); + } + } result.transformationCase_ = transformationCase_; onBuilt(); return result; @@ -1534,6 +1631,11 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.PrimitiveTransformation other mergeCryptoDeterministicConfig(other.getCryptoDeterministicConfig()); break; } + case REPLACE_DICTIONARY_CONFIG: + { + mergeReplaceDictionaryConfig(other.getReplaceDictionaryConfig()); + break; + } case TRANSFORMATION_NOT_SET: { break; @@ -1592,7 +1694,7 @@ public Builder clearTransformation() { * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1607,7 +1709,7 @@ public boolean hasReplaceConfig() { * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1632,7 +1734,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1654,7 +1756,7 @@ public Builder setReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig val * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1674,7 +1776,7 @@ public Builder setReplaceConfig( * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1706,7 +1808,7 @@ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig v * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1731,7 +1833,7 @@ public Builder clearReplaceConfig() { * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1743,7 +1845,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig.Builder getReplaceConfigBuil * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -1763,7 +1865,7 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB * * *
-     * Replace
+     * Replace with a specified value.
      * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -3934,6 +4036,220 @@ public Builder clearCryptoDeterministicConfig() { return cryptoDeterministicConfigBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> + replaceDictionaryConfigBuilder_; + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * + * @return Whether the replaceDictionaryConfig field is set. + */ + @java.lang.Override + public boolean hasReplaceDictionaryConfig() { + return transformationCase_ == 13; + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * + * @return The replaceDictionaryConfig. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig() { + if (replaceDictionaryConfigBuilder_ == null) { + if (transformationCase_ == 13) { + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + } + return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } else { + if (transformationCase_ == 13) { + return replaceDictionaryConfigBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + public Builder setReplaceDictionaryConfig( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { + if (replaceDictionaryConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformation_ = value; + onChanged(); + } else { + replaceDictionaryConfigBuilder_.setMessage(value); + } + transformationCase_ = 13; + return this; + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + public Builder setReplaceDictionaryConfig( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder builderForValue) { + if (replaceDictionaryConfigBuilder_ == null) { + transformation_ = builderForValue.build(); + onChanged(); + } else { + replaceDictionaryConfigBuilder_.setMessage(builderForValue.build()); + } + transformationCase_ = 13; + return this; + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + public Builder mergeReplaceDictionaryConfig( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig value) { + if (replaceDictionaryConfigBuilder_ == null) { + if (transformationCase_ == 13 + && transformation_ + != com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder( + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_) + .mergeFrom(value) + .buildPartial(); + } else { + transformation_ = value; + } + onChanged(); + } else { + if (transformationCase_ == 13) { + replaceDictionaryConfigBuilder_.mergeFrom(value); + } + replaceDictionaryConfigBuilder_.setMessage(value); + } + transformationCase_ = 13; + return this; + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + public Builder clearReplaceDictionaryConfig() { + if (replaceDictionaryConfigBuilder_ == null) { + if (transformationCase_ == 13) { + transformationCase_ = 0; + transformation_ = null; + onChanged(); + } + } else { + if (transformationCase_ == 13) { + transformationCase_ = 0; + transformation_ = null; + } + replaceDictionaryConfigBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder + getReplaceDictionaryConfigBuilder() { + return getReplaceDictionaryConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder + getReplaceDictionaryConfigOrBuilder() { + if ((transformationCase_ == 13) && (replaceDictionaryConfigBuilder_ != null)) { + return replaceDictionaryConfigBuilder_.getMessageOrBuilder(); + } else { + if (transformationCase_ == 13) { + return (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_; + } + return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } + } + /** + * + * + *
+     * Replace with a value randomly drawn (with replacement) from a dictionary.
+     * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder> + getReplaceDictionaryConfigFieldBuilder() { + if (replaceDictionaryConfigBuilder_ == null) { + if (!(transformationCase_ == 13)) { + transformation_ = com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } + replaceDictionaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ReplaceDictionaryConfig, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder, + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder>( + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) transformation_, + getParentForChildren(), + isClean()); + transformation_ = null; + } + transformationCase_ = 13; + onChanged(); + ; + return replaceDictionaryConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java index 8fc0934d..1a361acb 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/PrimitiveTransformationOrBuilder.java @@ -27,7 +27,7 @@ public interface PrimitiveTransformationOrBuilder * * *
-   * Replace
+   * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -39,7 +39,7 @@ public interface PrimitiveTransformationOrBuilder * * *
-   * Replace
+   * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -51,7 +51,7 @@ public interface PrimitiveTransformationOrBuilder * * *
-   * Replace
+   * Replace with a specified value.
    * 
* * .google.privacy.dlp.v2.ReplaceValueConfig replace_config = 1; @@ -418,6 +418,41 @@ public interface PrimitiveTransformationOrBuilder com.google.privacy.dlp.v2.CryptoDeterministicConfigOrBuilder getCryptoDeterministicConfigOrBuilder(); + /** + * + * + *
+   * Replace with a value randomly drawn (with replacement) from a dictionary.
+   * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * + * @return Whether the replaceDictionaryConfig field is set. + */ + boolean hasReplaceDictionaryConfig(); + /** + * + * + *
+   * Replace with a value randomly drawn (with replacement) from a dictionary.
+   * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + * + * @return The replaceDictionaryConfig. + */ + com.google.privacy.dlp.v2.ReplaceDictionaryConfig getReplaceDictionaryConfig(); + /** + * + * + *
+   * Replace with a value randomly drawn (with replacement) from a dictionary.
+   * 
+ * + * .google.privacy.dlp.v2.ReplaceDictionaryConfig replace_dictionary_config = 13; + */ + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDictionaryConfigOrBuilder(); + public com.google.privacy.dlp.v2.PrimitiveTransformation.TransformationCase getTransformationCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java new file mode 100644 index 00000000..1e5af9fd --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfig.java @@ -0,0 +1,870 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Replace each input value with a value randomly selected from the dictionary.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ReplaceDictionaryConfig} + */ +public final class ReplaceDictionaryConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ReplaceDictionaryConfig) + ReplaceDictionaryConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReplaceDictionaryConfig.newBuilder() to construct. + private ReplaceDictionaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReplaceDictionaryConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ReplaceDictionaryConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ReplaceDictionaryConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder subBuilder = + null; + if (typeCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 1; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); + } + + private int typeCase_ = 0; + private java.lang.Object type_; + + public enum TypeCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + WORD_LIST(1), + TYPE_NOT_SET(0); + private final int value; + + private TypeCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TypeCase valueOf(int value) { + return forNumber(value); + } + + public static TypeCase forNumber(int value) { + switch (value) { + case 1: + return WORD_LIST; + case 0: + return TYPE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); + } + + public static final int WORD_LIST_FIELD_NUMBER = 1; + /** + * + * + *
+   * A list of words to select from for random replacement. The
+   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * the size limits of dictionaries.
+   * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * + * @return Whether the wordList field is set. + */ + @java.lang.Override + public boolean hasWordList() { + return typeCase_ == 1; + } + /** + * + * + *
+   * A list of words to select from for random replacement. The
+   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * the size limits of dictionaries.
+   * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * + * @return The wordList. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; + } + return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + } + /** + * + * + *
+   * A list of words to select from for random replacement. The
+   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * the size limits of dictionaries.
+   * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder + getWordListOrBuilder() { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; + } + return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (typeCase_ == 1) { + output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (typeCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ReplaceDictionaryConfig)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ReplaceDictionaryConfig other = + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) obj; + + if (!getTypeCase().equals(other.getTypeCase())) return false; + switch (typeCase_) { + case 1: + if (!getWordList().equals(other.getWordList())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (typeCase_) { + case 1: + hash = (37 * hash) + WORD_LIST_FIELD_NUMBER; + hash = (53 * hash) + getWordList().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.privacy.dlp.v2.ReplaceDictionaryConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Replace each input value with a value randomly selected from the dictionary.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ReplaceDictionaryConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ReplaceDictionaryConfig) + com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.class, + com.google.privacy.dlp.v2.ReplaceDictionaryConfig.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ReplaceDictionaryConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + typeCase_ = 0; + type_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ReplaceDictionaryConfig_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig build() { + com.google.privacy.dlp.v2.ReplaceDictionaryConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig buildPartial() { + com.google.privacy.dlp.v2.ReplaceDictionaryConfig result = + new com.google.privacy.dlp.v2.ReplaceDictionaryConfig(this); + if (typeCase_ == 1) { + if (wordListBuilder_ == null) { + result.type_ = type_; + } else { + result.type_ = wordListBuilder_.build(); + } + } + result.typeCase_ = typeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ReplaceDictionaryConfig) { + return mergeFrom((com.google.privacy.dlp.v2.ReplaceDictionaryConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ReplaceDictionaryConfig other) { + if (other == com.google.privacy.dlp.v2.ReplaceDictionaryConfig.getDefaultInstance()) + return this; + switch (other.getTypeCase()) { + case WORD_LIST: + { + mergeWordList(other.getWordList()); + break; + } + case TYPE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ReplaceDictionaryConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.privacy.dlp.v2.ReplaceDictionaryConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int typeCase_ = 0; + private java.lang.Object type_; + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); + } + + public Builder clearType() { + typeCase_ = 0; + type_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> + wordListBuilder_; + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * + * @return Whether the wordList field is set. + */ + @java.lang.Override + public boolean hasWordList() { + return typeCase_ == 1; + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * + * @return The wordList. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList() { + if (wordListBuilder_ == null) { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; + } + return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + } else { + if (typeCase_ == 1) { + return wordListBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + } + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { + if (wordListBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + type_ = value; + onChanged(); + } else { + wordListBuilder_.setMessage(value); + } + typeCase_ = 1; + return this; + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + public Builder setWordList( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder builderForValue) { + if (wordListBuilder_ == null) { + type_ = builderForValue.build(); + onChanged(); + } else { + wordListBuilder_.setMessage(builderForValue.build()); + } + typeCase_ = 1; + return this; + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + public Builder mergeWordList( + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList value) { + if (wordListBuilder_ == null) { + if (typeCase_ == 1 + && type_ + != com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList + .getDefaultInstance()) { + type_ = + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.newBuilder( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_) + .mergeFrom(value) + .buildPartial(); + } else { + type_ = value; + } + onChanged(); + } else { + if (typeCase_ == 1) { + wordListBuilder_.mergeFrom(value); + } + wordListBuilder_.setMessage(value); + } + typeCase_ = 1; + return this; + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + public Builder clearWordList() { + if (wordListBuilder_ == null) { + if (typeCase_ == 1) { + typeCase_ = 0; + type_ = null; + onChanged(); + } + } else { + if (typeCase_ == 1) { + typeCase_ = 0; + type_ = null; + } + wordListBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder + getWordListBuilder() { + return getWordListFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder + getWordListOrBuilder() { + if ((typeCase_ == 1) && (wordListBuilder_ != null)) { + return wordListBuilder_.getMessageOrBuilder(); + } else { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_; + } + return com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + } + } + /** + * + * + *
+     * A list of words to select from for random replacement. The
+     * [limits](https://cloud.google.com/dlp/limits) page contains details about
+     * the size limits of dictionaries.
+     * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder> + getWordListFieldBuilder() { + if (wordListBuilder_ == null) { + if (!(typeCase_ == 1)) { + type_ = com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.getDefaultInstance(); + } + wordListBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList.Builder, + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder>( + (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_, + getParentForChildren(), + isClean()); + type_ = null; + } + typeCase_ = 1; + onChanged(); + ; + return wordListBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ReplaceDictionaryConfig) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceDictionaryConfig) + private static final com.google.privacy.dlp.v2.ReplaceDictionaryConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ReplaceDictionaryConfig(); + } + + public static com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceDictionaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceDictionaryConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java new file mode 100644 index 00000000..e7ca199a --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReplaceDictionaryConfigOrBuilder.java @@ -0,0 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface ReplaceDictionaryConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ReplaceDictionaryConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of words to select from for random replacement. The
+   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * the size limits of dictionaries.
+   * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * + * @return Whether the wordList field is set. + */ + boolean hasWordList(); + /** + * + * + *
+   * A list of words to select from for random replacement. The
+   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * the size limits of dictionaries.
+   * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * + * @return The wordList. + */ + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList getWordList(); + /** + * + * + *
+   * A list of words to select from for random replacement. The
+   * [limits](https://cloud.google.com/dlp/limits) page contains details about
+   * the size limits of dictionaries.
+   * 
+ * + * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + */ + com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder getWordListOrBuilder(); + + public com.google.privacy.dlp.v2.ReplaceDictionaryConfig.TypeCase getTypeCase(); +} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java index 4831f990..e753fad0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Schedule.java @@ -22,7 +22,7 @@ * * *
- * Schedule for triggeredJobs.
+ * Schedule for inspect job triggers.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Schedule} @@ -403,7 +403,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Schedule for triggeredJobs.
+   * Schedule for inspect job triggers.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Schedule} diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java index ea4948cf..6dc71af0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java @@ -2132,9 +2132,6 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu * *
    * Hybrid inspection options.
-   * 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.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -2150,9 +2147,6 @@ public boolean hasHybridOptions() { * *
    * Hybrid inspection options.
-   * 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.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -2171,9 +2165,6 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { * *
    * Hybrid inspection options.
-   * 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.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3320,9 +3311,6 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3338,9 +3326,6 @@ public boolean hasHybridOptions() { * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3366,9 +3351,6 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3391,9 +3373,6 @@ public Builder setHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3414,9 +3393,6 @@ public Builder setHybridOptions( * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3448,9 +3424,6 @@ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3476,9 +3449,6 @@ public Builder clearHybridOptions() { * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3491,9 +3461,6 @@ public com.google.privacy.dlp.v2.HybridOptions.Builder getHybridOptionsBuilder() * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -3514,9 +3481,6 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde * *
      * Hybrid inspection options.
-     * 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.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java index 68fd1faa..172abf1a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfigOrBuilder.java @@ -133,9 +133,6 @@ public interface StorageConfigOrBuilder * *
    * Hybrid inspection options.
-   * 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.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -148,9 +145,6 @@ public interface StorageConfigOrBuilder * *
    * Hybrid inspection options.
-   * 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.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; @@ -163,9 +157,6 @@ public interface StorageConfigOrBuilder * *
    * Hybrid inspection options.
-   * 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.
    * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java index 8b0fe4b6..6f93ddc6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Table.java @@ -22,9 +22,9 @@ * * *
- * Structured content to inspect. Up to 50,000 `Value`s per request allowed.
- * See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
- * learn more.
+ * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
+ * https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
+ * to learn more.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.Table} @@ -1428,9 +1428,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Structured content to inspect. Up to 50,000 `Value`s per request allowed.
-   * See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
-   * learn more.
+   * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
+   * https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table
+   * to learn more.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.Table} diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index 3fb0c219..26f5872e 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -360,6 +360,10 @@ service DlpService { post: "/v2/{parent=projects/*/locations/*}/jobTriggers" body: "*" } + additional_bindings { + post: "/v2/{parent=organizations/*/locations/*}/jobTriggers" + body: "*" + } }; option (google.api.method_signature) = "parent,job_trigger"; } @@ -374,6 +378,10 @@ service DlpService { patch: "/v2/{name=projects/*/locations/*/jobTriggers/*}" body: "*" } + additional_bindings { + patch: "/v2/{name=organizations/*/locations/*/jobTriggers/*}" + body: "*" + } }; option (google.api.method_signature) = "name,job_trigger,update_mask"; } @@ -381,9 +389,6 @@ service DlpService { // 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. rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:hybridInspect" @@ -400,6 +405,9 @@ service DlpService { additional_bindings { get: "/v2/{name=projects/*/locations/*/jobTriggers/*}" } + additional_bindings { + get: "/v2/{name=organizations/*/locations/*/jobTriggers/*}" + } }; option (google.api.method_signature) = "name"; } @@ -412,6 +420,9 @@ service DlpService { additional_bindings { get: "/v2/{parent=projects/*/locations/*}/jobTriggers" } + additional_bindings { + get: "/v2/{parent=organizations/*/locations/*}/jobTriggers" + } }; option (google.api.method_signature) = "parent"; } @@ -424,6 +435,9 @@ service DlpService { additional_bindings { delete: "/v2/{name=projects/*/locations/*/jobTriggers/*}" } + additional_bindings { + delete: "/v2/{name=organizations/*/locations/*/jobTriggers/*}" + } }; option (google.api.method_signature) = "name"; } @@ -470,6 +484,9 @@ service DlpService { additional_bindings { get: "/v2/{parent=projects/*/locations/*}/dlpJobs" } + additional_bindings { + get: "/v2/{parent=organizations/*/locations/*}/dlpJobs" + } }; option (google.api.method_signature) = "parent"; } @@ -623,11 +640,8 @@ service DlpService { } // 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. rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect" @@ -638,9 +652,6 @@ service DlpService { // 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. rpc FinishDlpJob(FinishDlpJobRequest) returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:finish" @@ -708,7 +719,8 @@ message InspectionRuleSet { // When used with redactContent only info_types and min_likelihood are currently // used. message InspectConfig { - // Configuration to control the number of findings returned. + // Configuration to control the number of findings returned. Cannot be set if + // de-identification is requested. message FindingLimits { // Max findings configuration per infoType, per content item or long // running DlpJob. @@ -782,7 +794,9 @@ message InspectConfig { // Container for bytes to inspect or redact. message ByteContentItem { - // The type of data being sent for inspection. + // The type of data being sent for inspection. To learn more, see + // [Supported file + // types](https://cloud.google.com/dlp/docs/supported-file-types). enum BytesType { // Unused BYTES_TYPE_UNSPECIFIED = 0; @@ -845,9 +859,9 @@ message ContentItem { } } -// Structured content to inspect. Up to 50,000 `Value`s per request allowed. -// See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to -// learn more. +// Structured content to inspect. Up to 50,000 `Value`s per request allowed. See +// https://cloud.google.com/dlp/docs/inspecting-structured-text#inspecting_a_table +// to learn more. message Table { // Values of the row. message Row { @@ -945,6 +959,9 @@ message Finding { string job_name = 13 [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; + + // The unique finding id. + string finding_id = 15; } // Specifies the location of the finding. @@ -1488,16 +1505,13 @@ message InspectDataSourceDetails { repeated InfoTypeStats info_type_stats = 3; // Statistics related to the processing of hybrid inspect. - // 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. HybridInspectStatistics hybrid_stats = 7; } // The configuration used for this job. RequestedOptions requested_options = 2; - // A summary of the outcome of this inspect job. + // A summary of the outcome of this inspection job. Result result = 3; } @@ -2200,7 +2214,7 @@ message TransformationErrorHandling { // A rule for transforming a value. message PrimitiveTransformation { oneof transformation { - // Replace + // Replace with a specified value. ReplaceValueConfig replace_config = 1; // Redact @@ -2232,6 +2246,9 @@ message PrimitiveTransformation { // Deterministic Crypto CryptoDeterministicConfig crypto_deterministic_config = 12; + + // Replace with a value randomly drawn (with replacement) from a dictionary. + ReplaceDictionaryConfig replace_dictionary_config = 13; } } @@ -2282,7 +2299,9 @@ message CryptoHashConfig { // input. Outputs a base64 encoded representation of the encrypted output. // Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297. message CryptoDeterministicConfig { - // The key used by the encryption function. + // The key used by the encryption function. For deterministic encryption + // using AES-SIV, the provided key is internally expanded to 64 bytes prior to + // use. CryptoKey crypto_key = 1; // The custom info type to annotate the surrogate with. @@ -2346,6 +2365,16 @@ message ReplaceValueConfig { Value new_value = 1; } +// Replace each input value with a value randomly selected from the dictionary. +message ReplaceDictionaryConfig { + oneof type { + // A list of words to select from for random replacement. The + // [limits](https://cloud.google.com/dlp/limits) page contains details about + // the size limits of dictionaries. + CustomInfoType.Dictionary.WordList word_list = 1; + } +} + // Replace each matching finding with the name of the info_type. message ReplaceWithInfoTypeConfig { @@ -2429,8 +2458,8 @@ message CharacterMaskConfig { // the user for simple bucketing strategies. // // The transformed value will be a hyphenated string of -// {lower_bound}-{upper_bound}, i.e if lower_bound = 10 and upper_bound = 20 -// all values that are within this bucket will be replaced with "10-20". +// {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound +// = 20, all values that are within this bucket will be replaced with "10-20". // // This can be used on data of type: double, long. // @@ -2593,10 +2622,11 @@ message CryptoReplaceFfxFpeConfig { } // This is a data encryption key (DEK) (as opposed to -// a key encryption key (KEK) stored by KMS). -// When using KMS to wrap/unwrap DEKs, be sure to set an appropriate -// IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot -// unwrap the data crypto key. +// a key encryption key (KEK) stored by Cloud Key Management Service +// (Cloud KMS). +// When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate +// IAM policy on the KEK to ensure an attacker cannot +// unwrap the DEK. message CryptoKey { // Sources of crypto keys. oneof source { @@ -2606,7 +2636,7 @@ message CryptoKey { // Unwrapped crypto key UnwrappedCryptoKey unwrapped = 2; - // Kms wrapped key + // Key wrapped using Cloud KMS KmsWrappedCryptoKey kms_wrapped = 3; } } @@ -2631,10 +2661,16 @@ message UnwrappedCryptoKey { } // Include to use an existing data crypto key wrapped by KMS. -// The wrapped key must be a 128/192/256 bit key. +// The wrapped key must be a 128-, 192-, or 256-bit key. // Authorization requires the following IAM permissions when sending a request -// to perform a crypto transformation using a kms-wrapped crypto key: +// to perform a crypto transformation using a KMS-wrapped crypto key: // dlp.kms.encrypt +// +// For more information, see [Creating a wrapped key] +// (https://cloud.google.com/dlp/docs/create-wrapped-key). +// +// Note: When you use Cloud KMS for cryptographic operations, +// [charges apply](https://cloud.google.com/kms/pricing). message KmsWrappedCryptoKey { // Required. The wrapped data crypto key. bytes wrapped_key = 1 [(google.api.field_behavior) = REQUIRED]; @@ -2697,6 +2733,9 @@ message InfoTypeTransformations { // The transformation to apply to the field. message FieldTransformation { // Required. Input field(s) to apply the transformation to. + // When you have columns that reference their position within a list, + // omit the index from the FieldId. FieldId name matching ignores the index. + // For example, instead of "contact.nums[0].type", use "contact.nums.type". repeated FieldId fields = 1 [(google.api.field_behavior) = REQUIRED]; // Only apply the transformation if the condition evaluates to true for the @@ -2868,7 +2907,7 @@ message TransformationSummary { int64 transformed_bytes = 7; } -// Schedule for triggeredJobs. +// Schedule for inspect job triggers. message Schedule { oneof option { // With this option a job is started a regular periodic basis. For @@ -2955,7 +2994,7 @@ message DeidentifyTemplate { // Output only. The last update timestamp of an inspectTemplate. google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // ///////////// // The core content of the template // /////////////// + // The core content of the template. DeidentifyConfig deidentify_config = 6; } @@ -2985,9 +3024,6 @@ message JobTrigger { Schedule schedule = 1; // For use with hybrid jobs. Jobs must be manually created and finished. - // 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. Manual manual = 2; } } @@ -3090,11 +3126,11 @@ message Action { } - // 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 @@ -3402,10 +3438,11 @@ message CreateDlpJobRequest { // The configuration details for the specific type of job to run. oneof job { - // Set to control what and how to inspect. + // An inspection job scans a storage repository for InfoTypes. InspectJobConfig inspect_job = 2; - // Set to choose what metric to calculate. + // A risk analysis job calculates re-identification risk metrics for a + // BigQuery table. RiskAnalysisJobConfig risk_job = 3; } @@ -3477,7 +3514,7 @@ message ListJobTriggersRequest { // * Restrictions can be combined by `AND` or `OR` logical operators. A // sequence of restrictions implicitly uses `AND`. // * A restriction has the form of `{field} {operator} {value}`. - // * Supported fields/values for inspect jobs: + // * Supported fields/values for inspect triggers: // - `status` - HEALTHY|PAUSED|CANCELLED // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by @@ -3495,6 +3532,9 @@ message ListJobTriggersRequest { // The length of this field should be no more than 500 characters. string filter = 5; + // The type of jobs. Will use `DlpJobType.INSPECT` if not set. + DlpJobType type = 6; + // Deprecated. This field has no effect. string location_id = 7; } @@ -4347,7 +4387,7 @@ enum InfoTypeSupportedBy { // An enum to represent the various types of DLP jobs. enum DlpJobType { - // Unused + // Defaults to INSPECT_JOB. DLP_JOB_TYPE_UNSPECIFIED = 0; // The job inspected Google Cloud for sensitive data. diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index 6ded28b1..a9011213 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.privacy.dlp.v2; +import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; option go_package = "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp"; @@ -36,6 +36,9 @@ message InfoType { // a built-in type. When sending Cloud DLP results to Data Catalog, infoType // names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`. string name = 1; + + // Optional version name for this InfoType. + string version = 2; } // A reference to a StoredInfoType to use with scanning. @@ -82,7 +85,7 @@ message CustomInfoType { // Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) // will be replaced with whitespace when scanning for matches, so the // dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", - // "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters + // Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) // surrounding any match must be of a different type than the adjacent // characters within the word, so letters must be next to non-letters and // digits next to non-digits. For example, the dictionary word "jen" will @@ -95,7 +98,7 @@ message CustomInfoType { // [limits](https://cloud.google.com/dlp/limits) page contains details about // the size limits of dictionaries. For dictionaries that do not fit within // these constraints, consider using `LargeCustomDictionaryConfig` in the - // `StoredInfoType` API. + // [limits](https://cloud.google.com/dlp/limits) page contains details about message Dictionary { // Message defining a list of words or phrases to search for in the data. message WordList { @@ -121,7 +124,7 @@ message CustomInfoType { // (https://github.com/google/re2/wiki/Syntax) can be found under the // google/re2 repository on GitHub. string pattern = 1; - + // (https://github.com/google/re2/wiki/Syntax) can be found under the // The index of the submatch to extract as findings. When not // specified, the entire match is returned. No more than 3 may be included. repeated int32 group_indexes = 2; @@ -132,12 +135,10 @@ message CustomInfoType { // [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). // These types of transformations are // those that perform pseudonymization, thereby producing a "surrogate" as - // output. This should be used in conjunction with a field on the + // [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). // transformation such as `surrogate_info_type`. This CustomInfoType does // not support the use of `detection_rules`. - message SurrogateType { - - } + message SurrogateType {} // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a // `CustomInfoType` to alter behavior under certain circumstances, depending @@ -329,7 +330,7 @@ message CloudStorageRegexFileSet { // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // under the google/re2 repository on GitHub. repeated string include_regex = 2; - + // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // A list of regular expressions matching file paths to exclude. All files in // the bucket that match at least one of these regular expressions will be // excluded from the scan. @@ -338,6 +339,7 @@ message CloudStorageRegexFileSet { // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found // under the google/re2 repository on GitHub. repeated string exclude_regex = 3; + // [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found } // Options defining a file or a set of files within a Google Cloud Storage @@ -382,12 +384,14 @@ message CloudStorageOptions { // Max number of bytes to scan from a file. If a scanned file's size is bigger // than this value then the rest of the bytes are omitted. Only one // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + // Cannot be set if de-identification is requested. int64 bytes_limit_per_file = 4; // Max percentage of bytes to scan from a file. The rest are omitted. The // number of bytes scanned is rounded down. Must be between 0 and 100, // inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + // Cannot be set if de-identification is requested. int32 bytes_limit_per_file_percent = 8; // List of file type groups to include in the scan. @@ -466,6 +470,9 @@ message BigQueryOptions { // References to fields excluded from scanning. This allows you to skip // inspection of entire columns which you know have no findings. repeated FieldId excluded_fields = 5; + + // Limit scanning only to these fields. + repeated FieldId included_fields = 7; } // Shared message indicating Cloud storage type. @@ -518,9 +525,6 @@ message StorageConfig { BigQueryOptions big_query_options = 4; // Hybrid inspection options. - // 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. HybridOptions hybrid_options = 9; } @@ -541,11 +545,12 @@ enum FileType { BINARY_FILE = 1; // Included file extensions: - // asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, - // hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, - // ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, - // rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, - // xml, xsl, xsd, yml, yaml. + // asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, + // dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, + // mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, + // properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, + // shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md, + // txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml. TEXT_FILE = 2; // Included file extensions: