diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java index 4b6e1f90..3c95503c 100644 --- a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java +++ b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/GrpcDlpServiceStub.java @@ -521,6 +521,15 @@ public Map extract(ReidentifyContentRequest request) { GrpcCallSettings listInfoTypesTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listInfoTypesMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ListInfoTypesRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("location_id", String.valueOf(request.getLocationId())); + return params.build(); + } + }) .build(); GrpcCallSettings createInspectTemplateTransportSettings = diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java index 74d4da6c..d27fb011 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java @@ -41,6 +41,7 @@ private CreateDeidentifyTemplateRequest( private CreateDeidentifyTemplateRequest() { parent_ = ""; templateId_ = ""; + locationId_ = ""; } @java.lang.Override @@ -97,6 +98,13 @@ private CreateDeidentifyTemplateRequest( templateId_ = s; break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -270,6 +278,51 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 4; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to store the deidentification template. Reserved
+   * for future extensions.
+   * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to store the deidentification template. Reserved
+   * for future extensions.
+   * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -293,6 +346,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getTemplateIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, templateId_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locationId_); + } unknownFields.writeTo(output); } @@ -311,6 +367,9 @@ public int getSerializedSize() { if (!getTemplateIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -333,6 +392,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDeidentifyTemplate().equals(other.getDeidentifyTemplate())) return false; } if (!getTemplateId().equals(other.getTemplateId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,6 +412,8 @@ public int hashCode() { } hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER; hash = (53 * hash) + getTemplateId().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -508,6 +570,8 @@ public Builder clear() { } templateId_ = ""; + locationId_ = ""; + return this; } @@ -542,6 +606,7 @@ public com.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest buildPartial() result.deidentifyTemplate_ = deidentifyTemplateBuilder_.build(); } result.templateId_ = templateId_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -603,6 +668,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateDeidentifyTemplateReque templateId_ = other.templateId_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1033,6 +1102,105 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to store the deidentification template. Reserved
+     * for future extensions.
+     * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to store the deidentification template. Reserved
+     * for future extensions.
+     * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to store the deidentification template. Reserved
+     * for future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the deidentification template. Reserved
+     * for future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the deidentification template. Reserved
+     * for future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/CreateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java index f6309ae6..19a96c0f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java @@ -107,4 +107,27 @@ public interface CreateDeidentifyTemplateRequestOrBuilder * string template_id = 3; */ com.google.protobuf.ByteString getTemplateIdBytes(); + + /** + * + * + *
+   * The geographic location to store the deidentification template. Reserved
+   * for future extensions.
+   * 
+ * + * string location_id = 4; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to store the deidentification template. Reserved
+   * for future extensions.
+   * 
+ * + * string location_id = 4; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } 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 c8f311cd..eccad604 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 @@ -42,6 +42,7 @@ private CreateDlpJobRequest(com.google.protobuf.GeneratedMessageV3.Builder bu private CreateDlpJobRequest() { parent_ = ""; jobId_ = ""; + locationId_ = ""; } @java.lang.Override @@ -114,6 +115,13 @@ private CreateDlpJobRequest( jobId_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -324,6 +332,51 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 5; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to store and process the job. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to store and process the job. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -350,6 +403,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getJobIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, jobId_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_); + } unknownFields.writeTo(output); } @@ -375,6 +431,9 @@ public int getSerializedSize() { if (!getJobIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobId_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -393,6 +452,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParent().equals(other.getParent())) return false; if (!getJobId().equals(other.getJobId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!getJobCase().equals(other.getJobCase())) return false; switch (jobCase_) { case 2: @@ -419,6 +479,8 @@ public int hashCode() { hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); switch (jobCase_) { case 2: hash = (37 * hash) + INSPECT_JOB_FIELD_NUMBER; @@ -582,6 +644,8 @@ public Builder clear() { jobId_ = ""; + locationId_ = ""; + jobCase_ = 0; job_ = null; return this; @@ -627,6 +691,7 @@ public com.google.privacy.dlp.v2.CreateDlpJobRequest buildPartial() { } } result.jobId_ = jobId_; + result.locationId_ = locationId_; result.jobCase_ = jobCase_; onBuilt(); return result; @@ -685,6 +750,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateDlpJobRequest other) { jobId_ = other.jobId_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } switch (other.getJobCase()) { case INSPECT_JOB: { @@ -1217,6 +1286,105 @@ public Builder setJobIdBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to store and process the job. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to store and process the job. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to store and process the job. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store and process the job. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store and process the job. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/CreateDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java index 36d90283..71542a10 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 @@ -89,5 +89,28 @@ public interface CreateDlpJobRequestOrBuilder */ com.google.protobuf.ByteString getJobIdBytes(); + /** + * + * + *
+   * The geographic location to store and process the job. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 5; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to store and process the job. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 5; + */ + com.google.protobuf.ByteString getLocationIdBytes(); + public com.google.privacy.dlp.v2.CreateDlpJobRequest.JobCase getJobCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java index 89977330..5018ef08 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java @@ -40,6 +40,7 @@ private CreateInspectTemplateRequest(com.google.protobuf.GeneratedMessageV3.Buil private CreateInspectTemplateRequest() { parent_ = ""; templateId_ = ""; + locationId_ = ""; } @java.lang.Override @@ -96,6 +97,13 @@ private CreateInspectTemplateRequest( templateId_ = s; break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -269,6 +277,51 @@ public com.google.protobuf.ByteString getTemplateIdBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 4; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to store the inspection template. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to store the inspection template. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -292,6 +345,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getTemplateIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, templateId_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locationId_); + } unknownFields.writeTo(output); } @@ -310,6 +366,9 @@ public int getSerializedSize() { if (!getTemplateIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -332,6 +391,7 @@ public boolean equals(final java.lang.Object obj) { if (!getInspectTemplate().equals(other.getInspectTemplate())) return false; } if (!getTemplateId().equals(other.getTemplateId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,6 +411,8 @@ public int hashCode() { } hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER; hash = (53 * hash) + getTemplateId().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -507,6 +569,8 @@ public Builder clear() { } templateId_ = ""; + locationId_ = ""; + return this; } @@ -541,6 +605,7 @@ public com.google.privacy.dlp.v2.CreateInspectTemplateRequest buildPartial() { result.inspectTemplate_ = inspectTemplateBuilder_.build(); } result.templateId_ = templateId_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -602,6 +667,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateInspectTemplateRequest templateId_ = other.templateId_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1032,6 +1101,105 @@ public Builder setTemplateIdBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to store the inspection template. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to store the inspection template. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to store the inspection template. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the inspection template. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the inspection template. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/CreateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java index 5e062a8c..66126a76 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java @@ -107,4 +107,27 @@ public interface CreateInspectTemplateRequestOrBuilder * string template_id = 3; */ com.google.protobuf.ByteString getTemplateIdBytes(); + + /** + * + * + *
+   * The geographic location to store the inspection template. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to store the inspection template. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java index e7bd1644..cb71f88d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java @@ -40,6 +40,7 @@ private CreateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder + * The geographic location to store the job trigger. Reserved for + * future extensions. + * + * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to store the job trigger. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -290,6 +343,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getTriggerIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, triggerId_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locationId_); + } unknownFields.writeTo(output); } @@ -308,6 +364,9 @@ public int getSerializedSize() { if (!getTriggerIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, triggerId_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -330,6 +389,7 @@ public boolean equals(final java.lang.Object obj) { if (!getJobTrigger().equals(other.getJobTrigger())) return false; } if (!getTriggerId().equals(other.getTriggerId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -349,6 +409,8 @@ public int hashCode() { } hash = (37 * hash) + TRIGGER_ID_FIELD_NUMBER; hash = (53 * hash) + getTriggerId().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -504,6 +566,8 @@ public Builder clear() { } triggerId_ = ""; + locationId_ = ""; + return this; } @@ -538,6 +602,7 @@ public com.google.privacy.dlp.v2.CreateJobTriggerRequest buildPartial() { result.jobTrigger_ = jobTriggerBuilder_.build(); } result.triggerId_ = triggerId_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -599,6 +664,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateJobTriggerRequest other triggerId_ = other.triggerId_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1023,6 +1092,105 @@ public Builder setTriggerIdBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to store the job trigger. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to store the job trigger. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to store the job trigger. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the job trigger. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the job trigger. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/CreateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java index d6c16624..7b1ff7e8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java @@ -105,4 +105,27 @@ public interface CreateJobTriggerRequestOrBuilder * string trigger_id = 3; */ com.google.protobuf.ByteString getTriggerIdBytes(); + + /** + * + * + *
+   * The geographic location to store the job trigger. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to store the job trigger. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java index 0fa78398..32b83ec3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java @@ -40,6 +40,7 @@ private CreateStoredInfoTypeRequest(com.google.protobuf.GeneratedMessageV3.Build private CreateStoredInfoTypeRequest() { parent_ = ""; storedInfoTypeId_ = ""; + locationId_ = ""; } @java.lang.Override @@ -96,6 +97,13 @@ private CreateStoredInfoTypeRequest( storedInfoTypeId_ = s; break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -269,6 +277,51 @@ public com.google.protobuf.ByteString getStoredInfoTypeIdBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 4; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to store the stored infoType. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to store the stored infoType. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -292,6 +345,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getStoredInfoTypeIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, storedInfoTypeId_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locationId_); + } unknownFields.writeTo(output); } @@ -310,6 +366,9 @@ public int getSerializedSize() { if (!getStoredInfoTypeIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storedInfoTypeId_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -332,6 +391,7 @@ public boolean equals(final java.lang.Object obj) { if (!getConfig().equals(other.getConfig())) return false; } if (!getStoredInfoTypeId().equals(other.getStoredInfoTypeId())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,6 +411,8 @@ public int hashCode() { } hash = (37 * hash) + STORED_INFO_TYPE_ID_FIELD_NUMBER; hash = (53 * hash) + getStoredInfoTypeId().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -507,6 +569,8 @@ public Builder clear() { } storedInfoTypeId_ = ""; + locationId_ = ""; + return this; } @@ -541,6 +605,7 @@ public com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest buildPartial() { result.config_ = configBuilder_.build(); } result.storedInfoTypeId_ = storedInfoTypeId_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -602,6 +667,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CreateStoredInfoTypeRequest o storedInfoTypeId_ = other.storedInfoTypeId_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1032,6 +1101,105 @@ public Builder setStoredInfoTypeIdBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to store the stored infoType. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to store the stored infoType. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to store the stored infoType. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the stored infoType. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to store the stored infoType. Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 4; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/CreateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java index 5f6535c0..d9728974 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java @@ -107,4 +107,27 @@ public interface CreateStoredInfoTypeRequestOrBuilder * string stored_info_type_id = 3; */ com.google.protobuf.ByteString getStoredInfoTypeIdBytes(); + + /** + * + * + *
+   * The geographic location to store the stored infoType. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to store the stored infoType. Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 4; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java index 2bf5d549..42816253 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfig.java @@ -219,7 +219,7 @@ public int getLowerBoundDays() { * *
    * Points to the field that contains the context, for example, an entity id.
-   * If set, must also set method. If set, shift will be consistent for the
+   * If set, must also set cryptoKey. If set, shift will be consistent for the
    * given context.
    * 
* @@ -233,7 +233,7 @@ public boolean hasContext() { * *
    * Points to the field that contains the context, for example, an entity id.
-   * If set, must also set method. If set, shift will be consistent for the
+   * If set, must also set cryptoKey. If set, shift will be consistent for the
    * given context.
    * 
* @@ -247,7 +247,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() { * *
    * Points to the field that contains the context, for example, an entity id.
-   * If set, must also set method. If set, shift will be consistent for the
+   * If set, must also set cryptoKey. If set, shift will be consistent for the
    * given context.
    * 
* @@ -263,7 +263,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() { * *
    * Causes the shift to be computed based on this key and the context. This
-   * results in the same shift for the same context and crypto_key.
+   * results in the same shift for the same context and crypto_key. If
+   * set, must also set context. Can only be applied to table items.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -276,7 +277,8 @@ public boolean hasCryptoKey() { * *
    * Causes the shift to be computed based on this key and the context. This
-   * results in the same shift for the same context and crypto_key.
+   * results in the same shift for the same context and crypto_key. If
+   * set, must also set context. Can only be applied to table items.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -292,7 +294,8 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { * *
    * Causes the shift to be computed based on this key and the context. This
-   * results in the same shift for the same context and crypto_key.
+   * results in the same shift for the same context and crypto_key. If
+   * set, must also set context. Can only be applied to table items.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -837,7 +840,7 @@ public Builder clearLowerBoundDays() { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -851,7 +854,7 @@ public boolean hasContext() { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -869,7 +872,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -893,7 +896,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -914,7 +917,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForVa * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -942,7 +945,7 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -964,7 +967,7 @@ public Builder clearContext() { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -980,7 +983,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -998,7 +1001,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() { * *
      * Points to the field that contains the context, for example, an entity id.
-     * If set, must also set method. If set, shift will be consistent for the
+     * If set, must also set cryptoKey. If set, shift will be consistent for the
      * given context.
      * 
* @@ -1031,7 +1034,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1044,7 +1048,8 @@ public boolean hasCryptoKey() { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1067,7 +1072,8 @@ public com.google.privacy.dlp.v2.CryptoKey getCryptoKey() { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1090,7 +1096,8 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1110,7 +1117,8 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1142,7 +1150,8 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1168,7 +1177,8 @@ public Builder clearCryptoKey() { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1181,7 +1191,8 @@ public com.google.privacy.dlp.v2.CryptoKey.Builder getCryptoKeyBuilder() { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -1201,7 +1212,8 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * *
      * Causes the shift to be computed based on this key and the context. This
-     * results in the same shift for the same context and crypto_key.
+     * results in the same shift for the same context and crypto_key. If
+     * set, must also set context. Can only be applied to table items.
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java index a1e2d05d..e3bd79fd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DateShiftConfigOrBuilder.java @@ -55,7 +55,7 @@ public interface DateShiftConfigOrBuilder * *
    * Points to the field that contains the context, for example, an entity id.
-   * If set, must also set method. If set, shift will be consistent for the
+   * If set, must also set cryptoKey. If set, shift will be consistent for the
    * given context.
    * 
* @@ -67,7 +67,7 @@ public interface DateShiftConfigOrBuilder * *
    * Points to the field that contains the context, for example, an entity id.
-   * If set, must also set method. If set, shift will be consistent for the
+   * If set, must also set cryptoKey. If set, shift will be consistent for the
    * given context.
    * 
* @@ -79,7 +79,7 @@ public interface DateShiftConfigOrBuilder * *
    * Points to the field that contains the context, for example, an entity id.
-   * If set, must also set method. If set, shift will be consistent for the
+   * If set, must also set cryptoKey. If set, shift will be consistent for the
    * given context.
    * 
* @@ -92,7 +92,8 @@ public interface DateShiftConfigOrBuilder * *
    * Causes the shift to be computed based on this key and the context. This
-   * results in the same shift for the same context and crypto_key.
+   * results in the same shift for the same context and crypto_key. If
+   * set, must also set context. Can only be applied to table items.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -103,7 +104,8 @@ public interface DateShiftConfigOrBuilder * *
    * Causes the shift to be computed based on this key and the context. This
-   * results in the same shift for the same context and crypto_key.
+   * results in the same shift for the same context and crypto_key. If
+   * set, must also set context. Can only be applied to table items.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; @@ -114,7 +116,8 @@ public interface DateShiftConfigOrBuilder * *
    * Causes the shift to be computed based on this key and the context. This
-   * results in the same shift for the same context and crypto_key.
+   * results in the same shift for the same context and crypto_key. If
+   * set, must also set context. Can only be applied to table items.
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java index 4711db0a..585aa332 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java @@ -41,6 +41,7 @@ private DeidentifyContentRequest() { parent_ = ""; inspectTemplateName_ = ""; deidentifyTemplateName_ = ""; + locationId_ = ""; } @java.lang.Override @@ -136,6 +137,13 @@ private DeidentifyContentRequest( deidentifyTemplateName_ = s; break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -448,6 +456,51 @@ public com.google.protobuf.ByteString getDeidentifyTemplateNameBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to process de-identification. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to process de-identification. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -480,6 +533,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getDeidentifyTemplateNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deidentifyTemplateName_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locationId_); + } unknownFields.writeTo(output); } @@ -507,6 +563,9 @@ public int getSerializedSize() { if (!getDeidentifyTemplateNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deidentifyTemplateName_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -538,6 +597,7 @@ public boolean equals(final java.lang.Object obj) { } if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; if (!getDeidentifyTemplateName().equals(other.getDeidentifyTemplateName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -567,6 +627,8 @@ public int hashCode() { hash = (53 * hash) + getInspectTemplateName().hashCode(); hash = (37 * hash) + DEIDENTIFY_TEMPLATE_NAME_FIELD_NUMBER; hash = (53 * hash) + getDeidentifyTemplateName().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -736,6 +798,8 @@ public Builder clear() { deidentifyTemplateName_ = ""; + locationId_ = ""; + return this; } @@ -781,6 +845,7 @@ public com.google.privacy.dlp.v2.DeidentifyContentRequest buildPartial() { } result.inspectTemplateName_ = inspectTemplateName_; result.deidentifyTemplateName_ = deidentifyTemplateName_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -852,6 +917,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DeidentifyContentRequest othe deidentifyTemplateName_ = other.deidentifyTemplateName_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1781,6 +1850,105 @@ public Builder setDeidentifyTemplateNameBytes(com.google.protobuf.ByteString val return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to process de-identification. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to process de-identification. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to process de-identification. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process de-identification. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process de-identification. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/DeidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java index 1cfa5d2d..e55b0bae 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java @@ -206,4 +206,27 @@ public interface DeidentifyContentRequestOrBuilder * string deidentify_template_name = 6; */ com.google.protobuf.ByteString getDeidentifyTemplateNameBytes(); + + /** + * + * + *
+   * The geographic location to process de-identification. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 7; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to process de-identification. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 7; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } 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 9ab3bc36..53bc3abc 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 @@ -22,7 +22,7 @@ * * *
- * The DeidentifyTemplates contains instructions on how to deidentify content.
+ * DeidentifyTemplates contains instructions on how to de-identify content.
  * See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
  * 
* @@ -310,7 +310,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -322,7 +322,7 @@ public boolean hasCreateTime() { * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -334,7 +334,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -349,7 +349,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -361,7 +361,7 @@ public boolean hasUpdateTime() { * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -373,7 +373,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -646,7 +646,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * The DeidentifyTemplates contains instructions on how to deidentify content.
+   * DeidentifyTemplates contains instructions on how to de-identify content.
    * See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
    * 
* @@ -1163,7 +1163,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1175,7 +1175,7 @@ public boolean hasCreateTime() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1193,7 +1193,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1215,7 +1215,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1234,7 +1234,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1258,7 +1258,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1278,7 +1278,7 @@ public Builder clearCreateTime() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1292,7 +1292,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1310,7 +1310,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1342,7 +1342,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1354,7 +1354,7 @@ public boolean hasUpdateTime() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1372,7 +1372,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1394,7 +1394,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1413,7 +1413,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1437,7 +1437,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1457,7 +1457,7 @@ public Builder clearUpdateTime() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1471,7 +1471,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1489,7 +1489,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; 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 be764a30..3b3bf392 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 @@ -96,7 +96,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -106,7 +106,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -116,7 +116,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -127,7 +127,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -137,7 +137,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -147,7 +147,7 @@ public interface DeidentifyTemplateOrBuilder * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; 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 595a4af7..24a02962 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 @@ -757,796 +757,877 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tion\022:\n\016bounding_boxes\030\001 \003(\0132\".google.pr" + "ivacy.dlp.v2.BoundingBox\"G\n\013BoundingBox\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\"\365\003\n\022RedactImageRequest" + + "\005\022\016\n\006height\030\004 \001(\005\"\212\004\n\022RedactImageRequest" + "\022@\n\006parent\030\001 \001(\tB0\372A-\n+cloudresourcemana" - + "ger.googleapis.com/Project\022<\n\016inspect_co" - + "nfig\030\002 \001(\0132$.google.privacy.dlp.v2.Inspe" - + "ctConfig\022_\n\027image_redaction_configs\030\005 \003(" - + "\0132>.google.privacy.dlp.v2.RedactImageReq" - + "uest.ImageRedactionConfig\022\030\n\020include_fin" - + "dings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google." - + "privacy.dlp.v2.ByteContentItem\032\250\001\n\024Image" - + "RedactionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.goo" - + "gle.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\006targe" - + "t\"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\016" - + "redacted_image\030\001 \001(\014\022\026\n\016extracted_text\030\002" - + " \001(\t\022<\n\016inspect_result\030\003 \001(\0132$.google.pr" - + "ivacy.dlp.v2.InspectResult\"\321\002\n\030Deidentif" - + "yContentRequest\022@\n\006parent\030\001 \001(\tB0\372A-\n+cl" - + "oudresourcemanager.googleapis.com/Projec" - + "t\022B\n\021deidentify_config\030\002 \001(\0132\'.google.pr" - + "ivacy.dlp.v2.DeidentifyConfig\022<\n\016inspect" - + "_config\030\003 \001(\0132$.google.privacy.dlp.v2.In" - + "spectConfig\0220\n\004item\030\004 \001(\0132\".google.priva" - + "cy.dlp.v2.ContentItem\022\035\n\025inspect_templat" - + "e_name\030\005 \001(\t\022 \n\030deidentify_template_name" - + "\030\006 \001(\t\"\216\001\n\031DeidentifyContentResponse\0220\n\004" - + "item\030\001 \001(\0132\".google.privacy.dlp.v2.Conte" - + "ntItem\022?\n\010overview\030\002 \001(\0132-.google.privac" - + "y.dlp.v2.TransformationOverview\"\324\002\n\030Reid" - + "entifyContentRequest\022C\n\006parent\030\001 \001(\tB3\340A" - + "\002\372A-\n+cloudresourcemanager.googleapis.co" - + "m/Project\022B\n\021reidentify_config\030\002 \001(\0132\'.g" - + "oogle.privacy.dlp.v2.DeidentifyConfig\022<\n" - + "\016inspect_config\030\003 \001(\0132$.google.privacy.d" - + "lp.v2.InspectConfig\0220\n\004item\030\004 \001(\0132\".goog" - + "le.privacy.dlp.v2.ContentItem\022\035\n\025inspect" - + "_template_name\030\005 \001(\t\022 \n\030reidentify_templ" - + "ate_name\030\006 \001(\t\"\216\001\n\031ReidentifyContentResp" - + "onse\0220\n\004item\030\001 \001(\0132\".google.privacy.dlp." - + "v2.ContentItem\022?\n\010overview\030\002 \001(\0132-.googl" - + "e.privacy.dlp.v2.TransformationOverview\"" - + "\350\001\n\025InspectContentRequest\022@\n\006parent\030\001 \001(" - + "\tB0\372A-\n+cloudresourcemanager.googleapis." - + "com/Project\022<\n\016inspect_config\030\002 \001(\0132$.go" - + "ogle.privacy.dlp.v2.InspectConfig\0220\n\004ite" - + "m\030\003 \001(\0132\".google.privacy.dlp.v2.ContentI" - + "tem\022\035\n\025inspect_template_name\030\004 \001(\t\"N\n\026In" - + "spectContentResponse\0224\n\006result\030\001 \001(\0132$.g" - + "oogle.privacy.dlp.v2.InspectResult\"\267\002\n\023O" - + "utputStorageConfig\0225\n\005table\030\001 \001(\0132$.goog" - + "le.privacy.dlp.v2.BigQueryTableH\000\022N\n\rout" - + "put_schema\030\003 \001(\01627.google.privacy.dlp.v2" - + ".OutputStorageConfig.OutputSchema\"\220\001\n\014Ou" - + "tputSchema\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_COLUMN" - + "S\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R\n\rInfoType" - + "Stats\0222\n\tinfo_type\030\001 \001(\0132\037.google.privac" - + "y.dlp.v2.InfoType\022\r\n\005count\030\002 \001(\003\"\335\003\n\030Ins" - + "pectDataSourceDetails\022[\n\021requested_optio" - + "ns\030\002 \001(\0132@.google.privacy.dlp.v2.Inspect" - + "DataSourceDetails.RequestedOptions\022F\n\006re" - + "sult\030\003 \001(\01326.google.privacy.dlp.v2.Inspe" - + "ctDataSourceDetails.Result\032\232\001\n\020Requested" - + "Options\022I\n\031snapshot_inspect_template\030\001 \001" - + "(\0132&.google.privacy.dlp.v2.InspectTempla" - + "te\022;\n\njob_config\030\003 \001(\0132\'.google.privacy." - + "dlp.v2.InspectJobConfig\032\177\n\006Result\022\027\n\017pro" - + "cessed_bytes\030\001 \001(\003\022\035\n\025total_estimated_by" - + "tes\030\002 \001(\003\022=\n\017info_type_stats\030\003 \003(\0132$.goo" - + "gle.privacy.dlp.v2.InfoTypeStats\"\220\001\n\023Inf" - + "oTypeDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" - + "y_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\0162*.goo" - + "gle.privacy.dlp.v2.InfoTypeSupportedBy\022\023" - + "\n\013description\030\004 \001(\t\"=\n\024ListInfoTypesRequ" - + "est\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001" - + "(\t\"W\n\025ListInfoTypesResponse\022>\n\ninfo_type" - + "s\030\001 \003(\0132*.google.privacy.dlp.v2.InfoType" - + "Description\"\301\001\n\025RiskAnalysisJobConfig\022<\n" - + "\016privacy_metric\030\001 \001(\0132$.google.privacy.d" - + "lp.v2.PrivacyMetric\022:\n\014source_table\030\002 \001(" - + "\0132$.google.privacy.dlp.v2.BigQueryTable\022" - + ".\n\007actions\030\003 \003(\0132\035.google.privacy.dlp.v2" - + ".Action\"\267\001\n\007QuasiId\022-\n\005field\030\001 \001(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldId\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(\013" - + "2\026.google.protobuf.EmptyH\000B\005\n\003tag\"\257\002\n\020St" - + "atisticalTable\0223\n\005table\030\003 \001(\0132$.google.p" - + "rivacy.dlp.v2.BigQueryTable\022O\n\tquasi_ids" - + "\030\001 \003(\0132<.google.privacy.dlp.v2.Statistic" - + "alTable.QuasiIdentifierField\022:\n\022relative" - + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2" - + ".FieldId\032Y\n\024QuasiIdentifierField\022-\n\005fiel" - + "d\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId\022" - + "\022\n\ncustom_tag\030\002 \001(\t\"\365\016\n\rPrivacyMetric\022[\n" - + "\026numerical_stats_config\030\001 \001(\01329.google.p" - + "rivacy.dlp.v2.PrivacyMetric.NumericalSta" - + "tsConfigH\000\022_\n\030categorical_stats_config\030\002" - + " \001(\0132;.google.privacy.dlp.v2.PrivacyMetr" - + "ic.CategoricalStatsConfigH\000\022S\n\022k_anonymi" - + "ty_config\030\003 \001(\01325.google.privacy.dlp.v2." - + "PrivacyMetric.KAnonymityConfigH\000\022S\n\022l_di" - + "versity_config\030\004 \001(\01325.google.privacy.dl" - + "p.v2.PrivacyMetric.LDiversityConfigH\000\022\\\n" - + "\027k_map_estimation_config\030\005 \001(\01329.google." + + "ger.googleapis.com/Project\022\023\n\013location_i" + + "d\030\010 \001(\t\022<\n\016inspect_config\030\002 \001(\0132$.google" + + ".privacy.dlp.v2.InspectConfig\022_\n\027image_r" + + "edaction_configs\030\005 \003(\0132>.google.privacy." + + "dlp.v2.RedactImageRequest.ImageRedaction" + + "Config\022\030\n\020include_findings\030\006 \001(\010\0229\n\tbyte" + + "_item\030\007 \001(\0132&.google.privacy.dlp.v2.Byte" + + "ContentItem\032\250\001\n\024ImageRedactionConfig\0224\n\t" + + "info_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\023Re" + + "dactImageResponse\022\026\n\016redacted_image\030\001 \001(" + + "\014\022\026\n\016extracted_text\030\002 \001(\t\022<\n\016inspect_res" + + "ult\030\003 \001(\0132$.google.privacy.dlp.v2.Inspec" + + "tResult\"\346\002\n\030DeidentifyContentRequest\022@\n\006" + + "parent\030\001 \001(\tB0\372A-\n+cloudresourcemanager." + + "googleapis.com/Project\022B\n\021deidentify_con" + + "fig\030\002 \001(\0132\'.google.privacy.dlp.v2.Deiden" + + "tifyConfig\022<\n\016inspect_config\030\003 \001(\0132$.goo" + + "gle.privacy.dlp.v2.InspectConfig\0220\n\004item" + + "\030\004 \001(\0132\".google.privacy.dlp.v2.ContentIt" + + "em\022\035\n\025inspect_template_name\030\005 \001(\t\022 \n\030dei" + + "dentify_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.Con" + + "tentItem\022?\n\010overview\030\002 \001(\0132-.google.priv" + + "acy.dlp.v2.TransformationOverview\"\351\002\n\030Re" + + "identifyContentRequest\022C\n\006parent\030\001 \001(\tB3" + + "\340A\002\372A-\n+cloudresourcemanager.googleapis." + + "com/Project\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\"\375\001\n\025InspectConten" + + "tRequest\022@\n\006parent\030\001 \001(\tB0\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\022<\n\016in" + + "spect_config\030\002 \001(\0132$.google.privacy.dlp." + + "v2.InspectConfig\0220\n\004item\030\003 \001(\0132\".google." + + "privacy.dlp.v2.ContentItem\022\035\n\025inspect_te" + + "mplate_name\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"N" + + "\n\026InspectContentResponse\0224\n\006result\030\001 \001(\013" + + "2$.google.privacy.dlp.v2.InspectResult\"\267" + + "\002\n\023OutputStorageConfig\0225\n\005table\030\001 \001(\0132$." + + "google.privacy.dlp.v2.BigQueryTableH\000\022N\n" + + "\routput_schema\030\003 \001(\01627.google.privacy.dl" + + "p.v2.OutputStorageConfig.OutputSchema\"\220\001" + + "\n\014OutputSchema\022\035\n\031OUTPUT_SCHEMA_UNSPECIF" + + "IED\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_CO" + + "LUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R\n\rInfo" + + "TypeStats\0222\n\tinfo_type\030\001 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\022\r\n\005count\030\002 \001(\003\"\335\003\n" + + "\030InspectDataSourceDetails\022[\n\021requested_o" + + "ptions\030\002 \001(\0132@.google.privacy.dlp.v2.Ins" + + "pectDataSourceDetails.RequestedOptions\022F" + + "\n\006result\030\003 \001(\01326.google.privacy.dlp.v2.I" + + "nspectDataSourceDetails.Result\032\232\001\n\020Reque" + + "stedOptions\022I\n\031snapshot_inspect_template" + + "\030\001 \001(\0132&.google.privacy.dlp.v2.InspectTe" + + "mplate\022;\n\njob_config\030\003 \001(\0132\'.google.priv" + + "acy.dlp.v2.InspectJobConfig\032\177\n\006Result\022\027\n" + + "\017processed_bytes\030\001 \001(\003\022\035\n\025total_estimate" + + "d_bytes\030\002 \001(\003\022=\n\017info_type_stats\030\003 \003(\0132$" + + ".google.privacy.dlp.v2.InfoTypeStats\"\220\001\n" + + "\023InfoTypeDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\0162*" + + ".google.privacy.dlp.v2.InfoTypeSupported" + + "By\022\023\n\013description\030\004 \001(\t\"R\n\024ListInfoTypes" + + "Request\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\025ListInfoT" + + "ypesResponse\022>\n\ninfo_types\030\001 \003(\0132*.googl" + + "e.privacy.dlp.v2.InfoTypeDescription\"\301\001\n" + + "\025RiskAnalysisJobConfig\022<\n\016privacy_metric" + + "\030\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMe" + + "tric\022:\n\014source_table\030\002 \001(\0132$.google.priv" + + "acy.dlp.v2.BigQueryTable\022.\n\007actions\030\003 \003(" + + "\0132\035.google.privacy.dlp.v2.Action\"\267\001\n\007Qua" + + "siId\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp" + + ".v2.FieldId\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.proto" + + "buf.EmptyH\000B\005\n\003tag\"\257\002\n\020StatisticalTable\022" + + "3\n\005table\030\003 \001(\0132$.google.privacy.dlp.v2.B" + + "igQueryTable\022O\n\tquasi_ids\030\001 \003(\0132<.google" + + ".privacy.dlp.v2.StatisticalTable.QuasiId" + + "entifierField\022:\n\022relative_frequency\030\002 \001(" + + "\0132\036.google.privacy.dlp.v2.FieldId\032Y\n\024Qua" + + "siIdentifierField\022-\n\005field\030\001 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002" + + " \001(\t\"\365\016\n\rPrivacyMetric\022[\n\026numerical_stat" + + "s_config\030\001 \001(\01329.google.privacy.dlp.v2.P" + + "rivacyMetric.NumericalStatsConfigH\000\022_\n\030c" + + "ategorical_stats_config\030\002 \001(\0132;.google.p" + + "rivacy.dlp.v2.PrivacyMetric.CategoricalS" + + "tatsConfigH\000\022S\n\022k_anonymity_config\030\003 \001(\013" + + "25.google.privacy.dlp.v2.PrivacyMetric.K" + + "AnonymityConfigH\000\022S\n\022l_diversity_config\030" + + "\004 \001(\01325.google.privacy.dlp.v2.PrivacyMet" + + "ric.LDiversityConfigH\000\022\\\n\027k_map_estimati" + + "on_config\030\005 \001(\01329.google.privacy.dlp.v2." + + "PrivacyMetric.KMapEstimationConfigH\000\022n\n " + + "delta_presence_estimation_config\030\006 \001(\0132B" + + ".google.privacy.dlp.v2.PrivacyMetric.Del" + + "taPresenceEstimationConfigH\000\032E\n\024Numerica" + + "lStatsConfig\022-\n\005field\030\001 \001(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\032G\n\026CategoricalStatsC" + + "onfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\032y\n\020KAnonymityConfig\0221\n\tquas" + + "i_ids\030\001 \003(\0132\036.google.privacy.dlp.v2.Fiel" + + "dId\0222\n\tentity_id\030\002 \001(\0132\037.google.privacy." + + "dlp.v2.EntityId\032\202\001\n\020LDiversityConfig\0221\n\t" + + "quasi_ids\030\001 \003(\0132\036.google.privacy.dlp.v2." + + "FieldId\022;\n\023sensitive_attribute\030\002 \001(\0132\036.g" + + "oogle.privacy.dlp.v2.FieldId\032\350\005\n\024KMapEst" + + "imationConfig\022X\n\tquasi_ids\030\001 \003(\0132E.googl" + + "e.privacy.dlp.v2.PrivacyMetric.KMapEstim" + + "ationConfig.TaggedField\022\023\n\013region_code\030\002" + + " \001(\t\022b\n\020auxiliary_tables\030\003 \003(\0132H.google." + "privacy.dlp.v2.PrivacyMetric.KMapEstimat" - + "ionConfigH\000\022n\n delta_presence_estimation" - + "_config\030\006 \001(\0132B.google.privacy.dlp.v2.Pr" - + "ivacyMetric.DeltaPresenceEstimationConfi" - + "gH\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001" - + "(\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026Ca" - + "tegoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.go" - + "ogle.privacy.dlp.v2.FieldId\032y\n\020KAnonymit" - + "yConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priv" - + "acy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037." - + "google.privacy.dlp.v2.EntityId\032\202\001\n\020LDive" - + "rsityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google." - + "privacy.dlp.v2.FieldId\022;\n\023sensitive_attr" - + "ibute\030\002 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dId\032\350\005\n\024KMapEstimationConfig\022X\n\tquasi_id" - + "s\030\001 \003(\0132E.google.privacy.dlp.v2.PrivacyM" - + "etric.KMapEstimationConfig.TaggedField\022\023" - + "\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_tables\030" - + "\003 \003(\0132H.google.privacy.dlp.v2.PrivacyMet" - + "ric.KMapEstimationConfig.AuxiliaryTable\032" - + "\273\001\n\013TaggedField\022-\n\005field\030\001 \001(\0132\036.google." - + "privacy.dlp.v2.FieldId\0224\n\tinfo_type\030\002 \001(" - + "\0132\037.google.privacy.dlp.v2.InfoTypeH\000\022\024\n\n" - + "custom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.g" - + "oogle.protobuf.EmptyH\000B\005\n\003tag\032\276\002\n\016Auxili" - + "aryTable\0223\n\005table\030\003 \001(\0132$.google.privacy" - + ".dlp.v2.BigQueryTable\022h\n\tquasi_ids\030\001 \003(\013" - + "2U.google.privacy.dlp.v2.PrivacyMetric.K" - + "MapEstimationConfig.AuxiliaryTable.Quasi" - + "IdField\022:\n\022relative_frequency\030\002 \001(\0132\036.go" - + "ogle.privacy.dlp.v2.FieldId\032Q\n\014QuasiIdFi" - + "eld\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp." - + "v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\252\001\n\035Delta" - + "PresenceEstimationConfig\0221\n\tquasi_ids\030\001 " - + "\003(\0132\036.google.privacy.dlp.v2.QuasiId\022\023\n\013r" - + "egion_code\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003" - + "(\0132\'.google.privacy.dlp.v2.StatisticalTa" - + "bleB\006\n\004type\"\362\035\n\034AnalyzeDataSourceRiskDet" - + "ails\022F\n\030requested_privacy_metric\030\001 \001(\0132$" - + ".google.privacy.dlp.v2.PrivacyMetric\022D\n\026" - + "requested_source_table\030\002 \001(\0132$.google.pr" - + "ivacy.dlp.v2.BigQueryTable\022j\n\026numerical_" - + "stats_result\030\003 \001(\0132H.google.privacy.dlp." - + "v2.AnalyzeDataSourceRiskDetails.Numerica" - + "lStatsResultH\000\022n\n\030categorical_stats_resu" - + "lt\030\004 \001(\0132J.google.privacy.dlp.v2.Analyze" - + "DataSourceRiskDetails.CategoricalStatsRe" - + "sultH\000\022b\n\022k_anonymity_result\030\005 \001(\0132D.goo" - + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" - + "Details.KAnonymityResultH\000\022b\n\022l_diversit" - + "y_result\030\006 \001(\0132D.google.privacy.dlp.v2.A" - + "nalyzeDataSourceRiskDetails.LDiversityRe" - + "sultH\000\022k\n\027k_map_estimation_result\030\007 \001(\0132" - + "H.google.privacy.dlp.v2.AnalyzeDataSourc" - + "eRiskDetails.KMapEstimationResultH\000\022}\n d" - + "elta_presence_estimation_result\030\t \001(\0132Q." - + "google.privacy.dlp.v2.AnalyzeDataSourceR" - + "iskDetails.DeltaPresenceEstimationResult" - + "H\000\032\257\001\n\024NumericalStatsResult\022/\n\tmin_value" - + "\030\001 \001(\0132\034.google.privacy.dlp.v2.Value\022/\n\t" - + "max_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\026CategoricalStat" - + "sResult\022\225\001\n!value_frequency_histogram_bu" - + "ckets\030\005 \003(\0132j.google.privacy.dlp.v2.Anal" - + "yzeDataSourceRiskDetails.CategoricalStat" - + "sResult.CategoricalStatsHistogramBucket\032" - + "\332\001\n\037CategoricalStatsHistogramBucket\022#\n\033v" - + "alue_frequency_lower_bound\030\001 \001(\003\022#\n\033valu" - + "e_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_" - + "size\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.goog" - + "le.privacy.dlp.v2.ValueFrequency\022\032\n\022buck" - + "et_value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResul" - + "t\022\213\001\n#equivalence_class_histogram_bucket" - + "s\030\005 \003(\0132^.google.privacy.dlp.v2.AnalyzeD" - + "ataSourceRiskDetails.KAnonymityResult.KA" - + "nonymityHistogramBucket\032t\n\032KAnonymityEqu" - + "ivalenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132" - + "\034.google.privacy.dlp.v2.Value\022\036\n\026equival" - + "ence_class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHist" - + "ogramBucket\022*\n\"equivalence_class_size_lo" - + "wer_bound\030\001 \001(\003\022*\n\"equivalence_class_siz" - + "e_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003" - + "\022v\n\rbucket_values\030\004 \003(\0132_.google.privacy" - + ".dlp.v2.AnalyzeDataSourceRiskDetails.KAn" - + "onymityResult.KAnonymityEquivalenceClass" - + "\022\032\n\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDivers" - + "ityResult\022\223\001\n+sensitive_value_frequency_" - + "histogram_buckets\030\005 \003(\0132^.google.privacy" - + ".dlp.v2.AnalyzeDataSourceRiskDetails.LDi" - + "versityResult.LDiversityHistogramBucket\032" - + "\340\001\n\032LDiversityEquivalenceClass\0226\n\020quasi_" - + "ids_values\030\001 \003(\0132\034.google.privacy.dlp.v2" - + ".Value\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.pri" - + "vacy.dlp.v2.ValueFrequency\032\242\002\n\031LDiversit" - + "yHistogramBucket\022-\n%sensitive_value_freq" - + "uency_lower_bound\030\001 \001(\003\022-\n%sensitive_val" - + "ue_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket" - + "_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.goo" - + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" - + "Details.LDiversityResult.LDiversityEquiv" - + "alenceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032" - + "\225\004\n\024KMapEstimationResult\022\212\001\n\032k_map_estim" - + "ation_histogram\030\001 \003(\0132f.google.privacy.d" - + "lp.v2.AnalyzeDataSourceRiskDetails.KMapE" - + "stimationResult.KMapEstimationHistogramB" - + "ucket\032r\n\033KMapEstimationQuasiIdValues\0226\n\020" - + "quasi_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\035KMapEstimationHistogramBucket\022\025\n\rm" - + "in_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.dlp.v2.AnalyzeDat" - + "aSourceRiskDetails.KMapEstimationResult." - + "KMapEstimationQuasiIdValues\022\032\n\022bucket_va" - + "lue_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimat" - + "ionResult\022\245\001\n#delta_presence_estimation_" - + "histogram\030\001 \003(\0132x.google.privacy.dlp.v2." - + "AnalyzeDataSourceRiskDetails.DeltaPresen" - + "ceEstimationResult.DeltaPresenceEstimati" - + "onHistogramBucket\032}\n$DeltaPresenceEstima" - + "tionQuasiIdValues\0226\n\020quasi_ids_values\030\001 " - + "\003(\0132\034.google.privacy.dlp.v2.Value\022\035\n\025est" - + "imated_probability\030\002 \001(\001\032\233\002\n&DeltaPresen" - + "ceEstimationHistogramBucket\022\027\n\017min_proba" - + "bility\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n" - + "\013bucket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003" - + "(\0132v.google.privacy.dlp.v2.AnalyzeDataSo" - + "urceRiskDetails.DeltaPresenceEstimationR" - + "esult.DeltaPresenceEstimationQuasiIdValu" - + "es\022\032\n\022bucket_value_count\030\007 \001(\003B\010\n\006result" - + "\"L\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.goog" - + "le.privacy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263" - + "\002\n\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013flo" - + "at_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_v" - + "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" - + "\022,\n\ntime_value\030\006 \001(\0132\026.google.type.TimeO" - + "fDayH\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.goo" - + "gle.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInf" - + "o\0224\n\tdate_time\030\002 \001(\0132\037.google.privacy.dl" - + "p.v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010Date" - + "Time\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n" - + "\013day_of_week\030\002 \001(\0162\026.google.type.DayOfWe" - + "ek\022$\n\004time\030\003 \001(\0132\026.google.type.TimeOfDay" - + "\022;\n\ttime_zone\030\004 \001(\0132(.google.privacy.dlp" - + ".v2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016off" - + "set_minutes\030\001 \001(\005\"\311\001\n\020DeidentifyConfig\022S" - + "\n\031info_type_transformations\030\001 \001(\0132..goog" + + "ionConfig.AuxiliaryTable\032\273\001\n\013TaggedField" + + "\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2." + + "FieldId\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\032\276\002\n\016AuxiliaryTable\0223\n\005tab" + + "le\030\003 \001(\0132$.google.privacy.dlp.v2.BigQuer" + + "yTable\022h\n\tquasi_ids\030\001 \003(\0132U.google.priva" + + "cy.dlp.v2.PrivacyMetric.KMapEstimationCo" + + "nfig.AuxiliaryTable.QuasiIdField\022:\n\022rela" + + "tive_frequency\030\002 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\032Q\n\014QuasiIdField\022-\n\005field\030\001 " + + "\001(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\nc" + + "ustom_tag\030\002 \001(\t\032\252\001\n\035DeltaPresenceEstimat" + + "ionConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.pr" + + "ivacy.dlp.v2.QuasiId\022\023\n\013region_code\030\002 \001(" + + "\t\022A\n\020auxiliary_tables\030\003 \003(\0132\'.google.pri" + + "vacy.dlp.v2.StatisticalTableB\006\n\004type\"\362\035\n" + + "\034AnalyzeDataSourceRiskDetails\022F\n\030request" + + "ed_privacy_metric\030\001 \001(\0132$.google.privacy" + + ".dlp.v2.PrivacyMetric\022D\n\026requested_sourc" + + "e_table\030\002 \001(\0132$.google.privacy.dlp.v2.Bi" + + "gQueryTable\022j\n\026numerical_stats_result\030\003 " + + "\001(\0132H.google.privacy.dlp.v2.AnalyzeDataS" + + "ourceRiskDetails.NumericalStatsResultH\000\022" + + "n\n\030categorical_stats_result\030\004 \001(\0132J.goog" + + "le.privacy.dlp.v2.AnalyzeDataSourceRiskD" + + "etails.CategoricalStatsResultH\000\022b\n\022k_ano" + + "nymity_result\030\005 \001(\0132D.google.privacy.dlp" + + ".v2.AnalyzeDataSourceRiskDetails.KAnonym" + + "ityResultH\000\022b\n\022l_diversity_result\030\006 \001(\0132" + + "D.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.LDiversityResultH\000\022k\n\027k_map" + + "_estimation_result\030\007 \001(\0132H.google.privac" + + "y.dlp.v2.AnalyzeDataSourceRiskDetails.KM" + + "apEstimationResultH\000\022}\n delta_presence_e" + + "stimation_result\030\t \001(\0132Q.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.Delt" + + "aPresenceEstimationResultH\000\032\257\001\n\024Numerica" + + "lStatsResult\022/\n\tmin_value\030\001 \001(\0132\034.google" + + ".privacy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\013" + + "2\034.google.privacy.dlp.v2.Value\0225\n\017quanti" + + "le_values\030\004 \003(\0132\034.google.privacy.dlp.v2." + + "Value\032\215\003\n\026CategoricalStatsResult\022\225\001\n!val" + + "ue_frequency_histogram_buckets\030\005 \003(\0132j.g" + + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" + + "skDetails.CategoricalStatsResult.Categor" + + "icalStatsHistogramBucket\032\332\001\n\037Categorical" + + "StatsHistogramBucket\022#\n\033value_frequency_" + + "lower_bound\030\001 \001(\003\022#\n\033value_frequency_upp" + + "er_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rb" + + "ucket_values\030\004 \003(\0132%.google.privacy.dlp." + + "v2.ValueFrequency\022\032\n\022bucket_value_count\030" + + "\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalen" + + "ce_class_histogram_buckets\030\005 \003(\0132^.googl" + + "e.privacy.dlp.v2.AnalyzeDataSourceRiskDe" + + "tails.KAnonymityResult.KAnonymityHistogr" + + "amBucket\032t\n\032KAnonymityEquivalenceClass\0226" + + "\n\020quasi_ids_values\030\001 \003(\0132\034.google.privac" + + "y.dlp.v2.Value\022\036\n\026equivalence_class_size" + + "\030\002 \001(\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"" + + "equivalence_class_size_lower_bound\030\001 \001(\003" + + "\022*\n\"equivalence_class_size_upper_bound\030\002" + + " \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_valu" + + "es\030\004 \003(\0132_.google.privacy.dlp.v2.Analyze" + + "DataSourceRiskDetails.KAnonymityResult.K" + + "AnonymityEquivalenceClass\022\032\n\022bucket_valu" + + "e_count\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+s" + + "ensitive_value_frequency_histogram_bucke" + + "ts\030\005 \003(\0132^.google.privacy.dlp.v2.Analyze" + + "DataSourceRiskDetails.LDiversityResult.L" + + "DiversityHistogramBucket\032\340\001\n\032LDiversityE" + + "quivalenceClass\0226\n\020quasi_ids_values\030\001 \003(" + + "\0132\034.google.privacy.dlp.v2.Value\022\036\n\026equiv" + + "alence_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.Val" + + "ueFrequency\032\242\002\n\031LDiversityHistogramBucke" + + "t\022-\n%sensitive_value_frequency_lower_bou" + + "nd\030\001 \001(\003\022-\n%sensitive_value_frequency_up" + + "per_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\r" + + "bucket_values\030\004 \003(\0132_.google.privacy.dlp" + + ".v2.AnalyzeDataSourceRiskDetails.LDivers" + + "ityResult.LDiversityEquivalenceClass\022\032\n\022" + + "bucket_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimat" + + "ionResult\022\212\001\n\032k_map_estimation_histogram" + + "\030\001 \003(\0132f.google.privacy.dlp.v2.AnalyzeDa" + + "taSourceRiskDetails.KMapEstimationResult" + + ".KMapEstimationHistogramBucket\032r\n\033KMapEs" + + "timationQuasiIdValues\0226\n\020quasi_ids_value" + + "s\030\001 \003(\0132\034.google.privacy.dlp.v2.Value\022\033\n" + + "\023estimated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstim" + + "ationHistogramBucket\022\025\n\rmin_anonymity\030\001 " + + "\001(\003\022\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_siz" + + "e\030\005 \001(\003\022{\n\rbucket_values\030\006 \003(\0132d.google." + + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" + + "ils.KMapEstimationResult.KMapEstimationQ" + + "uasiIdValues\022\032\n\022bucket_value_count\030\007 \001(\003" + + "\032\344\004\n\035DeltaPresenceEstimationResult\022\245\001\n#d" + + "elta_presence_estimation_histogram\030\001 \003(\013" + + "2x.google.privacy.dlp.v2.AnalyzeDataSour" + + "ceRiskDetails.DeltaPresenceEstimationRes" + + "ult.DeltaPresenceEstimationHistogramBuck" + + "et\032}\n$DeltaPresenceEstimationQuasiIdValu" + + "es\0226\n\020quasi_ids_values\030\001 \003(\0132\034.google.pr" + + "ivacy.dlp.v2.Value\022\035\n\025estimated_probabil" + + "ity\030\002 \001(\001\032\233\002\n&DeltaPresenceEstimationHis" + + "togramBucket\022\027\n\017min_probability\030\001 \001(\001\022\027\n" + + "\017max_probability\030\002 \001(\001\022\023\n\013bucket_size\030\005 " + + "\001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132v.google.pri" + + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" + + ".DeltaPresenceEstimationResult.DeltaPres" + + "enceEstimationQuasiIdValues\022\032\n\022bucket_va" + + "lue_count\030\007 \001(\003B\010\n\006result\"L\n\016ValueFreque" + + "ncy\022+\n\005value\030\001 \001(\0132\034.google.privacy.dlp." + + "v2.Value\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Value\022\027\n\rint" + + "eger_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_val" + + "ue\030\004 \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.go" + + "ogle.protobuf.TimestampH\000\022,\n\ntime_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.type.DayOfW" + + "eekH\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tdate_time\030" + + "\002 \001(\0132\037.google.privacy.dlp.v2.DateTimeH\000" + + "B\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\004time\030\003 \001(" + + "\0132\026.google.type.TimeOfDay\022;\n\ttime_zone\030\004" + + " \001(\0132(.google.privacy.dlp.v2.DateTime.Ti" + + "meZone\032\"\n\010TimeZone\022\026\n\016offset_minutes\030\001 \001" + + "(\005\"\311\001\n\020DeidentifyConfig\022S\n\031info_type_tra" + + "nsformations\030\001 \001(\0132..google.privacy.dlp." + + "v2.InfoTypeTransformationsH\000\022N\n\026record_t" + + "ransformations\030\002 \001(\0132,.google.privacy.dl" + + "p.v2.RecordTransformationsH\000B\020\n\016transfor" + + "mation\"\365\006\n\027PrimitiveTransformation\022C\n\016re" + + "place_config\030\001 \001(\0132).google.privacy.dlp." + + "v2.ReplaceValueConfigH\000\022<\n\rredact_config" + + "\030\002 \001(\0132#.google.privacy.dlp.v2.RedactCon" + + "figH\000\022K\n\025character_mask_config\030\003 \001(\0132*.g" + + "oogle.privacy.dlp.v2.CharacterMaskConfig" + + "H\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004 \001(" + + "\01320.google.privacy.dlp.v2.CryptoReplaceF" + + "fxFpeConfigH\000\022V\n\033fixed_size_bucketing_co" + + "nfig\030\005 \001(\0132/.google.privacy.dlp.v2.Fixed" + + "SizeBucketingConfigH\000\022B\n\020bucketing_confi" + + "g\030\006 \001(\0132&.google.privacy.dlp.v2.Bucketin" + + "gConfigH\000\022Y\n\035replace_with_info_type_conf" + + "ig\030\007 \001(\01320.google.privacy.dlp.v2.Replace" + + "WithInfoTypeConfigH\000\022A\n\020time_part_config" + + "\030\010 \001(\0132%.google.privacy.dlp.v2.TimePartC" + + "onfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.go" + + "ogle.privacy.dlp.v2.CryptoHashConfigH\000\022C" + + "\n\021date_shift_config\030\013 \001(\0132&.google.priva" + + "cy.dlp.v2.DateShiftConfigH\000\022W\n\033crypto_de" + + "terministic_config\030\014 \001(\01320.google.privac" + + "y.dlp.v2.CryptoDeterministicConfigH\000B\020\n\016" + + "transformation\"\334\001\n\016TimePartConfig\022G\n\017par" + + "t_to_extract\030\001 \001(\0162..google.privacy.dlp." + + "v2.TimePartConfig.TimePart\"\200\001\n\010TimePart\022" + + "\031\n\025TIME_PART_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005" + + "MONTH\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\031Cryp" + + "toDeterministicConfig\0224\n\ncrypto_key\030\001 \001(" + + "\0132 .google.privacy.dlp.v2.CryptoKey\022<\n\023s" + + "urrogate_info_type\030\002 \001(\0132\037.google.privac" + + "y.dlp.v2.InfoType\022/\n\007context\030\003 \001(\0132\036.goo" + + "gle.privacy.dlp.v2.FieldId\"E\n\022ReplaceVal" + + "ueConfig\022/\n\tnew_value\030\001 \001(\0132\034.google.pri" + + "vacy.dlp.v2.Value\"\033\n\031ReplaceWithInfoType" + + "Config\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgnore" + + "\022\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033common" + + "_characters_to_ignore\030\002 \001(\01628.google.pri" + + "vacy.dlp.v2.CharsToIgnore.CommonCharsToI" + + "gnoreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"COMMO", + "N_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMER" + + "IC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_LOWE" + + "R_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020" + + "\005B\014\n\ncharacters\"\243\001\n\023CharacterMaskConfig\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\024cha" + + "racters_to_ignore\030\004 \003(\0132$.google.privacy" + + ".dlp.v2.CharsToIgnore\"\225\001\n\030FixedSizeBucke" + + "tingConfig\0221\n\013lower_bound\030\001 \001(\0132\034.google" + + ".privacy.dlp.v2.Value\0221\n\013upper_bound\030\002 \001" + + "(\0132\034.google.privacy.dlp.v2.Value\022\023\n\013buck" + + "et_size\030\003 \001(\001\"\353\001\n\017BucketingConfig\022>\n\007buc" + + "kets\030\001 \003(\0132-.google.privacy.dlp.v2.Bucke" + + "tingConfig.Bucket\032\227\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\0227\n\021re" + + "placement_value\030\003 \001(\0132\034.google.privacy.d" + + "lp.v2.Value\"\364\003\n\031CryptoReplaceFfxFpeConfi" + + "g\0224\n\ncrypto_key\030\001 \001(\0132 .google.privacy.d" + + "lp.v2.CryptoKey\022/\n\007context\030\002 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\022c\n\017common_alpha" + + "bet\030\004 \001(\0162H.google.privacy.dlp.v2.Crypto" + + "ReplaceFfxFpeConfig.FfxCommonNativeAlpha" + + "betH\000\022\031\n\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radi" + + "x\030\006 \001(\005H\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037" + + ".google.privacy.dlp.v2.InfoType\"\224\001\n\027FfxC" + + "ommonNativeAlphabet\022*\n&FFX_COMMON_NATIVE" + + "_ALPHABET_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013" + + "HEXADECIMAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERI" + + "C\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tC" + + "ryptoKey\022>\n\ttransient\030\001 \001(\0132).google.pri" + + "vacy.dlp.v2.TransientCryptoKeyH\000\022>\n\tunwr" + + "apped\030\002 \001(\0132).google.privacy.dlp.v2.Unwr" + + "appedCryptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*." + + "google.privacy.dlp.v2.KmsWrappedCryptoKe" + + "yH\000B\010\n\006source\"\"\n\022TransientCryptoKey\022\014\n\004n" + + "ame\030\001 \001(\t\"!\n\022UnwrappedCryptoKey\022\013\n\003key\030\001" + + " \001(\014\"C\n\023KmsWrappedCryptoKey\022\023\n\013wrapped_k" + + "ey\030\001 \001(\014\022\027\n\017crypto_key_name\030\002 \001(\t\"\270\001\n\017Da" + + "teShiftConfig\022\030\n\020upper_bound_days\030\001 \001(\005\022" + + "\030\n\020lower_bound_days\030\002 \001(\005\022/\n\007context\030\003 \001" + + "(\0132\036.google.privacy.dlp.v2.FieldId\0226\n\ncr" + + "ypto_key\030\004 \001(\0132 .google.privacy.dlp.v2.C" + + "ryptoKeyH\000B\010\n\006method\"\233\002\n\027InfoTypeTransfo" + + "rmations\022^\n\017transformations\030\001 \003(\0132E.goog" + "le.privacy.dlp.v2.InfoTypeTransformation" - + "sH\000\022N\n\026record_transformations\030\002 \001(\0132,.go" - + "ogle.privacy.dlp.v2.RecordTransformation" - + "sH\000B\020\n\016transformation\"\365\006\n\027PrimitiveTrans" - + "formation\022C\n\016replace_config\030\001 \001(\0132).goog" - + "le.privacy.dlp.v2.ReplaceValueConfigH\000\022<" - + "\n\rredact_config\030\002 \001(\0132#.google.privacy.d" - + "lp.v2.RedactConfigH\000\022K\n\025character_mask_c" - + "onfig\030\003 \001(\0132*.google.privacy.dlp.v2.Char" - + "acterMaskConfigH\000\022Y\n\035crypto_replace_ffx_" - + "fpe_config\030\004 \001(\01320.google.privacy.dlp.v2" - + ".CryptoReplaceFfxFpeConfigH\000\022V\n\033fixed_si" - + "ze_bucketing_config\030\005 \001(\0132/.google.priva" - + "cy.dlp.v2.FixedSizeBucketingConfigH\000\022B\n\020" - + "bucketing_config\030\006 \001(\0132&.google.privacy." - + "dlp.v2.BucketingConfigH\000\022Y\n\035replace_with" - + "_info_type_config\030\007 \001(\01320.google.privacy" - + ".dlp.v2.ReplaceWithInfoTypeConfigH\000\022A\n\020t" - + "ime_part_config\030\010 \001(\0132%.google.privacy.d" - + "lp.v2.TimePartConfigH\000\022E\n\022crypto_hash_co" - + "nfig\030\t \001(\0132\'.google.privacy.dlp.v2.Crypt" - + "oHashConfigH\000\022C\n\021date_shift_config\030\013 \001(\013" - + "2&.google.privacy.dlp.v2.DateShiftConfig" - + "H\000\022W\n\033crypto_deterministic_config\030\014 \001(\0132" - + "0.google.privacy.dlp.v2.CryptoDeterminis" - + "ticConfigH\000B\020\n\016transformation\"\334\001\n\016TimePa" - + "rtConfig\022G\n\017part_to_extract\030\001 \001(\0162..goog" - + "le.privacy.dlp.v2.TimePartConfig.TimePar" - + "t\"\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSPECIFIED\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_YEAR\020\005\022\017\n\013H" - + "OUR_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncryp" - + "to_key\030\001 \001(\0132 .google.privacy.dlp.v2.Cry" - + "ptoKey\"\300\001\n\031CryptoDeterministicConfig\0224\n\n" - + "crypto_key\030\001 \001(\0132 .google.privacy.dlp.v2" - + ".CryptoKey\022<\n\023surrogate_info_type\030\002 \001(\0132" - + "\037.google.privacy.dlp.v2.InfoType\022/\n\007cont" - + "ext\030\003 \001(\0132\036.google.privacy.dlp.v2.FieldI" - + "d\"E\n\022ReplaceValueConfig\022/\n\tnew_value\030\001 \001" - + "(\0132\034.google.privacy.dlp.v2.Value\"\033\n\031Repl" - + "aceWithInfoTypeConfig\"\016\n\014RedactConfig\"\266\002" - + "\n\rCharsToIgnore\022\034\n\022characters_to_skip\030\001 " - + "\001(\tH\000\022_\n\033common_characters_to_ignore\030\002 \001" - + "(\01628.google.privacy.dlp.v2.CharsToIgnore" - + ".CommonCharsToIgnoreH\000\"\227\001\n\023CommonCharsTo" - + "Ignore\022&\n\"COMMON_CHARS_TO_IGNORE_UNSPECI" - + "FIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020" - + "\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004", - "\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\"\243\001\n\023Chara" - + "cterMaskConfig\022\031\n\021masking_character\030\001 \001(" - + "\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rreverse_ord" - + "er\030\003 \001(\010\022B\n\024characters_to_ignore\030\004 \003(\0132$" - + ".google.privacy.dlp.v2.CharsToIgnore\"\225\001\n" - + "\030FixedSizeBucketingConfig\0221\n\013lower_bound" - + "\030\001 \001(\0132\034.google.privacy.dlp.v2.Value\0221\n\013" - + "upper_bound\030\002 \001(\0132\034.google.privacy.dlp.v" - + "2.Value\022\023\n\013bucket_size\030\003 \001(\001\"\353\001\n\017Bucketi" - + "ngConfig\022>\n\007buckets\030\001 \003(\0132-.google.priva" - + "cy.dlp.v2.BucketingConfig.Bucket\032\227\001\n\006Buc" - + "ket\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\0227\n\021replacement_value\030\003 \001(\0132\034.g" - + "oogle.privacy.dlp.v2.Value\"\364\003\n\031CryptoRep" - + "laceFfxFpeConfig\0224\n\ncrypto_key\030\001 \001(\0132 .g" - + "oogle.privacy.dlp.v2.CryptoKey\022/\n\007contex" - + "t\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldId\022" - + "c\n\017common_alphabet\030\004 \001(\0162H.google.privac" - + "y.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCo" - + "mmonNativeAlphabetH\000\022\031\n\017custom_alphabet\030" - + "\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_in" - + "fo_type\030\010 \001(\0132\037.google.privacy.dlp.v2.In" - + "foType\"\224\001\n\027FfxCommonNativeAlphabet\022*\n&FF" - + "X_COMMON_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013" - + "\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CA" - + "SE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n" - + "\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001" - + "(\0132).google.privacy.dlp.v2.TransientCryp" - + "toKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).google.priv" - + "acy.dlp.v2.UnwrappedCryptoKeyH\000\022A\n\013kms_w" - + "rapped\030\003 \001(\0132*.google.privacy.dlp.v2.Kms" - + "WrappedCryptoKeyH\000B\010\n\006source\"\"\n\022Transien" - + "tCryptoKey\022\014\n\004name\030\001 \001(\t\"!\n\022UnwrappedCry" - + "ptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023KmsWrappedCryptoK" - + "ey\022\023\n\013wrapped_key\030\001 \001(\014\022\027\n\017crypto_key_na" - + "me\030\002 \001(\t\"\270\001\n\017DateShiftConfig\022\030\n\020upper_bo" - + "und_days\030\001 \001(\005\022\030\n\020lower_bound_days\030\002 \001(\005" - + "\022/\n\007context\030\003 \001(\0132\036.google.privacy.dlp.v" - + "2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.p" - + "rivacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\233\002\n\027" - + "InfoTypeTransformations\022^\n\017transformatio" - + "ns\030\001 \003(\0132E.google.privacy.dlp.v2.InfoTyp" - + "eTransformations.InfoTypeTransformation\032" - + "\237\001\n\026InfoTypeTransformation\0223\n\ninfo_types" - + "\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoType\022" - + "P\n\030primitive_transformation\030\002 \001(\0132..goog" - + "le.privacy.dlp.v2.PrimitiveTransformatio" - + "n\"\273\002\n\023FieldTransformation\022.\n\006fields\030\001 \003(" - + "\0132\036.google.privacy.dlp.v2.FieldId\0229\n\tcon" - + "dition\030\003 \001(\0132&.google.privacy.dlp.v2.Rec" - + "ordCondition\022R\n\030primitive_transformation" - + "\030\004 \001(\0132..google.privacy.dlp.v2.Primitive" - + "TransformationH\000\022S\n\031info_type_transforma" - + "tions\030\005 \001(\0132..google.privacy.dlp.v2.Info" - + "TypeTransformationsH\000B\020\n\016transformation\"" - + "\251\001\n\025RecordTransformations\022I\n\025field_trans" - + "formations\030\001 \003(\0132*.google.privacy.dlp.v2" - + ".FieldTransformation\022E\n\023record_suppressi" - + "ons\030\002 \003(\0132(.google.privacy.dlp.v2.Record" - + "Suppression\"N\n\021RecordSuppression\0229\n\tcond" - + "ition\030\001 \001(\0132&.google.privacy.dlp.v2.Reco" - + "rdCondition\"\322\004\n\017RecordCondition\022G\n\013expre" - + "ssions\030\003 \001(\01322.google.privacy.dlp.v2.Rec" - + "ordCondition.Expressions\032\244\001\n\tCondition\022-" - + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" - + "eldId\022;\n\010operator\030\003 \001(\0162).google.privacy" - + ".dlp.v2.RelationalOperator\022+\n\005value\030\004 \001(" - + "\0132\034.google.privacy.dlp.v2.Value\032R\n\nCondi" - + "tions\022D\n\nconditions\030\001 \003(\01320.google.priva" - + "cy.dlp.v2.RecordCondition.Condition\032\372\001\n\013" - + "Expressions\022\\\n\020logical_operator\030\001 \001(\0162B." + + "s.InfoTypeTransformation\032\237\001\n\026InfoTypeTra" + + "nsformation\0223\n\ninfo_types\030\001 \003(\0132\037.google" + + ".privacy.dlp.v2.InfoType\022P\n\030primitive_tr" + + "ansformation\030\002 \001(\0132..google.privacy.dlp." + + "v2.PrimitiveTransformation\"\273\002\n\023FieldTran" + + "sformation\022.\n\006fields\030\001 \003(\0132\036.google.priv" + + "acy.dlp.v2.FieldId\0229\n\tcondition\030\003 \001(\0132&." + + "google.privacy.dlp.v2.RecordCondition\022R\n" + + "\030primitive_transformation\030\004 \001(\0132..google" + + ".privacy.dlp.v2.PrimitiveTransformationH" + + "\000\022S\n\031info_type_transformations\030\005 \001(\0132..g" + + "oogle.privacy.dlp.v2.InfoTypeTransformat" + + "ionsH\000B\020\n\016transformation\"\251\001\n\025RecordTrans" + + "formations\022I\n\025field_transformations\030\001 \003(" + + "\0132*.google.privacy.dlp.v2.FieldTransform" + + "ation\022E\n\023record_suppressions\030\002 \003(\0132(.goo" + + "gle.privacy.dlp.v2.RecordSuppression\"N\n\021" + + "RecordSuppression\0229\n\tcondition\030\001 \001(\0132&.g" + + "oogle.privacy.dlp.v2.RecordCondition\"\322\004\n" + + "\017RecordCondition\022G\n\013expressions\030\003 \001(\01322." + "google.privacy.dlp.v2.RecordCondition.Ex" - + "pressions.LogicalOperator\022G\n\nconditions\030" - + "\003 \001(\01321.google.privacy.dlp.v2.RecordCond" - + "ition.ConditionsH\000\"<\n\017LogicalOperator\022 \n" - + "\034LOGICAL_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001" - + "B\006\n\004type\"\203\001\n\026TransformationOverview\022\031\n\021t" - + "ransformed_bytes\030\002 \001(\003\022N\n\030transformation" - + "_summaries\030\003 \003(\0132,.google.privacy.dlp.v2" - + ".TransformationSummary\"\237\005\n\025Transformatio" - + "nSummary\0222\n\tinfo_type\030\001 \001(\0132\037.google.pri" - + "vacy.dlp.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.go" - + "ogle.privacy.dlp.v2.FieldId\022F\n\016transform" - + "ation\030\003 \001(\0132..google.privacy.dlp.v2.Prim" - + "itiveTransformation\022I\n\025field_transformat" - + "ions\030\005 \003(\0132*.google.privacy.dlp.v2.Field" - + "Transformation\022A\n\017record_suppress\030\006 \001(\0132" - + "(.google.privacy.dlp.v2.RecordSuppressio" - + "n\022K\n\007results\030\004 \003(\0132:.google.privacy.dlp." - + "v2.TransformationSummary.SummaryResult\022\031" - + "\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rSummaryRes" - + "ult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.googl" - + "e.privacy.dlp.v2.TransformationSummary.T" - + "ransformationResultCode\022\017\n\007details\030\003 \001(\t" - + "\"^\n\030TransformationResultCode\022*\n&TRANSFOR" - + "MATION_RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCC" - + "ESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurren" - + "ce_period_duration\030\001 \001(\0132\031.google.protob" - + "uf.DurationH\000B\010\n\006option\"\217\003\n\017InspectTempl" - + "ate\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022" - + "\023\n\013description\030\003 \001(\t\022/\n\013create_time\030\004 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013update_" - + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022<" - + "\n\016inspect_config\030\006 \001(\0132$.google.privacy." - + "dlp.v2.InspectConfig:\242\001\352A\236\001\n\"dlp.googlea" - + "pis.com/InspectTemplate\022@organizations/{" - + "organization}/inspectTemplates/{inspect_" - + "template}\0226projects/{project}/inspectTem" - + "plates/{inspect_template}\"\247\003\n\022Deidentify" - + "Template\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" - + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" - + "\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" - + "date_time\030\005 \001(\0132\032.google.protobuf.Timest" - + "amp\022B\n\021deidentify_config\030\006 \001(\0132\'.google." - + "privacy.dlp.v2.DeidentifyConfig:\261\001\352A\255\001\n%" - + "dlp.googleapis.com/DeidentifyTemplate\022Fo" - + "rganizations/{organization}/deidentifyTe" - + "mplates/{deidentify_template}\022\n\013inspect_job\030\004 \001(\0132\'" - + ".google.privacy.dlp.v2.InspectJobConfigH" - + "\000\022;\n\010triggers\030\005 \003(\0132).google.privacy.dlp" - + ".v2.JobTrigger.Trigger\022,\n\006errors\030\006 \003(\0132\034" - + ".google.privacy.dlp.v2.Error\022/\n\013create_t" - + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\010 \001(\0132\032.google.protobuf.Tim" - + "estamp\0221\n\rlast_run_time\030\t \001(\0132\032.google.p" - + "rotobuf.Timestamp\0228\n\006status\030\n \001(\0162(.goog" - + "le.privacy.dlp.v2.JobTrigger.Status\032I\n\007T" - + "rigger\0223\n\010schedule\030\001 \001(\0132\037.google.privac" - + "y.dlp.v2.ScheduleH\000B\t\n\007trigger\"H\n\006Status" - + "\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:P\352AM\n\035dlp.googl" - + "eapis.com/JobTrigger\022,projects/{project}" - + "/jobTriggers/{job_trigger}B\005\n\003job\"\364\005\n\006Ac" - + "tion\022C\n\rsave_findings\030\001 \001(\0132*.google.pri" - + "vacy.dlp.v2.Action.SaveFindingsH\000\022@\n\007pub" - + "_sub\030\002 \001(\0132-.google.privacy.dlp.v2.Actio" - + "n.PublishToPubSubH\000\022U\n\027publish_summary_t" - + "o_cscc\030\003 \001(\01322.google.privacy.dlp.v2.Act" - + "ion.PublishSummaryToCsccH\000\022q\n&publish_fi" - + "ndings_to_cloud_data_catalog\030\005 \001(\0132?.goo" - + "gle.privacy.dlp.v2.Action.PublishFinding" - + "sToCloudDataCatalogH\000\022V\n\027job_notificatio" - + "n_emails\030\010 \001(\01323.google.privacy.dlp.v2.A" - + "ction.JobNotificationEmailsH\000\022T\n\026publish" - + "_to_stackdriver\030\t \001(\01322.google.privacy.d" - + "lp.v2.Action.PublishToStackdriverH\000\032Q\n\014S" - + "aveFindings\022A\n\routput_config\030\001 \001(\0132*.goo" - + "gle.privacy.dlp.v2.OutputStorageConfig\032 " - + "\n\017PublishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024Publ" - + "ishSummaryToCscc\032#\n!PublishFindingsToClo" - + "udDataCatalog\032\027\n\025JobNotificationEmails\032\026" - + "\n\024PublishToStackdriverB\010\n\006action\"\261\001\n\034Cre" - + "ateInspectTemplateRequest\022:\n\006parent\030\001 \001(" - + "\tB*\340A\002\372A$\022\"dlp.googleapis.com/InspectTem" - + "plate\022@\n\020inspect_template\030\002 \001(\0132&.google" - + ".privacy.dlp.v2.InspectTemplate\022\023\n\013templ" - + "ate_id\030\003 \001(\t\"\313\001\n\034UpdateInspectTemplateRe" - + "quest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googlea" - + "pis.com/InspectTemplate\022@\n\020inspect_templ" - + "ate\030\002 \001(\0132&.google.privacy.dlp.v2.Inspec" - + "tTemplate\022/\n\013update_mask\030\003 \001(\0132\032.google." - + "protobuf.FieldMask\"U\n\031GetInspectTemplate" - + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googl" - + "eapis.com/InspectTemplate\"\222\001\n\033ListInspec" - + "tTemplatesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A" - + "$\022\"dlp.googleapis.com/InspectTemplate\022\022\n" + + "pressions\032\244\001\n\tCondition\022-\n\005field\030\001 \001(\0132\036" + + ".google.privacy.dlp.v2.FieldId\022;\n\010operat" + + "or\030\003 \001(\0162).google.privacy.dlp.v2.Relatio" + + "nalOperator\022+\n\005value\030\004 \001(\0132\034.google.priv" + + "acy.dlp.v2.Value\032R\n\nConditions\022D\n\ncondit" + + "ions\030\001 \003(\01320.google.privacy.dlp.v2.Recor" + + "dCondition.Condition\032\372\001\n\013Expressions\022\\\n\020" + + "logical_operator\030\001 \001(\0162B.google.privacy." + + "dlp.v2.RecordCondition.Expressions.Logic" + + "alOperator\022G\n\nconditions\030\003 \001(\01321.google." + + "privacy.dlp.v2.RecordCondition.Condition" + + "sH\000\"<\n\017LogicalOperator\022 \n\034LOGICAL_OPERAT" + + "OR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Tr" + + "ansformationOverview\022\031\n\021transformed_byte" + + "s\030\002 \001(\003\022N\n\030transformation_summaries\030\003 \003(" + + "\0132,.google.privacy.dlp.v2.Transformation" + + "Summary\"\237\005\n\025TransformationSummary\0222\n\tinf" + + "o_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Inf" + + "oType\022-\n\005field\030\002 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\022F\n\016transformation\030\003 \001(\0132..g" + + "oogle.privacy.dlp.v2.PrimitiveTransforma" + + "tion\022I\n\025field_transformations\030\005 \003(\0132*.go" + + "ogle.privacy.dlp.v2.FieldTransformation\022" + + "A\n\017record_suppress\030\006 \001(\0132(.google.privac" + + "y.dlp.v2.RecordSuppression\022K\n\007results\030\004 " + + "\003(\0132:.google.privacy.dlp.v2.Transformati" + + "onSummary.SummaryResult\022\031\n\021transformed_b" + + "ytes\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.dlp.v" + + "2.TransformationSummary.TransformationRe" + + "sultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Transformat" + + "ionResultCode\022*\n&TRANSFORMATION_RESULT_C" + + "ODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020" + + "\002\"U\n\010Schedule\022?\n\032recurrence_period_durat" + + "ion\030\001 \001(\0132\031.google.protobuf.DurationH\000B\010" + + "\n\006option\"\217\003\n\017InspectTemplate\022\014\n\004name\030\001 \001" + + "(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013description\030" + + "\003 \001(\t\022/\n\013create_time\030\004 \001(\0132\032.google.prot" + + "obuf.Timestamp\022/\n\013update_time\030\005 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022<\n\016inspect_confi" + + "g\030\006 \001(\0132$.google.privacy.dlp.v2.InspectC" + + "onfig:\242\001\352A\236\001\n\"dlp.googleapis.com/Inspect" + + "Template\022@organizations/{organization}/i" + + "nspectTemplates/{inspect_template}\0226proj" + + "ects/{project}/inspectTemplates/{inspect" + + "_template}\"\247\003\n\022DeidentifyTemplate\022\014\n\004nam" + + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descrip" + + "tion\030\003 \001(\t\022/\n\013create_time\030\004 \001(\0132\032.google" + + ".protobuf.Timestamp\022/\n\013update_time\030\005 \001(\013" + + "2\032.google.protobuf.Timestamp\022B\n\021deidenti" + + "fy_config\030\006 \001(\0132\'.google.privacy.dlp.v2." + + "DeidentifyConfig:\261\001\352A\255\001\n%dlp.googleapis." + + "com/DeidentifyTemplate\022Forganizations/{o" + + "rganization}/deidentifyTemplates/{deiden" + + "tify_template}\022\n\013inspect_job\030\004 \001(\0132\'.google.privacy" + + ".dlp.v2.InspectJobConfigH\000\022;\n\010triggers\030\005" + + " \003(\0132).google.privacy.dlp.v2.JobTrigger." + + "Trigger\022,\n\006errors\030\006 \003(\0132\034.google.privacy" + + ".dlp.v2.Error\022/\n\013create_time\030\007 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013update_time\030\010 " + + "\001(\0132\032.google.protobuf.Timestamp\0221\n\rlast_" + + "run_time\030\t \001(\0132\032.google.protobuf.Timesta" + + "mp\0228\n\006status\030\n \001(\0162(.google.privacy.dlp." + + "v2.JobTrigger.Status\032I\n\007Trigger\0223\n\010sched" + + "ule\030\001 \001(\0132\037.google.privacy.dlp.v2.Schedu" + + "leH\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STATUS_UNSP" + + "ECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCA" + + "NCELLED\020\003:P\352AM\n\035dlp.googleapis.com/JobTr" + + "igger\022,projects/{project}/jobTriggers/{j" + + "ob_trigger}B\005\n\003job\"\364\005\n\006Action\022C\n\rsave_fi" + + "ndings\030\001 \001(\0132*.google.privacy.dlp.v2.Act" + + "ion.SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(\0132-.go" + + "ogle.privacy.dlp.v2.Action.PublishToPubS" + + "ubH\000\022U\n\027publish_summary_to_cscc\030\003 \001(\01322." + + "google.privacy.dlp.v2.Action.PublishSumm" + + "aryToCsccH\000\022q\n&publish_findings_to_cloud" + + "_data_catalog\030\005 \001(\0132?.google.privacy.dlp" + + ".v2.Action.PublishFindingsToCloudDataCat" + + "alogH\000\022V\n\027job_notification_emails\030\010 \001(\0132" + + "3.google.privacy.dlp.v2.Action.JobNotifi" + + "cationEmailsH\000\022T\n\026publish_to_stackdriver" + + "\030\t \001(\01322.google.privacy.dlp.v2.Action.Pu" + + "blishToStackdriverH\000\032Q\n\014SaveFindings\022A\n\r" + + "output_config\030\001 \001(\0132*.google.privacy.dlp" + + ".v2.OutputStorageConfig\032 \n\017PublishToPubS" + + "ub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummaryToCsc" + + "c\032#\n!PublishFindingsToCloudDataCatalog\032\027" + + "\n\025JobNotificationEmails\032\026\n\024PublishToStac" + + "kdriverB\010\n\006action\"\306\001\n\034CreateInspectTempl" + + "ateRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp." + + "googleapis.com/InspectTemplate\022@\n\020inspec" + + "t_template\030\002 \001(\0132&.google.privacy.dlp.v2" + + ".InspectTemplate\022\023\n\013template_id\030\003 \001(\t\022\023\n" + + "\013location_id\030\004 \001(\t\"\313\001\n\034UpdateInspectTemp" + + "lateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.g" + + "oogleapis.com/InspectTemplate\022@\n\020inspect" + + "_template\030\002 \001(\0132&.google.privacy.dlp.v2." + + "InspectTemplate\022/\n\013update_mask\030\003 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"U\n\031GetInspectTe" + + "mplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp" + + ".googleapis.com/InspectTemplate\"\247\001\n\033List" + + "InspectTemplatesRequest\022:\n\006parent\030\001 \001(\tB" + + "*\340A\002\372A$\022\"dlp.googleapis.com/InspectTempl" + + "ate\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\"z\n\034ListInspectTemplatesResponse\022A\n\021ins" + + "pect_templates\030\001 \003(\0132&.google.privacy.dl" + + "p.v2.InspectTemplate\022\027\n\017next_page_token\030" + + "\002 \001(\t\"X\n\034DeleteInspectTemplateRequest\0228\n" + + "\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis.com/" + + "InspectTemplate\"\277\001\n\027CreateJobTriggerRequ" + + "est\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresour" + + "cemanager.googleapis.com/Project\0226\n\013job_" + + "trigger\030\002 \001(\0132!.google.privacy.dlp.v2.Jo" + + "bTrigger\022\022\n\ntrigger_id\030\003 \001(\t\022\023\n\013location" + + "_id\030\004 \001(\t\"P\n\031ActivateJobTriggerRequest\0223" + + "\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com" + + "/JobTrigger\"\267\001\n\027UpdateJobTriggerRequest\022" + + "3\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.co" + + "m/JobTrigger\0226\n\013job_trigger\030\002 \001(\0132!.goog" + + "le.privacy.dlp.v2.JobTrigger\022/\n\013update_m" + + "ask\030\003 \001(\0132\032.google.protobuf.FieldMask\"K\n" + + "\024GetJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002" + + "\372A\037\n\035dlp.googleapis.com/JobTrigger\"\210\002\n\023C" + + "reateDlpJobRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372" + + "A-\n+cloudresourcemanager.googleapis.com/" + + "Project\022>\n\013inspect_job\030\002 \001(\0132\'.google.pr" + + "ivacy.dlp.v2.InspectJobConfigH\000\022@\n\010risk_" + + "job\030\003 \001(\0132,.google.privacy.dlp.v2.RiskAn" + + "alysisJobConfigH\000\022\016\n\006job_id\030\004 \001(\t\022\023\n\013loc" + + "ation_id\030\005 \001(\tB\005\n\003job\"\273\001\n\026ListJobTrigger" + + "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + + "esourcemanager.googleapis.com/Project\022\022\n" + "\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010" - + "order_by\030\004 \001(\t\"z\n\034ListInspectTemplatesRe" - + "sponse\022A\n\021inspect_templates\030\001 \003(\0132&.goog" - + "le.privacy.dlp.v2.InspectTemplate\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"X\n\034DeleteInspectTempl" - + "ateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.go" - + "ogleapis.com/InspectTemplate\"\252\001\n\027CreateJ" - + "obTriggerRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" - + "\n+cloudresourcemanager.googleapis.com/Pr" - + "oject\0226\n\013job_trigger\030\002 \001(\0132!.google.priv" - + "acy.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030\003 \001(" - + "\t\"P\n\031ActivateJobTriggerRequest\0223\n\004name\030\001" - + " \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrig" - + "ger\"\267\001\n\027UpdateJobTriggerRequest\0223\n\004name\030" - + "\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTri" - + "gger\0226\n\013job_trigger\030\002 \001(\0132!.google.priva" - + "cy.dlp.v2.JobTrigger\022/\n\013update_mask\030\003 \001(" - + "\0132\032.google.protobuf.FieldMask\"K\n\024GetJobT" - + "riggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp" - + ".googleapis.com/JobTrigger\"\363\001\n\023CreateDlp" - + "JobRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+clou" - + "dresourcemanager.googleapis.com/Project\022" - + ">\n\013inspect_job\030\002 \001(\0132\'.google.privacy.dl" - + "p.v2.InspectJobConfigH\000\022@\n\010risk_job\030\003 \001(" - + "\0132,.google.privacy.dlp.v2.RiskAnalysisJo" - + "bConfigH\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"\246\001\n\026Lis" - + "tJobTriggersRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" - + "\372A-\n+cloudresourcemanager.googleapis.com" - + "/Project\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_siz" - + "e\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030\005 \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\"\244\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\"c\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:D\352AA\n\031dlp.googleapis.com/Dl" - + "pJob\022$projects/{project}/dlpJobs/{dlp_jo" - + "b}B\t\n\007details\"C\n\020GetDlpJobRequest\022/\n\004nam" - + "e\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJ" - + "ob\"\323\001\n\022ListDlpJobsRequest\022C\n\006parent\030\004 \001(" - + "\tB3\340A\002\372A-\n+cloudresourcemanager.googleap" - + "is.com/Project\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_s" - + "ize\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\"[\n\023ListDlpJobsResponse\022" - + "+\n\004jobs\030\001 \003(\0132\035.google.privacy.dlp.v2.Dl" - + "pJob\022\027\n\017next_page_token\030\002 \001(\t\"F\n\023CancelD" - + "lpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp." - + "googleapis.com/DlpJob\"F\n\023DeleteDlpJobReq" - + "uest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleap" - + "is.com/DlpJob\"\275\001\n\037CreateDeidentifyTempla" - + "teRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.g" - + "oogleapis.com/DeidentifyTemplate\022F\n\023deid" - + "entify_template\030\002 \001(\0132).google.privacy.d" - + "lp.v2.DeidentifyTemplate\022\023\n\013template_id\030" - + "\003 \001(\t\"\327\001\n\037UpdateDeidentifyTemplateReques" - + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis." - + "com/DeidentifyTemplate\022F\n\023deidentify_tem" - + "plate\030\002 \001(\0132).google.privacy.dlp.v2.Deid" - + "entifyTemplate\022/\n\013update_mask\030\003 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"[\n\034GetDeidentify" - + "TemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%d" - + "lp.googleapis.com/DeidentifyTemplate\"\230\001\n" - + "\036ListDeidentifyTemplatesRequest\022=\n\006paren" - + "t\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deid" - + "entifyTemplate\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\"\203\001\n\037List" - + "DeidentifyTemplatesResponse\022G\n\024deidentif" - + "y_templates\030\001 \003(\0132).google.privacy.dlp.v" - + "2.DeidentifyTemplate\022\027\n\017next_page_token\030" - + "\002 \001(\t\"^\n\037DeleteDeidentifyTemplateRequest" - + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.c" - + "om/DeidentifyTemplate\"\364\001\n\033LargeCustomDic" - + "tionaryConfig\022<\n\013output_path\030\001 \001(\0132\'.goo" - + "gle.privacy.dlp.v2.CloudStoragePath\022L\n\026c" - + "loud_storage_file_set\030\002 \001(\0132*.google.pri" - + "vacy.dlp.v2.CloudStorageFileSetH\000\022?\n\017big" - + "_query_field\030\003 \001(\0132$.google.privacy.dlp." - + "v2.BigQueryFieldH\000B\010\n\006source\"8\n\032LargeCus" - + "tomDictionaryStats\022\032\n\022approx_num_phrases" - + "\030\001 \001(\003\"\240\001\n\024StoredInfoTypeConfig\022\024\n\014displ" - + "ay_name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027la" - + "rge_custom_dictionary\030\003 \001(\01322.google.pri" - + "vacy.dlp.v2.LargeCustomDictionaryConfigH" - + "\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027larg" - + "e_custom_dictionary\030\001 \001(\01321.google.priva" - + "cy.dlp.v2.LargeCustomDictionaryStatsH\000B\006" - + "\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006conf" - + "ig\030\001 \001(\0132+.google.privacy.dlp.v2.StoredI" - + "nfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*." - + "google.privacy.dlp.v2.StoredInfoTypeStat" - + "e\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp.v" - + "2.Error\0229\n\005stats\030\005 \001(\0132*.google.privacy." - + "dlp.v2.StoredInfoTypeStats\"\317\002\n\016StoredInf" - + "oType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030\002" - + " \001(\0132,.google.privacy.dlp.v2.StoredInfoT" - + "ypeVersion\022F\n\020pending_versions\030\003 \003(\0132,.g" - + "oogle.privacy.dlp.v2.StoredInfoTypeVersi" - + "on:\237\001\352A\233\001\n!dlp.googleapis.com/StoredInfo" - + "Type\022?organizations/{organization}/store" - + "dInfoTypes/{stored_info_type}\0225projects/" - + "{project}/storedInfoTypes/{stored_info_t" - + "ype}\"\262\001\n\033CreateStoredInfoTypeRequest\0229\n\006" - + "parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.com" - + "/StoredInfoType\022;\n\006config\030\002 \001(\0132+.google" - + ".privacy.dlp.v2.StoredInfoTypeConfig\022\033\n\023" - + "stored_info_type_id\030\003 \001(\t\"\304\001\n\033UpdateStor" - + "edInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" - + "!dlp.googleapis.com/StoredInfoType\022;\n\006co" - + "nfig\030\002 \001(\0132+.google.privacy.dlp.v2.Store" - + "dInfoTypeConfig\022/\n\013update_mask\030\003 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"S\n\030GetStoredInf" - + "oTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp." - + "googleapis.com/StoredInfoType\"\220\001\n\032ListSt" - + "oredInfoTypesRequest\0229\n\006parent\030\001 \001(\tB)\340A" - + "\002\372A#\022!dlp.googleapis.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\"x\n\033ListStoredInfoTypesR" - + "esponse\022@\n\021stored_info_types\030\001 \003(\0132%.goo" - + "gle.privacy.dlp.v2.StoredInfoType\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"V\n\033DeleteStoredInfoTy" - + "peRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.goo" - + "gleapis.com/StoredInfoType*M\n\rContentOpt" - + "ion\022\027\n\023CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_" - + "TEXT\020\001\022\021\n\rCONTENT_IMAGE\020\002*\215\001\n\014MatchingTy" - + "pe\022\035\n\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MAT" - + "CHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE" - + "_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERS" - + "E_MATCH\020\003*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM" - + "_TYPE_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK" - + "_ANALYSIS\020\002*\273\001\n\022RelationalOperator\022#\n\037RE" - + "LATIONAL_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_EQUA" - + "LS\020\005\022\027\n\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020" - + "\007*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECIF" - + "IED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS_" - + "JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"STORED_I" - + "NFO_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\222-" - + "\n\nDlpService\022\241\001\n\016InspectContent\022,.google" - + ".privacy.dlp.v2.InspectContentRequest\032-." - + "google.privacy.dlp.v2.InspectContentResp" - + "onse\"2\202\323\344\223\002,\"\'/v2/{parent=projects/*}/co" - + "ntent:inspect:\001*\022\225\001\n\013RedactImage\022).googl" - + "e.privacy.dlp.v2.RedactImageRequest\032*.go" - + "ogle.privacy.dlp.v2.RedactImageResponse\"" - + "/\202\323\344\223\002)\"$/v2/{parent=projects/*}/image:r" - + "edact:\001*\022\255\001\n\021DeidentifyContent\022/.google." - + "privacy.dlp.v2.DeidentifyContentRequest\032" - + "0.google.privacy.dlp.v2.DeidentifyConten" - + "tResponse\"5\202\323\344\223\002/\"*/v2/{parent=projects/" - + "*}/content:deidentify:\001*\022\255\001\n\021ReidentifyC" - + "ontent\022/.google.privacy.dlp.v2.Reidentif" - + "yContentRequest\0320.google.privacy.dlp.v2." - + "ReidentifyContentResponse\"5\202\323\344\223\002/\"*/v2/{" - + "parent=projects/*}/content:reidentify:\001*" - + "\022\201\001\n\rListInfoTypes\022+.google.privacy.dlp." - + "v2.ListInfoTypesRequest\032,.google.privacy" - + ".dlp.v2.ListInfoTypesResponse\"\025\202\323\344\223\002\017\022\r/" - + "v2/infoTypes\022\335\001\n\025CreateInspectTemplate\0223" - + ".google.privacy.dlp.v2.CreateInspectTemp" - + "lateRequest\032&.google.privacy.dlp.v2.Insp" - + "ectTemplate\"g\202\323\344\223\002a\"-/v2/{parent=organiz" - + "ations/*}/inspectTemplates:\001*Z-\"(/v2/{pa" - + "rent=projects/*}/inspectTemplates:\001*\022\335\001\n" - + "\025UpdateInspectTemplate\0223.google.privacy." - + "dlp.v2.UpdateInspectTemplateRequest\032&.go" - + "ogle.privacy.dlp.v2.InspectTemplate\"g\202\323\344" - + "\223\002a2-/v2/{name=organizations/*/inspectTe" - + "mplates/*}:\001*Z-2(/v2/{name=projects/*/in" - + "spectTemplates/*}:\001*\022\321\001\n\022GetInspectTempl" - + "ate\0220.google.privacy.dlp.v2.GetInspectTe" - + "mplateRequest\032&.google.privacy.dlp.v2.In" - + "spectTemplate\"a\202\323\344\223\002[\022-/v2/{name=organiz" - + "ations/*/inspectTemplates/*}Z*\022(/v2/{nam" - + "e=projects/*/inspectTemplates/*}\022\342\001\n\024Lis" - + "tInspectTemplates\0222.google.privacy.dlp.v" - + "2.ListInspectTemplatesRequest\0323.google.p" - + "rivacy.dlp.v2.ListInspectTemplatesRespon" - + "se\"a\202\323\344\223\002[\022-/v2/{parent=organizations/*}" - + "/inspectTemplatesZ*\022(/v2/{parent=project" - + "s/*}/inspectTemplates\022\307\001\n\025DeleteInspectT" - + "emplate\0223.google.privacy.dlp.v2.DeleteIn" - + "spectTemplateRequest\032\026.google.protobuf.E" - + "mpty\"a\202\323\344\223\002[*-/v2/{name=organizations/*/" - + "inspectTemplates/*}Z**(/v2/{name=project" - + "s/*/inspectTemplates/*}\022\354\001\n\030CreateDeiden" - + "tifyTemplate\0226.google.privacy.dlp.v2.Cre" - + "ateDeidentifyTemplateRequest\032).google.pr" - + "ivacy.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g\"" - + "0/v2/{parent=organizations/*}/deidentify" - + "Templates:\001*Z0\"+/v2/{parent=projects/*}/" - + "deidentifyTemplates:\001*\022\354\001\n\030UpdateDeident" - + "ifyTemplate\0226.google.privacy.dlp.v2.Upda" - + "teDeidentifyTemplateRequest\032).google.pri" - + "vacy.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g20" - + "/v2/{name=organizations/*/deidentifyTemp" - + "lates/*}:\001*Z02+/v2/{name=projects/*/deid" - + "entifyTemplates/*}:\001*\022\340\001\n\025GetDeidentifyT" - + "emplate\0223.google.privacy.dlp.v2.GetDeide" - + "ntifyTemplateRequest\032).google.privacy.dl" - + "p.v2.DeidentifyTemplate\"g\202\323\344\223\002a\0220/v2/{na" - + "me=organizations/*/deidentifyTemplates/*" - + "}Z-\022+/v2/{name=projects/*/deidentifyTemp" - + "lates/*}\022\361\001\n\027ListDeidentifyTemplates\0225.g", - "oogle.privacy.dlp.v2.ListDeidentifyTempl" - + "atesRequest\0326.google.privacy.dlp.v2.List" - + "DeidentifyTemplatesResponse\"g\202\323\344\223\002a\0220/v2" - + "/{parent=organizations/*}/deidentifyTemp" - + "latesZ-\022+/v2/{parent=projects/*}/deident" - + "ifyTemplates\022\323\001\n\030DeleteDeidentifyTemplat" - + "e\0226.google.privacy.dlp.v2.DeleteDeidenti" - + "fyTemplateRequest\032\026.google.protobuf.Empt" - + "y\"g\202\323\344\223\002a*0/v2/{name=organizations/*/dei" + + "order_by\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\022\023\n\013locati" + + "on_id\030\007 \001(\t\"k\n\027ListJobTriggersResponse\0227" + + "\n\014job_triggers\030\001 \003(\0132!.google.privacy.dl" + + "p.v2.JobTrigger\022\027\n\017next_page_token\030\002 \001(\t" + + "\"N\n\027DeleteJobTriggerRequest\0223\n\004name\030\001 \001(" + + "\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigger" + + "\"\335\001\n\020InspectJobConfig\022<\n\016storage_config\030" + + "\001 \001(\0132$.google.privacy.dlp.v2.StorageCon" + + "fig\022<\n\016inspect_config\030\002 \001(\0132$.google.pri" + + "vacy.dlp.v2.InspectConfig\022\035\n\025inspect_tem" + + "plate_name\030\003 \001(\t\022.\n\007actions\030\004 \003(\0132\035.goog" + + "le.privacy.dlp.v2.Action\"\244\005\n\006DlpJob\022\014\n\004n" + + "ame\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.google.privacy" + + ".dlp.v2.DlpJobType\0225\n\005state\030\003 \001(\0162&.goog" + + "le.privacy.dlp.v2.DlpJob.JobState\022K\n\014ris" + + "k_details\030\004 \001(\01323.google.privacy.dlp.v2." + + "AnalyzeDataSourceRiskDetailsH\000\022J\n\017inspec" + + "t_details\030\005 \001(\0132/.google.privacy.dlp.v2." + + "InspectDataSourceDetailsH\000\022/\n\013create_tim" + + "e\030\006 \001(\0132\032.google.protobuf.Timestamp\022.\n\ns" + + "tart_time\030\007 \001(\0132\032.google.protobuf.Timest" + + "amp\022,\n\010end_time\030\010 \001(\0132\032.google.protobuf." + + "Timestamp\022\030\n\020job_trigger_name\030\n \001(\t\022,\n\006e" + + "rrors\030\013 \003(\0132\034.google.privacy.dlp.v2.Erro" + + "r\"c\n\010JobState\022\031\n\025JOB_STATE_UNSPECIFIED\020\000" + + "\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010" + + "CANCELED\020\004\022\n\n\006FAILED\020\005:D\352AA\n\031dlp.googlea" + + "pis.com/DlpJob\022$projects/{project}/dlpJo" + + "bs/{dlp_job}B\t\n\007details\"C\n\020GetDlpJobRequ" + + "est\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapi" + + "s.com/DlpJob\"\350\001\n\022ListDlpJobsRequest\022C\n\006p" + + "arent\030\004 \001(\tB3\340A\002\372A-\n+cloudresourcemanage" + + "r.googleapis.com/Project\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.Dl" + + "pJobType\022\020\n\010order_by\030\006 \001(\t\022\023\n\013location_i" + + "d\030\007 \001(\t\"[\n\023ListDlpJobsResponse\022+\n\004jobs\030\001" + + " \003(\0132\035.google.privacy.dlp.v2.DlpJob\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"F\n\023CancelDlpJobRequ" + + "est\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapi" + + "s.com/DlpJob\"F\n\023DeleteDlpJobRequest\022/\n\004n" + + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/Dl" + + "pJob\"\322\001\n\037CreateDeidentifyTemplateRequest" + + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis" + + ".com/DeidentifyTemplate\022F\n\023deidentify_te" + + "mplate\030\002 \001(\0132).google.privacy.dlp.v2.Dei" + + "dentifyTemplate\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\"" + + "\240\001\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\000B\006\n\004ty" + + "pe\"s\n\023StoredInfoTypeStats\022T\n\027large_custo" + + "m_dictionary\030\001 \001(\01321.google.privacy.dlp." + + "v2.LargeCustomDictionaryStatsH\000B\006\n\004type\"" + + "\251\002\n\025StoredInfoTypeVersion\022;\n\006config\030\001 \001(" + + "\0132+.google.privacy.dlp.v2.StoredInfoType" + + "Config\022/\n\013create_time\030\002 \001(\0132\032.google.pro" + + "tobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.google." + + "privacy.dlp.v2.StoredInfoTypeState\022,\n\006er" + + "rors\030\004 \003(\0132\034.google.privacy.dlp.v2.Error" + + "\0229\n\005stats\030\005 \001(\0132*.google.privacy.dlp.v2." + + "StoredInfoTypeStats\"\317\002\n\016StoredInfoType\022\014" + + "\n\004name\030\001 \001(\t\022E\n\017current_version\030\002 \001(\0132,." + + "google.privacy.dlp.v2.StoredInfoTypeVers" + + "ion\022F\n\020pending_versions\030\003 \003(\0132,.google.p" + + "rivacy.dlp.v2.StoredInfoTypeVersion:\237\001\352A" + + "\233\001\n!dlp.googleapis.com/StoredInfoType\022?o" + + "rganizations/{organization}/storedInfoTy" + + "pes/{stored_info_type}\0225projects/{projec" + + "t}/storedInfoTypes/{stored_info_type}\"\307\001" + + "\n\033CreateStoredInfoTypeRequest\0229\n\006parent\030" + + "\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/Stored" + + "InfoType\022;\n\006config\030\002 \001(\0132+.google.privac" + + "y.dlp.v2.StoredInfoTypeConfig\022\033\n\023stored_" + + "info_type_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"" + + "\304\001\n\033UpdateStoredInfoTypeRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/Stored" + + "InfoType\022;\n\006config\030\002 \001(\0132+.google.privac" + + "y.dlp.v2.StoredInfoTypeConfig\022/\n\013update_" + + "mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"S" + + "\n\030GetStoredInfoTypeRequest\0227\n\004name\030\001 \001(\t" + + "B)\340A\002\372A#\n!dlp.googleapis.com/StoredInfoT" + + "ype\"\245\001\n\032ListStoredInfoTypesRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/S" + + "toredInfoType\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpag" + + "e_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013locati" + + "on_id\030\005 \001(\t\"x\n\033ListStoredInfoTypesRespon" + + "se\022@\n\021stored_info_types\030\001 \003(\0132%.google.p" + + "rivacy.dlp.v2.StoredInfoType\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"V\n\033DeleteStoredInfoTypeReq" + + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleap" + + "is.com/StoredInfoType*M\n\rContentOption\022\027" + + "\n\023CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_TEXT\020" + + "\001\022\021\n\rCONTENT_IMAGE\020\002*\215\001\n\014MatchingType\022\035\n" + + "\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING" + + "_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE_PART" + + "IAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERSE_MAT" + + "CH\020\003*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYPE" + + "_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANAL" + + "YSIS\020\002*\273\001\n\022RelationalOperator\022#\n\037RELATIO" + + "NAL_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\t" + + "LESS_THAN\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*R\n\n" + + "DlpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECIFIED\020\000" + + "\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS_JOB\020\002" + + "*n\n\023StoredInfoTypeState\022&\n\"STORED_INFO_T" + + "YPE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005" + + "READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\205D\n\nDlp" + + "Service\022\347\001\n\016InspectContent\022,.google.priv" + + "acy.dlp.v2.InspectContentRequest\032-.googl" + + "e.privacy.dlp.v2.InspectContentResponse\"" + + "x\202\323\344\223\002r\"\'/v2/{parent=projects/*}/content" + + ":inspect:\001*ZD\"?/v2/{parent=projects/*}/l" + + "ocations/{location_id}/content:inspect:\001" + + "*\022\330\001\n\013RedactImage\022).google.privacy.dlp.v" + + "2.RedactImageRequest\032*.google.privacy.dl" + + "p.v2.RedactImageResponse\"r\202\323\344\223\002l\"$/v2/{p" + + "arent=projects/*}/image:redact:\001*ZA\"\202\323\344\223\0028\022\r/v2" + + "/infoTypesZ\'\022%/v2/locations/{location_id" + + "}/infoTypes\022\362\002\n\025CreateInspectTemplate\0223." + + "google.privacy.dlp.v2.CreateInspectTempl" + + "ateRequest\032&.google.privacy.dlp.v2.Inspe" + + "ctTemplate\"\373\001\202\323\344\223\002\364\001\"-/v2/{parent=organi" + + "zations/*}/inspectTemplates:\001*ZJ\"E/v2/{p" + + "arent=organizations/*}/locations/{locati" + + "on_id}/inspectTemplates:\001*Z-\"(/v2/{paren" + + "t=projects/*}/inspectTemplates:\001*ZE\"@/v2" + + "/{parent=projects/*}/locations/{location" + + "_id}/inspectTemplates:\001*\022\332\002\n\025UpdateInspe" + + "ctTemplate\0223.google.privacy.dlp.v2.Updat" + + "eInspectTemplateRequest\032&.google.privacy" + + ".dlp.v2.InspectTemplate\"\343\001\202\323\344\223\002\334\0012-/v2/{" + + "name=organizations/*/inspectTemplates/*}" + + ":\001*Z>29/v2/{name=organizations/*/locatio" + + "ns/*/inspectTemplates/*}:\001*Z-2(/v2/{name" + + "=projects/*/inspectTemplates/*}:\001*Z924/v" + + "2/{name=projects/*/locations/*/inspectTe" + + "mplates/*}:\001*\022\310\002\n\022GetInspectTemplate\0220.g" + + "oogle.privacy.dlp.v2.GetInspectTemplateR" + + "equest\032&.google.privacy.dlp.v2.InspectTe" + + "mplate\"\327\001\202\323\344\223\002\320\001\022-/v2/{name=organization" + + "s/*/inspectTemplates/*}Z;\0229/v2/{name=org" + + "anizations/*/locations/*/inspectTemplate" + + "s/*}Z*\022(/v2/{name=projects/*/inspectTemp" + + "lates/*}Z6\0224/v2/{name=projects/*/locatio" + + "ns/*/inspectTemplates/*}\022\361\002\n\024ListInspect" + + "Templates\0222.google.privacy.dlp.v2.ListIn" + + "spectTemplatesRequest\0323.google.privacy.d" + + "lp.v2.ListInspectTemplatesResponse\"\357\001\202\323\344", + "\223\002\350\001\022-/v2/{parent=organizations/*}/inspe" + + "ctTemplatesZG\022E/v2/{parent=organizations" + + "/*}/locations/{location_id}/inspectTempl" + + "atesZ*\022(/v2/{parent=projects/*}/inspectT" + + "emplatesZB\022@/v2/{parent=projects/*}/loca" + + "tions/{location_id}/inspectTemplates\022\276\002\n" + + "\025DeleteInspectTemplate\0223.google.privacy." + + "dlp.v2.DeleteInspectTemplateRequest\032\026.go" + + "ogle.protobuf.Empty\"\327\001\202\323\344\223\002\320\001*-/v2/{name" + + "=organizations/*/inspectTemplates/*}Z;*9" + + "/v2/{name=organizations/*/locations/*/in" + + "spectTemplates/*}Z**(/v2/{name=projects/" + + "*/inspectTemplates/*}Z6*4/v2/{name=proje" + + "cts/*/locations/*/inspectTemplates/*}\022\207\003" + + "\n\030CreateDeidentifyTemplate\0226.google.priv" + + "acy.dlp.v2.CreateDeidentifyTemplateReque" + + "st\032).google.privacy.dlp.v2.DeidentifyTem" + + "plate\"\207\002\202\323\344\223\002\200\002\"0/v2/{parent=organizatio" + + "ns/*}/deidentifyTemplates:\001*ZM\"H/v2/{par" + + "ent=organizations/*}/locations/{location" + + "_id}/deidentifyTemplates:\001*Z0\"+/v2/{pare" + + "nt=projects/*}/deidentifyTemplates:\001*ZH\"" + + "C/v2/{parent=projects/*}/locations/{loca" + + "tion_id}/deidentifyTemplates:\001*\022\357\002\n\030Upda" + + "teDeidentifyTemplate\0226.google.privacy.dl" + + "p.v2.UpdateDeidentifyTemplateRequest\032).g" + + "oogle.privacy.dlp.v2.DeidentifyTemplate\"" + + "\357\001\202\323\344\223\002\350\00120/v2/{name=organizations/*/dei" + + "dentifyTemplates/*}:\001*ZA2\022* private InspectContentRequest() { parent_ = ""; inspectTemplateName_ = ""; + locationId_ = ""; } @java.lang.Override @@ -112,6 +113,13 @@ private InspectContentRequest( inspectTemplateName_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -323,6 +331,51 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 5; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to process content inspection. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to process content inspection. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -349,6 +402,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getInspectTemplateNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, inspectTemplateName_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_); + } unknownFields.writeTo(output); } @@ -370,6 +426,9 @@ public int getSerializedSize() { if (!getInspectTemplateNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, inspectTemplateName_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -396,6 +455,7 @@ public boolean equals(final java.lang.Object obj) { if (!getItem().equals(other.getItem())) return false; } if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -419,6 +479,8 @@ public int hashCode() { } hash = (37 * hash) + INSPECT_TEMPLATE_NAME_FIELD_NUMBER; hash = (53 * hash) + getInspectTemplateName().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -580,6 +642,8 @@ public Builder clear() { } inspectTemplateName_ = ""; + locationId_ = ""; + return this; } @@ -619,6 +683,7 @@ public com.google.privacy.dlp.v2.InspectContentRequest buildPartial() { result.item_ = itemBuilder_.build(); } result.inspectTemplateName_ = inspectTemplateName_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -683,6 +748,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InspectContentRequest other) inspectTemplateName_ = other.inspectTemplateName_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1288,6 +1357,105 @@ public Builder setInspectTemplateNameBytes(com.google.protobuf.ByteString value) return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to process content inspection. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to process content inspection. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to process content inspection. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process content inspection. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process content inspection. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/InspectContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java index b4709652..d9264246 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java @@ -137,4 +137,27 @@ public interface InspectContentRequestOrBuilder * string inspect_template_name = 4; */ com.google.protobuf.ByteString getInspectTemplateNameBytes(); + + /** + * + * + *
+   * The geographic location to process content inspection. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 5; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to process content inspection. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 5; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java index 1a791633..f989ab32 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplate.java @@ -312,7 +312,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -324,7 +324,7 @@ public boolean hasCreateTime() { * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -336,7 +336,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -351,7 +351,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -363,7 +363,7 @@ public boolean hasUpdateTime() { * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -375,7 +375,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1167,7 +1167,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1179,7 +1179,7 @@ public boolean hasCreateTime() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1197,7 +1197,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1219,7 +1219,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1238,7 +1238,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1262,7 +1262,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1282,7 +1282,7 @@ public Builder clearCreateTime() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1296,7 +1296,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1314,7 +1314,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The creation timestamp of a inspectTemplate, output only field.
+     * The creation timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp create_time = 4; @@ -1346,7 +1346,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1358,7 +1358,7 @@ public boolean hasUpdateTime() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1376,7 +1376,7 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1398,7 +1398,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1417,7 +1417,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1441,7 +1441,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1461,7 +1461,7 @@ public Builder clearUpdateTime() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1475,7 +1475,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; @@ -1493,7 +1493,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * The last update timestamp of a inspectTemplate, output only field.
+     * The last update timestamp of an inspectTemplate, output only field.
      * 
* * .google.protobuf.Timestamp update_time = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java index c830a335..6111594c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectTemplateOrBuilder.java @@ -96,7 +96,7 @@ public interface InspectTemplateOrBuilder * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -106,7 +106,7 @@ public interface InspectTemplateOrBuilder * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -116,7 +116,7 @@ public interface InspectTemplateOrBuilder * * *
-   * The creation timestamp of a inspectTemplate, output only field.
+   * The creation timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp create_time = 4; @@ -127,7 +127,7 @@ public interface InspectTemplateOrBuilder * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -137,7 +137,7 @@ public interface InspectTemplateOrBuilder * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; @@ -147,7 +147,7 @@ public interface InspectTemplateOrBuilder * * *
-   * The last update timestamp of a inspectTemplate, output only field.
+   * The last update timestamp of an inspectTemplate, output only field.
    * 
* * .google.protobuf.Timestamp update_time = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java index e3431517..479c34d3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java @@ -42,6 +42,7 @@ private ListDeidentifyTemplatesRequest() { parent_ = ""; pageToken_ = ""; orderBy_ = ""; + locationId_ = ""; } @java.lang.Override @@ -94,6 +95,13 @@ private ListDeidentifyTemplatesRequest( orderBy_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -299,6 +307,51 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 5; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location where deidentifications templates will be retrieved
+   * from. Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location where deidentifications templates will be retrieved
+   * from. Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -325,6 +378,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getOrderByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_); + } unknownFields.writeTo(output); } @@ -346,6 +402,9 @@ public int getSerializedSize() { if (!getOrderByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -366,6 +425,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPageToken().equals(other.getPageToken())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,6 +445,8 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -539,6 +601,8 @@ public Builder clear() { orderBy_ = ""; + locationId_ = ""; + return this; } @@ -570,6 +634,7 @@ public com.google.privacy.dlp.v2.ListDeidentifyTemplatesRequest buildPartial() { result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; result.orderBy_ = orderBy_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -635,6 +700,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListDeidentifyTemplatesReques orderBy_ = other.orderBy_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1059,6 +1128,105 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location where deidentifications templates will be retrieved
+     * from. Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location where deidentifications templates will be retrieved
+     * from. Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location where deidentifications templates will be retrieved
+     * from. Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where deidentifications templates will be retrieved
+     * from. Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where deidentifications templates will be retrieved
+     * from. Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ListDeidentifyTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java index 18f704d1..2d00200d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java @@ -123,4 +123,27 @@ public interface ListDeidentifyTemplatesRequestOrBuilder * string order_by = 4; */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * The geographic location where deidentifications templates will be retrieved
+   * from. Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location where deidentifications templates will be retrieved
+   * from. Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java index aba11400..bd66b12f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java @@ -43,6 +43,7 @@ private ListDlpJobsRequest() { pageToken_ = ""; type_ = 0; orderBy_ = ""; + locationId_ = ""; } @java.lang.Override @@ -109,6 +110,13 @@ private ListDlpJobsRequest( orderBy_ = s; break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -426,6 +434,51 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location where jobs will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location where jobs will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -458,6 +511,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getOrderByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locationId_); + } unknownFields.writeTo(output); } @@ -485,6 +541,9 @@ public int getSerializedSize() { if (!getOrderByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -507,6 +566,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPageToken().equals(other.getPageToken())) return false; if (type_ != other.type_) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -530,6 +590,8 @@ public int hashCode() { hash = (53 * hash) + type_; hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -687,6 +749,8 @@ public Builder clear() { orderBy_ = ""; + locationId_ = ""; + return this; } @@ -720,6 +784,7 @@ public com.google.privacy.dlp.v2.ListDlpJobsRequest buildPartial() { result.pageToken_ = pageToken_; result.type_ = type_; result.orderBy_ = orderBy_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -791,6 +856,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListDlpJobsRequest other) { orderBy_ = other.orderBy_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1481,6 +1550,105 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location where jobs will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location where jobs will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location where jobs will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where jobs will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where jobs will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ListDlpJobsRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java index 133afbe3..73730cbc 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java @@ -204,4 +204,27 @@ public interface ListDlpJobsRequestOrBuilder * string order_by = 6; */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * The geographic location where jobs will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location where jobs will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java index be6c522e..a82edfb8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequest.java @@ -40,6 +40,7 @@ private ListInfoTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder b private ListInfoTypesRequest() { languageCode_ = ""; filter_ = ""; + locationId_ = ""; } @java.lang.Override @@ -80,6 +81,13 @@ private ListInfoTypesRequest( filter_ = s; break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -206,6 +214,51 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to list info types. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 3; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to list info types. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 3; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -226,6 +279,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getFilterBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, locationId_); + } unknownFields.writeTo(output); } @@ -241,6 +297,9 @@ public int getSerializedSize() { if (!getFilterBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -259,6 +318,7 @@ public boolean equals(final java.lang.Object obj) { if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -274,6 +334,8 @@ public int hashCode() { hash = (53 * hash) + getLanguageCode().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -423,6 +485,8 @@ public Builder clear() { filter_ = ""; + locationId_ = ""; + return this; } @@ -452,6 +516,7 @@ public com.google.privacy.dlp.v2.ListInfoTypesRequest buildPartial() { new com.google.privacy.dlp.v2.ListInfoTypesRequest(this); result.languageCode_ = languageCode_; result.filter_ = filter_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -509,6 +574,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListInfoTypesRequest other) { filter_ = other.filter_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -741,6 +810,105 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to list info types. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 3; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to list info types. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 3; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to list info types. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 3; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to list info types. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 3; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to list info types. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 3; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ListInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java index f5115de7..248ede21 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInfoTypesRequestOrBuilder.java @@ -70,4 +70,27 @@ public interface ListInfoTypesRequestOrBuilder * string filter = 2; */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The geographic location to list info types. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 3; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to list info types. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 3; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java index 36cf7f19..f13e0e31 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java @@ -41,6 +41,7 @@ private ListInspectTemplatesRequest() { parent_ = ""; pageToken_ = ""; orderBy_ = ""; + locationId_ = ""; } @java.lang.Override @@ -93,6 +94,13 @@ private ListInspectTemplatesRequest( orderBy_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -298,6 +306,51 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 5; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location where inspection templates will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location where inspection templates will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -324,6 +377,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getOrderByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_); + } unknownFields.writeTo(output); } @@ -345,6 +401,9 @@ public int getSerializedSize() { if (!getOrderByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -365,6 +424,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPageToken().equals(other.getPageToken())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -384,6 +444,8 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -538,6 +600,8 @@ public Builder clear() { orderBy_ = ""; + locationId_ = ""; + return this; } @@ -569,6 +633,7 @@ public com.google.privacy.dlp.v2.ListInspectTemplatesRequest buildPartial() { result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; result.orderBy_ = orderBy_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -634,6 +699,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListInspectTemplatesRequest o orderBy_ = other.orderBy_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1058,6 +1127,105 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location where inspection templates will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location where inspection templates will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location where inspection templates will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where inspection templates will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where inspection templates will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ListInspectTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java index ad390aab..f8e7c0f9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java @@ -123,4 +123,27 @@ public interface ListInspectTemplatesRequestOrBuilder * string order_by = 4; */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * The geographic location where inspection templates will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location where inspection templates will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } 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 e262878f..e3975ec2 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_ = ""; + locationId_ = ""; } @java.lang.Override @@ -101,6 +102,13 @@ private ListJobTriggersRequest( filter_ = s; break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -388,6 +396,51 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location where job triggers will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location where job triggers will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -417,6 +470,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getFilterBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locationId_); + } unknownFields.writeTo(output); } @@ -441,6 +497,9 @@ public int getSerializedSize() { if (!getFilterBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -462,6 +521,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 (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -483,6 +543,8 @@ public int hashCode() { hash = (53 * hash) + getOrderBy().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -638,6 +700,8 @@ public Builder clear() { filter_ = ""; + locationId_ = ""; + return this; } @@ -670,6 +734,7 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { result.pageSize_ = pageSize_; result.orderBy_ = orderBy_; result.filter_ = filter_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -739,6 +804,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersRequest other) filter_ = other.filter_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1353,6 +1422,105 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location where job triggers will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location where job triggers will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location where job triggers will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where job triggers will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where job triggers will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ListJobTriggersRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java index 43d7fc66..a2e56e93 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 @@ -183,4 +183,27 @@ public interface ListJobTriggersRequestOrBuilder * string filter = 5; */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The geographic location where job triggers will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location where job triggers will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 7; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java index 691ef256..253fa750 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java @@ -41,6 +41,7 @@ private ListStoredInfoTypesRequest() { parent_ = ""; pageToken_ = ""; orderBy_ = ""; + locationId_ = ""; } @java.lang.Override @@ -93,6 +94,13 @@ private ListStoredInfoTypesRequest( orderBy_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -300,6 +308,51 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 5; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location where stored infoTypes will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location where stored infoTypes will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -326,6 +379,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getOrderByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, locationId_); + } unknownFields.writeTo(output); } @@ -347,6 +403,9 @@ public int getSerializedSize() { if (!getOrderByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -367,6 +426,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPageToken().equals(other.getPageToken())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -386,6 +446,8 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -539,6 +601,8 @@ public Builder clear() { orderBy_ = ""; + locationId_ = ""; + return this; } @@ -570,6 +634,7 @@ public com.google.privacy.dlp.v2.ListStoredInfoTypesRequest buildPartial() { result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; result.orderBy_ = orderBy_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -635,6 +700,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListStoredInfoTypesRequest ot orderBy_ = other.orderBy_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1064,6 +1133,105 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location where stored infoTypes will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location where stored infoTypes will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location where stored infoTypes will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where stored infoTypes will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location where stored infoTypes will be retrieved from.
+     * Use `-` for all locations. Reserved for future extensions.
+     * 
+ * + * string location_id = 5; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ListStoredInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java index 35982fe9..b270f62b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java @@ -125,4 +125,27 @@ public interface ListStoredInfoTypesRequestOrBuilder * string order_by = 4; */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * The geographic location where stored infoTypes will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location where stored infoTypes will be retrieved from.
+   * Use `-` for all locations. Reserved for future extensions.
+   * 
+ * + * string location_id = 5; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java index 6fd0e2a6..5f98345c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java @@ -40,6 +40,7 @@ private RedactImageRequest(com.google.protobuf.GeneratedMessageV3.Builder bui private RedactImageRequest() { parent_ = ""; + locationId_ = ""; imageRedactionConfigs_ = java.util.Collections.emptyList(); } @@ -92,11 +93,11 @@ private RedactImageRequest( } case 42: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { imageRedactionConfigs_ = new java.util.ArrayList< com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000008; } imageRedactionConfigs_.add( input.readMessage( @@ -123,6 +124,13 @@ private RedactImageRequest( byteItem_ = subBuilder.buildPartial(); } + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; break; } default: @@ -139,7 +147,7 @@ private RedactImageRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { imageRedactionConfigs_ = java.util.Collections.unmodifiableList(imageRedactionConfigs_); } this.unknownFields = unknownFields.build(); @@ -1518,6 +1526,51 @@ public com.google.protobuf.ByteString getParentBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 8; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to process the request. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 8; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to process the request. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 8; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** @@ -1724,6 +1777,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (byteItem_ != null) { output.writeMessage(7, getByteItem()); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, locationId_); + } unknownFields.writeTo(output); } @@ -1750,6 +1806,9 @@ public int getSerializedSize() { if (byteItem_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getByteItem()); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1767,6 +1826,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.privacy.dlp.v2.RedactImageRequest) obj; if (!getParent().equals(other.getParent())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { if (!getInspectConfig().equals(other.getInspectConfig())) return false; @@ -1790,6 +1850,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); if (hasInspectConfig()) { hash = (37 * hash) + INSPECT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getInspectConfig().hashCode(); @@ -1954,6 +2016,8 @@ public Builder clear() { super.clear(); parent_ = ""; + locationId_ = ""; + if (inspectConfigBuilder_ == null) { inspectConfig_ = null; } else { @@ -1962,7 +2026,7 @@ public Builder clear() { } if (imageRedactionConfigsBuilder_ == null) { imageRedactionConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } else { imageRedactionConfigsBuilder_.clear(); } @@ -2004,15 +2068,16 @@ public com.google.privacy.dlp.v2.RedactImageRequest buildPartial() { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.parent_ = parent_; + result.locationId_ = locationId_; if (inspectConfigBuilder_ == null) { result.inspectConfig_ = inspectConfig_; } else { result.inspectConfig_ = inspectConfigBuilder_.build(); } if (imageRedactionConfigsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { imageRedactionConfigs_ = java.util.Collections.unmodifiableList(imageRedactionConfigs_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } result.imageRedactionConfigs_ = imageRedactionConfigs_; } else { @@ -2078,6 +2143,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) { parent_ = other.parent_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } if (other.hasInspectConfig()) { mergeInspectConfig(other.getInspectConfig()); } @@ -2085,7 +2154,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) { if (!other.imageRedactionConfigs_.isEmpty()) { if (imageRedactionConfigs_.isEmpty()) { imageRedactionConfigs_ = other.imageRedactionConfigs_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureImageRedactionConfigsIsMutable(); imageRedactionConfigs_.addAll(other.imageRedactionConfigs_); @@ -2098,7 +2167,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.RedactImageRequest other) { imageRedactionConfigsBuilder_.dispose(); imageRedactionConfigsBuilder_ = null; imageRedactionConfigs_ = other.imageRedactionConfigs_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); imageRedactionConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getImageRedactionConfigsFieldBuilder() @@ -2239,6 +2308,105 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to process the request. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 8; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to process the request. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 8; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to process the request. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 8; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process the request. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 8; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process the request. Reserved for future
+     * extensions.
+     * 
+ * + * string location_id = 8; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = value; + onChanged(); + return this; + } + private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; private com.google.protobuf.SingleFieldBuilderV3< com.google.privacy.dlp.v2.InspectConfig, @@ -2425,12 +2593,12 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde imageRedactionConfigs_ = java.util.Collections.emptyList(); private void ensureImageRedactionConfigsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { imageRedactionConfigs_ = new java.util.ArrayList< com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig>( imageRedactionConfigs_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; } } @@ -2677,7 +2845,7 @@ public Builder addAllImageRedactionConfigs( public Builder clearImageRedactionConfigs() { if (imageRedactionConfigsBuilder_ == null) { imageRedactionConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { imageRedactionConfigsBuilder_.clear(); @@ -2824,7 +2992,7 @@ public Builder removeImageRedactionConfigs(int index) { com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig.Builder, com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfigOrBuilder>( imageRedactionConfigs_, - ((bitField0_ & 0x00000004) != 0), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); imageRedactionConfigs_ = null; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java index 18d1411c..d61f0c6a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java @@ -44,6 +44,29 @@ public interface RedactImageRequestOrBuilder */ com.google.protobuf.ByteString getParentBytes(); + /** + * + * + *
+   * The geographic location to process the request. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 8; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to process the request. Reserved for future
+   * extensions.
+   * 
+ * + * string location_id = 8; + */ + com.google.protobuf.ByteString getLocationIdBytes(); + /** * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java index 4a5176ea..c11ad1f3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java @@ -41,6 +41,7 @@ private ReidentifyContentRequest() { parent_ = ""; inspectTemplateName_ = ""; reidentifyTemplateName_ = ""; + locationId_ = ""; } @java.lang.Override @@ -136,6 +137,13 @@ private ReidentifyContentRequest( reidentifyTemplateName_ = s; break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + + locationId_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -466,6 +474,51 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { } } + public static final int LOCATION_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object locationId_; + /** + * + * + *
+   * The geographic location to process content reidentification.  Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + 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(); + locationId_ = s; + return s; + } + } + /** + * + * + *
+   * The geographic location to process content reidentification.  Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -498,6 +551,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getReidentifyTemplateNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, reidentifyTemplateName_); } + if (!getLocationIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locationId_); + } unknownFields.writeTo(output); } @@ -525,6 +581,9 @@ public int getSerializedSize() { if (!getReidentifyTemplateNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, reidentifyTemplateName_); } + if (!getLocationIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locationId_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -556,6 +615,7 @@ public boolean equals(final java.lang.Object obj) { } if (!getInspectTemplateName().equals(other.getInspectTemplateName())) return false; if (!getReidentifyTemplateName().equals(other.getReidentifyTemplateName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -585,6 +645,8 @@ public int hashCode() { hash = (53 * hash) + getInspectTemplateName().hashCode(); hash = (37 * hash) + REIDENTIFY_TEMPLATE_NAME_FIELD_NUMBER; hash = (53 * hash) + getReidentifyTemplateName().hashCode(); + hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -754,6 +816,8 @@ public Builder clear() { reidentifyTemplateName_ = ""; + locationId_ = ""; + return this; } @@ -799,6 +863,7 @@ public com.google.privacy.dlp.v2.ReidentifyContentRequest buildPartial() { } result.inspectTemplateName_ = inspectTemplateName_; result.reidentifyTemplateName_ = reidentifyTemplateName_; + result.locationId_ = locationId_; onBuilt(); return result; } @@ -870,6 +935,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ReidentifyContentRequest othe reidentifyTemplateName_ = other.reidentifyTemplateName_; onChanged(); } + if (!other.getLocationId().isEmpty()) { + locationId_ = other.locationId_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1850,6 +1919,105 @@ public Builder setReidentifyTemplateNameBytes(com.google.protobuf.ByteString val return this; } + private java.lang.Object locationId_ = ""; + /** + * + * + *
+     * The geographic location to process content reidentification.  Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 7; + */ + public java.lang.String getLocationId() { + java.lang.Object ref = locationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + locationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The geographic location to process content reidentification.  Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 7; + */ + public com.google.protobuf.ByteString getLocationIdBytes() { + java.lang.Object ref = locationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + locationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The geographic location to process content reidentification.  Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + locationId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process content reidentification.  Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + onChanged(); + return this; + } + /** + * + * + *
+     * The geographic location to process content reidentification.  Reserved for
+     * future extensions.
+     * 
+ * + * string location_id = 7; + */ + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + locationId_ = 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/ReidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java index f38c9b7b..01ff49ec 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java @@ -224,4 +224,27 @@ public interface ReidentifyContentRequestOrBuilder * string reidentify_template_name = 6; */ com.google.protobuf.ByteString getReidentifyTemplateNameBytes(); + + /** + * + * + *
+   * The geographic location to process content reidentification.  Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 7; + */ + java.lang.String getLocationId(); + /** + * + * + *
+   * The geographic location to process content reidentification.  Reserved for
+   * future extensions.
+   * 
+ * + * string location_id = 7; + */ + com.google.protobuf.ByteString getLocationIdBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java index c0d108db..265a352d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeConfig.java @@ -22,7 +22,9 @@ * * *
- * Configuration for a StoredInfoType.
+ * Configuration for stored infoTypes. All fields and subfield are provided
+ * by the user. For more information, see
+ * https://cloud.google.com/dlp/docs/creating-custom-infotypes.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeConfig} @@ -496,7 +498,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Configuration for a StoredInfoType.
+   * Configuration for stored infoTypes. All fields and subfield are provided
+   * by the user. For more information, see
+   * https://cloud.google.com/dlp/docs/creating-custom-infotypes.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.StoredInfoTypeConfig} 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 dfc93548..ece44c6f 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 @@ -64,6 +64,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:inspect" body: "*" + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/content:inspect" + body: "*" + } }; } @@ -79,6 +83,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=projects/*}/image:redact" body: "*" + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/image:redact" + body: "*" + } }; } @@ -94,6 +102,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:deidentify" body: "*" + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/content:deidentify" + body: "*" + } }; } @@ -105,6 +117,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:reidentify" body: "*" + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/content:reidentify" + body: "*" + } }; } @@ -114,6 +130,9 @@ service DlpService { rpc ListInfoTypes(ListInfoTypesRequest) returns (ListInfoTypesResponse) { option (google.api.http) = { get: "/v2/infoTypes" + additional_bindings { + get: "/v2/locations/{location_id}/infoTypes" + } }; } @@ -124,10 +143,18 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=organizations/*}/inspectTemplates" body: "*" + additional_bindings { + post: "/v2/{parent=organizations/*}/locations/{location_id}/inspectTemplates" + body: "*" + } additional_bindings { post: "/v2/{parent=projects/*}/inspectTemplates" body: "*" } + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates" + body: "*" + } }; } @@ -137,10 +164,18 @@ service DlpService { option (google.api.http) = { patch: "/v2/{name=organizations/*/inspectTemplates/*}" body: "*" + additional_bindings { + patch: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" + body: "*" + } additional_bindings { patch: "/v2/{name=projects/*/inspectTemplates/*}" body: "*" } + additional_bindings { + patch: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" + body: "*" + } }; } @@ -149,9 +184,15 @@ service DlpService { rpc GetInspectTemplate(GetInspectTemplateRequest) returns (InspectTemplate) { option (google.api.http) = { get: "/v2/{name=organizations/*/inspectTemplates/*}" + additional_bindings { + get: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" + } additional_bindings { get: "/v2/{name=projects/*/inspectTemplates/*}" } + additional_bindings { + get: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" + } }; } @@ -160,9 +201,15 @@ service DlpService { rpc ListInspectTemplates(ListInspectTemplatesRequest) returns (ListInspectTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/inspectTemplates" + additional_bindings { + get: "/v2/{parent=organizations/*}/locations/{location_id}/inspectTemplates" + } additional_bindings { get: "/v2/{parent=projects/*}/inspectTemplates" } + additional_bindings { + get: "/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates" + } }; } @@ -171,9 +218,15 @@ service DlpService { rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/inspectTemplates/*}" + additional_bindings { + delete: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" + } additional_bindings { delete: "/v2/{name=projects/*/inspectTemplates/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" + } }; } @@ -185,10 +238,18 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=organizations/*}/deidentifyTemplates" body: "*" + additional_bindings { + post: "/v2/{parent=organizations/*}/locations/{location_id}/deidentifyTemplates" + body: "*" + } additional_bindings { post: "/v2/{parent=projects/*}/deidentifyTemplates" body: "*" } + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates" + body: "*" + } }; } @@ -199,10 +260,18 @@ service DlpService { option (google.api.http) = { patch: "/v2/{name=organizations/*/deidentifyTemplates/*}" body: "*" + additional_bindings { + patch: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" + body: "*" + } additional_bindings { patch: "/v2/{name=projects/*/deidentifyTemplates/*}" body: "*" } + additional_bindings { + patch: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" + body: "*" + } }; } @@ -212,9 +281,15 @@ service DlpService { rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) returns (DeidentifyTemplate) { option (google.api.http) = { get: "/v2/{name=organizations/*/deidentifyTemplates/*}" + additional_bindings { + get: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" + } additional_bindings { get: "/v2/{name=projects/*/deidentifyTemplates/*}" } + additional_bindings { + get: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" + } }; } @@ -224,9 +299,15 @@ service DlpService { rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) returns (ListDeidentifyTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/deidentifyTemplates" + additional_bindings { + get: "/v2/{parent=organizations/*}/locations/{location_id}/deidentifyTemplates" + } additional_bindings { get: "/v2/{parent=projects/*}/deidentifyTemplates" } + additional_bindings { + get: "/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates" + } }; } @@ -236,9 +317,15 @@ service DlpService { rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/deidentifyTemplates/*}" + additional_bindings { + delete: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" + } additional_bindings { delete: "/v2/{name=projects/*/deidentifyTemplates/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" + } }; } @@ -249,6 +336,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=projects/*}/jobTriggers" body: "*" + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/jobTriggers" + body: "*" + } }; } @@ -258,6 +349,10 @@ service DlpService { option (google.api.http) = { patch: "/v2/{name=projects/*/jobTriggers/*}" body: "*" + additional_bindings { + patch: "/v2/{name=projects/*/locations/*/jobTriggers/*}" + body: "*" + } }; } @@ -266,6 +361,9 @@ service DlpService { rpc GetJobTrigger(GetJobTriggerRequest) returns (JobTrigger) { option (google.api.http) = { get: "/v2/{name=projects/*/jobTriggers/*}" + additional_bindings { + get: "/v2/{name=projects/*/locations/*/jobTriggers/*}" + } }; } @@ -274,6 +372,9 @@ service DlpService { rpc ListJobTriggers(ListJobTriggersRequest) returns (ListJobTriggersResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/jobTriggers" + additional_bindings { + get: "/v2/{parent=projects/*}/locations/{location_id}/jobTriggers" + } }; } @@ -282,6 +383,9 @@ service DlpService { rpc DeleteJobTrigger(DeleteJobTriggerRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/jobTriggers/*}" + additional_bindings { + delete: "/v2/{name=projects/*/locations/*/jobTriggers/*}" + } }; } @@ -291,6 +395,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{name=projects/*/jobTriggers/*}:activate" body: "*" + additional_bindings { + post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:activate" + body: "*" + } }; } @@ -305,6 +413,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=projects/*}/dlpJobs" body: "*" + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/dlpJobs" + body: "*" + } }; } @@ -314,6 +426,9 @@ service DlpService { rpc ListDlpJobs(ListDlpJobsRequest) returns (ListDlpJobsResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/dlpJobs" + additional_bindings { + get: "/v2/{parent=projects/*}/locations/{location_id}/dlpJobs" + } }; } @@ -323,6 +438,9 @@ service DlpService { rpc GetDlpJob(GetDlpJobRequest) returns (DlpJob) { option (google.api.http) = { get: "/v2/{name=projects/*/dlpJobs/*}" + additional_bindings { + get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" + } }; } @@ -334,6 +452,9 @@ service DlpService { rpc DeleteDlpJob(DeleteDlpJobRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/dlpJobs/*}" + additional_bindings { + delete: "/v2/{name=projects/*/locations/*/dlpJobs/*}" + } }; } @@ -346,6 +467,10 @@ service DlpService { option (google.api.http) = { post: "/v2/{name=projects/*/dlpJobs/*}:cancel" body: "*" + additional_bindings { + post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:cancel" + body: "*" + } }; } @@ -356,10 +481,18 @@ service DlpService { option (google.api.http) = { post: "/v2/{parent=organizations/*}/storedInfoTypes" body: "*" + additional_bindings { + post: "/v2/{parent=organizations/*}/locations/{location_id}/storedInfoTypes" + body: "*" + } additional_bindings { post: "/v2/{parent=projects/*}/storedInfoTypes" body: "*" } + additional_bindings { + post: "/v2/{parent=projects/*}/locations/{location_id}/storedInfoTypes" + body: "*" + } }; } @@ -371,10 +504,18 @@ service DlpService { option (google.api.http) = { patch: "/v2/{name=organizations/*/storedInfoTypes/*}" body: "*" + additional_bindings { + patch: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" + body: "*" + } additional_bindings { patch: "/v2/{name=projects/*/storedInfoTypes/*}" body: "*" } + additional_bindings { + patch: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" + body: "*" + } }; } @@ -384,9 +525,15 @@ service DlpService { rpc GetStoredInfoType(GetStoredInfoTypeRequest) returns (StoredInfoType) { option (google.api.http) = { get: "/v2/{name=organizations/*/storedInfoTypes/*}" + additional_bindings { + get: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" + } additional_bindings { get: "/v2/{name=projects/*/storedInfoTypes/*}" } + additional_bindings { + get: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" + } }; } @@ -396,9 +543,15 @@ service DlpService { rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) returns (ListStoredInfoTypesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/storedInfoTypes" + additional_bindings { + get: "/v2/{parent=organizations/*}/locations/{location_id}/storedInfoTypes" + } additional_bindings { get: "/v2/{parent=projects/*}/storedInfoTypes" } + additional_bindings { + get: "/v2/{parent=projects/*}/locations/{location_id}/storedInfoTypes" + } }; } @@ -408,9 +561,15 @@ service DlpService { rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/storedInfoTypes/*}" + additional_bindings { + delete: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" + } additional_bindings { delete: "/v2/{name=projects/*/storedInfoTypes/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" + } }; } } @@ -821,6 +980,10 @@ message RedactImageRequest { type: "cloudresourcemanager.googleapis.com/Project" }]; + // The geographic location to process the request. Reserved for future + // extensions. + string location_id = 8; + // Configuration for the inspector. InspectConfig inspect_config = 2; @@ -894,6 +1057,10 @@ message DeidentifyContentRequest { // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. string deidentify_template_name = 6; + + // The geographic location to process de-identification. Reserved for future + // extensions. + string location_id = 7; } // Results of de-identifying a ContentItem. @@ -947,6 +1114,10 @@ message ReidentifyContentRequest { // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. string reidentify_template_name = 6; + + // The geographic location to process content reidentification. Reserved for + // future extensions. + string location_id = 7; } // Results of re-identifying a item. @@ -978,6 +1149,10 @@ message InspectContentRequest { // template. Repeated fields are appended. Singular sub-messages and groups // are recursively merged. string inspect_template_name = 4; + + // The geographic location to process content inspection. Reserved for future + // extensions. + string location_id = 5; } // Results of inspecting an item. @@ -1104,6 +1279,10 @@ message ListInfoTypesRequest { // Optional filter to only return infoTypes supported by certain parts of the // API. Defaults to supported_by=INSPECT. string filter = 2; + + // The geographic location to list info types. Reserved for future + // extensions. + string location_id = 3; } // Response to the ListInfoTypes request. @@ -2116,7 +2295,7 @@ message DateShiftConfig { int32 lower_bound_days = 2; // Points to the field that contains the context, for example, an entity id. - // If set, must also set method. If set, shift will be consistent for the + // If set, must also set cryptoKey. If set, shift will be consistent for the // given context. FieldId context = 3; @@ -2124,7 +2303,8 @@ message DateShiftConfig { // set, must also set context. Can only be applied to table items. oneof method { // Causes the shift to be computed based on this key and the context. This - // results in the same shift for the same context and crypto_key. + // results in the same shift for the same context and crypto_key. If + // set, must also set context. Can only be applied to table items. CryptoKey crypto_key = 4; } } @@ -2352,17 +2532,17 @@ message InspectTemplate { // Short description (max 256 chars). string description = 3; - // The creation timestamp of a inspectTemplate, output only field. + // The creation timestamp of an inspectTemplate, output only field. google.protobuf.Timestamp create_time = 4; - // The last update timestamp of a inspectTemplate, output only field. + // The last update timestamp of an inspectTemplate, output only field. google.protobuf.Timestamp update_time = 5; // The core content of the template. Configuration of the scanning process. InspectConfig inspect_config = 6; } -// The DeidentifyTemplates contains instructions on how to deidentify content. +// DeidentifyTemplates contains instructions on how to de-identify content. // See https://cloud.google.com/dlp/docs/concepts-templates to learn more. message DeidentifyTemplate { option (google.api.resource) = { @@ -2384,10 +2564,10 @@ message DeidentifyTemplate { // Short description (max 256 chars). string description = 3; - // The creation timestamp of a inspectTemplate, output only field. + // The creation timestamp of an inspectTemplate, output only field. google.protobuf.Timestamp create_time = 4; - // The last update timestamp of a inspectTemplate, output only field. + // The last update timestamp of an inspectTemplate, output only field. google.protobuf.Timestamp update_time = 5; // ///////////// // The core content of the template // /////////////// @@ -2584,6 +2764,10 @@ message CreateInspectTemplateRequest { // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. string template_id = 3; + + // The geographic location to store the inspection template. Reserved for + // future extensions. + string location_id = 4; } // Request message for UpdateInspectTemplate. @@ -2651,6 +2835,10 @@ message ListInspectTemplatesRequest { // - `name`: corresponds to template's name. // - `display_name`: corresponds to template's display name. string order_by = 4; + + // The geographic location where inspection templates will be retrieved from. + // Use `-` for all locations. Reserved for future extensions. + string location_id = 5; } // Response message for ListInspectTemplates. @@ -2694,6 +2882,10 @@ message CreateJobTriggerRequest { // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. string trigger_id = 3; + + // The geographic location to store the job trigger. Reserved for + // future extensions. + string location_id = 4; } // Request message for ActivateJobTrigger. @@ -2762,6 +2954,10 @@ message CreateDlpJobRequest { // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. string job_id = 4; + + // The geographic location to store and process the job. Reserved for + // future extensions. + string location_id = 5; } // Request message for ListJobTriggers. @@ -2824,6 +3020,10 @@ message ListJobTriggersRequest { // // The length of this field should be no more than 500 characters. string filter = 5; + + // The geographic location where job triggers will be retrieved from. + // Use `-` for all locations. Reserved for future extensions. + string location_id = 7; } // Response message for ListJobTriggers. @@ -2935,32 +3135,6 @@ message GetDlpJobRequest { ]; } -// Operators available for comparing the value of fields. -enum RelationalOperator { - RELATIONAL_OPERATOR_UNSPECIFIED = 0; - - // Equal. Attempts to match even with incompatible types. - EQUAL_TO = 1; - - // Not equal to. Attempts to match even with incompatible types. - NOT_EQUAL_TO = 2; - - // Greater than. - GREATER_THAN = 3; - - // Less than. - LESS_THAN = 4; - - // Greater than or equals. - GREATER_THAN_OR_EQUALS = 5; - - // Less than or equals. - LESS_THAN_OR_EQUALS = 6; - - // Exists - EXISTS = 7; -} - // The request message for listing DLP jobs. message ListDlpJobsRequest { // Required. The parent resource name, for example projects/my-project-id. @@ -3024,6 +3198,36 @@ message ListDlpJobsRequest { // - `name`: corresponds to job's name. // - `state`: corresponds to `state` string order_by = 6; + + // The geographic location where jobs will be retrieved from. + // Use `-` for all locations. Reserved for future extensions. + string location_id = 7; +} + +// Operators available for comparing the value of fields. +enum RelationalOperator { + RELATIONAL_OPERATOR_UNSPECIFIED = 0; + + // Equal. Attempts to match even with incompatible types. + EQUAL_TO = 1; + + // Not equal to. Attempts to match even with incompatible types. + NOT_EQUAL_TO = 2; + + // Greater than. + GREATER_THAN = 3; + + // Less than. + LESS_THAN = 4; + + // Greater than or equals. + GREATER_THAN_OR_EQUALS = 5; + + // Less than or equals. + LESS_THAN_OR_EQUALS = 6; + + // Exists + EXISTS = 7; } // The response message for listing DLP jobs. @@ -3076,6 +3280,10 @@ message CreateDeidentifyTemplateRequest { // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. string template_id = 3; + + // The geographic location to store the deidentification template. Reserved + // for future extensions. + string location_id = 4; } // Request message for UpdateDeidentifyTemplate. @@ -3143,6 +3351,10 @@ message ListDeidentifyTemplatesRequest { // - `name`: corresponds to template's name. // - `display_name`: corresponds to template's display name. string order_by = 4; + + // The geographic location where deidentifications templates will be retrieved + // from. Use `-` for all locations. Reserved for future extensions. + string location_id = 5; } // Response message for ListDeidentifyTemplates. @@ -3197,7 +3409,9 @@ message LargeCustomDictionaryStats { int64 approx_num_phrases = 1; } -// Configuration for a StoredInfoType. +// Configuration for stored infoTypes. All fields and subfield are provided +// by the user. For more information, see +// https://cloud.google.com/dlp/docs/creating-custom-infotypes. message StoredInfoTypeConfig { // Display name of the StoredInfoType (max 256 characters). string display_name = 1; @@ -3289,6 +3503,10 @@ message CreateStoredInfoTypeRequest { // expression: `[a-zA-Z\\d-_]+`. The maximum length is 100 // characters. Can be empty to allow the system to generate one. string stored_info_type_id = 3; + + // The geographic location to store the stored infoType. Reserved for + // future extensions. + string location_id = 4; } // Request message for UpdateStoredInfoType. @@ -3359,6 +3577,10 @@ message ListStoredInfoTypesRequest { // - `name`: corresponds to resource name. // - `display_name`: corresponds to info type's display name. string order_by = 4; + + // The geographic location where stored infoTypes will be retrieved from. + // Use `-` for all locations. Reserved for future extensions. + string location_id = 5; } // Response message for ListStoredInfoTypes. diff --git a/synth.metadata b/synth.metadata index 20c72cc7..eef30ab3 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-11-19T19:48:41.555361Z", + "updateTime": "2019-11-27T08:46:57.547327Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5af83f47b9656261cafcf88b0b3334521ab266b3", - "internalRef": "281334391" + "sha": "d8896a3d8a191702a9e39f29cf4c2e16fa05f76d", + "internalRef": "282674885" } }, {