diff --git a/google-api-grpc/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java b/google-api-grpc/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java index 6a9307a985ea..42e9c0aed3f4 100644 --- a/google-api-grpc/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpServiceGrpc.java @@ -1171,6 +1171,59 @@ private DlpServiceGrpc() {} return getDeleteJobTriggerMethod; } + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getActivateJobTriggerMethod()} instead. + public static final io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + METHOD_ACTIVATE_JOB_TRIGGER = getActivateJobTriggerMethodHelper(); + + private static volatile io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethod() { + return getActivateJobTriggerMethodHelper(); + } + + private static io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethodHelper() { + io.grpc.MethodDescriptor< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, com.google.privacy.dlp.v2.DlpJob> + getActivateJobTriggerMethod; + if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { + synchronized (DlpServiceGrpc.class) { + if ((getActivateJobTriggerMethod = DlpServiceGrpc.getActivateJobTriggerMethod) == null) { + DlpServiceGrpc.getActivateJobTriggerMethod = + getActivateJobTriggerMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + "google.privacy.dlp.v2.DlpService", "ActivateJobTrigger")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.privacy.dlp.v2.DlpJob.getDefaultInstance())) + .setSchemaDescriptor( + new DlpServiceMethodDescriptorSupplier("ActivateJobTrigger")) + .build(); + } + } + } + return getActivateJobTriggerMethod; + } + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") @java.lang.Deprecated // Use {@link #getCreateDlpJobMethod()} instead. public static final io.grpc.MethodDescriptor< @@ -2066,6 +2119,20 @@ public void deleteJobTrigger( asyncUnimplementedUnaryCall(getDeleteJobTriggerMethodHelper(), responseObserver); } + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public void activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getActivateJobTriggerMethodHelper(), responseObserver); + } + /** * * @@ -2362,6 +2429,12 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.privacy.dlp.v2.DeleteJobTriggerRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_JOB_TRIGGER))) + .addMethod( + getActivateJobTriggerMethodHelper(), + asyncUnaryCall( + new MethodHandlers< + com.google.privacy.dlp.v2.ActivateJobTriggerRequest, + com.google.privacy.dlp.v2.DlpJob>(this, METHODID_ACTIVATE_JOB_TRIGGER))) .addMethod( getCreateDlpJobMethodHelper(), asyncUnaryCall( @@ -2835,6 +2908,23 @@ public void deleteJobTrigger( responseObserver); } + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public void activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(getActivateJobTriggerMethodHelper(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -3362,6 +3452,20 @@ public com.google.protobuf.Empty deleteJobTrigger( getChannel(), getDeleteJobTriggerMethodHelper(), getCallOptions(), request); } + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public com.google.privacy.dlp.v2.DlpJob activateJobTrigger( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { + return blockingUnaryCall( + getChannel(), getActivateJobTriggerMethodHelper(), getCallOptions(), request); + } + /** * * @@ -3876,6 +3980,20 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption getChannel().newCall(getDeleteJobTriggerMethodHelper(), getCallOptions()), request); } + /** + * + * + *
+     * Activate a job trigger. Causes the immediate execute of a trigger
+     * instead of waiting on the trigger event to occur.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + activateJobTrigger(com.google.privacy.dlp.v2.ActivateJobTriggerRequest request) { + return futureUnaryCall( + getChannel().newCall(getActivateJobTriggerMethodHelper(), getCallOptions()), request); + } + /** * * @@ -4060,16 +4178,17 @@ protected DlpServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption private static final int METHODID_GET_JOB_TRIGGER = 17; private static final int METHODID_LIST_JOB_TRIGGERS = 18; private static final int METHODID_DELETE_JOB_TRIGGER = 19; - private static final int METHODID_CREATE_DLP_JOB = 20; - private static final int METHODID_LIST_DLP_JOBS = 21; - private static final int METHODID_GET_DLP_JOB = 22; - private static final int METHODID_DELETE_DLP_JOB = 23; - private static final int METHODID_CANCEL_DLP_JOB = 24; - private static final int METHODID_CREATE_STORED_INFO_TYPE = 25; - private static final int METHODID_UPDATE_STORED_INFO_TYPE = 26; - private static final int METHODID_GET_STORED_INFO_TYPE = 27; - private static final int METHODID_LIST_STORED_INFO_TYPES = 28; - private static final int METHODID_DELETE_STORED_INFO_TYPE = 29; + private static final int METHODID_ACTIVATE_JOB_TRIGGER = 20; + private static final int METHODID_CREATE_DLP_JOB = 21; + private static final int METHODID_LIST_DLP_JOBS = 22; + private static final int METHODID_GET_DLP_JOB = 23; + private static final int METHODID_DELETE_DLP_JOB = 24; + private static final int METHODID_CANCEL_DLP_JOB = 25; + private static final int METHODID_CREATE_STORED_INFO_TYPE = 26; + private static final int METHODID_UPDATE_STORED_INFO_TYPE = 27; + private static final int METHODID_GET_STORED_INFO_TYPE = 28; + private static final int METHODID_LIST_STORED_INFO_TYPES = 29; + private static final int METHODID_DELETE_STORED_INFO_TYPE = 30; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -4203,6 +4322,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_ACTIVATE_JOB_TRIGGER: + serviceImpl.activateJobTrigger( + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_CREATE_DLP_JOB: serviceImpl.createDlpJob( (com.google.privacy.dlp.v2.CreateDlpJobRequest) request, @@ -4342,6 +4466,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetJobTriggerMethodHelper()) .addMethod(getListJobTriggersMethodHelper()) .addMethod(getDeleteJobTriggerMethodHelper()) + .addMethod(getActivateJobTriggerMethodHelper()) .addMethod(getCreateDlpJobMethodHelper()) .addMethod(getListDlpJobsMethodHelper()) .addMethod(getGetDlpJobMethodHelper()) diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index 7d032c6dc068..f8be42019833 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -101,6 +101,25 @@ private Action( actionCase_ = 3; break; } + case 66: + { + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder subBuilder = null; + if (actionCase_ == 8) { + subBuilder = + ((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_).toBuilder(); + } + action_ = + input.readMessage( + com.google.privacy.dlp.v2.Action.JobNotificationEmails.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); + action_ = subBuilder.buildPartial(); + } + actionCase_ = 8; + break; + } default: { if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { @@ -1875,209 +1894,707 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceF } } - private int actionCase_ = 0; - private java.lang.Object action_; - - public enum ActionCase implements com.google.protobuf.Internal.EnumLite { - SAVE_FINDINGS(1), - PUB_SUB(2), - PUBLISH_SUMMARY_TO_CSCC(3), - ACTION_NOT_SET(0); - private final int value; - - private ActionCase(int value) { - this.value = value; - } - /** @deprecated Use {@link #forNumber(int)} instead. */ - @java.lang.Deprecated - public static ActionCase valueOf(int value) { - return forNumber(value); - } - - public static ActionCase forNumber(int value) { - switch (value) { - case 1: - return SAVE_FINDINGS; - case 2: - return PUB_SUB; - case 3: - return PUBLISH_SUMMARY_TO_CSCC; - case 0: - return ACTION_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public ActionCase getActionCase() { - return ActionCase.forNumber(actionCase_); - } - - public static final int SAVE_FINDINGS_FIELD_NUMBER = 1; - /** - * - * - *
-   * Save resulting findings in a provided location.
-   * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - public boolean hasSaveFindings() { - return actionCase_ == 1; - } - /** - * - * - *
-   * Save resulting findings in a provided location.
-   * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { - if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; - } - return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); - } + public interface JobNotificationEmailsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.JobNotificationEmails) + com.google.protobuf.MessageOrBuilder {} /** * * *
-   * Save resulting findings in a provided location.
+   * Enable email notification to project owners and editors on jobs's
+   * completion/failure.
    * 
* - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails} */ - public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() { - if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + public static final class JobNotificationEmails extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.JobNotificationEmails) + JobNotificationEmailsOrBuilder { + private static final long serialVersionUID = 0L; + // Use JobNotificationEmails.newBuilder() to construct. + private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); - } - public static final int PUB_SUB_FIELD_NUMBER = 2; - /** - * - * - *
-   * Publish a notification to a pubsub topic.
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public boolean hasPubSub() { - return actionCase_ == 2; - } - /** - * - * - *
-   * Publish a notification to a pubsub topic.
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { - if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; - } - return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); - } - /** - * - * - *
-   * Publish a notification to a pubsub topic.
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() { - if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + private JobNotificationEmails() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); - } - public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER = 3; - /** - * - * - *
-   * Publish summary to Cloud Security Command Center (Alpha).
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - */ - public boolean hasPublishSummaryToCscc() { - return actionCase_ == 3; - } - /** - * - * - *
-   * Publish summary to Cloud Security Command Center (Alpha).
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - */ - public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() { - if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + private JobNotificationEmails( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } } - return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); - } - /** - * - * - *
-   * Publish summary to Cloud Security Command Center (Alpha).
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - */ - public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder - getPublishSummaryToCsccOrBuilder() { - if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; } - return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); - } - private byte memoizedIsInitialized = -1; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.JobNotificationEmails.class, + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class); + } - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + private byte memoizedIsInitialized = -1; - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (actionCase_ == 1) { - output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); - } - if (actionCase_ == 2) { - output.writeMessage(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); - } - if (actionCase_ == 3) { - output.writeMessage(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); + memoizedIsInitialized = 1; + return true; } - unknownFields.writeTo(output); - } - @java.lang.Override + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.Action.JobNotificationEmails)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.Action.JobNotificationEmails other = + (com.google.privacy.dlp.v2.Action.JobNotificationEmails) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.privacy.dlp.v2.Action.JobNotificationEmails prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Enable email notification to project owners and editors on jobs's
+     * completion/failure.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.JobNotificationEmails) + com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.JobNotificationEmails.class, + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails build() { + com.google.privacy.dlp.v2.Action.JobNotificationEmails result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails buildPartial() { + com.google.privacy.dlp.v2.Action.JobNotificationEmails result = + new com.google.privacy.dlp.v2.Action.JobNotificationEmails(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.JobNotificationEmails) { + return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.Action.JobNotificationEmails other) { + if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.JobNotificationEmails parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.JobNotificationEmails) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.JobNotificationEmails) + private static final com.google.privacy.dlp.v2.Action.JobNotificationEmails DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.JobNotificationEmails(); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobNotificationEmails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JobNotificationEmails(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int actionCase_ = 0; + private java.lang.Object action_; + + public enum ActionCase implements com.google.protobuf.Internal.EnumLite { + SAVE_FINDINGS(1), + PUB_SUB(2), + PUBLISH_SUMMARY_TO_CSCC(3), + JOB_NOTIFICATION_EMAILS(8), + ACTION_NOT_SET(0); + private final int value; + + private ActionCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static ActionCase valueOf(int value) { + return forNumber(value); + } + + public static ActionCase forNumber(int value) { + switch (value) { + case 1: + return SAVE_FINDINGS; + case 2: + return PUB_SUB; + case 3: + return PUBLISH_SUMMARY_TO_CSCC; + case 8: + return JOB_NOTIFICATION_EMAILS; + case 0: + return ACTION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ActionCase getActionCase() { + return ActionCase.forNumber(actionCase_); + } + + public static final int SAVE_FINDINGS_FIELD_NUMBER = 1; + /** + * + * + *
+   * Save resulting findings in a provided location.
+   * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public boolean hasSaveFindings() { + return actionCase_ == 1; + } + /** + * + * + *
+   * Save resulting findings in a provided location.
+   * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { + if (actionCase_ == 1) { + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + } + return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); + } + /** + * + * + *
+   * Save resulting findings in a provided location.
+   * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() { + if (actionCase_ == 1) { + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + } + return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); + } + + public static final int PUB_SUB_FIELD_NUMBER = 2; + /** + * + * + *
+   * Publish a notification to a pubsub topic.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public boolean hasPubSub() { + return actionCase_ == 2; + } + /** + * + * + *
+   * Publish a notification to a pubsub topic.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { + if (actionCase_ == 2) { + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); + } + /** + * + * + *
+   * Publish a notification to a pubsub topic.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() { + if (actionCase_ == 2) { + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); + } + + public static final int PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER = 3; + /** + * + * + *
+   * Publish summary to Cloud Security Command Center (Alpha).
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + */ + public boolean hasPublishSummaryToCscc() { + return actionCase_ == 3; + } + /** + * + * + *
+   * Publish summary to Cloud Security Command Center (Alpha).
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + */ + public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getPublishSummaryToCscc() { + if (actionCase_ == 3) { + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + } + return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); + } + /** + * + * + *
+   * Publish summary to Cloud Security Command Center (Alpha).
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + */ + public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder + getPublishSummaryToCsccOrBuilder() { + if (actionCase_ == 3) { + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + } + return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); + } + + public static final int JOB_NOTIFICATION_EMAILS_FIELD_NUMBER = 8; + /** + * + * + *
+   * Enable email notification to project owners and editors on job‘s
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public boolean hasJobNotificationEmails() { + return actionCase_ == 8; + } + /** + * + * + *
+   * Enable email notification to project owners and editors on job‘s
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() { + if (actionCase_ == 8) { + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + /** + * + * + *
+   * Enable email notification to project owners and editors on job‘s
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder + getJobNotificationEmailsOrBuilder() { + if (actionCase_ == 8) { + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (actionCase_ == 1) { + output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); + } + if (actionCase_ == 2) { + output.writeMessage(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); + } + if (actionCase_ == 3) { + output.writeMessage(3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); + } + if (actionCase_ == 8) { + output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -2098,6 +2615,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 3, (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_); } + if (actionCase_ == 8) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2126,6 +2648,9 @@ public boolean equals(final java.lang.Object obj) { case 3: result = result && getPublishSummaryToCscc().equals(other.getPublishSummaryToCscc()); break; + case 8: + result = result && getJobNotificationEmails().equals(other.getJobNotificationEmails()); + break; case 0: default: } @@ -2153,6 +2678,10 @@ public int hashCode() { hash = (37 * hash) + PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER; hash = (53 * hash) + getPublishSummaryToCscc().hashCode(); break; + case 8: + hash = (37 * hash) + JOB_NOTIFICATION_EMAILS_FIELD_NUMBER; + hash = (53 * hash) + getJobNotificationEmails().hashCode(); + break; case 0: default: } @@ -2350,6 +2879,13 @@ public com.google.privacy.dlp.v2.Action buildPartial() { result.action_ = publishSummaryToCsccBuilder_.build(); } } + if (actionCase_ == 8) { + if (jobNotificationEmailsBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = jobNotificationEmailsBuilder_.build(); + } + } result.actionCase_ = actionCase_; onBuilt(); return result; @@ -2416,6 +2952,11 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Action other) { mergePublishSummaryToCscc(other.getPublishSummaryToCscc()); break; } + case JOB_NOTIFICATION_EMAILS: + { + mergeJobNotificationEmails(other.getJobNotificationEmails()); + break; + } case ACTION_NOT_SET: { break; @@ -3075,6 +3616,222 @@ public Builder clearPublishSummaryToCscc() { return publishSummaryToCsccBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.JobNotificationEmails, + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, + com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> + jobNotificationEmailsBuilder_; + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public boolean hasJobNotificationEmails() { + return actionCase_ == 8; + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails() { + if (jobNotificationEmailsBuilder_ == null) { + if (actionCase_ == 8) { + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } else { + if (actionCase_ == 8) { + return jobNotificationEmailsBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder setJobNotificationEmails( + com.google.privacy.dlp.v2.Action.JobNotificationEmails value) { + if (jobNotificationEmailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + jobNotificationEmailsBuilder_.setMessage(value); + } + actionCase_ = 8; + return this; + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder setJobNotificationEmails( + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder builderForValue) { + if (jobNotificationEmailsBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + jobNotificationEmailsBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 8; + return this; + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder mergeJobNotificationEmails( + com.google.privacy.dlp.v2.Action.JobNotificationEmails value) { + if (jobNotificationEmailsBuilder_ == null) { + if (actionCase_ == 8 + && action_ + != com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.JobNotificationEmails.newBuilder( + (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_) + .mergeFrom(value) + .buildPartial(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 8) { + jobNotificationEmailsBuilder_.mergeFrom(value); + } + jobNotificationEmailsBuilder_.setMessage(value); + } + actionCase_ = 8; + return this; + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder clearJobNotificationEmails() { + if (jobNotificationEmailsBuilder_ == null) { + if (actionCase_ == 8) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 8) { + actionCase_ = 0; + action_ = null; + } + jobNotificationEmailsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder + getJobNotificationEmailsBuilder() { + return getJobNotificationEmailsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder + getJobNotificationEmailsOrBuilder() { + if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) { + return jobNotificationEmailsBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 8) { + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + } + /** + * + * + *
+     * Enable email notification to project owners and editors on job‘s
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.JobNotificationEmails, + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, + com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder> + getJobNotificationEmailsFieldBuilder() { + if (jobNotificationEmailsBuilder_ == null) { + if (!(actionCase_ == 8)) { + action_ = com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + jobNotificationEmailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.JobNotificationEmails, + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder, + com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder>( + (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 8; + onChanged(); + ; + return jobNotificationEmailsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java index ccab0090fd51..f42a5a0f941e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java @@ -101,5 +101,40 @@ public interface ActionOrBuilder */ com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder(); + /** + * + * + *
+   * Enable email notification to project owners and editors on job‘s
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + boolean hasJobNotificationEmails(); + /** + * + * + *
+   * Enable email notification to project owners and editors on job‘s
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotificationEmails(); + /** + * + * + *
+   * Enable email notification to project owners and editors on job‘s
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder + getJobNotificationEmailsOrBuilder(); + public com.google.privacy.dlp.v2.Action.ActionCase getActionCase(); } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java new file mode 100644 index 000000000000..8c01e9fcf68c --- /dev/null +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java @@ -0,0 +1,606 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * + * + *
+ * Request message for ActivateJobTrigger.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest} + */ +public final class ActivateJobTriggerRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest) + ActivateJobTriggerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ActivateJobTriggerRequest.newBuilder() to construct. + private ActivateJobTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ActivateJobTriggerRequest() { + name_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ActivateJobTriggerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1; + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1; + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ActivateJobTriggerRequest)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ActivateJobTriggerRequest other = + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) obj; + + boolean result = true; + result = result && getName().equals(other.getName()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.privacy.dlp.v2.ActivateJobTriggerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for ActivateJobTrigger.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ActivateJobTriggerRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ActivateJobTriggerRequest) + com.google.privacy.dlp.v2.ActivateJobTriggerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.class, + com.google.privacy.dlp.v2.ActivateJobTriggerRequest.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ActivateJobTriggerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ActivateJobTriggerRequest build() { + com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ActivateJobTriggerRequest buildPartial() { + com.google.privacy.dlp.v2.ActivateJobTriggerRequest result = + new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return (Builder) super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ActivateJobTriggerRequest) { + return mergeFrom((com.google.privacy.dlp.v2.ActivateJobTriggerRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ActivateJobTriggerRequest other) { + if (other == com.google.privacy.dlp.v2.ActivateJobTriggerRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ActivateJobTriggerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Resource name of the trigger to activate, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
+     * 
+ * + * string name = 1; + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Resource name of the trigger to activate, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
+     * 
+ * + * string name = 1; + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Resource name of the trigger to activate, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
+     * 
+ * + * string name = 1; + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Resource name of the trigger to activate, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
+     * 
+ * + * string name = 1; + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Resource name of the trigger to activate, for example
+     * `projects/dlp-test-project/jobTriggers/53234423`.
+     * 
+ * + * string name = 1; + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) + private static final com.google.privacy.dlp.v2.ActivateJobTriggerRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ActivateJobTriggerRequest(); + } + + public static com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ActivateJobTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ActivateJobTriggerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ActivateJobTriggerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java new file mode 100644 index 000000000000..c4134932b0ac --- /dev/null +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface ActivateJobTriggerRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ActivateJobTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1; + */ + java.lang.String getName(); + /** + * + * + *
+   * Resource name of the trigger to activate, for example
+   * `projects/dlp-test-project/jobTriggers/53234423`.
+   * 
+ * + * string name = 1; + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java index 251b1bfc62d7..de9689113da9 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/BigQueryOptions.java @@ -152,8 +152,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * How to sample rows if not all rows are scanned. Meaningful only when used
-   * in conjunction with rows_limit. If not specified, scanning would start
-   * from the top.
+   * in conjunction with either rows_limit or rows_limit_percent. If not
+   * specified, scanning would start from the top.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.BigQueryOptions.SampleMethod} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java index 8ad583888cd1..c5491673ed5b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CloudStorageOptions.java @@ -299,8 +299,13 @@ public interface FileSetOrBuilder * *
      * The Cloud Storage url of the file(s) to scan, in the format
-     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-     * one of `url` or `regex_file_set` must be set.
+     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+     * If the url ends in a trailing slash, the bucket or directory represented
+     * by the url will be scanned non-recursively (content in sub-directories
+     * will not be scanned). This means that `gs://mybucket/` is equivalent to
+     * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+     * `gs://mybucket/directory/*`.
+     * Exactly one of `url` or `regex_file_set` must be set.
      * 
* * string url = 1; @@ -311,8 +316,13 @@ public interface FileSetOrBuilder * *
      * The Cloud Storage url of the file(s) to scan, in the format
-     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-     * one of `url` or `regex_file_set` must be set.
+     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+     * If the url ends in a trailing slash, the bucket or directory represented
+     * by the url will be scanned non-recursively (content in sub-directories
+     * will not be scanned). This means that `gs://mybucket/` is equivalent to
+     * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+     * `gs://mybucket/directory/*`.
+     * Exactly one of `url` or `regex_file_set` must be set.
      * 
* * string url = 1; @@ -465,8 +475,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
      * The Cloud Storage url of the file(s) to scan, in the format
-     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-     * one of `url` or `regex_file_set` must be set.
+     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+     * If the url ends in a trailing slash, the bucket or directory represented
+     * by the url will be scanned non-recursively (content in sub-directories
+     * will not be scanned). This means that `gs://mybucket/` is equivalent to
+     * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+     * `gs://mybucket/directory/*`.
+     * Exactly one of `url` or `regex_file_set` must be set.
      * 
* * string url = 1; @@ -487,8 +502,13 @@ public java.lang.String getUrl() { * *
      * The Cloud Storage url of the file(s) to scan, in the format
-     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-     * one of `url` or `regex_file_set` must be set.
+     * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+     * If the url ends in a trailing slash, the bucket or directory represented
+     * by the url will be scanned non-recursively (content in sub-directories
+     * will not be scanned). This means that `gs://mybucket/` is equivalent to
+     * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+     * `gs://mybucket/directory/*`.
+     * Exactly one of `url` or `regex_file_set` must be set.
      * 
* * string url = 1; @@ -907,8 +927,13 @@ public Builder mergeFrom( * *
        * The Cloud Storage url of the file(s) to scan, in the format
-       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-       * one of `url` or `regex_file_set` must be set.
+       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+       * If the url ends in a trailing slash, the bucket or directory represented
+       * by the url will be scanned non-recursively (content in sub-directories
+       * will not be scanned). This means that `gs://mybucket/` is equivalent to
+       * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+       * `gs://mybucket/directory/*`.
+       * Exactly one of `url` or `regex_file_set` must be set.
        * 
* * string url = 1; @@ -929,8 +954,13 @@ public java.lang.String getUrl() { * *
        * The Cloud Storage url of the file(s) to scan, in the format
-       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-       * one of `url` or `regex_file_set` must be set.
+       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+       * If the url ends in a trailing slash, the bucket or directory represented
+       * by the url will be scanned non-recursively (content in sub-directories
+       * will not be scanned). This means that `gs://mybucket/` is equivalent to
+       * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+       * `gs://mybucket/directory/*`.
+       * Exactly one of `url` or `regex_file_set` must be set.
        * 
* * string url = 1; @@ -951,8 +981,13 @@ public com.google.protobuf.ByteString getUrlBytes() { * *
        * The Cloud Storage url of the file(s) to scan, in the format
-       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-       * one of `url` or `regex_file_set` must be set.
+       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+       * If the url ends in a trailing slash, the bucket or directory represented
+       * by the url will be scanned non-recursively (content in sub-directories
+       * will not be scanned). This means that `gs://mybucket/` is equivalent to
+       * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+       * `gs://mybucket/directory/*`.
+       * Exactly one of `url` or `regex_file_set` must be set.
        * 
* * string url = 1; @@ -971,8 +1006,13 @@ public Builder setUrl(java.lang.String value) { * *
        * The Cloud Storage url of the file(s) to scan, in the format
-       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-       * one of `url` or `regex_file_set` must be set.
+       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+       * If the url ends in a trailing slash, the bucket or directory represented
+       * by the url will be scanned non-recursively (content in sub-directories
+       * will not be scanned). This means that `gs://mybucket/` is equivalent to
+       * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+       * `gs://mybucket/directory/*`.
+       * Exactly one of `url` or `regex_file_set` must be set.
        * 
* * string url = 1; @@ -988,8 +1028,13 @@ public Builder clearUrl() { * *
        * The Cloud Storage url of the file(s) to scan, in the format
-       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
-       * one of `url` or `regex_file_set` must be set.
+       * `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
+       * If the url ends in a trailing slash, the bucket or directory represented
+       * by the url will be scanned non-recursively (content in sub-directories
+       * will not be scanned). This means that `gs://mybucket/` is equivalent to
+       * `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
+       * `gs://mybucket/directory/*`.
+       * Exactly one of `url` or `regex_file_set` must be set.
        * 
* * string url = 1; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java index 4324f80d7328..632f83d53e7b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoHashConfig.java @@ -10,9 +10,10 @@ * Pseudonymization method that generates surrogates via cryptographic hashing. * Uses SHA-256. * The key size must be either 32 or 64 bytes. - * Outputs a 32 byte digest as an uppercase hex string - * (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). + * Outputs a base64 encoded representation of the hashed output + * (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). * Currently, only string and integer values can be hashed. + * See https://cloud.google.com/dlp/docs/pseudonymization to learn more. * * * Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig} @@ -316,9 +317,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Pseudonymization method that generates surrogates via cryptographic hashing. * Uses SHA-256. * The key size must be either 32 or 64 bytes. - * Outputs a 32 byte digest as an uppercase hex string - * (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). + * Outputs a base64 encoded representation of the hashed output + * (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). * Currently, only string and integer values can be hashed. + * See https://cloud.google.com/dlp/docs/pseudonymization to learn more. * * * Protobuf type {@code google.privacy.dlp.v2.CryptoHashConfig} diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java index 56ee117c5336..06d9c7142d55 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CustomInfoType.java @@ -2348,6 +2348,40 @@ public interface RegexOrBuilder * string pattern = 1; */ com.google.protobuf.ByteString getPatternBytes(); + + /** + * + * + *
+     * The index of the submatch to extract as findings. When not
+     * specified, the entire match is returned. No more than 3 may be included.
+     * 
+ * + * repeated int32 group_indexes = 2; + */ + java.util.List getGroupIndexesList(); + /** + * + * + *
+     * The index of the submatch to extract as findings. When not
+     * specified, the entire match is returned. No more than 3 may be included.
+     * 
+ * + * repeated int32 group_indexes = 2; + */ + int getGroupIndexesCount(); + /** + * + * + *
+     * The index of the submatch to extract as findings. When not
+     * specified, the entire match is returned. No more than 3 may be included.
+     * 
+ * + * repeated int32 group_indexes = 2; + */ + int getGroupIndexes(int index); } /** * @@ -2370,6 +2404,7 @@ private Regex(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Regex() { pattern_ = ""; + groupIndexes_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -2403,6 +2438,30 @@ private Regex( pattern_ = s; break; } + case 16: + { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + groupIndexes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + groupIndexes_.add(input.readInt32()); + break; + } + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) + && input.getBytesUntilLimit() > 0) { + groupIndexes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + while (input.getBytesUntilLimit() > 0) { + groupIndexes_.add(input.readInt32()); + } + input.popLimit(limit); + break; + } default: { if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { @@ -2417,6 +2476,9 @@ private Regex( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + groupIndexes_ = java.util.Collections.unmodifiableList(groupIndexes_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -2437,6 +2499,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder.class); } + private int bitField0_; public static final int PATTERN_FIELD_NUMBER = 1; private volatile java.lang.Object pattern_; /** @@ -2484,6 +2547,50 @@ public com.google.protobuf.ByteString getPatternBytes() { } } + public static final int GROUP_INDEXES_FIELD_NUMBER = 2; + private java.util.List groupIndexes_; + /** + * + * + *
+     * The index of the submatch to extract as findings. When not
+     * specified, the entire match is returned. No more than 3 may be included.
+     * 
+ * + * repeated int32 group_indexes = 2; + */ + public java.util.List getGroupIndexesList() { + return groupIndexes_; + } + /** + * + * + *
+     * The index of the submatch to extract as findings. When not
+     * specified, the entire match is returned. No more than 3 may be included.
+     * 
+ * + * repeated int32 group_indexes = 2; + */ + public int getGroupIndexesCount() { + return groupIndexes_.size(); + } + /** + * + * + *
+     * The index of the submatch to extract as findings. When not
+     * specified, the entire match is returned. No more than 3 may be included.
+     * 
+ * + * repeated int32 group_indexes = 2; + */ + public int getGroupIndexes(int index) { + return groupIndexes_.get(index); + } + + private int groupIndexesMemoizedSerializedSize = -1; + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2498,9 +2605,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getSerializedSize(); if (!getPatternBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pattern_); } + if (getGroupIndexesList().size() > 0) { + output.writeUInt32NoTag(18); + output.writeUInt32NoTag(groupIndexesMemoizedSerializedSize); + } + for (int i = 0; i < groupIndexes_.size(); i++) { + output.writeInt32NoTag(groupIndexes_.get(i)); + } unknownFields.writeTo(output); } @@ -2513,6 +2628,19 @@ public int getSerializedSize() { if (!getPatternBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pattern_); } + { + int dataSize = 0; + for (int i = 0; i < groupIndexes_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(groupIndexes_.get(i)); + } + size += dataSize; + if (!getGroupIndexesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + } + groupIndexesMemoizedSerializedSize = dataSize; + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2531,6 +2659,7 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && getPattern().equals(other.getPattern()); + result = result && getGroupIndexesList().equals(other.getGroupIndexesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -2544,6 +2673,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PATTERN_FIELD_NUMBER; hash = (53 * hash) + getPattern().hashCode(); + if (getGroupIndexesCount() > 0) { + hash = (37 * hash) + GROUP_INDEXES_FIELD_NUMBER; + hash = (53 * hash) + getGroupIndexesList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -2693,6 +2826,8 @@ public Builder clear() { super.clear(); pattern_ = ""; + groupIndexes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -2720,7 +2855,15 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex build() { public com.google.privacy.dlp.v2.CustomInfoType.Regex buildPartial() { com.google.privacy.dlp.v2.CustomInfoType.Regex result = new com.google.privacy.dlp.v2.CustomInfoType.Regex(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; result.pattern_ = pattern_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + groupIndexes_ = java.util.Collections.unmodifiableList(groupIndexes_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.groupIndexes_ = groupIndexes_; + result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -2777,6 +2920,16 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.CustomInfoType.Regex other) { pattern_ = other.pattern_; onChanged(); } + if (!other.groupIndexes_.isEmpty()) { + if (groupIndexes_.isEmpty()) { + groupIndexes_ = other.groupIndexes_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureGroupIndexesIsMutable(); + groupIndexes_.addAll(other.groupIndexes_); + } + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2806,6 +2959,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private java.lang.Object pattern_ = ""; /** * @@ -2910,6 +3065,118 @@ public Builder setPatternBytes(com.google.protobuf.ByteString value) { return this; } + private java.util.List groupIndexes_ = java.util.Collections.emptyList(); + + private void ensureGroupIndexesIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + groupIndexes_ = new java.util.ArrayList(groupIndexes_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public java.util.List getGroupIndexesList() { + return java.util.Collections.unmodifiableList(groupIndexes_); + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public int getGroupIndexesCount() { + return groupIndexes_.size(); + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public int getGroupIndexes(int index) { + return groupIndexes_.get(index); + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public Builder setGroupIndexes(int index, int value) { + ensureGroupIndexesIsMutable(); + groupIndexes_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public Builder addGroupIndexes(int value) { + ensureGroupIndexesIsMutable(); + groupIndexes_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public Builder addAllGroupIndexes(java.lang.Iterable values) { + ensureGroupIndexesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupIndexes_); + onChanged(); + return this; + } + /** + * + * + *
+       * The index of the submatch to extract as findings. When not
+       * specified, the entire match is returned. No more than 3 may be included.
+       * 
+ * + * repeated int32 group_indexes = 2; + */ + public Builder clearGroupIndexes() { + groupIndexes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java index 7f58d356dd37..126534709ee3 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -468,6 +468,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -496,6 +500,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_privacy_dlp_v2_CreateJobTriggerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -778,649 +786,658 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nfig\032\177\n\006Result\022\027\n\017processed_bytes\030\001 \001(\003\022" + "\035\n\025total_estimated_bytes\030\002 \001(\003\022=\n\017info_t" + "ype_stats\030\003 \003(\0132$.google.privacy.dlp.v2." - + "InfoTypeStats\"{\n\023InfoTypeDescription\022\014\n\004" - + "name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014supp" - + "orted_by\030\003 \003(\0162*.google.privacy.dlp.v2.I" - + "nfoTypeSupportedBy\"=\n\024ListInfoTypesReque" - + "st\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001(" - + "\t\"W\n\025ListInfoTypesResponse\022>\n\ninfo_types" - + "\030\001 \003(\0132*.google.privacy.dlp.v2.InfoTypeD" - + "escription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016" - + "privacy_metric\030\001 \001(\0132$.google.privacy.dl" - + "p.v2.PrivacyMetric\022:\n\014source_table\030\002 \001(\013" - + "2$.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.goog" - + "le.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.protobuf.EmptyH\000B\005\n\003tag\"\257\002\n\020Sta" - + "tisticalTable\0223\n\005table\030\003 \001(\0132$.google.pr" - + "ivacy.dlp.v2.BigQueryTable\022O\n\tquasi_ids\030" - + "\001 \003(\0132<.google.privacy.dlp.v2.Statistica" - + "lTable.QuasiIdentifierField\022:\n\022relative_" - + "frequency\030\002 \001(\0132\036.google.privacy.dlp.v2." - + "FieldId\032Y\n\024QuasiIdentifierField\022-\n\005field" - + "\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\026" - + "numerical_stats_config\030\001 \001(\01329.google.pr" - + "ivacy.dlp.v2.PrivacyMetric.NumericalStat" - + "sConfigH\000\022_\n\030categorical_stats_config\030\002 " - + "\001(\0132;.google.privacy.dlp.v2.PrivacyMetri" - + "c.CategoricalStatsConfigH\000\022S\n\022k_anonymit" - + "y_config\030\003 \001(\01325.google.privacy.dlp.v2.P" - + "rivacyMetric.KAnonymityConfigH\000\022S\n\022l_div" - + "ersity_config\030\004 \001(\01325.google.privacy.dlp" - + ".v2.PrivacyMetric.LDiversityConfigH\000\022\\\n\027" - + "k_map_estimation_config\030\005 \001(\01329.google.p" - + "rivacy.dlp.v2.PrivacyMetric.KMapEstimati" - + "onConfigH\000\022n\n delta_presence_estimation_" - + "config\030\006 \001(\0132B.google.privacy.dlp.v2.Pri" - + "vacyMetric.DeltaPresenceEstimationConfig" - + "H\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001(" - + "\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026Cat" - + "egoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldId\032y\n\020KAnonymity" - + "Config\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priva" - + "cy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037.g" - + "oogle.privacy.dlp.v2.EntityId\032\202\001\n\020LDiver" - + "sityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.p" - + "rivacy.dlp.v2.FieldId\022;\n\023sensitive_attri" - + "bute\030\002 \001(\0132\036.google.privacy.dlp.v2.Field" - + "Id\032\350\005\n\024KMapEstimationConfig\022X\n\tquasi_ids" - + "\030\001 \003(\0132E.google.privacy.dlp.v2.PrivacyMe" - + "tric.KMapEstimationConfig.TaggedField\022\023\n" - + "\013region_code\030\002 \001(\t\022b\n\020auxiliary_tables\030\003" - + " \003(\0132H.google.privacy.dlp.v2.PrivacyMetr" - + "ic.KMapEstimationConfig.AuxiliaryTable\032\273" - + "\001\n\013TaggedField\022-\n\005field\030\001 \001(\0132\036.google.p" - + "rivacy.dlp.v2.FieldId\0224\n\tinfo_type\030\002 \001(\013" - + "2\037.google.privacy.dlp.v2.InfoTypeH\000\022\024\n\nc" - + "ustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.go" - + "ogle.protobuf.EmptyH\000B\005\n\003tag\032\276\002\n\016Auxilia" - + "ryTable\0223\n\005table\030\003 \001(\0132$.google.privacy." - + "dlp.v2.BigQueryTable\022h\n\tquasi_ids\030\001 \003(\0132" - + "U.google.privacy.dlp.v2.PrivacyMetric.KM" - + "apEstimationConfig.AuxiliaryTable.QuasiI" - + "dField\022:\n\022relative_frequency\030\002 \001(\0132\036.goo" - + "gle.privacy.dlp.v2.FieldId\032Q\n\014QuasiIdFie" - + "ld\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v" - + "2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\252\001\n\035DeltaP" - + "resenceEstimationConfig\0221\n\tquasi_ids\030\001 \003" - + "(\0132\036.google.privacy.dlp.v2.QuasiId\022\023\n\013re" - + "gion_code\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003(" - + "\0132\'.google.privacy.dlp.v2.StatisticalTab" - + "leB\006\n\004type\"\362\035\n\034AnalyzeDataSourceRiskDeta" - + "ils\022F\n\030requested_privacy_metric\030\001 \001(\0132$." - + "google.privacy.dlp.v2.PrivacyMetric\022D\n\026r" - + "equested_source_table\030\002 \001(\0132$.google.pri" - + "vacy.dlp.v2.BigQueryTable\022j\n\026numerical_s" - + "tats_result\030\003 \001(\0132H.google.privacy.dlp.v" - + "2.AnalyzeDataSourceRiskDetails.Numerical" - + "StatsResultH\000\022n\n\030categorical_stats_resul" - + "t\030\004 \001(\0132J.google.privacy.dlp.v2.AnalyzeD" - + "ataSourceRiskDetails.CategoricalStatsRes" - + "ultH\000\022b\n\022k_anonymity_result\030\005 \001(\0132D.goog" - + "le.privacy.dlp.v2.AnalyzeDataSourceRiskD" - + "etails.KAnonymityResultH\000\022b\n\022l_diversity" - + "_result\030\006 \001(\0132D.google.privacy.dlp.v2.An" - + "alyzeDataSourceRiskDetails.LDiversityRes" - + "ultH\000\022k\n\027k_map_estimation_result\030\007 \001(\0132H" - + ".google.privacy.dlp.v2.AnalyzeDataSource" - + "RiskDetails.KMapEstimationResultH\000\022}\n de" - + "lta_presence_estimation_result\030\t \001(\0132Q.g" - + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" - + "skDetails.DeltaPresenceEstimationResultH" - + "\000\032\257\001\n\024NumericalStatsResult\022/\n\tmin_value\030" - + "\001 \001(\0132\034.google.privacy.dlp.v2.Value\022/\n\tm" - + "ax_value\030\002 \001(\0132\034.google.privacy.dlp.v2.V" - + "alue\0225\n\017quantile_values\030\004 \003(\0132\034.google.p" - + "rivacy.dlp.v2.Value\032\215\003\n\026CategoricalStats" - + "Result\022\225\001\n!value_frequency_histogram_buc" - + "kets\030\005 \003(\0132j.google.privacy.dlp.v2.Analy" - + "zeDataSourceRiskDetails.CategoricalStats" - + "Result.CategoricalStatsHistogramBucket\032\332" - + "\001\n\037CategoricalStatsHistogramBucket\022#\n\033va" - + "lue_frequency_lower_bound\030\001 \001(\003\022#\n\033value" - + "_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_s" - + "ize\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.googl" - + "e.privacy.dlp.v2.ValueFrequency\022\032\n\022bucke" - + "t_value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult" - + "\022\213\001\n#equivalence_class_histogram_buckets" - + "\030\005 \003(\0132^.google.privacy.dlp.v2.AnalyzeDa" - + "taSourceRiskDetails.KAnonymityResult.KAn" - + "onymityHistogramBucket\032t\n\032KAnonymityEqui" - + "valenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034" - + ".google.privacy.dlp.v2.Value\022\036\n\026equivale" - + "nce_class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHisto" - + "gramBucket\022*\n\"equivalence_class_size_low" - + "er_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\022" - + "v\n\rbucket_values\030\004 \003(\0132_.google.privacy." - + "dlp.v2.AnalyzeDataSourceRiskDetails.KAno" - + "nymityResult.KAnonymityEquivalenceClass\022" - + "\032\n\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversi" - + "tyResult\022\223\001\n+sensitive_value_frequency_h" - + "istogram_buckets\030\005 \003(\0132^.google.privacy." - + "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv" - + "ersityResult.LDiversityHistogramBucket\032\340" - + "\001\n\032LDiversityEquivalenceClass\0226\n\020quasi_i" - + "ds_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\024" - + "top_sensitive_values\030\004 \003(\0132%.google.priv" - + "acy.dlp.v2.ValueFrequency\032\242\002\n\031LDiversity" - + "HistogramBucket\022-\n%sensitive_value_frequ" - + "ency_lower_bound\030\001 \001(\003\022-\n%sensitive_valu" - + "e_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_" - + "size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.goog" - + "le.privacy.dlp.v2.AnalyzeDataSourceRiskD" - + "etails.LDiversityResult.LDiversityEquiva" - + "lenceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225" - + "\004\n\024KMapEstimationResult\022\212\001\n\032k_map_estima" - + "tion_histogram\030\001 \003(\0132f.google.privacy.dl" + + "InfoTypeStats\"\220\001\n\023InfoTypeDescription\022\014\n" + + "\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014sup" + + "ported_by\030\003 \003(\0162*.google.privacy.dlp.v2." + + "InfoTypeSupportedBy\022\023\n\013description\030\004 \001(\t" + + "\"=\n\024ListInfoTypesRequest\022\025\n\rlanguage_cod" + + "e\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\"W\n\025ListInfoTypes" + + "Response\022>\n\ninfo_types\030\001 \003(\0132*.google.pr" + + "ivacy.dlp.v2.InfoTypeDescription\"\301\001\n\025Ris" + + "kAnalysisJobConfig\022<\n\016privacy_metric\030\001 \001" + + "(\0132$.google.privacy.dlp.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.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\"\257\002\n\020StatisticalTable\0223\n\005t" + + "able\030\003 \001(\0132$.google.privacy.dlp.v2.BigQu" + + "eryTable\022O\n\tquasi_ids\030\001 \003(\0132<.google.pri" + + "vacy.dlp.v2.StatisticalTable.QuasiIdenti" + + "fierField\022:\n\022relative_frequency\030\002 \001(\0132\036." + + "google.privacy.dlp.v2.FieldId\032Y\n\024QuasiId" + + "entifierField\022-\n\005field\030\001 \001(\0132\036.google.pr" + + "ivacy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t" + + "\"\365\016\n\rPrivacyMetric\022[\n\026numerical_stats_co" + + "nfig\030\001 \001(\01329.google.privacy.dlp.v2.Priva" + + "cyMetric.NumericalStatsConfigH\000\022_\n\030categ" + + "orical_stats_config\030\002 \001(\0132;.google.priva" + + "cy.dlp.v2.PrivacyMetric.CategoricalStats" + + "ConfigH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.g" + + "oogle.privacy.dlp.v2.PrivacyMetric.KAnon" + + "ymityConfigH\000\022S\n\022l_diversity_config\030\004 \001(" + + "\01325.google.privacy.dlp.v2.PrivacyMetric." + + "LDiversityConfigH\000\022\\\n\027k_map_estimation_c" + + "onfig\030\005 \001(\01329.google.privacy.dlp.v2.Priv" + + "acyMetric.KMapEstimationConfigH\000\022n\n delt" + + "a_presence_estimation_config\030\006 \001(\0132B.goo" + + "gle.privacy.dlp.v2.PrivacyMetric.DeltaPr" + + "esenceEstimationConfigH\000\032E\n\024NumericalSta" + + "tsConfig\022-\n\005field\030\001 \001(\0132\036.google.privacy" + + ".dlp.v2.FieldId\032G\n\026CategoricalStatsConfi" + + "g\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldId\032y\n\020KAnonymityConfig\0221\n\tquasi_id" + + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022" + + "2\n\tentity_id\030\002 \001(\0132\037.google.privacy.dlp." + + "v2.EntityId\032\202\001\n\020LDiversityConfig\0221\n\tquas" + + "i_ids\030\001 \003(\0132\036.google.privacy.dlp.v2.Fiel" + + "dId\022;\n\023sensitive_attribute\030\002 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldId\032\350\005\n\024KMapEstimat" + + "ionConfig\022X\n\tquasi_ids\030\001 \003(\0132E.google.pr" + + "ivacy.dlp.v2.PrivacyMetric.KMapEstimatio" + + "nConfig.TaggedField\022\023\n\013region_code\030\002 \001(\t" + + "\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.priv" + + "acy.dlp.v2.PrivacyMetric.KMapEstimationC" + + "onfig.AuxiliaryTable\032\273\001\n\013TaggedField\022-\n\005" + + "field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" + + "dId\0224\n\tinfo_type\030\002 \001(\0132\037.google.privacy." + + "dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 \001(\tH\000\022" + + "*\n\010inferred\030\004 \001(\0132\026.google.protobuf.Empt" + + "yH\000B\005\n\003tag\032\276\002\n\016AuxiliaryTable\0223\n\005table\030\003" + + " \001(\0132$.google.privacy.dlp.v2.BigQueryTab" + + "le\022h\n\tquasi_ids\030\001 \003(\0132U.google.privacy.d" + + "lp.v2.PrivacyMetric.KMapEstimationConfig" + + ".AuxiliaryTable.QuasiIdField\022:\n\022relative" + + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldId\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(\0132" + + "\036.google.privacy.dlp.v2.FieldId\022\022\n\ncusto" + + "m_tag\030\002 \001(\t\032\252\001\n\035DeltaPresenceEstimationC" + + "onfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.privac" + + "y.dlp.v2.QuasiId\022\023\n\013region_code\030\002 \001(\t\022A\n" + + "\020auxiliary_tables\030\003 \003(\0132\'.google.privacy" + + ".dlp.v2.StatisticalTableB\006\n\004type\"\362\035\n\034Ana" + + "lyzeDataSourceRiskDetails\022F\n\030requested_p" + + "rivacy_metric\030\001 \001(\0132$.google.privacy.dlp" + + ".v2.PrivacyMetric\022D\n\026requested_source_ta" + + "ble\030\002 \001(\0132$.google.privacy.dlp.v2.BigQue" + + "ryTable\022j\n\026numerical_stats_result\030\003 \001(\0132" + + "H.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.NumericalStatsResultH\000\022n\n\030c" + + "ategorical_stats_result\030\004 \001(\0132J.google.p" + + "rivacy.dlp.v2.AnalyzeDataSourceRiskDetai" + + "ls.CategoricalStatsResultH\000\022b\n\022k_anonymi" + + "ty_result\030\005 \001(\0132D.google.privacy.dlp.v2." + + "AnalyzeDataSourceRiskDetails.KAnonymityR" + + "esultH\000\022b\n\022l_diversity_result\030\006 \001(\0132D.go" + + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + + "kDetails.LDiversityResultH\000\022k\n\027k_map_est" + + "imation_result\030\007 \001(\0132H.google.privacy.dl" + "p.v2.AnalyzeDataSourceRiskDetails.KMapEs" - + "timationResult.KMapEstimationHistogramBu" - + "cket\032r\n\033KMapEstimationQuasiIdValues\0226\n\020q" - + "uasi_ids_values\030\001 \003(\0132\034.google.privacy.d" - + "lp.v2.Value\022\033\n\023estimated_anonymity\030\002 \001(\003" - + "\032\373\001\n\035KMapEstimationHistogramBucket\022\025\n\rmi" - + "n_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.AnalyzeData" - + "SourceRiskDetails.KMapEstimationResult.K" - + "MapEstimationQuasiIdValues\022\032\n\022bucket_val" - + "ue_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimati" - + "onResult\022\245\001\n#delta_presence_estimation_h" - + "istogram\030\001 \003(\0132x.google.privacy.dlp.v2.A" - + "nalyzeDataSourceRiskDetails.DeltaPresenc" - + "eEstimationResult.DeltaPresenceEstimatio" - + "nHistogramBucket\032}\n$DeltaPresenceEstimat" - + "ionQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003" - + "(\0132\034.google.privacy.dlp.v2.Value\022\035\n\025esti" - + "mated_probability\030\002 \001(\001\032\233\002\n&DeltaPresenc" - + "eEstimationHistogramBucket\022\027\n\017min_probab" - + "ility\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013" - + "bucket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(" - + "\0132v.google.privacy.dlp.v2.AnalyzeDataSou" - + "rceRiskDetails.DeltaPresenceEstimationRe" - + "sult.DeltaPresenceEstimationQuasiIdValue" - + "s\022\032\n\022bucket_value_count\030\007 \001(\003B\010\n\006result\"" - + "L\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.googl" - + "e.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\013floa" - + "t_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_va" - + "lue\030\005 \001(\0132\032.google.protobuf.TimestampH\000\022" - + ",\n\ntime_value\030\006 \001(\0132\026.google.type.TimeOf" - + "DayH\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.goog" - + "le.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInfo" - + "\0224\n\tdate_time\030\002 \001(\0132\037.google.privacy.dlp" - + ".v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010DateT" - + "ime\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n\013" - + "day_of_week\030\002 \001(\0162\026.google.type.DayOfWee" - + "k\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\016offs" - + "et_minutes\030\001 \001(\005\"\311\001\n\020DeidentifyConfig\022S\n" - + "\031info_type_transformations\030\001 \001(\0132..googl" - + "e.privacy.dlp.v2.InfoTypeTransformations" - + "H\000\022N\n\026record_transformations\030\002 \001(\0132,.goo" - + "gle.privacy.dlp.v2.RecordTransformations" - + "H\000B\020\n\016transformation\"\234\006\n\027PrimitiveTransf" - + "ormation\022C\n\016replace_config\030\001 \001(\0132).googl" - + "e.privacy.dlp.v2.ReplaceValueConfigH\000\022<\n" - + "\rredact_config\030\002 \001(\0132#.google.privacy.dl" - + "p.v2.RedactConfigH\000\022K\n\025character_mask_co" - + "nfig\030\003 \001(\0132*.google.privacy.dlp.v2.Chara" - + "cterMaskConfigH\000\022Y\n\035crypto_replace_ffx_f" - + "pe_config\030\004 \001(\01320.google.privacy.dlp.v2." - + "CryptoReplaceFfxFpeConfigH\000\022V\n\033fixed_siz" - + "e_bucketing_config\030\005 \001(\0132/.google.privac" - + "y.dlp.v2.FixedSizeBucketingConfigH\000\022B\n\020b" - + "ucketing_config\030\006 \001(\0132&.google.privacy.d" - + "lp.v2.BucketingConfigH\000\022Y\n\035replace_with_" - + "info_type_config\030\007 \001(\01320.google.privacy." - + "dlp.v2.ReplaceWithInfoTypeConfigH\000\022A\n\020ti" - + "me_part_config\030\010 \001(\0132%.google.privacy.dl" - + "p.v2.TimePartConfigH\000\022E\n\022crypto_hash_con" - + "fig\030\t \001(\0132\'.google.privacy.dlp.v2.Crypto" - + "HashConfigH\000\022C\n\021date_shift_config\030\013 \001(\0132" - + "&.google.privacy.dlp.v2.DateShiftConfigH" - + "\000B\020\n\016transformation\"\334\001\n\016TimePartConfig\022G" - + "\n\017part_to_extract\030\001 \001(\0162..google.privacy" - + ".dlp.v2.TimePartConfig.TimePart\"\200\001\n\010Time" - + "Part\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\013HOUR_OF_DAY" - + "\020\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030\001 \001" - + "(\0132 .google.privacy.dlp.v2.CryptoKey\"E\n\022" - + "ReplaceValueConfig\022/\n\tnew_value\030\001 \001(\0132\034." - + "google.privacy.dlp.v2.Value\"\033\n\031ReplaceWi" - + "thInfoTypeConfig\"\016\n\014RedactConfig\"\266\002\n\rCha" - + "rsToIgnore\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.Comm" - + "onCharsToIgnoreH\000\"\227\001\n\023CommonCharsToIgnor" - + "e\022&\n\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\020" - + "\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020" - + "ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nW" - + "HITESPACE\020\005B\014\n\ncharacters\"\243\001\n\023CharacterM" - + "askConfig\022\031\n\021masking_character\030\001 \001(\t\022\026\n\016" - + "number_to_mask\030\002 \001(\005\022\025\n\rreverse_order\030\003 " - + "\001(\010\022B\n\024characters_to_ignore\030\004 \003(\0132$.goog" - + "le.privacy.dlp.v2.CharsToIgnore\"\225\001\n\030Fixe" - + "dSizeBucketingConfig\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.Val" - + "ue\022\023\n\013bucket_size\030\003 \001(\001\"\353\001\n\017BucketingCon" - + "fig\022>\n\007buckets\030\001 \003(\0132-.google.privacy.dl" - + "p.v2.BucketingConfig.Bucket\032\227\001\n\006Bucket\022)" - + "\n\003min\030\001 \001(\0132\034.google.privacy.dlp.v2.Valu" - + "e\022)\n\003max\030\002 \001(\0132\034.google.privacy.dlp.v2.V" - + "alue\0227\n\021replacement_value\030\003 \001(\0132\034.google" - + ".privacy.dlp.v2.Value\"\364\003\n\031CryptoReplaceF", - "fxFpeConfig\0224\n\ncrypto_key\030\001 \001(\0132 .google" - + ".privacy.dlp.v2.CryptoKey\022/\n\007context\030\002 \001" - + "(\0132\036.google.privacy.dlp.v2.FieldId\022c\n\017co" - + "mmon_alphabet\030\004 \001(\0162H.google.privacy.dlp" - + ".v2.CryptoReplaceFfxFpeConfig.FfxCommonN" - + "ativeAlphabetH\000\022\031\n\017custom_alphabet\030\005 \001(\t" - + "H\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_info_ty" - + "pe\030\010 \001(\0132\037.google.privacy.dlp.v2.InfoTyp" - + "e\"\224\001\n\027FfxCommonNativeAlphabet\022*\n&FFX_COM" - + "MON_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013\n\007NUM" - + "ERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CASE_AL" - + "PHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n\010alph" - + "abet\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001(\0132)." - + "google.privacy.dlp.v2.TransientCryptoKey" - + "H\000\022>\n\tunwrapped\030\002 \001(\0132).google.privacy.d" - + "lp.v2.UnwrappedCryptoKeyH\000\022A\n\013kms_wrappe" - + "d\030\003 \001(\0132*.google.privacy.dlp.v2.KmsWrapp" - + "edCryptoKeyH\000B\010\n\006source\"\"\n\022TransientCryp" - + "toKey\022\014\n\004name\030\001 \001(\t\"!\n\022UnwrappedCryptoKe" - + "y\022\013\n\003key\030\001 \001(\014\"C\n\023KmsWrappedCryptoKey\022\023\n" - + "\013wrapped_key\030\001 \001(\014\022\027\n\017crypto_key_name\030\002 " - + "\001(\t\"\270\001\n\017DateShiftConfig\022\030\n\020upper_bound_d" - + "ays\030\001 \001(\005\022\030\n\020lower_bound_days\030\002 \001(\005\022/\n\007c" - + "ontext\030\003 \001(\0132\036.google.privacy.dlp.v2.Fie" - + "ldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.privac" - + "y.dlp.v2.CryptoKeyH\000B\010\n\006method\"\233\002\n\027InfoT" - + "ypeTransformations\022^\n\017transformations\030\001 " - + "\003(\0132E.google.privacy.dlp.v2.InfoTypeTran" - + "sformations.InfoTypeTransformation\032\237\001\n\026I" - + "nfoTypeTransformation\0223\n\ninfo_types\030\001 \003(" - + "\0132\037.google.privacy.dlp.v2.InfoType\022P\n\030pr" - + "imitive_transformation\030\002 \001(\0132..google.pr" - + "ivacy.dlp.v2.PrimitiveTransformation\"\273\002\n" - + "\023FieldTransformation\022.\n\006fields\030\001 \003(\0132\036.g" - + "oogle.privacy.dlp.v2.FieldId\0229\n\tconditio" - + "n\030\003 \001(\0132&.google.privacy.dlp.v2.RecordCo" - + "ndition\022R\n\030primitive_transformation\030\004 \001(" - + "\0132..google.privacy.dlp.v2.PrimitiveTrans" - + "formationH\000\022S\n\031info_type_transformations" - + "\030\005 \001(\0132..google.privacy.dlp.v2.InfoTypeT" - + "ransformationsH\000B\020\n\016transformation\"\251\001\n\025R" - + "ecordTransformations\022I\n\025field_transforma" - + "tions\030\001 \003(\0132*.google.privacy.dlp.v2.Fiel" - + "dTransformation\022E\n\023record_suppressions\030\002" - + " \003(\0132(.google.privacy.dlp.v2.RecordSuppr" - + "ession\"N\n\021RecordSuppression\0229\n\tcondition" - + "\030\001 \001(\0132&.google.privacy.dlp.v2.RecordCon" - + "dition\"\322\004\n\017RecordCondition\022G\n\013expression" - + "s\030\003 \001(\01322.google.privacy.dlp.v2.RecordCo" - + "ndition.Expressions\032\244\001\n\tCondition\022-\n\005fie" - + "ld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId" - + "\022;\n\010operator\030\003 \001(\0162).google.privacy.dlp." - + "v2.RelationalOperator\022+\n\005value\030\004 \001(\0132\034.g" - + "oogle.privacy.dlp.v2.Value\032R\n\nConditions" - + "\022D\n\nconditions\030\001 \003(\01320.google.privacy.dl" - + "p.v2.RecordCondition.Condition\032\372\001\n\013Expre" - + "ssions\022\\\n\020logical_operator\030\001 \001(\0162B.googl" - + "e.privacy.dlp.v2.RecordCondition.Express" - + "ions.LogicalOperator\022G\n\nconditions\030\003 \001(\013" - + "21.google.privacy.dlp.v2.RecordCondition" - + ".ConditionsH\000\"<\n\017LogicalOperator\022 \n\034LOGI" - + "CAL_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004t" - + "ype\"\203\001\n\026TransformationOverview\022\031\n\021transf" - + "ormed_bytes\030\002 \001(\003\022N\n\030transformation_summ" - + "aries\030\003 \003(\0132,.google.privacy.dlp.v2.Tran" - + "sformationSummary\"\237\005\n\025TransformationSumm" - + "ary\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy." - + "dlp.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.google." - + "privacy.dlp.v2.FieldId\022F\n\016transformation" - + "\030\003 \001(\0132..google.privacy.dlp.v2.Primitive" - + "Transformation\022I\n\025field_transformations\030" - + "\005 \003(\0132*.google.privacy.dlp.v2.FieldTrans" - + "formation\022A\n\017record_suppress\030\006 \001(\0132(.goo" - + "gle.privacy.dlp.v2.RecordSuppression\022K\n\007" - + "results\030\004 \003(\0132:.google.privacy.dlp.v2.Tr" - + "ansformationSummary.SummaryResult\022\031\n\021tra" - + "nsformed_bytes\030\007 \001(\003\032\204\001\n\rSummaryResult\022\r" - + "\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.google.pri" - + "vacy.dlp.v2.TransformationSummary.Transf" - + "ormationResultCode\022\017\n\007details\030\003 \001(\t\"^\n\030T" - + "ransformationResultCode\022*\n&TRANSFORMATIO" - + "N_RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001" - + "\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurrence_pe" - + "riod_duration\030\001 \001(\0132\031.google.protobuf.Du" - + "rationH\000B\010\n\006option\"\352\001\n\017InspectTemplate\022\014" - + "\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013de" - + "scription\030\003 \001(\t\022/\n\013create_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\022<\n\016ins" - + "pect_config\030\006 \001(\0132$.google.privacy.dlp.v" - + "2.InspectConfig\"\363\001\n\022DeidentifyTemplate\022\014" - + "\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013de" - + "scription\030\003 \001(\t\022/\n\013create_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.Timestamp\022B\n\021dei" - + "dentify_config\030\006 \001(\0132\'.google.privacy.dl" - + "p.v2.DeidentifyConfig\"\\\n\005Error\022#\n\007detail" - + "s\030\001 \001(\0132\022.google.rpc.Status\022.\n\ntimestamp" - + "s\030\002 \003(\0132\032.google.protobuf.Timestamp\"\333\004\n\n" - + "JobTrigger\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\013inspect_j" - + "ob\030\004 \001(\0132\'.google.privacy.dlp.v2.Inspect" - + "JobConfigH\000\022;\n\010triggers\030\005 \003(\0132).google.p" - + "rivacy.dlp.v2.JobTrigger.Trigger\022,\n\006erro" - + "rs\030\006 \003(\0132\034.google.privacy.dlp.v2.Error\022/" - + "\n\013create_time\030\007 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022/\n\013update_time\030\010 \001(\0132\032.google.pr" - + "otobuf.Timestamp\0221\n\rlast_run_time\030\t \001(\0132" - + "\032.google.protobuf.Timestamp\0228\n\006status\030\n " - + "\001(\0162(.google.privacy.dlp.v2.JobTrigger.S" - + "tatus\032I\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037.goo" - + "gle.privacy.dlp.v2.ScheduleH\000B\t\n\007trigger" - + "\"H\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HE" - + "ALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANCELLED\020\003B\005\n\003jo" - + "b\"\375\002\n\006Action\022C\n\rsave_findings\030\001 \001(\0132*.go" - + "ogle.privacy.dlp.v2.Action.SaveFindingsH" - + "\000\022@\n\007pub_sub\030\002 \001(\0132-.google.privacy.dlp." - + "v2.Action.PublishToPubSubH\000\022U\n\027publish_s" - + "ummary_to_cscc\030\003 \001(\01322.google.privacy.dl" - + "p.v2.Action.PublishSummaryToCsccH\000\032Q\n\014Sa" - + "veFindings\022A\n\routput_config\030\001 \001(\0132*.goog" - + "le.privacy.dlp.v2.OutputStorageConfig\032 \n" - + "\017PublishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024Publi" - + "shSummaryToCsccB\010\n\006action\"\205\001\n\034CreateInsp" - + "ectTemplateRequest\022\016\n\006parent\030\001 \001(\t\022@\n\020in" - + "spect_template\030\002 \001(\0132&.google.privacy.dl" - + "p.v2.InspectTemplate\022\023\n\013template_id\030\003 \001(" - + "\t\"\237\001\n\034UpdateInspectTemplateRequest\022\014\n\004na" - + "me\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\0132&.goo" - + "gle.privacy.dlp.v2.InspectTemplate\022/\n\013up" - + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" - + "ask\")\n\031GetInspectTemplateRequest\022\014\n\004name" - + "\030\001 \001(\t\"f\n\033ListInspectTemplatesRequest\022\016\n" - + "\006parent\030\001 \001(\t\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\"z\n\034ListIn" - + "spectTemplatesResponse\022A\n\021inspect_templa" - + "tes\030\001 \003(\0132&.google.privacy.dlp.v2.Inspec" - + "tTemplate\022\027\n\017next_page_token\030\002 \001(\t\",\n\034De" - + "leteInspectTemplateRequest\022\014\n\004name\030\001 \001(\t" - + "\"u\n\027CreateJobTriggerRequest\022\016\n\006parent\030\001 " - + "\001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google.privac" - + "y.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030\003 \001(\t\"" - + "\220\001\n\027UpdateJobTriggerRequest\022\014\n\004name\030\001 \001(" - + "\t\0226\n\013job_trigger\030\002 \001(\0132!.google.privacy." - + "dlp.v2.JobTrigger\022/\n\013update_mask\030\003 \001(\0132\032" - + ".google.protobuf.FieldMask\"$\n\024GetJobTrig" - + "gerRequest\022\014\n\004name\030\001 \001(\t\"\276\001\n\023CreateDlpJo" - + "bRequest\022\016\n\006parent\030\001 \001(\t\022>\n\013inspect_job\030" - + "\002 \001(\0132\'.google.privacy.dlp.v2.InspectJob" - + "ConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.google.priv" - + "acy.dlp.v2.RiskAnalysisJobConfigH\000\022\016\n\006jo" - + "b_id\030\004 \001(\tB\005\n\003job\"a\n\026ListJobTriggersRequ" - + "est\022\016\n\006parent\030\001 \001(\t\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\"k\n\027" - + "ListJobTriggersResponse\0227\n\014job_triggers\030" - + "\001 \003(\0132!.google.privacy.dlp.v2.JobTrigger" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\'\n\027DeleteJobTr" - + "iggerRequest\022\014\n\004name\030\001 \001(\t\"\335\001\n\020InspectJo" - + "bConfig\022<\n\016storage_config\030\001 \001(\0132$.google" - + ".privacy.dlp.v2.StorageConfig\022<\n\016inspect" - + "_config\030\002 \001(\0132$.google.privacy.dlp.v2.In" - + "spectConfig\022\035\n\025inspect_template_name\030\003 \001" - + "(\t\022.\n\007actions\030\004 \003(\0132\035.google.privacy.dlp" - + ".v2.Action\"\336\004\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004t" - + "ype\030\002 \001(\0162!.google.privacy.dlp.v2.DlpJob" - + "Type\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.AnalyzeDataSou" - + "rceRiskDetailsH\000\022J\n\017inspect_details\030\005 \001(" - + "\0132/.google.privacy.dlp.v2.InspectDataSou" - + "rceDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022.\n\nstart_time\030\007 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\010 \001(\0132\032.google.protobuf.Timestamp\022\030\n\020j" - + "ob_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034." - + "google.privacy.dlp.v2.Error\"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\010CANCELED\020\004\022\n\n\006" - + "FAILED\020\005B\t\n\007details\" \n\020GetDlpJobRequest\022" - + "\014\n\004name\030\001 \001(\t\"\236\001\n\022ListDlpJobsRequest\022\016\n\006" - + "parent\030\004 \001(\t\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_siz" - + "e\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\010" - + "order_by\030\006 \001(\t\"[\n\023ListDlpJobsResponse\022+\n" - + "\004jobs\030\001 \003(\0132\035.google.privacy.dlp.v2.DlpJ" - + "ob\022\027\n\017next_page_token\030\002 \001(\t\"#\n\023CancelDlp" - + "JobRequest\022\014\n\004name\030\001 \001(\t\"#\n\023DeleteDlpJob" - + "Request\022\014\n\004name\030\001 \001(\t\"\216\001\n\037CreateDeidenti" - + "fyTemplateRequest\022\016\n\006parent\030\001 \001(\t\022F\n\023dei" - + "dentify_template\030\002 \001(\0132).google.privacy." - + "dlp.v2.DeidentifyTemplate\022\023\n\013template_id" - + "\030\003 \001(\t\"\250\001\n\037UpdateDeidentifyTemplateReque" - + "st\022\014\n\004name\030\001 \001(\t\022F\n\023deidentify_template\030" - + "\002 \001(\0132).google.privacy.dlp.v2.Deidentify" - + "Template\022/\n\013update_mask\030\003 \001(\0132\032.google.p" - + "rotobuf.FieldMask\",\n\034GetDeidentifyTempla" - + "teRequest\022\014\n\004name\030\001 \001(\t\"i\n\036ListDeidentif" - + "yTemplatesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npag" - + "e_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010orde" - + "r_by\030\004 \001(\t\"\203\001\n\037ListDeidentifyTemplatesRe" - + "sponse\022G\n\024deidentify_templates\030\001 \003(\0132).g" - + "oogle.privacy.dlp.v2.DeidentifyTemplate\022" - + "\027\n\017next_page_token\030\002 \001(\t\"/\n\037DeleteDeiden" - + "tifyTemplateRequest\022\014\n\004name\030\001 \001(\t\"\364\001\n\033La" - + "rgeCustomDictionaryConfig\022<\n\013output_path" - + "\030\001 \001(\0132\'.google.privacy.dlp.v2.CloudStor" - + "agePath\022L\n\026cloud_storage_file_set\030\002 \001(\0132" - + "*.google.privacy.dlp.v2.CloudStorageFile" - + "SetH\000\022?\n\017big_query_field\030\003 \001(\0132$.google." - + "privacy.dlp.v2.BigQueryFieldH\000B\010\n\006source" - + "\"\240\001\n\024StoredInfoTypeConfig\022\024\n\014display_nam" - + "e\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_cu" - + "stom_dictionary\030\003 \001(\01322.google.privacy.d" - + "lp.v2.LargeCustomDictionaryConfigH\000B\006\n\004t" - + "ype\"\356\001\n\025StoredInfoTypeVersion\022;\n\006config\030" - + "\001 \001(\0132+.google.privacy.dlp.v2.StoredInfo" - + "TypeConfig\022/\n\013create_time\030\002 \001(\0132\032.google" - + ".protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.goo" - + "gle.privacy.dlp.v2.StoredInfoTypeState\022," - + "\n\006errors\030\004 \003(\0132\034.google.privacy.dlp.v2.E" - + "rror\"\255\001\n\016StoredInfoType\022\014\n\004name\030\001 \001(\t\022E\n" - + "\017current_version\030\002 \001(\0132,.google.privacy." - + "dlp.v2.StoredInfoTypeVersion\022F\n\020pending_" - + "versions\030\003 \003(\0132,.google.privacy.dlp.v2.S" - + "toredInfoTypeVersion\"\207\001\n\033CreateStoredInf" - + "oTypeRequest\022\016\n\006parent\030\001 \001(\t\022;\n\006config\030\002" - + " \001(\0132+.google.privacy.dlp.v2.StoredInfoT" - + "ypeConfig\022\033\n\023stored_info_type_id\030\003 \001(\t\"\231" - + "\001\n\033UpdateStoredInfoTypeRequest\022\014\n\004name\030\001" - + " \001(\t\022;\n\006config\030\002 \001(\0132+.google.privacy.dl" - + "p.v2.StoredInfoTypeConfig\022/\n\013update_mask" - + "\030\003 \001(\0132\032.google.protobuf.FieldMask\"(\n\030Ge" - + "tStoredInfoTypeRequest\022\014\n\004name\030\001 \001(\t\"e\n\032" - + "ListStoredInfoTypesRequest\022\016\n\006parent\030\001 \001" - + "(\t\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\033ListStoredInfoTyp" - + "esResponse\022@\n\021stored_info_types\030\001 \003(\0132%." - + "google.privacy.dlp.v2.StoredInfoType\022\027\n\017" - + "next_page_token\030\002 \001(\t\"+\n\033DeleteStoredInf" - + "oTypeRequest\022\014\n\004name\030\001 \001(\t*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\251+" - + "\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" - + "dentifyTemplates/*}Z-*+/v2/{name=project" - + "s/*/deidentifyTemplates/*}\022\225\001\n\020CreateJob" - + "Trigger\022..google.privacy.dlp.v2.CreateJo" - + "bTriggerRequest\032!.google.privacy.dlp.v2." - + "JobTrigger\".\202\323\344\223\002(\"#/v2/{parent=projects" - + "/*}/jobTriggers:\001*\022\225\001\n\020UpdateJobTrigger\022" - + "..google.privacy.dlp.v2.UpdateJobTrigger" - + "Request\032!.google.privacy.dlp.v2.JobTrigg" - + "er\".\202\323\344\223\002(2#/v2/{name=projects/*/jobTrig" - + "gers/*}:\001*\022\214\001\n\rGetJobTrigger\022+.google.pr" - + "ivacy.dlp.v2.GetJobTriggerRequest\032!.goog" - + "le.privacy.dlp.v2.JobTrigger\"+\202\323\344\223\002%\022#/v" - + "2/{name=projects/*/jobTriggers/*}\022\235\001\n\017Li" - + "stJobTriggers\022-.google.privacy.dlp.v2.Li" - + "stJobTriggersRequest\032..google.privacy.dl" - + "p.v2.ListJobTriggersResponse\"+\202\323\344\223\002%\022#/v" - + "2/{parent=projects/*}/jobTriggers\022\207\001\n\020De" - + "leteJobTrigger\022..google.privacy.dlp.v2.D" - + "eleteJobTriggerRequest\032\026.google.protobuf" - + ".Empty\"+\202\323\344\223\002%*#/v2/{name=projects/*/job" - + "Triggers/*}\022\205\001\n\014CreateDlpJob\022*.google.pr" - + "ivacy.dlp.v2.CreateDlpJobRequest\032\035.googl" - + "e.privacy.dlp.v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{pa" - + "rent=projects/*}/dlpJobs:\001*\022\215\001\n\013ListDlpJ" - + "obs\022).google.privacy.dlp.v2.ListDlpJobsR" - + "equest\032*.google.privacy.dlp.v2.ListDlpJo" - + "bsResponse\"\'\202\323\344\223\002!\022\037/v2/{parent=projects" - + "/*}/dlpJobs\022|\n\tGetDlpJob\022\'.google.privac" - + "y.dlp.v2.GetDlpJobRequest\032\035.google.priva" - + "cy.dlp.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=proj" - + "ects/*/dlpJobs/*}\022{\n\014DeleteDlpJob\022*.goog" - + "le.privacy.dlp.v2.DeleteDlpJobRequest\032\026." - + "google.protobuf.Empty\"\'\202\323\344\223\002!*\037/v2/{name" - + "=projects/*/dlpJobs/*}\022\205\001\n\014CancelDlpJob\022" - + "*.google.privacy.dlp.v2.CancelDlpJobRequ" - + "est\032\026.google.protobuf.Empty\"1\202\323\344\223\002+\"&/v2" - + "/{name=projects/*/dlpJobs/*}:cancel:\001*\022\330" - + "\001\n\024CreateStoredInfoType\0222.google.privacy" - + ".dlp.v2.CreateStoredInfoTypeRequest\032%.go" - + "ogle.privacy.dlp.v2.StoredInfoType\"e\202\323\344\223" - + "\002_\",/v2/{parent=organizations/*}/storedI" - + "nfoTypes:\001*Z,\"\'/v2/{parent=projects/*}/s" - + "toredInfoTypes:\001*\022\330\001\n\024UpdateStoredInfoTy" - + "pe\0222.google.privacy.dlp.v2.UpdateStoredI" - + "nfoTypeRequest\032%.google.privacy.dlp.v2.S" - + "toredInfoType\"e\202\323\344\223\002_2,/v2/{name=organiz" - + "ations/*/storedInfoTypes/*}:\001*Z,2\'/v2/{n" - + "ame=projects/*/storedInfoTypes/*}:\001*\022\314\001\n" - + "\021GetStoredInfoType\022/.google.privacy.dlp." - + "v2.GetStoredInfoTypeRequest\032%.google.pri" - + "vacy.dlp.v2.StoredInfoType\"_\202\323\344\223\002Y\022,/v2/" - + "{name=organizations/*/storedInfoTypes/*}" - + "Z)\022\'/v2/{name=projects/*/storedInfoTypes" - + "/*}\022\335\001\n\023ListStoredInfoTypes\0221.google.pri" - + "vacy.dlp.v2.ListStoredInfoTypesRequest\0322" - + ".google.privacy.dlp.v2.ListStoredInfoTyp" - + "esResponse\"_\202\323\344\223\002Y\022,/v2/{parent=organiza" - + "tions/*}/storedInfoTypesZ)\022\'/v2/{parent=" - + "projects/*}/storedInfoTypes\022\303\001\n\024DeleteSt" - + "oredInfoType\0222.google.privacy.dlp.v2.Del" - + "eteStoredInfoTypeRequest\032\026.google.protob" - + "uf.Empty\"_\202\323\344\223\002Y*,/v2/{name=organization" - + "s/*/storedInfoTypes/*}Z)*\'/v2/{name=proj" - + "ects/*/storedInfoTypes/*}B\215\001\n\031com.google" - + ".privacy.dlp.v2B\010DlpProtoP\001Z8google.gola" - + "ng.org/genproto/googleapis/privacy/dlp/v" - + "2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Clo" - + "ud\\Dlp\\V2b\006proto3" + + "timationResultH\000\022}\n delta_presence_estim" + + "ation_result\030\t \001(\0132Q.google.privacy.dlp." + + "v2.AnalyzeDataSourceRiskDetails.DeltaPre" + + "senceEstimationResultH\000\032\257\001\n\024NumericalSta" + + "tsResult\022/\n\tmin_value\030\001 \001(\0132\034.google.pri" + + "vacy.dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.g" + + "oogle.privacy.dlp.v2.Value\0225\n\017quantile_v" + + "alues\030\004 \003(\0132\034.google.privacy.dlp.v2.Valu" + + "e\032\215\003\n\026CategoricalStatsResult\022\225\001\n!value_f" + + "requency_histogram_buckets\030\005 \003(\0132j.googl" + + "e.privacy.dlp.v2.AnalyzeDataSourceRiskDe" + + "tails.CategoricalStatsResult.Categorical" + + "StatsHistogramBucket\032\332\001\n\037CategoricalStat" + + "sHistogramBucket\022#\n\033value_frequency_lowe" + + "r_bound\030\001 \001(\003\022#\n\033value_frequency_upper_b" + + "ound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucke" + + "t_values\030\004 \003(\0132%.google.privacy.dlp.v2.V" + + "alueFrequency\022\032\n\022bucket_value_count\030\005 \001(" + + "\003\032\265\004\n\020KAnonymityResult\022\213\001\n#equivalence_c" + + "lass_histogram_buckets\030\005 \003(\0132^.google.pr" + + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + + "s.KAnonymityResult.KAnonymityHistogramBu" + + "cket\032t\n\032KAnonymityEquivalenceClass\0226\n\020qu" + + "asi_ids_values\030\001 \003(\0132\034.google.privacy.dl" + + "p.v2.Value\022\036\n\026equivalence_class_size\030\002 \001" + + "(\003\032\234\002\n\031KAnonymityHistogramBucket\022*\n\"equi" + + "valence_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_values\030\004" + + " \003(\0132_.google.privacy.dlp.v2.AnalyzeData" + + "SourceRiskDetails.KAnonymityResult.KAnon" + + "ymityEquivalenceClass\022\032\n\022bucket_value_co" + + "unt\030\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensi" + + "tive_value_frequency_histogram_buckets\030\005" + + " \003(\0132^.google.privacy.dlp.v2.AnalyzeData" + + "SourceRiskDetails.LDiversityResult.LDive" + + "rsityHistogramBucket\032\340\001\n\032LDiversityEquiv" + + "alenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034." + + "google.privacy.dlp.v2.Value\022\036\n\026equivalen" + + "ce_class_size\030\002 \001(\003\022%\n\035num_distinct_sens" + + "itive_values\030\003 \001(\003\022C\n\024top_sensitive_valu" + + "es\030\004 \003(\0132%.google.privacy.dlp.v2.ValueFr" + + "equency\032\242\002\n\031LDiversityHistogramBucket\022-\n" + + "%sensitive_value_frequency_lower_bound\030\001" + + " \001(\003\022-\n%sensitive_value_frequency_upper_" + + "bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbuck" + + "et_values\030\004 \003(\0132_.google.privacy.dlp.v2." + + "AnalyzeDataSourceRiskDetails.LDiversityR" + + "esult.LDiversityEquivalenceClass\022\032\n\022buck" + + "et_value_count\030\005 \001(\003\032\225\004\n\024KMapEstimationR" + + "esult\022\212\001\n\032k_map_estimation_histogram\030\001 \003" + + "(\0132f.google.privacy.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.KMapEstimationResult.KMa" + + "pEstimationHistogramBucket\032r\n\033KMapEstima" + + "tionQuasiIdValues\0226\n\020quasi_ids_values\030\001 " + + "\003(\0132\034.google.privacy.dlp.v2.Value\022\033\n\023est" + + "imated_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimatio" + + "nHistogramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022" + + "\025\n\rmax_anonymity\030\002 \001(\003\022\023\n\013bucket_size\030\005 " + + "\001(\003\022{\n\rbucket_values\030\006 \003(\0132d.google.priv" + + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." + + "KMapEstimationResult.KMapEstimationQuasi" + + "IdValues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n" + + "\035DeltaPresenceEstimationResult\022\245\001\n#delta" + + "_presence_estimation_histogram\030\001 \003(\0132x.g" + + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" + + "skDetails.DeltaPresenceEstimationResult." + + "DeltaPresenceEstimationHistogramBucket\032}" + + "\n$DeltaPresenceEstimationQuasiIdValues\0226" + + "\n\020quasi_ids_values\030\001 \003(\0132\034.google.privac" + + "y.dlp.v2.Value\022\035\n\025estimated_probability\030" + + "\002 \001(\001\032\233\002\n&DeltaPresenceEstimationHistogr" + + "amBucket\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.privacy" + + ".dlp.v2.AnalyzeDataSourceRiskDetails.Del" + + "taPresenceEstimationResult.DeltaPresence" + + "EstimationQuasiIdValues\022\032\n\022bucket_value_" + + "count\030\007 \001(\003B\010\n\006result\"L\n\016ValueFrequency\022" + + "+\n\005value\030\001 \001(\0132\034.google.privacy.dlp.v2.V" + + "alue\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\013float_value\030\002 \001(\001H\000\022\026\n" + + "\014string_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004" + + " \001(\010H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.google" + + ".protobuf.TimestampH\000\022,\n\ntime_value\030\006 \001(" + + "\0132\026.google.type.TimeOfDayH\000\022\'\n\ndate_valu" + + "e\030\007 \001(\0132\021.google.type.DateH\000\0223\n\021day_of_w" + + "eek_value\030\010 \001(\0162\026.google.type.DayOfWeekH" + + "\000B\006\n\004type\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(" + + "\0132\037.google.privacy.dlp.v2.DateTimeH\000B\016\n\014" + + "parsed_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(\013" + + "2(.google.privacy.dlp.v2.DateTime.TimeZo" + + "ne\032\"\n\010TimeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\311" + + "\001\n\020DeidentifyConfig\022S\n\031info_type_transfo" + + "rmations\030\001 \001(\0132..google.privacy.dlp.v2.I" + + "nfoTypeTransformationsH\000\022N\n\026record_trans" + + "formations\030\002 \001(\0132,.google.privacy.dlp.v2" + + ".RecordTransformationsH\000B\020\n\016transformati" + + "on\"\234\006\n\027PrimitiveTransformation\022C\n\016replac" + + "e_config\030\001 \001(\0132).google.privacy.dlp.v2.R" + + "eplaceValueConfigH\000\022<\n\rredact_config\030\002 \001" + + "(\0132#.google.privacy.dlp.v2.RedactConfigH" + + "\000\022K\n\025character_mask_config\030\003 \001(\0132*.googl" + + "e.privacy.dlp.v2.CharacterMaskConfigH\000\022Y" + + "\n\035crypto_replace_ffx_fpe_config\030\004 \001(\01320." + + "google.privacy.dlp.v2.CryptoReplaceFfxFp" + + "eConfigH\000\022V\n\033fixed_size_bucketing_config" + + "\030\005 \001(\0132/.google.privacy.dlp.v2.FixedSize" + + "BucketingConfigH\000\022B\n\020bucketing_config\030\006 " + + "\001(\0132&.google.privacy.dlp.v2.BucketingCon" + + "figH\000\022Y\n\035replace_with_info_type_config\030\007" + + " \001(\01320.google.privacy.dlp.v2.ReplaceWith" + + "InfoTypeConfigH\000\022A\n\020time_part_config\030\010 \001" + + "(\0132%.google.privacy.dlp.v2.TimePartConfi" + + "gH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.google" + + ".privacy.dlp.v2.CryptoHashConfigH\000\022C\n\021da" + + "te_shift_config\030\013 \001(\0132&.google.privacy.d" + + "lp.v2.DateShiftConfigH\000B\020\n\016transformatio" + + "n\"\334\001\n\016TimePartConfig\022G\n\017part_to_extract\030" + + "\001 \001(\0162..google.privacy.dlp.v2.TimePartCo" + + "nfig.TimePart\"\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\014DA" + + "Y_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\020CryptoHashCo" + + "nfig\0224\n\ncrypto_key\030\001 \001(\0132 .google.privac" + + "y.dlp.v2.CryptoKey\"E\n\022ReplaceValueConfig" + + "\022/\n\tnew_value\030\001 \001(\0132\034.google.privacy.dlp" + + ".v2.Value\"\033\n\031ReplaceWithInfoTypeConfig\"\016" + + "\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022\034\n\022char" + + "acters_to_skip\030\001 \001(\tH\000\022_\n\033common_charact" + + "ers_to_ignore\030\002 \001(\01628.google.privacy.dlp" + + ".v2.CharsToIgnore.CommonCharsToIgnoreH\000\"" + + "\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON_CHARS_" + + "TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020" + + "ALPHA_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\ncha" + + "racters\"\243\001\n\023CharacterMaskConfig\022\031\n\021maski" + + "ng_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\024characters_" + + "to_ignore\030\004 \003(\0132$.google.privacy.dlp.v2." + + "CharsToIgnore\"\225\001\n\030FixedSizeBucketingConf" + + "ig\0221\n\013lower_bound\030\001 \001(\0132\034.google.privacy" + + ".dlp.v2.Value\0221\n\013upper_bound\030\002 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.Value\022\023\n\013bucket_size\030" + + "\003 \001(\001\"\353\001\n\017BucketingConfig\022>\n\007buckets\030\001 \003" + + "(\0132-.google.privacy.dlp.v2.BucketingConf" + + "ig.Bucket\032\227\001\n\006Bucket\022)\n\003min\030\001 \001(\0132\034.goog" + + "le.privacy.dlp.v2.Value\022)\n\003max\030\002 \001(\0132\034.g" + + "oogle.privacy.dlp.v2.Value\0227\n\021replacemen" + + "t_value\030\003 \001(\0132\034.google.privacy.dlp.v2.Va", + "lue\"\364\003\n\031CryptoReplaceFfxFpeConfig\0224\n\ncry" + + "pto_key\030\001 \001(\0132 .google.privacy.dlp.v2.Cr" + + "yptoKey\022/\n\007context\030\002 \001(\0132\036.google.privac" + + "y.dlp.v2.FieldId\022c\n\017common_alphabet\030\004 \001(" + + "\0162H.google.privacy.dlp.v2.CryptoReplaceF" + + "fxFpeConfig.FfxCommonNativeAlphabetH\000\022\031\n" + + "\017custom_alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H" + + "\000\022<\n\023surrogate_info_type\030\010 \001(\0132\037.google." + + "privacy.dlp.v2.InfoType\"\224\001\n\027FfxCommonNat" + + "iveAlphabet\022*\n&FFX_COMMON_NATIVE_ALPHABE" + + "T_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\017\n\013HEXADECI" + + "MAL\020\002\022\034\n\030UPPER_CASE_ALPHA_NUMERIC\020\003\022\021\n\rA" + + "LPHA_NUMERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey" + + "\022>\n\ttransient\030\001 \001(\0132).google.privacy.dlp" + + ".v2.TransientCryptoKeyH\000\022>\n\tunwrapped\030\002 " + + "\001(\0132).google.privacy.dlp.v2.UnwrappedCry" + + "ptoKeyH\000\022A\n\013kms_wrapped\030\003 \001(\0132*.google.p" + + "rivacy.dlp.v2.KmsWrappedCryptoKeyH\000B\010\n\006s" + + "ource\"\"\n\022TransientCryptoKey\022\014\n\004name\030\001 \001(" + + "\t\"!\n\022UnwrappedCryptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023" + + "KmsWrappedCryptoKey\022\023\n\013wrapped_key\030\001 \001(\014" + + "\022\027\n\017crypto_key_name\030\002 \001(\t\"\270\001\n\017DateShiftC" + + "onfig\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.goo" + + "gle.privacy.dlp.v2.FieldId\0226\n\ncrypto_key" + + "\030\004 \001(\0132 .google.privacy.dlp.v2.CryptoKey" + + "H\000B\010\n\006method\"\233\002\n\027InfoTypeTransformations" + + "\022^\n\017transformations\030\001 \003(\0132E.google.priva" + + "cy.dlp.v2.InfoTypeTransformations.InfoTy" + + "peTransformation\032\237\001\n\026InfoTypeTransformat" + + "ion\0223\n\ninfo_types\030\001 \003(\0132\037.google.privacy" + + ".dlp.v2.InfoType\022P\n\030primitive_transforma" + + "tion\030\002 \001(\0132..google.privacy.dlp.v2.Primi" + + "tiveTransformation\"\273\002\n\023FieldTransformati" + + "on\022.\n\006fields\030\001 \003(\0132\036.google.privacy.dlp." + + "v2.FieldId\0229\n\tcondition\030\003 \001(\0132&.google.p" + + "rivacy.dlp.v2.RecordCondition\022R\n\030primiti" + + "ve_transformation\030\004 \001(\0132..google.privacy" + + ".dlp.v2.PrimitiveTransformationH\000\022S\n\031inf" + + "o_type_transformations\030\005 \001(\0132..google.pr" + + "ivacy.dlp.v2.InfoTypeTransformationsH\000B\020" + + "\n\016transformation\"\251\001\n\025RecordTransformatio" + + "ns\022I\n\025field_transformations\030\001 \003(\0132*.goog" + + "le.privacy.dlp.v2.FieldTransformation\022E\n" + + "\023record_suppressions\030\002 \003(\0132(.google.priv" + + "acy.dlp.v2.RecordSuppression\"N\n\021RecordSu" + + "ppression\0229\n\tcondition\030\001 \001(\0132&.google.pr" + + "ivacy.dlp.v2.RecordCondition\"\322\004\n\017RecordC" + + "ondition\022G\n\013expressions\030\003 \001(\01322.google.p" + + "rivacy.dlp.v2.RecordCondition.Expression" + + "s\032\244\001\n\tCondition\022-\n\005field\030\001 \001(\0132\036.google." + + "privacy.dlp.v2.FieldId\022;\n\010operator\030\003 \001(\016" + + "2).google.privacy.dlp.v2.RelationalOpera" + + "tor\022+\n\005value\030\004 \001(\0132\034.google.privacy.dlp." + + "v2.Value\032R\n\nConditions\022D\n\nconditions\030\001 \003" + + "(\01320.google.privacy.dlp.v2.RecordConditi" + + "on.Condition\032\372\001\n\013Expressions\022\\\n\020logical_" + + "operator\030\001 \001(\0162B.google.privacy.dlp.v2.R" + + "ecordCondition.Expressions.LogicalOperat" + + "or\022G\n\nconditions\030\003 \001(\01321.google.privacy." + + "dlp.v2.RecordCondition.ConditionsH\000\"<\n\017L" + + "ogicalOperator\022 \n\034LOGICAL_OPERATOR_UNSPE" + + "CIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Transforma" + + "tionOverview\022\031\n\021transformed_bytes\030\002 \001(\003\022" + + "N\n\030transformation_summaries\030\003 \003(\0132,.goog" + + "le.privacy.dlp.v2.TransformationSummary\"" + + "\237\005\n\025TransformationSummary\0222\n\tinfo_type\030\001" + + " \001(\0132\037.google.privacy.dlp.v2.InfoType\022-\n" + + "\005field\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" + + "ldId\022F\n\016transformation\030\003 \001(\0132..google.pr" + + "ivacy.dlp.v2.PrimitiveTransformation\022I\n\025" + + "field_transformations\030\005 \003(\0132*.google.pri" + + "vacy.dlp.v2.FieldTransformation\022A\n\017recor" + + "d_suppress\030\006 \001(\0132(.google.privacy.dlp.v2" + + ".RecordSuppression\022K\n\007results\030\004 \003(\0132:.go" + + "ogle.privacy.dlp.v2.TransformationSummar" + + "y.SummaryResult\022\031\n\021transformed_bytes\030\007 \001" + + "(\003\032\204\001\n\rSummaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004c" + + "ode\030\002 \001(\0162E.google.privacy.dlp.v2.Transf" + + "ormationSummary.TransformationResultCode" + + "\022\017\n\007details\030\003 \001(\t\"^\n\030TransformationResul" + + "tCode\022*\n&TRANSFORMATION_RESULT_CODE_UNSP" + + "ECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Sch" + + "edule\022?\n\032recurrence_period_duration\030\001 \001(" + + "\0132\031.google.protobuf.DurationH\000B\010\n\006option" + + "\"\352\001\n\017InspectTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n" + + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\005 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022<\n\016inspect_config\030\006 \001(\0132" + + "$.google.privacy.dlp.v2.InspectConfig\"\363\001" + + "\n\022DeidentifyTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014di" + + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n" + + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\005 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022B\n\021deidentify_config\030\006 \001" + + "(\0132\'.google.privacy.dlp.v2.DeidentifyCon" + + "fig\"\\\n\005Error\022#\n\007details\030\001 \001(\0132\022.google.r" + + "pc.Status\022.\n\ntimestamps\030\002 \003(\0132\032.google.p" + + "rotobuf.Timestamp\"\333\004\n\nJobTrigger\022\014\n\004name" + + "\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descript" + + "ion\030\003 \001(\t\022>\n\013inspect_job\030\004 \001(\0132\'.google." + + "privacy.dlp.v2.InspectJobConfigH\000\022;\n\010tri" + + "ggers\030\005 \003(\0132).google.privacy.dlp.v2.JobT" + + "rigger.Trigger\022,\n\006errors\030\006 \003(\0132\034.google." + + "privacy.dlp.v2.Error\022/\n\013create_time\030\007 \001(" + + "\0132\032.google.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." + + "Timestamp\0228\n\006status\030\n \001(\0162(.google.priva" + + "cy.dlp.v2.JobTrigger.Status\032I\n\007Trigger\0223" + + "\n\010schedule\030\001 \001(\0132\037.google.privacy.dlp.v2" + + ".ScheduleH\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STAT" + + "US_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020" + + "\002\022\r\n\tCANCELLED\020\003B\005\n\003job\"\356\003\n\006Action\022C\n\rsa" + + "ve_findings\030\001 \001(\0132*.google.privacy.dlp.v" + + "2.Action.SaveFindingsH\000\022@\n\007pub_sub\030\002 \001(\013" + + "2-.google.privacy.dlp.v2.Action.PublishT" + + "oPubSubH\000\022U\n\027publish_summary_to_cscc\030\003 \001" + + "(\01322.google.privacy.dlp.v2.Action.Publis" + + "hSummaryToCsccH\000\022V\n\027job_notification_ema" + + "ils\030\010 \001(\01323.google.privacy.dlp.v2.Action" + + ".JobNotificationEmailsH\000\032Q\n\014SaveFindings" + + "\022A\n\routput_config\030\001 \001(\0132*.google.privacy" + + ".dlp.v2.OutputStorageConfig\032 \n\017PublishTo" + + "PubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummaryT" + + "oCscc\032\027\n\025JobNotificationEmailsB\010\n\006action" + + "\"\205\001\n\034CreateInspectTemplateRequest\022\016\n\006par" + + "ent\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(\0132&.go" + + "ogle.privacy.dlp.v2.InspectTemplate\022\023\n\013t" + + "emplate_id\030\003 \001(\t\"\237\001\n\034UpdateInspectTempla" + + "teRequest\022\014\n\004name\030\001 \001(\t\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\")\n\031GetInspectTemplate" + + "Request\022\014\n\004name\030\001 \001(\t\"f\n\033ListInspectTemp" + + "latesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_tok" + + "en\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030" + + "\004 \001(\t\"z\n\034ListInspectTemplatesResponse\022A\n" + + "\021inspect_templates\030\001 \003(\0132&.google.privac" + + "y.dlp.v2.InspectTemplate\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\",\n\034DeleteInspectTemplateReques" + + "t\022\014\n\004name\030\001 \001(\t\"u\n\027CreateJobTriggerReque" + + "st\022\016\n\006parent\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132" + + "!.google.privacy.dlp.v2.JobTrigger\022\022\n\ntr" + + "igger_id\030\003 \001(\t\")\n\031ActivateJobTriggerRequ" + + "est\022\014\n\004name\030\001 \001(\t\"\220\001\n\027UpdateJobTriggerRe" + + "quest\022\014\n\004name\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\013" + + "2!.google.privacy.dlp.v2.JobTrigger\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"$\n\024GetJobTriggerRequest\022\014\n\004name\030\001 \001" + + "(\t\"\276\001\n\023CreateDlpJobRequest\022\016\n\006parent\030\001 \001" + + "(\t\022>\n\013inspect_job\030\002 \001(\0132\'.google.privacy" + + ".dlp.v2.InspectJobConfigH\000\022@\n\010risk_job\030\003" + + " \001(\0132,.google.privacy.dlp.v2.RiskAnalysi" + + "sJobConfigH\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"q\n\026L" + + "istJobTriggersRequest\022\016\n\006parent\030\001 \001(\t\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\022\016\n\006filter\030\005 \001(\t\"k\n\027ListJo" + + "bTriggersResponse\0227\n\014job_triggers\030\001 \003(\0132" + + "!.google.privacy.dlp.v2.JobTrigger\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\'\n\027DeleteJobTriggerR" + + "equest\022\014\n\004name\030\001 \001(\t\"\335\001\n\020InspectJobConfi" + + "g\022<\n\016storage_config\030\001 \001(\0132$.google.priva" + + "cy.dlp.v2.StorageConfig\022<\n\016inspect_confi" + + "g\030\002 \001(\0132$.google.privacy.dlp.v2.InspectC" + + "onfig\022\035\n\025inspect_template_name\030\003 \001(\t\022.\n\007" + + "actions\030\004 \003(\0132\035.google.privacy.dlp.v2.Ac" + + "tion\"\336\004\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 " + + "\001(\0162!.google.privacy.dlp.v2.DlpJobType\0225" + + "\n\005state\030\003 \001(\0162&.google.privacy.dlp.v2.Dl" + + "pJob.JobState\022K\n\014risk_details\030\004 \001(\01323.go" + + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" + + "kDetailsH\000\022J\n\017inspect_details\030\005 \001(\0132/.go" + + "ogle.privacy.dlp.v2.InspectDataSourceDet" + + "ailsH\000\022/\n\013create_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022.\n\nstart_time\030\007 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022,\n\010end_time\030\010 \001(" + + "\0132\032.google.protobuf.Timestamp\022\030\n\020job_tri" + + "gger_name\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google" + + ".privacy.dlp.v2.Error\"c\n\010JobState\022\031\n\025JOB" + + "_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUN" + + "NING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004\022\n\n\006FAILED" + + "\020\005B\t\n\007details\" \n\020GetDlpJobRequest\022\014\n\004nam" + + "e\030\001 \001(\t\"\236\001\n\022ListDlpJobsRequest\022\016\n\006parent" + + "\030\004 \001(\t\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!.go" + + "ogle.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.DlpJob\022\027\n\017" + + "next_page_token\030\002 \001(\t\"#\n\023CancelDlpJobReq" + + "uest\022\014\n\004name\030\001 \001(\t\"#\n\023DeleteDlpJobReques" + + "t\022\014\n\004name\030\001 \001(\t\"\216\001\n\037CreateDeidentifyTemp" + + "lateRequest\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentif" + + "y_template\030\002 \001(\0132).google.privacy.dlp.v2" + + ".DeidentifyTemplate\022\023\n\013template_id\030\003 \001(\t" + + "\"\250\001\n\037UpdateDeidentifyTemplateRequest\022\014\n\004" + + "name\030\001 \001(\t\022F\n\023deidentify_template\030\002 \001(\0132" + + ").google.privacy.dlp.v2.DeidentifyTempla" + + "te\022/\n\013update_mask\030\003 \001(\0132\032.google.protobu" + + "f.FieldMask\",\n\034GetDeidentifyTemplateRequ" + + "est\022\014\n\004name\030\001 \001(\t\"i\n\036ListDeidentifyTempl" + + "atesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_toke" + + "n\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by\030\004" + + " \001(\t\"\203\001\n\037ListDeidentifyTemplatesResponse" + + "\022G\n\024deidentify_templates\030\001 \003(\0132).google." + + "privacy.dlp.v2.DeidentifyTemplate\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"/\n\037DeleteDeidentifyTe" + + "mplateRequest\022\014\n\004name\030\001 \001(\t\"\364\001\n\033LargeCus" + + "tomDictionaryConfig\022<\n\013output_path\030\001 \001(\013" + + "2\'.google.privacy.dlp.v2.CloudStoragePat" + + "h\022L\n\026cloud_storage_file_set\030\002 \001(\0132*.goog" + + "le.privacy.dlp.v2.CloudStorageFileSetH\000\022" + + "?\n\017big_query_field\030\003 \001(\0132$.google.privac" + + "y.dlp.v2.BigQueryFieldH\000B\010\n\006source\"\240\001\n\024S" + + "toredInfoTypeConfig\022\024\n\014display_name\030\001 \001(" + + "\t\022\023\n\013description\030\002 \001(\t\022U\n\027large_custom_d" + + "ictionary\030\003 \001(\01322.google.privacy.dlp.v2." + + "LargeCustomDictionaryConfigH\000B\006\n\004type\"\356\001" + + "\n\025StoredInfoTypeVersion\022;\n\006config\030\001 \001(\0132" + + "+.google.privacy.dlp.v2.StoredInfoTypeCo" + + "nfig\022/\n\013create_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\0229\n\005state\030\003 \001(\0162*.google.pr" + + "ivacy.dlp.v2.StoredInfoTypeState\022,\n\006erro" + + "rs\030\004 \003(\0132\034.google.privacy.dlp.v2.Error\"\255" + + "\001\n\016StoredInfoType\022\014\n\004name\030\001 \001(\t\022E\n\017curre" + + "nt_version\030\002 \001(\0132,.google.privacy.dlp.v2" + + ".StoredInfoTypeVersion\022F\n\020pending_versio" + + "ns\030\003 \003(\0132,.google.privacy.dlp.v2.StoredI" + + "nfoTypeVersion\"\207\001\n\033CreateStoredInfoTypeR" + + "equest\022\016\n\006parent\030\001 \001(\t\022;\n\006config\030\002 \001(\0132+" + + ".google.privacy.dlp.v2.StoredInfoTypeCon" + + "fig\022\033\n\023stored_info_type_id\030\003 \001(\t\"\231\001\n\033Upd" + + "ateStoredInfoTypeRequest\022\014\n\004name\030\001 \001(\t\022;" + + "\n\006config\030\002 \001(\0132+.google.privacy.dlp.v2.S" + + "toredInfoTypeConfig\022/\n\013update_mask\030\003 \001(\013" + + "2\032.google.protobuf.FieldMask\"(\n\030GetStore" + + "dInfoTypeRequest\022\014\n\004name\030\001 \001(\t\"e\n\032ListSt" + + "oredInfoTypesRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\n" + + "page_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010o" + + "rder_by\030\004 \001(\t\"x\n\033ListStoredInfoTypesResp" + + "onse\022@\n\021stored_info_types\030\001 \003(\0132%.google" + + ".privacy.dlp.v2.StoredInfoType\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"+\n\033DeleteStoredInfoTypeR" + + "equest\022\014\n\004name\030\001 \001(\t*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\031" + + "MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING_" + + "TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE_PARTI" + + "AL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERSE_MATC" + + "H\020\003*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM_TYPE_" + + "UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALY" + + "SIS\020\002*\273\001\n\022RelationalOperator\022#\n\037RELATION" + + "AL_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\tL" + + "ESS_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\nD" + + "lpJobType\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_TY" + + "PE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005R" + + "EADY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\312,\n\nDlpS" + + "ervice\022\241\001\n\016InspectContent\022,.google.priva" + + "cy.dlp.v2.InspectContentRequest\032-.google" + + ".privacy.dlp.v2.InspectContentResponse\"2" + + "\202\323\344\223\002,\"\'/v2/{parent=projects/*}/content:" + + "inspect:\001*\022\225\001\n\013RedactImage\022).google.priv" + + "acy.dlp.v2.RedactImageRequest\032*.google.p" + + "rivacy.dlp.v2.RedactImageResponse\"/\202\323\344\223\002" + + ")\"$/v2/{parent=projects/*}/image:redact:" + + "\001*\022\255\001\n\021DeidentifyContent\022/.google.privac" + + "y.dlp.v2.DeidentifyContentRequest\0320.goog" + + "le.privacy.dlp.v2.DeidentifyContentRespo" + + "nse\"5\202\323\344\223\002/\"*/v2/{parent=projects/*}/con" + + "tent:deidentify:\001*\022\255\001\n\021ReidentifyContent" + + "\022/.google.privacy.dlp.v2.ReidentifyConte" + + "ntRequest\0320.google.privacy.dlp.v2.Reiden" + + "tifyContentResponse\"5\202\323\344\223\002/\"*/v2/{parent" + + "=projects/*}/content:reidentify:\001*\022\201\001\n\rL" + + "istInfoTypes\022+.google.privacy.dlp.v2.Lis" + + "tInfoTypesRequest\032,.google.privacy.dlp.v" + + "2.ListInfoTypesResponse\"\025\202\323\344\223\002\017\022\r/v2/inf" + + "oTypes\022\335\001\n\025CreateInspectTemplate\0223.googl" + + "e.privacy.dlp.v2.CreateInspectTemplateRe" + + "quest\032&.google.privacy.dlp.v2.InspectTem" + + "plate\"g\202\323\344\223\002a\"-/v2/{parent=organizations" + + "/*}/inspectTemplates:\001*Z-\"(/v2/{parent=p" + + "rojects/*}/inspectTemplates:\001*\022\335\001\n\025Updat" + + "eInspectTemplate\0223.google.privacy.dlp.v2" + + ".UpdateInspectTemplateRequest\032&.google.p" + + "rivacy.dlp.v2.InspectTemplate\"g\202\323\344\223\002a2-/" + + "v2/{name=organizations/*/inspectTemplate" + + "s/*}:\001*Z-2(/v2/{name=projects/*/inspectT" + + "emplates/*}:\001*\022\321\001\n\022GetInspectTemplate\0220." + + "google.privacy.dlp.v2.GetInspectTemplate" + + "Request\032&.google.privacy.dlp.v2.InspectT" + + "emplate\"a\202\323\344\223\002[\022-/v2/{name=organizations" + + "/*/inspectTemplates/*}Z*\022(/v2/{name=proj" + + "ects/*/inspectTemplates/*}\022\342\001\n\024ListInspe" + + "ctTemplates\0222.google.privacy.dlp.v2.List" + + "InspectTemplatesRequest\0323.google.privacy" + + ".dlp.v2.ListInspectTemplatesResponse\"a\202\323" + + "\344\223\002[\022-/v2/{parent=organizations/*}/inspe" + + "ctTemplatesZ*\022(/v2/{parent=projects/*}/i" + + "nspectTemplates\022\307\001\n\025DeleteInspectTemplat" + + "e\0223.google.privacy.dlp.v2.DeleteInspectT" + + "emplateRequest\032\026.google.protobuf.Empty\"a" + + "\202\323\344\223\002[*-/v2/{name=organizations/*/inspec" + + "tTemplates/*}Z**(/v2/{name=projects/*/in" + + "spectTemplates/*}\022\354\001\n\030CreateDeidentifyTe" + + "mplate\0226.google.privacy.dlp.v2.CreateDei" + + "dentifyTemplateRequest\032).google.privacy." + + "dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g\"0/v2/{" + + "parent=organizations/*}/deidentifyTempla" + + "tes:\001*Z0\"+/v2/{parent=projects/*}/deiden" + + "tifyTemplates:\001*\022\354\001\n\030UpdateDeidentifyTem" + + "plate\0226.google.privacy.dlp.v2.UpdateDeid" + + "entifyTemplateRequest\032).google.privacy.d" + + "lp.v2.DeidentifyTemplate\"m\202\323\344\223\002g20/v2/{n" + + "ame=organizations/*/deidentifyTemplates/" + + "*}:\001*Z02+/v2/{name=projects/*/deidentify" + + "Templates/*}:\001*\022\340\001\n\025GetDeidentifyTemplat" + + "e\0223.google.privacy.dlp.v2.GetDeidentifyT" + + "emplateRequest\032).google.privacy.dlp.v2.D" + + "eidentifyTemplate\"g\202\323\344\223\002a\0220/v2/{name=org" + + "anizations/*/deidentifyTemplates/*}Z-\022+/" + + "v2/{name=projects/*/deidentifyTemplates/" + + "*}\022\361\001\n\027ListDeidentifyTemplates\0225.google." + + "privacy.dlp.v2.ListDeidentifyTemplatesRe" + + "quest\0326.google.privacy.dlp.v2.ListDeiden" + + "tifyTemplatesResponse\"g\202\323\344\223\002a\0220/v2/{pare" + + "nt=organizations/*}/deidentifyTemplatesZ" + + "-\022+/v2/{parent=projects/*}/deidentifyTem" + + "plates\022\323\001\n\030DeleteDeidentifyTemplate\0226.go" + + "ogle.privacy.dlp.v2.DeleteDeidentifyTemp" + + "lateRequest\032\026.google.protobuf.Empty\"g\202\323\344" + + "\223\002a*0/v2/{name=organizations/*/deidentif" + + "yTemplates/*}Z-*+/v2/{name=projects/*/de" + + "identifyTemplates/*}\022\225\001\n\020CreateJobTrigge" + + "r\022..google.privacy.dlp.v2.CreateJobTrigg" + + "erRequest\032!.google.privacy.dlp.v2.JobTri" + + "gger\".\202\323\344\223\002(\"#/v2/{parent=projects/*}/jo" + + "bTriggers:\001*\022\225\001\n\020UpdateJobTrigger\022..goog" + + "le.privacy.dlp.v2.UpdateJobTriggerReques" + + "t\032!.google.privacy.dlp.v2.JobTrigger\".\202\323" + + "\344\223\002(2#/v2/{name=projects/*/jobTriggers/*" + + "}:\001*\022\214\001\n\rGetJobTrigger\022+.google.privacy." + + "dlp.v2.GetJobTriggerRequest\032!.google.pri" + + "vacy.dlp.v2.JobTrigger\"+\202\323\344\223\002%\022#/v2/{nam" + + "e=projects/*/jobTriggers/*}\022\235\001\n\017ListJobT" + + "riggers\022-.google.privacy.dlp.v2.ListJobT" + + "riggersRequest\032..google.privacy.dlp.v2.L" + + "istJobTriggersResponse\"+\202\323\344\223\002%\022#/v2/{par" + + "ent=projects/*}/jobTriggers\022\207\001\n\020DeleteJo" + + "bTrigger\022..google.privacy.dlp.v2.DeleteJ" + + "obTriggerRequest\032\026.google.protobuf.Empty" + + "\"+\202\323\344\223\002%*#/v2/{name=projects/*/jobTrigge" + + "rs/*}\022\236\001\n\022ActivateJobTrigger\0220.google.pr" + + "ivacy.dlp.v2.ActivateJobTriggerRequest\032\035" + + ".google.privacy.dlp.v2.DlpJob\"7\202\323\344\223\0021\",/" + + "v2/{name=projects/*/jobTriggers/*}:activ" + + "ate:\001*\022\205\001\n\014CreateDlpJob\022*.google.privacy" + + ".dlp.v2.CreateDlpJobRequest\032\035.google.pri" + + "vacy.dlp.v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{parent=" + + "projects/*}/dlpJobs:\001*\022\215\001\n\013ListDlpJobs\022)" + + ".google.privacy.dlp.v2.ListDlpJobsReques" + + "t\032*.google.privacy.dlp.v2.ListDlpJobsRes" + + "ponse\"\'\202\323\344\223\002!\022\037/v2/{parent=projects/*}/d" + + "lpJobs\022|\n\tGetDlpJob\022\'.google.privacy.dlp" + + ".v2.GetDlpJobRequest\032\035.google.privacy.dl" + + "p.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=projects/" + + "*/dlpJobs/*}\022{\n\014DeleteDlpJob\022*.google.pr" + + "ivacy.dlp.v2.DeleteDlpJobRequest\032\026.googl" + + "e.protobuf.Empty\"\'\202\323\344\223\002!*\037/v2/{name=proj" + + "ects/*/dlpJobs/*}\022\205\001\n\014CancelDlpJob\022*.goo" + + "gle.privacy.dlp.v2.CancelDlpJobRequest\032\026" + + ".google.protobuf.Empty\"1\202\323\344\223\002+\"&/v2/{nam" + + "e=projects/*/dlpJobs/*}:cancel:\001*\022\330\001\n\024Cr" + + "eateStoredInfoType\0222.google.privacy.dlp." + + "v2.CreateStoredInfoTypeRequest\032%.google." + + "privacy.dlp.v2.StoredInfoType\"e\202\323\344\223\002_\",/" + + "v2/{parent=organizations/*}/storedInfoTy" + + "pes:\001*Z,\"\'/v2/{parent=projects/*}/stored" + + "InfoTypes:\001*\022\330\001\n\024UpdateStoredInfoType\0222." + + "google.privacy.dlp.v2.UpdateStoredInfoTy" + + "peRequest\032%.google.privacy.dlp.v2.Stored" + + "InfoType\"e\202\323\344\223\002_2,/v2/{name=organization" + + "s/*/storedInfoTypes/*}:\001*Z,2\'/v2/{name=p" + + "rojects/*/storedInfoTypes/*}:\001*\022\314\001\n\021GetS" + + "toredInfoType\022/.google.privacy.dlp.v2.Ge" + + "tStoredInfoTypeRequest\032%.google.privacy." + + "dlp.v2.StoredInfoType\"_\202\323\344\223\002Y\022,/v2/{name" + + "=organizations/*/storedInfoTypes/*}Z)\022\'/" + + "v2/{name=projects/*/storedInfoTypes/*}\022\335" + + "\001\n\023ListStoredInfoTypes\0221.google.privacy." + + "dlp.v2.ListStoredInfoTypesRequest\0322.goog" + + "le.privacy.dlp.v2.ListStoredInfoTypesRes" + + "ponse\"_\202\323\344\223\002Y\022,/v2/{parent=organizations" + + "/*}/storedInfoTypesZ)\022\'/v2/{parent=proje" + + "cts/*}/storedInfoTypes\022\303\001\n\024DeleteStoredI", + "nfoType\0222.google.privacy.dlp.v2.DeleteSt" + + "oredInfoTypeRequest\032\026.google.protobuf.Em" + + "pty\"_\202\323\344\223\002Y*,/v2/{name=organizations/*/s" + + "toredInfoTypes/*}Z)*\'/v2/{name=projects/" + + "*/storedInfoTypes/*}B\215\001\n\031com.google.priv" + + "acy.dlp.v2B\010DlpProtoP\001Z8google.golang.or" + + "g/genproto/googleapis/privacy/dlp/v2;dlp" + + "\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dl" + + "p\\V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -1768,7 +1785,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InfoTypeDescription_descriptor, new java.lang.String[] { - "Name", "DisplayName", "SupportedBy", + "Name", "DisplayName", "SupportedBy", "Description", }); internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = getDescriptor().getMessageTypes().get(31); @@ -2469,7 +2486,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Action_descriptor, new java.lang.String[] { - "SaveFindings", "PubSub", "PublishSummaryToCscc", "Action", + "SaveFindings", "PubSub", "PublishSummaryToCscc", "JobNotificationEmails", "Action", }); internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor = internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(0); @@ -2493,6 +2510,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_Action_PublishSummaryToCscc_descriptor, new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(3); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor, + new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = getDescriptor().getMessageTypes().get(72); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = @@ -2549,8 +2572,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Parent", "JobTrigger", "TriggerId", }); - internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor = getDescriptor().getMessageTypes().get(79); + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ActivateJobTriggerRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(80); internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateJobTriggerRequest_descriptor, @@ -2558,7 +2589,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", "JobTrigger", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(80); + getDescriptor().getMessageTypes().get(81); internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetJobTriggerRequest_descriptor, @@ -2566,7 +2597,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(81); + getDescriptor().getMessageTypes().get(82); internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateDlpJobRequest_descriptor, @@ -2574,15 +2605,15 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "InspectJob", "RiskJob", "JobId", "Job", }); internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor = - getDescriptor().getMessageTypes().get(82); + getDescriptor().getMessageTypes().get(83); internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListJobTriggersRequest_descriptor, new java.lang.String[] { - "Parent", "PageToken", "PageSize", "OrderBy", + "Parent", "PageToken", "PageSize", "OrderBy", "Filter", }); internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor = - getDescriptor().getMessageTypes().get(83); + getDescriptor().getMessageTypes().get(84); internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListJobTriggersResponse_descriptor, @@ -2590,7 +2621,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "JobTriggers", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor = - getDescriptor().getMessageTypes().get(84); + getDescriptor().getMessageTypes().get(85); internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteJobTriggerRequest_descriptor, @@ -2598,7 +2629,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor = - getDescriptor().getMessageTypes().get(85); + getDescriptor().getMessageTypes().get(86); internal_static_google_privacy_dlp_v2_InspectJobConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_InspectJobConfig_descriptor, @@ -2606,7 +2637,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "StorageConfig", "InspectConfig", "InspectTemplateName", "Actions", }); internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(86); + getDescriptor().getMessageTypes().get(87); internal_static_google_privacy_dlp_v2_DlpJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DlpJob_descriptor, @@ -2624,7 +2655,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Details", }); internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(87); + getDescriptor().getMessageTypes().get(88); internal_static_google_privacy_dlp_v2_GetDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetDlpJobRequest_descriptor, @@ -2632,7 +2663,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(88); + getDescriptor().getMessageTypes().get(89); internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDlpJobsRequest_descriptor, @@ -2640,7 +2671,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "Filter", "PageSize", "PageToken", "Type", "OrderBy", }); internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(90); internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDlpJobsResponse_descriptor, @@ -2648,7 +2679,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Jobs", "NextPageToken", }); internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(91); internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CancelDlpJobRequest_descriptor, @@ -2656,7 +2687,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(92); internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteDlpJobRequest_descriptor, @@ -2664,7 +2695,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(93); internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateDeidentifyTemplateRequest_descriptor, @@ -2672,7 +2703,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "DeidentifyTemplate", "TemplateId", }); internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(94); internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateDeidentifyTemplateRequest_descriptor, @@ -2680,7 +2711,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", "DeidentifyTemplate", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(95); internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetDeidentifyTemplateRequest_descriptor, @@ -2688,7 +2719,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(96); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesRequest_descriptor, @@ -2696,7 +2727,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "PageToken", "PageSize", "OrderBy", }); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(97); internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListDeidentifyTemplatesResponse_descriptor, @@ -2704,7 +2735,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "DeidentifyTemplates", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(98); internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteDeidentifyTemplateRequest_descriptor, @@ -2712,7 +2743,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(99); internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_LargeCustomDictionaryConfig_descriptor, @@ -2720,7 +2751,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "OutputPath", "CloudStorageFileSet", "BigQueryField", "Source", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(100); internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeConfig_descriptor, @@ -2728,7 +2759,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "DisplayName", "Description", "LargeCustomDictionary", "Type", }); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(101); internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoTypeVersion_descriptor, @@ -2736,7 +2767,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Config", "CreateTime", "State", "Errors", }); internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(102); internal_static_google_privacy_dlp_v2_StoredInfoType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_StoredInfoType_descriptor, @@ -2744,7 +2775,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", "CurrentVersion", "PendingVersions", }); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(103); internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CreateStoredInfoTypeRequest_descriptor, @@ -2752,7 +2783,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "Config", "StoredInfoTypeId", }); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(104); internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_UpdateStoredInfoTypeRequest_descriptor, @@ -2760,7 +2791,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", "Config", "UpdateMask", }); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(105); internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_GetStoredInfoTypeRequest_descriptor, @@ -2768,7 +2799,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Name", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(106); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesRequest_descriptor, @@ -2776,7 +2807,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Parent", "PageToken", "PageSize", "OrderBy", }); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(107); internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_ListStoredInfoTypesResponse_descriptor, @@ -2784,7 +2815,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "StoredInfoTypes", "NextPageToken", }); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(108); internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_DeleteStoredInfoTypeRequest_descriptor, diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java index 1011ed469b5b..e7201a6a3d5e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -150,7 +150,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ions.proto\032\037google/protobuf/timestamp.pr" + "oto\"\030\n\010InfoType\022\014\n\004name\030\001 \001(\t\"K\n\nStoredT" + "ype\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032" - + ".google.protobuf.Timestamp\"\261\013\n\016CustomInf" + + ".google.protobuf.Timestamp\"\310\013\n\016CustomInf" + "oType\0222\n\tinfo_type\030\001 \001(\0132\037.google.privac" + "y.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162!." + "google.privacy.dlp.v2.Likelihood\022F\n\ndict" @@ -169,98 +169,99 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tomInfoType.Dictionary.WordListH\000\022E\n\022clo" + "ud_storage_path\030\003 \001(\0132\'.google.privacy.d" + "lp.v2.CloudStoragePathH\000\032\031\n\010WordList\022\r\n\005" - + "words\030\001 \003(\tB\010\n\006source\032\030\n\005Regex\022\017\n\007patter" - + "n\030\001 \001(\t\032\017\n\rSurrogateType\032\276\004\n\rDetectionRu" - + "le\022W\n\014hotword_rule\030\001 \001(\0132?.google.privac" - + "y.dlp.v2.CustomInfoType.DetectionRule.Ho" - + "twordRuleH\000\0328\n\tProximity\022\025\n\rwindow_befor" - + "e\030\001 \001(\005\022\024\n\014window_after\030\002 \001(\005\032\202\001\n\024Likeli" - + "hoodAdjustment\022=\n\020fixed_likelihood\030\001 \001(\016" - + "2!.google.privacy.dlp.v2.LikelihoodH\000\022\035\n" - + "\023relative_likelihood\030\002 \001(\005H\000B\014\n\nadjustme" - + "nt\032\214\002\n\013HotwordRule\022B\n\rhotword_regex\030\001 \001(" - + "\0132+.google.privacy.dlp.v2.CustomInfoType" - + ".Regex\022P\n\tproximity\030\002 \001(\0132=.google.priva" - + "cy.dlp.v2.CustomInfoType.DetectionRule.P" - + "roximity\022g\n\025likelihood_adjustment\030\003 \001(\0132" - + "H.google.privacy.dlp.v2.CustomInfoType.D" - + "etectionRule.LikelihoodAdjustmentB\006\n\004typ" - + "e\"K\n\rExclusionType\022\036\n\032EXCLUSION_TYPE_UNS" - + "PECIFIED\020\000\022\032\n\026EXCLUSION_TYPE_EXCLUDE\020\001B\006" - + "\n\004type\"\027\n\007FieldId\022\014\n\004name\030\001 \001(\t\"7\n\013Parti" - + "tionId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014namespace_" - + "id\030\004 \001(\t\"\036\n\016KindExpression\022\014\n\004name\030\001 \001(\t" - + "\"\201\001\n\020DatastoreOptions\0228\n\014partition_id\030\001 " - + "\001(\0132\".google.privacy.dlp.v2.PartitionId\022" - + "3\n\004kind\030\002 \001(\0132%.google.privacy.dlp.v2.Ki" - + "ndExpression\"]\n\030CloudStorageRegexFileSet" - + "\022\023\n\013bucket_name\030\001 \001(\t\022\025\n\rinclude_regex\030\002" - + " \003(\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003\n\023CloudSto" - + "rageOptions\022D\n\010file_set\030\001 \001(\01322.google.p" - + "rivacy.dlp.v2.CloudStorageOptions.FileSe" - + "t\022\034\n\024bytes_limit_per_file\030\004 \001(\003\022$\n\034bytes" - + "_limit_per_file_percent\030\010 \001(\005\0223\n\nfile_ty" - + "pes\030\005 \003(\0162\037.google.privacy.dlp.v2.FileTy" - + "pe\022N\n\rsample_method\030\006 \001(\01627.google.priva" - + "cy.dlp.v2.CloudStorageOptions.SampleMeth" - + "od\022\033\n\023files_limit_percent\030\007 \001(\005\032_\n\007FileS" - + "et\022\013\n\003url\030\001 \001(\t\022G\n\016regex_file_set\030\002 \001(\0132" - + "/.google.privacy.dlp.v2.CloudStorageRege" - + "xFileSet\"H\n\014SampleMethod\022\035\n\031SAMPLE_METHO" - + "D_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START" - + "\020\002\"\"\n\023CloudStorageFileSet\022\013\n\003url\030\001 \001(\t\" " - + "\n\020CloudStoragePath\022\014\n\004path\030\001 \001(\t\"\213\003\n\017Big" - + "QueryOptions\022=\n\017table_reference\030\001 \001(\0132$." - + "google.privacy.dlp.v2.BigQueryTable\022:\n\022i" - + "dentifying_fields\030\002 \003(\0132\036.google.privacy" - + ".dlp.v2.FieldId\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022r" - + "ows_limit_percent\030\006 \001(\005\022J\n\rsample_method" - + "\030\004 \001(\01623.google.privacy.dlp.v2.BigQueryO" - + "ptions.SampleMethod\0227\n\017excluded_fields\030\005" - + " \003(\0132\036.google.privacy.dlp.v2.FieldId\"H\n\014" - + "SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIE" - + "D\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\232\004\n\rStora" - + "geConfig\022D\n\021datastore_options\030\002 \001(\0132\'.go" - + "ogle.privacy.dlp.v2.DatastoreOptionsH\000\022K" - + "\n\025cloud_storage_options\030\003 \001(\0132*.google.p" - + "rivacy.dlp.v2.CloudStorageOptionsH\000\022C\n\021b" - + "ig_query_options\030\004 \001(\0132&.google.privacy." - + "dlp.v2.BigQueryOptionsH\000\022L\n\017timespan_con" - + "fig\030\006 \001(\01323.google.privacy.dlp.v2.Storag" - + "eConfig.TimespanConfig\032\332\001\n\016TimespanConfi" - + "g\022.\n\nstart_time\030\001 \001(\0132\032.google.protobuf." - + "Timestamp\022,\n\010end_time\030\002 \001(\0132\032.google.pro" - + "tobuf.Timestamp\0227\n\017timestamp_field\030\003 \001(\013" - + "2\036.google.privacy.dlp.v2.FieldId\0221\n)enab" - + "le_auto_population_of_timespan_config\030\004 " - + "\001(\010B\006\n\004type\"`\n\013BigQueryKey\022=\n\017table_refe" - + "rence\030\001 \001(\0132$.google.privacy.dlp.v2.BigQ" - + "ueryTable\022\022\n\nrow_number\030\002 \001(\003\">\n\014Datasto" - + "reKey\022.\n\nentity_key\030\001 \001(\0132\032.google.priva" - + "cy.dlp.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 " - + "\001(\0132\".google.privacy.dlp.v2.PartitionId\022" - + "4\n\004path\030\002 \003(\0132&.google.privacy.dlp.v2.Ke" - + "y.PathElement\032D\n\013PathElement\022\014\n\004kind\030\001 \001" - + "(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n\007id_t" - + "ype\"\216\001\n\tRecordKey\022<\n\rdatastore_key\030\002 \001(\013" - + "2#.google.privacy.dlp.v2.DatastoreKeyH\000\022" - + ";\n\rbig_query_key\030\003 \001(\0132\".google.privacy." - + "dlp.v2.BigQueryKeyH\000B\006\n\004type\"I\n\rBigQuery" - + "Table\022\022\n\nproject_id\030\001 \001(\t\022\022\n\ndataset_id\030" - + "\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"s\n\rBigQueryField" - + "\0223\n\005table\030\001 \001(\0132$.google.privacy.dlp.v2." - + "BigQueryTable\022-\n\005field\030\002 \001(\0132\036.google.pr" - + "ivacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005fiel" - + "d\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId*" - + "t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020" - + "\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010PO" - + "SSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*E\n" - + "\010FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017\n\013" - + "BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002B\217\001\n\031com.goo" - + "gle.privacy.dlp.v2B\nDlpStorageP\001Z8google" - + ".golang.org/genproto/googleapis/privacy/" - + "dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Googl" - + "e\\Cloud\\Dlp\\V2b\006proto3" + + "words\030\001 \003(\tB\010\n\006source\032/\n\005Regex\022\017\n\007patter" + + "n\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurrog" + + "ateType\032\276\004\n\rDetectionRule\022W\n\014hotword_rul" + + "e\030\001 \001(\0132?.google.privacy.dlp.v2.CustomIn" + + "foType.DetectionRule.HotwordRuleH\000\0328\n\tPr" + + "oximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014window" + + "_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022=\n" + + "\020fixed_likelihood\030\001 \001(\0162!.google.privacy" + + ".dlp.v2.LikelihoodH\000\022\035\n\023relative_likelih" + + "ood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordRul" + + "e\022B\n\rhotword_regex\030\001 \001(\0132+.google.privac" + + "y.dlp.v2.CustomInfoType.Regex\022P\n\tproximi" + + "ty\030\002 \001(\0132=.google.privacy.dlp.v2.CustomI" + + "nfoType.DetectionRule.Proximity\022g\n\025likel" + + "ihood_adjustment\030\003 \001(\0132H.google.privacy." + + "dlp.v2.CustomInfoType.DetectionRule.Like" + + "lihoodAdjustmentB\006\n\004type\"K\n\rExclusionTyp" + + "e\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026EXC" + + "LUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007FieldId" + + "\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\nproject" + + "_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016KindE" + + "xpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreOpt" + + "ions\0228\n\014partition_id\030\001 \001(\0132\".google.priv" + + "acy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%.g" + + "oogle.privacy.dlp.v2.KindExpression\"]\n\030C" + + "loudStorageRegexFileSet\022\023\n\013bucket_name\030\001" + + " \001(\t\022\025\n\rinclude_regex\030\002 \003(\t\022\025\n\rexclude_r" + + "egex\030\003 \003(\t\"\354\003\n\023CloudStorageOptions\022D\n\010fi" + + "le_set\030\001 \001(\01322.google.privacy.dlp.v2.Clo" + + "udStorageOptions.FileSet\022\034\n\024bytes_limit_" + + "per_file\030\004 \001(\003\022$\n\034bytes_limit_per_file_p" + + "ercent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.googl" + + "e.privacy.dlp.v2.FileType\022N\n\rsample_meth" + + "od\030\006 \001(\01627.google.privacy.dlp.v2.CloudSt" + + "orageOptions.SampleMethod\022\033\n\023files_limit" + + "_percent\030\007 \001(\005\032_\n\007FileSet\022\013\n\003url\030\001 \001(\t\022G" + + "\n\016regex_file_set\030\002 \001(\0132/.google.privacy." + + "dlp.v2.CloudStorageRegexFileSet\"H\n\014Sampl" + + "eMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000\022\007" + + "\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStorag" + + "eFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStoragePat" + + "h\022\014\n\004path\030\001 \001(\t\"\213\003\n\017BigQueryOptions\022=\n\017t" + + "able_reference\030\001 \001(\0132$.google.privacy.dl" + + "p.v2.BigQueryTable\022:\n\022identifying_fields" + + "\030\002 \003(\0132\036.google.privacy.dlp.v2.FieldId\022\022" + + "\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_percent" + + "\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.google.p" + + "rivacy.dlp.v2.BigQueryOptions.SampleMeth" + + "od\0227\n\017excluded_fields\030\005 \003(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\"H\n\014SampleMethod\022\035\n\031S" + + "AMPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014R" + + "ANDOM_START\020\002\"\232\004\n\rStorageConfig\022D\n\021datas" + + "tore_options\030\002 \001(\0132\'.google.privacy.dlp." + + "v2.DatastoreOptionsH\000\022K\n\025cloud_storage_o" + + "ptions\030\003 \001(\0132*.google.privacy.dlp.v2.Clo" + + "udStorageOptionsH\000\022C\n\021big_query_options\030" + + "\004 \001(\0132&.google.privacy.dlp.v2.BigQueryOp" + + "tionsH\000\022L\n\017timespan_config\030\006 \001(\01323.googl" + + "e.privacy.dlp.v2.StorageConfig.TimespanC" + + "onfig\032\332\001\n\016TimespanConfig\022.\n\nstart_time\030\001" + + " \001(\0132\032.google.protobuf.Timestamp\022,\n\010end_" + + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\0227" + + "\n\017timestamp_field\030\003 \001(\0132\036.google.privacy" + + ".dlp.v2.FieldId\0221\n)enable_auto_populatio" + + "n_of_timespan_config\030\004 \001(\010B\006\n\004type\"`\n\013Bi" + + "gQueryKey\022=\n\017table_reference\030\001 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryTable\022\022\n\nrow_" + + "number\030\002 \001(\003\">\n\014DatastoreKey\022.\n\nentity_k" + + "ey\030\001 \001(\0132\032.google.privacy.dlp.v2.Key\"\273\001\n" + + "\003Key\0228\n\014partition_id\030\001 \001(\0132\".google.priv" + + "acy.dlp.v2.PartitionId\0224\n\004path\030\002 \003(\0132&.g" + + "oogle.privacy.dlp.v2.Key.PathElement\032D\n\013" + + "PathElement\022\014\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022" + + "\016\n\004name\030\003 \001(\tH\000B\t\n\007id_type\"\241\001\n\tRecordKey" + + "\022<\n\rdatastore_key\030\002 \001(\0132#.google.privacy" + + ".dlp.v2.DatastoreKeyH\000\022;\n\rbig_query_key\030" + + "\003 \001(\0132\".google.privacy.dlp.v2.BigQueryKe" + + "yH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004type\"I\n\rBigQue" + + "ryTable\022\022\n\nproject_id\030\001 \001(\t\022\022\n\ndataset_i" + + "d\030\002 \001(\t\022\020\n\010table_id\030\003 \001(\t\"s\n\rBigQueryFie" + + "ld\0223\n\005table\030\001 \001(\0132$.google.privacy.dlp.v" + + "2.BigQueryTable\022-\n\005field\030\002 \001(\0132\036.google." + + "privacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005fi" + + "eld\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldI" + + "d*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UNSPECIFIE" + + "D\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010" + + "POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*" + + "P\n\010FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017" + + "\n\013BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020" + + "\003B\217\001\n\031com.google.privacy.dlp.v2B\nDlpStor" + + "ageP\001Z8google.golang.org/genproto/google" + + "apis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.D" + + "lp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -333,7 +334,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_CustomInfoType_Regex_descriptor, new java.lang.String[] { - "Pattern", + "Pattern", "GroupIndexes", }); internal_static_google_privacy_dlp_v2_CustomInfoType_SurrogateType_descriptor = internal_static_google_privacy_dlp_v2_CustomInfoType_descriptor.getNestedTypes().get(2); @@ -529,7 +530,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_privacy_dlp_v2_RecordKey_descriptor, new java.lang.String[] { - "DatastoreKey", "BigQueryKey", "Type", + "DatastoreKey", "BigQueryKey", "IdValues", "Type", }); internal_static_google_privacy_dlp_v2_BigQueryTable_descriptor = getDescriptor().getMessageTypes().get(17); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java index b08c46df6097..0b9c6c515f42 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FileType.java @@ -48,6 +48,18 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { * TEXT_FILE = 2; */ TEXT_FILE(2), + /** + * + * + *
+   * Included file extensions:
+   *   bmp, gif, jpg, jpeg, jpe, png.
+   * bytes_limit_per_file has no effect on image files.
+   * 
+ * + * IMAGE = 3; + */ + IMAGE(3), UNRECOGNIZED(-1), ; @@ -86,6 +98,18 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum { * TEXT_FILE = 2; */ public static final int TEXT_FILE_VALUE = 2; + /** + * + * + *
+   * Included file extensions:
+   *   bmp, gif, jpg, jpeg, jpe, png.
+   * bytes_limit_per_file has no effect on image files.
+   * 
+ * + * IMAGE = 3; + */ + public static final int IMAGE_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -109,6 +133,8 @@ public static FileType forNumber(int value) { return BINARY_FILE; case 2: return TEXT_FILE; + case 3: + return IMAGE; default: return null; } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java index 1ad4f5068e58..8434a19c1eeb 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescription.java @@ -26,6 +26,7 @@ private InfoTypeDescription() { name_ = ""; displayName_ = ""; supportedBy_ = java.util.Collections.emptyList(); + description_ = ""; } @java.lang.Override @@ -91,6 +92,13 @@ private InfoTypeDescription( input.popLimit(oldLimit); break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } default: { if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { @@ -296,6 +304,51 @@ public int getSupportedByValue(int index) { private int supportedByMemoizedSerializedSize; + public static final int DESCRIPTION_FIELD_NUMBER = 4; + private volatile java.lang.Object description_; + /** + * + * + *
+   * Description of the infotype. Translated when language is provided in the
+   * request.
+   * 
+ * + * string description = 4; + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * Description of the infotype. Translated when language is provided in the
+   * request.
+   * 
+ * + * string description = 4; + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = 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 for (int i = 0; i < supportedBy_.size(); i++) { output.writeEnumNoTag(supportedBy_.get(i)); } + if (!getDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + } unknownFields.writeTo(output); } @@ -351,6 +407,9 @@ public int getSerializedSize() { } supportedByMemoizedSerializedSize = dataSize; } + if (!getDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -371,6 +430,7 @@ public boolean equals(final java.lang.Object obj) { result = result && getName().equals(other.getName()); result = result && getDisplayName().equals(other.getDisplayName()); result = result && supportedBy_.equals(other.supportedBy_); + result = result && getDescription().equals(other.getDescription()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -390,6 +450,8 @@ public int hashCode() { hash = (37 * hash) + SUPPORTED_BY_FIELD_NUMBER; hash = (53 * hash) + supportedBy_.hashCode(); } + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -541,6 +603,8 @@ public Builder clear() { supportedBy_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); + description_ = ""; + return this; } @@ -577,6 +641,7 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() { bitField0_ = (bitField0_ & ~0x00000004); } result.supportedBy_ = supportedBy_; + result.description_ = description_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -645,6 +710,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) { } onChanged(); } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1051,6 +1120,105 @@ public Builder addAllSupportedByValue(java.lang.Iterable valu return this; } + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Description of the infotype. Translated when language is provided in the
+     * request.
+     * 
+ * + * string description = 4; + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Description of the infotype. Translated when language is provided in the
+     * request.
+     * 
+ * + * string description = 4; + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Description of the infotype. Translated when language is provided in the
+     * request.
+     * 
+ * + * string description = 4; + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Description of the infotype. Translated when language is provided in the
+     * request.
+     * 
+ * + * string description = 4; + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + * + * + *
+     * Description of the infotype. Translated when language is provided in the
+     * request.
+     * 
+ * + * string description = 4; + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java index b9c3bdb48fc8..30b31bc8d0fa 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeDescriptionOrBuilder.java @@ -100,4 +100,27 @@ public interface InfoTypeDescriptionOrBuilder * repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3; */ int getSupportedByValue(int index); + + /** + * + * + *
+   * Description of the infotype. Translated when language is provided in the
+   * request.
+   * 
+ * + * string description = 4; + */ + java.lang.String getDescription(); + /** + * + * + *
+   * Description of the infotype. Translated when language is provided in the
+   * request.
+   * 
+ * + * string description = 4; + */ + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java index 5bc8fe2ba9fa..f44dc437dcb0 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java @@ -208,7 +208,7 @@ public interface FindingLimitsOrBuilder *
      * Max number of findings that will be returned for each item scanned.
      * When set within `InspectDataSourceRequest`,
-     * the maximum returned is 1000 regardless if this is set higher.
+     * the maximum returned is 2000 regardless if this is set higher.
      * When set within `InspectContentRequest`, this field is ignored.
      * 
* @@ -221,7 +221,7 @@ public interface FindingLimitsOrBuilder * *
      * Max number of findings that will be returned per request/job.
-     * When set within `InspectContentRequest`, the maximum returned is 1000
+     * When set within `InspectContentRequest`, the maximum returned is 2000
      * regardless if this is set higher.
      * 
* @@ -1304,7 +1304,7 @@ public com.google.protobuf.Parser getParserForType() { *
      * Max number of findings that will be returned for each item scanned.
      * When set within `InspectDataSourceRequest`,
-     * the maximum returned is 1000 regardless if this is set higher.
+     * the maximum returned is 2000 regardless if this is set higher.
      * When set within `InspectContentRequest`, this field is ignored.
      * 
* @@ -1321,7 +1321,7 @@ public int getMaxFindingsPerItem() { * *
      * Max number of findings that will be returned per request/job.
-     * When set within `InspectContentRequest`, the maximum returned is 1000
+     * When set within `InspectContentRequest`, the maximum returned is 2000
      * regardless if this is set higher.
      * 
* @@ -1811,7 +1811,7 @@ public Builder mergeFrom( *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectDataSourceRequest`,
-       * the maximum returned is 1000 regardless if this is set higher.
+       * the maximum returned is 2000 regardless if this is set higher.
        * When set within `InspectContentRequest`, this field is ignored.
        * 
* @@ -1826,7 +1826,7 @@ public int getMaxFindingsPerItem() { *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectDataSourceRequest`,
-       * the maximum returned is 1000 regardless if this is set higher.
+       * the maximum returned is 2000 regardless if this is set higher.
        * When set within `InspectContentRequest`, this field is ignored.
        * 
* @@ -1844,7 +1844,7 @@ public Builder setMaxFindingsPerItem(int value) { *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectDataSourceRequest`,
-       * the maximum returned is 1000 regardless if this is set higher.
+       * the maximum returned is 2000 regardless if this is set higher.
        * When set within `InspectContentRequest`, this field is ignored.
        * 
* @@ -1863,7 +1863,7 @@ public Builder clearMaxFindingsPerItem() { * *
        * Max number of findings that will be returned per request/job.
-       * When set within `InspectContentRequest`, the maximum returned is 1000
+       * When set within `InspectContentRequest`, the maximum returned is 2000
        * regardless if this is set higher.
        * 
* @@ -1877,7 +1877,7 @@ public int getMaxFindingsPerRequest() { * *
        * Max number of findings that will be returned per request/job.
-       * When set within `InspectContentRequest`, the maximum returned is 1000
+       * When set within `InspectContentRequest`, the maximum returned is 2000
        * regardless if this is set higher.
        * 
* @@ -1894,7 +1894,7 @@ public Builder setMaxFindingsPerRequest(int value) { * *
        * Max number of findings that will be returned per request/job.
-       * When set within `InspectContentRequest`, the maximum returned is 1000
+       * When set within `InspectContentRequest`, the maximum returned is 2000
        * regardless if this is set higher.
        * 
* diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java index 078859057dee..09c9058f91ab 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java @@ -27,6 +27,7 @@ private ListJobTriggersRequest() { pageToken_ = ""; pageSize_ = 0; orderBy_ = ""; + filter_ = ""; } @java.lang.Override @@ -79,6 +80,13 @@ private ListJobTriggersRequest( orderBy_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } default: { if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) { @@ -232,6 +240,7 @@ public int getPageSize() { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -262,6 +271,7 @@ public java.lang.String getOrderBy() { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -281,6 +291,85 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int FILTER_FIELD_NUMBER = 5; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * Optional. Allows filtering.
+   * Supported syntax:
+   * * Filter expressions are made up of one or more restrictions.
+   * * Restrictions can be combined by `AND` or `OR` logical operators. A
+   * sequence of restrictions implicitly uses `AND`.
+   * * A restriction has the form of `<field> <operator> <value>`.
+   * * Supported fields/values for inspect jobs:
+   *     - `status` - HEALTHY|PAUSED|CANCELLED
+   *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+   *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+   *     quotation marks. Nanoseconds are ignored.
+   *     - 'error_count' - Number of errors that have occurred while running.
+   * * The operator must be `=` or `!=` for status and inspected_storage.
+   * Examples:
+   * * inspected_storage = cloud_storage AND status = HEALTHY
+   * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+   * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+   * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+   * The length of this field should be no more than 500 characters.
+   * 
+ * + * string filter = 5; + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Allows filtering.
+   * Supported syntax:
+   * * Filter expressions are made up of one or more restrictions.
+   * * Restrictions can be combined by `AND` or `OR` logical operators. A
+   * sequence of restrictions implicitly uses `AND`.
+   * * A restriction has the form of `<field> <operator> <value>`.
+   * * Supported fields/values for inspect jobs:
+   *     - `status` - HEALTHY|PAUSED|CANCELLED
+   *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+   *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+   *     quotation marks. Nanoseconds are ignored.
+   *     - 'error_count' - Number of errors that have occurred while running.
+   * * The operator must be `=` or `!=` for status and inspected_storage.
+   * Examples:
+   * * inspected_storage = cloud_storage AND status = HEALTHY
+   * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+   * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+   * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+   * The length of this field should be no more than 500 characters.
+   * 
+ * + * string filter = 5; + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -307,6 +396,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!getOrderByBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_); } + if (!getFilterBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); + } unknownFields.writeTo(output); } @@ -328,6 +420,9 @@ public int getSerializedSize() { if (!getOrderByBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); } + if (!getFilterBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -349,6 +444,7 @@ public boolean equals(final java.lang.Object obj) { result = result && getPageToken().equals(other.getPageToken()); result = result && (getPageSize() == other.getPageSize()); result = result && getOrderBy().equals(other.getOrderBy()); + result = result && getFilter().equals(other.getFilter()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -368,6 +464,8 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -521,6 +619,8 @@ public Builder clear() { orderBy_ = ""; + filter_ = ""; + return this; } @@ -552,6 +652,7 @@ public com.google.privacy.dlp.v2.ListJobTriggersRequest buildPartial() { result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; result.orderBy_ = orderBy_; + result.filter_ = filter_; onBuilt(); return result; } @@ -617,6 +718,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ListJobTriggersRequest other) orderBy_ = other.orderBy_; onChanged(); } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -901,6 +1006,7 @@ public Builder clearPageSize() { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -931,6 +1037,7 @@ public java.lang.String getOrderBy() { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -961,6 +1068,7 @@ public com.google.protobuf.ByteString getOrderByBytes() { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -989,6 +1097,7 @@ public Builder setOrderBy(java.lang.String value) { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -1014,6 +1123,7 @@ public Builder clearOrderBy() { * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -1032,6 +1142,190 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * Optional. Allows filtering.
+     * Supported syntax:
+     * * Filter expressions are made up of one or more restrictions.
+     * * Restrictions can be combined by `AND` or `OR` logical operators. A
+     * sequence of restrictions implicitly uses `AND`.
+     * * A restriction has the form of `<field> <operator> <value>`.
+     * * Supported fields/values for inspect jobs:
+     *     - `status` - HEALTHY|PAUSED|CANCELLED
+     *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+     *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+     *     quotation marks. Nanoseconds are ignored.
+     *     - 'error_count' - Number of errors that have occurred while running.
+     * * The operator must be `=` or `!=` for status and inspected_storage.
+     * Examples:
+     * * inspected_storage = cloud_storage AND status = HEALTHY
+     * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+     * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+     * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+     * The length of this field should be no more than 500 characters.
+     * 
+ * + * string filter = 5; + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Allows filtering.
+     * Supported syntax:
+     * * Filter expressions are made up of one or more restrictions.
+     * * Restrictions can be combined by `AND` or `OR` logical operators. A
+     * sequence of restrictions implicitly uses `AND`.
+     * * A restriction has the form of `<field> <operator> <value>`.
+     * * Supported fields/values for inspect jobs:
+     *     - `status` - HEALTHY|PAUSED|CANCELLED
+     *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+     *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+     *     quotation marks. Nanoseconds are ignored.
+     *     - 'error_count' - Number of errors that have occurred while running.
+     * * The operator must be `=` or `!=` for status and inspected_storage.
+     * Examples:
+     * * inspected_storage = cloud_storage AND status = HEALTHY
+     * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+     * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+     * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+     * The length of this field should be no more than 500 characters.
+     * 
+ * + * string filter = 5; + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Allows filtering.
+     * Supported syntax:
+     * * Filter expressions are made up of one or more restrictions.
+     * * Restrictions can be combined by `AND` or `OR` logical operators. A
+     * sequence of restrictions implicitly uses `AND`.
+     * * A restriction has the form of `<field> <operator> <value>`.
+     * * Supported fields/values for inspect jobs:
+     *     - `status` - HEALTHY|PAUSED|CANCELLED
+     *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+     *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+     *     quotation marks. Nanoseconds are ignored.
+     *     - 'error_count' - Number of errors that have occurred while running.
+     * * The operator must be `=` or `!=` for status and inspected_storage.
+     * Examples:
+     * * inspected_storage = cloud_storage AND status = HEALTHY
+     * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+     * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+     * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+     * The length of this field should be no more than 500 characters.
+     * 
+ * + * string filter = 5; + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Allows filtering.
+     * Supported syntax:
+     * * Filter expressions are made up of one or more restrictions.
+     * * Restrictions can be combined by `AND` or `OR` logical operators. A
+     * sequence of restrictions implicitly uses `AND`.
+     * * A restriction has the form of `<field> <operator> <value>`.
+     * * Supported fields/values for inspect jobs:
+     *     - `status` - HEALTHY|PAUSED|CANCELLED
+     *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+     *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+     *     quotation marks. Nanoseconds are ignored.
+     *     - 'error_count' - Number of errors that have occurred while running.
+     * * The operator must be `=` or `!=` for status and inspected_storage.
+     * Examples:
+     * * inspected_storage = cloud_storage AND status = HEALTHY
+     * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+     * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+     * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+     * The length of this field should be no more than 500 characters.
+     * 
+ * + * string filter = 5; + */ + public Builder clearFilter() { + + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Allows filtering.
+     * Supported syntax:
+     * * Filter expressions are made up of one or more restrictions.
+     * * Restrictions can be combined by `AND` or `OR` logical operators. A
+     * sequence of restrictions implicitly uses `AND`.
+     * * A restriction has the form of `<field> <operator> <value>`.
+     * * Supported fields/values for inspect jobs:
+     *     - `status` - HEALTHY|PAUSED|CANCELLED
+     *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+     *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+     *     quotation marks. Nanoseconds are ignored.
+     *     - 'error_count' - Number of errors that have occurred while running.
+     * * The operator must be `=` or `!=` for status and inspected_storage.
+     * Examples:
+     * * inspected_storage = cloud_storage AND status = HEALTHY
+     * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+     * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+     * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+     * The length of this field should be no more than 500 characters.
+     * 
+ * + * string filter = 5; + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filter_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java index ee34766ab921..ae21fd429580 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java @@ -77,6 +77,7 @@ public interface ListJobTriggersRequestOrBuilder * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -97,6 +98,7 @@ public interface ListJobTriggersRequestOrBuilder * Supported fields are: * - `create_time`: corresponds to time the JobTrigger was created. * - `update_time`: corresponds to time the JobTrigger was last updated. + * - `last_run_time`: corresponds to the last time the JobTrigger ran. * - `name`: corresponds to JobTrigger's name. * - `display_name`: corresponds to JobTrigger's display name. * - `status`: corresponds to JobTrigger's status. @@ -105,4 +107,61 @@ public interface ListJobTriggersRequestOrBuilder * string order_by = 4; */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Optional. Allows filtering.
+   * Supported syntax:
+   * * Filter expressions are made up of one or more restrictions.
+   * * Restrictions can be combined by `AND` or `OR` logical operators. A
+   * sequence of restrictions implicitly uses `AND`.
+   * * A restriction has the form of `<field> <operator> <value>`.
+   * * Supported fields/values for inspect jobs:
+   *     - `status` - HEALTHY|PAUSED|CANCELLED
+   *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+   *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+   *     quotation marks. Nanoseconds are ignored.
+   *     - 'error_count' - Number of errors that have occurred while running.
+   * * The operator must be `=` or `!=` for status and inspected_storage.
+   * Examples:
+   * * inspected_storage = cloud_storage AND status = HEALTHY
+   * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+   * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+   * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+   * The length of this field should be no more than 500 characters.
+   * 
+ * + * string filter = 5; + */ + java.lang.String getFilter(); + /** + * + * + *
+   * Optional. Allows filtering.
+   * Supported syntax:
+   * * Filter expressions are made up of one or more restrictions.
+   * * Restrictions can be combined by `AND` or `OR` logical operators. A
+   * sequence of restrictions implicitly uses `AND`.
+   * * A restriction has the form of `<field> <operator> <value>`.
+   * * Supported fields/values for inspect jobs:
+   *     - `status` - HEALTHY|PAUSED|CANCELLED
+   *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
+   *     - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
+   *     quotation marks. Nanoseconds are ignored.
+   *     - 'error_count' - Number of errors that have occurred while running.
+   * * The operator must be `=` or `!=` for status and inspected_storage.
+   * Examples:
+   * * inspected_storage = cloud_storage AND status = HEALTHY
+   * * inspected_storage = cloud_storage OR inspected_storage = bigquery
+   * * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
+   * * last_run_time > \"2017-12-12T00:00:00+00:00\"
+   * The length of this field should be no more than 500 characters.
+   * 
+ * + * string filter = 5; + */ + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java index a9489630f5fb..983b008bb96b 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordCondition.java @@ -194,6 +194,8 @@ public interface ConditionOrBuilder *
    * The field type of `value` and `field` do not need to match to be
    * considered equal, but not all comparisons are possible.
+   * EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
+   * but all other comparisons are invalid with incompatible types.
    * A `value` of type:
    * - `string` can be compared against all other types
    * - `boolean` can only be compared against other booleans
@@ -629,6 +631,8 @@ protected Builder newBuilderForType(
      * 
      * The field type of `value` and `field` do not need to match to be
      * considered equal, but not all comparisons are possible.
+     * EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types,
+     * but all other comparisons are invalid with incompatible types.
      * A `value` of type:
      * - `string` can be compared against all other types
      * - `boolean` can only be compared against other booleans
diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
index be06f5831510..438c109f24c4 100644
--- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
+++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKey.java
@@ -22,7 +22,9 @@ private RecordKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
-  private RecordKey() {}
+  private RecordKey() {
+    idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+  }
 
   @java.lang.Override
   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
@@ -80,6 +82,16 @@ private RecordKey(
               typeCase_ = 3;
               break;
             }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+                idValues_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              idValues_.add(s);
+              break;
+            }
           default:
             {
               if (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
@@ -94,6 +106,9 @@ private RecordKey(
     } catch (java.io.IOException e) {
       throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
+      if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
+        idValues_ = idValues_.getUnmodifiableView();
+      }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
@@ -114,6 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
             com.google.privacy.dlp.v2.RecordKey.Builder.class);
   }
 
+  private int bitField0_;
   private int typeCase_ = 0;
   private java.lang.Object type_;
 
@@ -194,6 +210,61 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder()
     return com.google.privacy.dlp.v2.BigQueryKey.getDefaultInstance();
   }
 
+  public static final int ID_VALUES_FIELD_NUMBER = 5;
+  private com.google.protobuf.LazyStringList idValues_;
+  /**
+   *
+   *
+   * 
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + public com.google.protobuf.ProtocolStringList getIdValuesList() { + return idValues_; + } + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + public int getIdValuesCount() { + return idValues_.size(); + } + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + public java.lang.String getIdValues(int index) { + return idValues_.get(index); + } + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + public com.google.protobuf.ByteString getIdValuesBytes(int index) { + return idValues_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -214,6 +285,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (typeCase_ == 3) { output.writeMessage(3, (com.google.privacy.dlp.v2.BigQueryKey) type_); } + for (int i = 0; i < idValues_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idValues_.getRaw(i)); + } unknownFields.writeTo(output); } @@ -233,6 +307,14 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 3, (com.google.privacy.dlp.v2.BigQueryKey) type_); } + { + int dataSize = 0; + for (int i = 0; i < idValues_.size(); i++) { + dataSize += computeStringSizeNoTag(idValues_.getRaw(i)); + } + size += dataSize; + size += 1 * getIdValuesList().size(); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -249,6 +331,7 @@ public boolean equals(final java.lang.Object obj) { com.google.privacy.dlp.v2.RecordKey other = (com.google.privacy.dlp.v2.RecordKey) obj; boolean result = true; + result = result && getIdValuesList().equals(other.getIdValuesList()); result = result && getTypeCase().equals(other.getTypeCase()); if (!result) return false; switch (typeCase_) { @@ -272,6 +355,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (getIdValuesCount() > 0) { + hash = (37 * hash) + ID_VALUES_FIELD_NUMBER; + hash = (53 * hash) + getIdValuesList().hashCode(); + } switch (typeCase_) { case 2: hash = (37 * hash) + DATASTORE_KEY_FIELD_NUMBER; @@ -428,6 +515,8 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); typeCase_ = 0; type_ = null; return this; @@ -456,6 +545,8 @@ public com.google.privacy.dlp.v2.RecordKey build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordKey buildPartial() { com.google.privacy.dlp.v2.RecordKey result = new com.google.privacy.dlp.v2.RecordKey(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (typeCase_ == 2) { if (datastoreKeyBuilder_ == null) { result.type_ = type_; @@ -470,6 +561,12 @@ public com.google.privacy.dlp.v2.RecordKey buildPartial() { result.type_ = bigQueryKeyBuilder_.build(); } } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + idValues_ = idValues_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.idValues_ = idValues_; + result.bitField0_ = to_bitField0_; result.typeCase_ = typeCase_; onBuilt(); return result; @@ -520,6 +617,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.RecordKey other) { if (other == com.google.privacy.dlp.v2.RecordKey.getDefaultInstance()) return this; + if (!other.idValues_.isEmpty()) { + if (idValues_.isEmpty()) { + idValues_ = other.idValues_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureIdValuesIsMutable(); + idValues_.addAll(other.idValues_); + } + onChanged(); + } switch (other.getTypeCase()) { case DATASTORE_KEY: { @@ -579,6 +686,8 @@ public Builder clearType() { return this; } + private int bitField0_; + private com.google.protobuf.SingleFieldBuilderV3< com.google.privacy.dlp.v2.DatastoreKey, com.google.privacy.dlp.v2.DatastoreKey.Builder, @@ -832,6 +941,158 @@ public com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder() return bigQueryKeyBuilder_; } + private com.google.protobuf.LazyStringList idValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureIdValuesIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + idValues_ = new com.google.protobuf.LazyStringArrayList(idValues_); + bitField0_ |= 0x00000004; + } + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public com.google.protobuf.ProtocolStringList getIdValuesList() { + return idValues_.getUnmodifiableView(); + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public int getIdValuesCount() { + return idValues_.size(); + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public java.lang.String getIdValues(int index) { + return idValues_.get(index); + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public com.google.protobuf.ByteString getIdValuesBytes(int index) { + return idValues_.getByteString(index); + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public Builder setIdValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIdValuesIsMutable(); + idValues_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public Builder addIdValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIdValuesIsMutable(); + idValues_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public Builder addAllIdValues(java.lang.Iterable values) { + ensureIdValuesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, idValues_); + onChanged(); + return this; + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public Builder clearIdValues() { + idValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Values of identifying columns in the given row. Order of values matches
+     * the order of field identifiers specified in the scanning request.
+     * 
+ * + * repeated string id_values = 5; + */ + public Builder addIdValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIdValuesIsMutable(); + idValues_.add(value); + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java index a8535fdbb57e..fadc9fc52ef6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordKeyOrBuilder.java @@ -22,5 +22,50 @@ public interface RecordKeyOrBuilder /** .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; */ com.google.privacy.dlp.v2.BigQueryKeyOrBuilder getBigQueryKeyOrBuilder(); + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + java.util.List getIdValuesList(); + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + int getIdValuesCount(); + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + java.lang.String getIdValues(int index); + /** + * + * + *
+   * Values of identifying columns in the given row. Order of values matches
+   * the order of field identifiers specified in the scanning request.
+   * 
+ * + * repeated string id_values = 5; + */ + com.google.protobuf.ByteString getIdValuesBytes(int index); + public com.google.privacy.dlp.v2.RecordKey.TypeCase getTypeCase(); } diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java index 6fff36e2cc53..81629fdcebc2 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RelationalOperator.java @@ -19,7 +19,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu * * *
-   * Equal.
+   * Equal. Attempts to match even with incompatible types.
    * 
* * EQUAL_TO = 1; @@ -29,7 +29,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu * * *
-   * Not equal to.
+   * Not equal to. Attempts to match even with incompatible types.
    * 
* * NOT_EQUAL_TO = 2; @@ -94,7 +94,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu * * *
-   * Equal.
+   * Equal. Attempts to match even with incompatible types.
    * 
* * EQUAL_TO = 1; @@ -104,7 +104,7 @@ public enum RelationalOperator implements com.google.protobuf.ProtocolMessageEnu * * *
-   * Not equal to.
+   * Not equal to. Attempts to match even with incompatible types.
    * 
* * NOT_EQUAL_TO = 2; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java index 1b217808e79b..92cd1fe2d706 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummary.java @@ -1103,7 +1103,7 @@ public com.google.protobuf.Parser getParserForType() { * * *
-   * Set if the transformation was limited to a specific info_type.
+   * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -1115,7 +1115,7 @@ public boolean hasInfoType() { * * *
-   * Set if the transformation was limited to a specific info_type.
+   * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -1127,7 +1127,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { * * *
-   * Set if the transformation was limited to a specific info_type.
+   * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -1941,7 +1941,7 @@ public Builder mergeFrom( * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -1953,7 +1953,7 @@ public boolean hasInfoType() { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -1971,7 +1971,7 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -1993,7 +1993,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -2012,7 +2012,7 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -2038,7 +2038,7 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -2058,7 +2058,7 @@ public Builder clearInfoType() { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -2072,7 +2072,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -2090,7 +2090,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { * * *
-     * Set if the transformation was limited to a specific info_type.
+     * Set if the transformation was limited to a specific InfoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java index f08b0d7c963e..98458651fbd6 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationSummaryOrBuilder.java @@ -12,7 +12,7 @@ public interface TransformationSummaryOrBuilder * * *
-   * Set if the transformation was limited to a specific info_type.
+   * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -22,7 +22,7 @@ public interface TransformationSummaryOrBuilder * * *
-   * Set if the transformation was limited to a specific info_type.
+   * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; @@ -32,7 +32,7 @@ public interface TransformationSummaryOrBuilder * * *
-   * Set if the transformation was limited to a specific info_type.
+   * Set if the transformation was limited to a specific InfoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index e2858d6f652c..cdf9d19fc70f 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -280,6 +280,15 @@ service DlpService { }; } + // Activate a job trigger. Causes the immediate execute of a trigger + // instead of waiting on the trigger event to occur. + rpc ActivateJobTrigger(ActivateJobTriggerRequest) returns (DlpJob) { + option (google.api.http) = { + post: "/v2/{name=projects/*/jobTriggers/*}:activate" + body: "*" + }; + } + // Creates a new job to inspect storage or calculate risk metrics. // See https://cloud.google.com/dlp/docs/inspecting-storage and // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. @@ -432,6 +441,18 @@ message ExclusionRule { MatchingType matching_type = 4; } +// Options describing which parts of the provided content should be scanned. +enum ContentOption { + // Includes entire content of a file or a data stream. + CONTENT_UNSPECIFIED = 0; + + // Text content within the data, excluding any metadata. + CONTENT_TEXT = 1; + + // Images found in the data. + CONTENT_IMAGE = 2; +} + // A single inspection rule to be applied to infoTypes, specified in // `InspectionRuleSet`. message InspectionRule { @@ -474,12 +495,12 @@ message InspectConfig { // Max number of findings that will be returned for each item scanned. // When set within `InspectDataSourceRequest`, - // the maximum returned is 1000 regardless if this is set higher. + // the maximum returned is 2000 regardless if this is set higher. // When set within `InspectContentRequest`, this field is ignored. int32 max_findings_per_item = 1; // Max number of findings that will be returned per request/job. - // When set within `InspectContentRequest`, the maximum returned is 1000 + // When set within `InspectContentRequest`, the maximum returned is 2000 // regardless if this is set higher. int32 max_findings_per_request = 2; @@ -645,6 +666,35 @@ message Location { repeated ContentLocation content_locations = 7; } +// Type of the match which can be applied to different ways of matching, like +// Dictionary, regular expression and intersecting with findings of another +// info type. +enum MatchingType { + // Invalid. + MATCHING_TYPE_UNSPECIFIED = 0; + + // Full match. + // + // - Dictionary: join of Dictionary results matched complete finding quote + // - Regex: all regex matches fill a finding quote start to end + // - Exclude info type: completely inside affecting info types findings + MATCHING_TYPE_FULL_MATCH = 1; + + // Partial match. + // + // - Dictionary: at least one of the tokens in the finding matches + // - Regex: substring of the finding matches + // - Exclude info type: intersects with affecting info types findings + MATCHING_TYPE_PARTIAL_MATCH = 2; + + // Inverse match. + // + // - Dictionary: no tokens in the finding match the dictionary + // - Regex: finding doesn't match the regex + // - Exclude info type: no intersection with affecting info types findings + MATCHING_TYPE_INVERSE_MATCH = 3; +} + // Findings container location data. message ContentLocation { // Name of the container where the finding is located. @@ -1019,6 +1069,10 @@ message InfoTypeDescription { // Which parts of the API supports this InfoType. repeated InfoTypeSupportedBy supported_by = 3; + + // Description of the infotype. Translated when language is provided in the + // request. + string description = 4; } // Request for the list of infoTypes. @@ -1652,9 +1706,10 @@ message TimePartConfig { // Pseudonymization method that generates surrogates via cryptographic hashing. // Uses SHA-256. // The key size must be either 32 or 64 bytes. -// Outputs a 32 byte digest as an uppercase hex string -// (for example, 41D1567F7F99F1DC2A5FAB886DEE5BEE). +// Outputs a base64 encoded representation of the hashed output +// (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). // Currently, only string and integer values can be hashed. +// See https://cloud.google.com/dlp/docs/pseudonymization to learn more. message CryptoHashConfig { // The key used by the hash function. CryptoKey crypto_key = 1; @@ -1933,6 +1988,17 @@ message UnwrappedCryptoKey { bytes key = 1; } +// Parts of the APIs which use certain infoTypes. +enum InfoTypeSupportedBy { + ENUM_TYPE_UNSPECIFIED = 0; + + // Supported by the inspect operations. + INSPECT = 1; + + // Supported by the risk analysis operations. + RISK_ANALYSIS = 2; +} + // Include to use an existing data crypto key wrapped by KMS. // Authorization requires the following IAM permissions when sending a request // to perform a crypto transformation using a kms-wrapped crypto key: @@ -2048,7 +2114,8 @@ message RecordSuppression { message RecordCondition { // The field type of `value` and `field` do not need to match to be // considered equal, but not all comparisons are possible. - // + // EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, + // but all other comparisons are invalid with incompatible types. // A `value` of type: // // - `string` can be compared against all other types @@ -2135,7 +2202,7 @@ message TransformationSummary { ERROR = 2; } - // Set if the transformation was limited to a specific info_type. + // Set if the transformation was limited to a specific InfoType. InfoType info_type = 1; // Set if the transformation was limited to a specific FieldId. @@ -2340,6 +2407,12 @@ message Action { } + // Enable email notification to project owners and editors on jobs's + // completion/failure. + message JobNotificationEmails { + + } + oneof action { // Save resulting findings in a provided location. SaveFindings save_findings = 1; @@ -2349,6 +2422,10 @@ message Action { // Publish summary to Cloud Security Command Center (Alpha). PublishSummaryToCscc publish_summary_to_cscc = 3; + + // Enable email notification to project owners and editors on job‘s + // completion/failure. + JobNotificationEmails job_notification_emails = 8; } } @@ -2453,6 +2530,13 @@ message CreateJobTriggerRequest { string trigger_id = 3; } +// Request message for ActivateJobTrigger. +message ActivateJobTriggerRequest { + // Resource name of the trigger to activate, for example + // `projects/dlp-test-project/jobTriggers/53234423`. + string name = 1; +} + // Request message for UpdateJobTrigger. message UpdateJobTriggerRequest { // Resource name of the project and the triggeredJob, for example @@ -2518,10 +2602,37 @@ message ListJobTriggersRequest { // // - `create_time`: corresponds to time the JobTrigger was created. // - `update_time`: corresponds to time the JobTrigger was last updated. + // - `last_run_time`: corresponds to the last time the JobTrigger ran. // - `name`: corresponds to JobTrigger's name. // - `display_name`: corresponds to JobTrigger's display name. // - `status`: corresponds to JobTrigger's status. string order_by = 4; + + // Optional. Allows filtering. + // + // Supported syntax: + // + // * Filter expressions are made up of one or more restrictions. + // * Restrictions can be combined by `AND` or `OR` logical operators. A + // sequence of restrictions implicitly uses `AND`. + // * A restriction has the form of ` `. + // * Supported fields/values for inspect jobs: + // - `status` - HEALTHY|PAUSED|CANCELLED + // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY + // - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by + // quotation marks. Nanoseconds are ignored. + // - 'error_count' - Number of errors that have occurred while running. + // * The operator must be `=` or `!=` for status and inspected_storage. + // + // Examples: + // + // * inspected_storage = cloud_storage AND status = HEALTHY + // * inspected_storage = cloud_storage OR inspected_storage = bigquery + // * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) + // * last_run_time > \"2017-12-12T00:00:00+00:00\" + // + // The length of this field should be no more than 500 characters. + string filter = 5; } // Response message for ListJobTriggers. @@ -2619,6 +2730,32 @@ message GetDlpJobRequest { string name = 1; } +// 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 { // The parent resource name, for example projects/my-project-id. @@ -2949,84 +3086,6 @@ message DeleteStoredInfoTypeRequest { string name = 1; } -// Options describing which parts of the provided content should be scanned. -enum ContentOption { - // Includes entire content of a file or a data stream. - CONTENT_UNSPECIFIED = 0; - - // Text content within the data, excluding any metadata. - CONTENT_TEXT = 1; - - // Images found in the data. - CONTENT_IMAGE = 2; -} - -// Type of the match which can be applied to different ways of matching, like -// Dictionary, regular expression and intersecting with findings of another -// info type. -enum MatchingType { - // Invalid. - MATCHING_TYPE_UNSPECIFIED = 0; - - // Full match. - // - // - Dictionary: join of Dictionary results matched complete finding quote - // - Regex: all regex matches fill a finding quote start to end - // - Exclude info type: completely inside affecting info types findings - MATCHING_TYPE_FULL_MATCH = 1; - - // Partial match. - // - // - Dictionary: at least one of the tokens in the finding matches - // - Regex: substring of the finding matches - // - Exclude info type: intersects with affecting info types findings - MATCHING_TYPE_PARTIAL_MATCH = 2; - - // Inverse match. - // - // - Dictionary: no tokens in the finding match the dictionary - // - Regex: finding doesn't match the regex - // - Exclude info type: no intersection with affecting info types findings - MATCHING_TYPE_INVERSE_MATCH = 3; -} - -// Parts of the APIs which use certain infoTypes. -enum InfoTypeSupportedBy { - ENUM_TYPE_UNSPECIFIED = 0; - - // Supported by the inspect operations. - INSPECT = 1; - - // Supported by the risk analysis operations. - RISK_ANALYSIS = 2; -} - -// Operators available for comparing the value of fields. -enum RelationalOperator { - RELATIONAL_OPERATOR_UNSPECIFIED = 0; - - // Equal. - EQUAL_TO = 1; - - // Not equal to. - 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; -} - // An enum to represent the various type of DLP jobs. enum DlpJobType { DLP_JOB_TYPE_UNSPECIFIED = 0; diff --git a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index e7b540cbb861..9993c25fce9e 100644 --- a/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/google-api-grpc/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -50,6 +50,26 @@ message StoredType { google.protobuf.Timestamp create_time = 2; } +// Categorization of results based on how likely they are to represent a match, +// based on the number of elements they contain which imply a match. +enum Likelihood { + // Default value; same as POSSIBLE. + LIKELIHOOD_UNSPECIFIED = 0; + + // Few matching elements. + VERY_UNLIKELY = 1; + + UNLIKELY = 2; + + // Some matching elements. + POSSIBLE = 3; + + LIKELY = 4; + + // Many matching elements. + VERY_LIKELY = 5; +} + // Custom information type provided by the user. Used to find domain-specific // sensitive information configurable to the data in question. message CustomInfoType { @@ -101,6 +121,10 @@ message CustomInfoType { // (https://github.com/google/re2/wiki/Syntax) can be found under the // google/re2 repository on GitHub. string pattern = 1; + + // The index of the submatch to extract as findings. When not + // specified, the entire match is returned. No more than 3 may be included. + repeated int32 group_indexes = 2; } // Message for detecting output from deidentification transformations @@ -321,8 +345,15 @@ message CloudStorageOptions { // Set of files to scan. message FileSet { // The Cloud Storage url of the file(s) to scan, in the format - // `gs:///`. Trailing wildcard in the path is allowed. Exactly - // one of `url` or `regex_file_set` must be set. + // `gs:///`. Trailing wildcard in the path is allowed. + // + // If the url ends in a trailing slash, the bucket or directory represented + // by the url will be scanned non-recursively (content in sub-directories + // will not be scanned). This means that `gs://mybucket/` is equivalent to + // `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to + // `gs://mybucket/directory/*`. + // + // Exactly one of `url` or `regex_file_set` must be set. string url = 1; // The regex-filtered set of files to scan. Exactly one of `url` or @@ -389,8 +420,8 @@ message CloudStoragePath { // Options defining BigQuery table and row identifiers. message BigQueryOptions { // How to sample rows if not all rows are scanned. Meaningful only when used - // in conjunction with rows_limit. If not specified, scanning would start - // from the top. + // in conjunction with either rows_limit or rows_limit_percent. If not + // specified, scanning would start from the top. enum SampleMethod { SAMPLE_METHOD_UNSPECIFIED = 0; @@ -472,6 +503,28 @@ message StorageConfig { TimespanConfig timespan_config = 6; } +// Definitions of file type groups to scan. +enum FileType { + // Includes all files. + FILE_TYPE_UNSPECIFIED = 0; + + // Includes all file extensions not covered by text file types. + BINARY_FILE = 1; + + // Included file extensions: + // asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, + // hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, + // ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, + // rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, + // xml, xsl, xsd, yml, yaml. + TEXT_FILE = 2; + + // Included file extensions: + // bmp, gif, jpg, jpeg, jpe, png. + // bytes_limit_per_file has no effect on image files. + IMAGE = 3; +} + // Row key for identifying a record in BigQuery table. message BigQueryKey { // Complete BigQuery table reference. @@ -543,6 +596,10 @@ message RecordKey { BigQueryKey big_query_key = 3; } + + // Values of identifying columns in the given row. Order of values matches + // the order of field identifiers specified in the scanning request. + repeated string id_values = 5; } // Message defining the location of a BigQuery table. A table is uniquely @@ -580,40 +637,3 @@ message EntityId { // Composite key indicating which field contains the entity identifier. FieldId field = 1; } - -// Categorization of results based on how likely they are to represent a match, -// based on the number of elements they contain which imply a match. -enum Likelihood { - // Default value; same as POSSIBLE. - LIKELIHOOD_UNSPECIFIED = 0; - - // Few matching elements. - VERY_UNLIKELY = 1; - - UNLIKELY = 2; - - // Some matching elements. - POSSIBLE = 3; - - LIKELY = 4; - - // Many matching elements. - VERY_LIKELY = 5; -} - -// Definitions of file type groups to scan. -enum FileType { - // Includes all files. - FILE_TYPE_UNSPECIFIED = 0; - - // Includes all file extensions not covered by text file types. - BINARY_FILE = 1; - - // Included file extensions: - // asc, brf, c, cc, cpp, csv, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, - // hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, - // ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, - // rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, - // xml, xsl, xsd, yml, yaml. - TEXT_FILE = 2; -} diff --git a/google-cloud-clients/google-cloud-dlp/synth.metadata b/google-cloud-clients/google-cloud-dlp/synth.metadata index b435a70f2921..07d94c19e552 100644 --- a/google-cloud-clients/google-cloud-dlp/synth.metadata +++ b/google-cloud-clients/google-cloud-dlp/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:43:16.350139Z", + "updateTime": "2019-02-20T08:44:11.890128Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.13", + "dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "96cb68536cdb3c1d95c624ec0d32466cfd5fd882", + "internalRef": "234655328" } } ],