diff --git a/proto-google-cloud-dlp-v2/clirr-ignored-differences.xml b/proto-google-cloud-dlp-v2/clirr-ignored-differences.xml new file mode 100644 index 00000000..ed836ae7 --- /dev/null +++ b/proto-google-cloud-dlp-v2/clirr-ignored-differences.xml @@ -0,0 +1,19 @@ + + + + + 7012 + com/google/privacy/dlp/v2/*OrBuilder + * get*(*) + + + 7012 + com/google/privacy/dlp/v2/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/privacy/dlp/v2/*OrBuilder + boolean has*(*) + + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java index a8499ca3..06fa71ba 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -156,6 +156,25 @@ private Action( actionCase_ = 8; break; } + case 74: + { + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder subBuilder = null; + if (actionCase_ == 9) { + subBuilder = + ((com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_).toBuilder(); + } + action_ = + input.readMessage( + com.google.privacy.dlp.v2.Action.PublishToStackdriver.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); + action_ = subBuilder.buildPartial(); + } + actionCase_ = 9; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -2848,203 +2867,653 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstance } } - 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), - PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG(5), - 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 5: - return PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG; - 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; - } + public interface PublishToStackdriverOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToStackdriver) + com.google.protobuf.MessageOrBuilder {} /** * * *
-   * Save resulting findings in a provided location.
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
+   * will publish a metric to stack driver on each infotype requested and
+   * how many findings were found for it. CustomDetectors will be bucketed
+   * as 'Custom' under the Stackdriver label 'info_type'.
    * 
* - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver} */ - public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { - if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + public static final class PublishToStackdriver extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.PublishToStackdriver) + PublishToStackdriverOrBuilder { + private static final long serialVersionUID = 0L; + // Use PublishToStackdriver.newBuilder() to construct. + private PublishToStackdriver(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - 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_; + + private PublishToStackdriver() {} + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - 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_; + private PublishToStackdriver( + 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 (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } } - 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_; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor; } - 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_; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.PublishToStackdriver.class, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class); } - 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_; + + 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; } - return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); - } - public static final int PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER = 5; - /** - * - * - *
-   * Publish findings to Cloud Datahub.
-   * 
- * - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - */ - public boolean hasPublishFindingsToCloudDataCatalog() { - return actionCase_ == 5; - } + @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.PublishToStackdriver)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.Action.PublishToStackdriver other = + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver 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.PublishToStackdriver parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver 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.PublishToStackdriver parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver 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.PublishToStackdriver 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.PublishToStackdriver 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.PublishToStackdriver 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.PublishToStackdriver 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.PublishToStackdriver 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.PublishToStackdriver 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.PublishToStackdriver 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 Stackdriver metric dlp.googleapis.com/finding_count. This
+     * will publish a metric to stack driver on each infotype requested and
+     * how many findings were found for it. CustomDetectors will be bucketed
+     * as 'Custom' under the Stackdriver label 'info_type'.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.PublishToStackdriver) + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_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_PublishToStackdriver_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.PublishToStackdriver.class, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.Action.PublishToStackdriver.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_PublishToStackdriver_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToStackdriver build() { + com.google.privacy.dlp.v2.Action.PublishToStackdriver result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToStackdriver buildPartial() { + com.google.privacy.dlp.v2.Action.PublishToStackdriver result = + new com.google.privacy.dlp.v2.Action.PublishToStackdriver(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.PublishToStackdriver) { + return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToStackdriver other) { + if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.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.PublishToStackdriver parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) 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.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.PublishToStackdriver) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToStackdriver) + private static final com.google.privacy.dlp.v2.Action.PublishToStackdriver DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishToStackdriver(); + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PublishToStackdriver parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PublishToStackdriver(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.PublishToStackdriver 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), + PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG(5), + JOB_NOTIFICATION_EMAILS(8), + PUBLISH_TO_STACKDRIVER(9), + 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 5: + return PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG; + case 8: + return JOB_NOTIFICATION_EMAILS; + case 9: + return PUBLISH_TO_STACKDRIVER; + 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 PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER = 5; + /** + * + * + *
+   * Publish findings to Cloud Datahub.
+   * 
+ * + * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * + */ + public boolean hasPublishFindingsToCloudDataCatalog() { + return actionCase_ == 5; + } /** * * @@ -3130,6 +3599,51 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); } + public static final int PUBLISH_TO_STACKDRIVER_FIELD_NUMBER = 9; + /** + * + * + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public boolean hasPublishToStackdriver() { + return actionCase_ == 9; + } + /** + * + * + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() { + if (actionCase_ == 9) { + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + /** + * + * + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder + getPublishToStackdriverOrBuilder() { + if (actionCase_ == 9) { + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3160,6 +3674,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (actionCase_ == 8) { output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); } + if (actionCase_ == 9) { + output.writeMessage(9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); + } unknownFields.writeTo(output); } @@ -3194,6 +3711,11 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); } + if (actionCase_ == 9) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3227,6 +3749,9 @@ public boolean equals(final java.lang.Object obj) { case 8: if (!getJobNotificationEmails().equals(other.getJobNotificationEmails())) return false; break; + case 9: + if (!getPublishToStackdriver().equals(other.getPublishToStackdriver())) return false; + break; case 0: default: } @@ -3262,6 +3787,10 @@ public int hashCode() { hash = (37 * hash) + JOB_NOTIFICATION_EMAILS_FIELD_NUMBER; hash = (53 * hash) + getJobNotificationEmails().hashCode(); break; + case 9: + hash = (37 * hash) + PUBLISH_TO_STACKDRIVER_FIELD_NUMBER; + hash = (53 * hash) + getPublishToStackdriver().hashCode(); + break; case 0: default: } @@ -3473,6 +4002,13 @@ public com.google.privacy.dlp.v2.Action buildPartial() { result.action_ = jobNotificationEmailsBuilder_.build(); } } + if (actionCase_ == 9) { + if (publishToStackdriverBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = publishToStackdriverBuilder_.build(); + } + } result.actionCase_ = actionCase_; onBuilt(); return result; @@ -3549,6 +4085,11 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Action other) { mergeJobNotificationEmails(other.getJobNotificationEmails()); break; } + case PUBLISH_TO_STACKDRIVER: + { + mergePublishToStackdriver(other.getPublishToStackdriver()); + break; + } case ACTION_NOT_SET: { break; @@ -4657,6 +5198,213 @@ public Builder clearJobNotificationEmails() { return jobNotificationEmailsBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToStackdriver, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> + publishToStackdriverBuilder_; + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public boolean hasPublishToStackdriver() { + return actionCase_ == 9; + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver() { + if (publishToStackdriverBuilder_ == null) { + if (actionCase_ == 9) { + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } else { + if (actionCase_ == 9) { + return publishToStackdriverBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public Builder setPublishToStackdriver( + com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { + if (publishToStackdriverBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + publishToStackdriverBuilder_.setMessage(value); + } + actionCase_ = 9; + return this; + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public Builder setPublishToStackdriver( + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder builderForValue) { + if (publishToStackdriverBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + publishToStackdriverBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 9; + return this; + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public Builder mergePublishToStackdriver( + com.google.privacy.dlp.v2.Action.PublishToStackdriver value) { + if (publishToStackdriverBuilder_ == null) { + if (actionCase_ == 9 + && action_ + != com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.PublishToStackdriver.newBuilder( + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_) + .mergeFrom(value) + .buildPartial(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 9) { + publishToStackdriverBuilder_.mergeFrom(value); + } + publishToStackdriverBuilder_.setMessage(value); + } + actionCase_ = 9; + return this; + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public Builder clearPublishToStackdriver() { + if (publishToStackdriverBuilder_ == null) { + if (actionCase_ == 9) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 9) { + actionCase_ = 0; + action_ = null; + } + publishToStackdriverBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder + getPublishToStackdriverBuilder() { + return getPublishToStackdriverFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder + getPublishToStackdriverOrBuilder() { + if ((actionCase_ == 9) && (publishToStackdriverBuilder_ != null)) { + return publishToStackdriverBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 9) { + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + } + /** + * + * + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToStackdriver, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder> + getPublishToStackdriverFieldBuilder() { + if (publishToStackdriverBuilder_ == null) { + if (!(actionCase_ == 9)) { + action_ = com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + publishToStackdriverBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.PublishToStackdriver, + com.google.privacy.dlp.v2.Action.PublishToStackdriver.Builder, + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder>( + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 9; + onChanged(); + ; + return publishToStackdriverBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java index e3086bfc..a015bd03 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java @@ -190,5 +190,36 @@ public interface ActionOrBuilder com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder(); + /** + * + * + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + boolean hasPublishToStackdriver(); + /** + * + * + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + com.google.privacy.dlp.v2.Action.PublishToStackdriver getPublishToStackdriver(); + /** + * + * + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder(); + public com.google.privacy.dlp.v2.Action.ActionCase getActionCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java index 920d47c9..3b5aff07 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequest.java @@ -112,11 +112,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the trigger to activate, for example
+   * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -133,11 +135,13 @@ public java.lang.String getName() { * * *
-   * Resource name of the trigger to activate, for example
+   * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -474,11 +478,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the trigger to activate, for example
+     * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -495,11 +501,13 @@ public java.lang.String getName() { * * *
-     * Resource name of the trigger to activate, for example
+     * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -516,11 +524,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the trigger to activate, for example
+     * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -535,11 +545,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the trigger to activate, for example
+     * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -551,11 +563,13 @@ public Builder clearName() { * * *
-     * Resource name of the trigger to activate, for example
+     * Required. Resource name of the trigger to activate, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java index 9c8c3679..f3becace 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActivateJobTriggerRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface ActivateJobTriggerRequestOrBuilder * * *
-   * Resource name of the trigger to activate, for example
+   * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the trigger to activate, for example
+   * Required. Resource name of the trigger to activate, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java index cdc83b49..19143d7f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequest.java @@ -112,10 +112,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The name of the DlpJob resource to be cancelled.
+   * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -132,10 +134,12 @@ public java.lang.String getName() { * * *
-   * The name of the DlpJob resource to be cancelled.
+   * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -470,10 +474,12 @@ public Builder mergeFrom( * * *
-     * The name of the DlpJob resource to be cancelled.
+     * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -490,10 +496,12 @@ public java.lang.String getName() { * * *
-     * The name of the DlpJob resource to be cancelled.
+     * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -510,10 +518,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name of the DlpJob resource to be cancelled.
+     * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -528,10 +538,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The name of the DlpJob resource to be cancelled.
+     * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,10 +555,12 @@ public Builder clearName() { * * *
-     * The name of the DlpJob resource to be cancelled.
+     * Required. The name of the DlpJob resource to be cancelled.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java index 82e214e9..682db7f7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CancelDlpJobRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface CancelDlpJobRequestOrBuilder * * *
-   * The name of the DlpJob resource to be cancelled.
+   * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * The name of the DlpJob resource to be cancelled.
+   * Required. The name of the DlpJob resource to be cancelled.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java index b55f1527..5ce37f2f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfig.java @@ -144,10 +144,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Character to mask the sensitive values&mdash;for example, "*" for an
-   * alphabetic string such as name, or "0" for a numeric string such as ZIP
-   * code or credit card number. String must have length 1. If not supplied, we
-   * will default to "*" for strings, 0 for digits.
+   * Character to use to mask the sensitive values&mdash;for example, `*` for an
+   * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+   * code or credit card number. This string must have a length of 1. If not
+   * supplied, this value defaults to `*` for strings, and `0` for digits.
    * 
* * string masking_character = 1; @@ -167,10 +167,10 @@ public java.lang.String getMaskingCharacter() { * * *
-   * Character to mask the sensitive values&mdash;for example, "*" for an
-   * alphabetic string such as name, or "0" for a numeric string such as ZIP
-   * code or credit card number. String must have length 1. If not supplied, we
-   * will default to "*" for strings, 0 for digits.
+   * Character to use to mask the sensitive values&mdash;for example, `*` for an
+   * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+   * code or credit card number. This string must have a length of 1. If not
+   * supplied, this value defaults to `*` for strings, and `0` for digits.
    * 
* * string masking_character = 1; @@ -210,10 +210,10 @@ public int getNumberToMask() { * *
    * Mask characters in reverse order. For example, if `masking_character` is
-   * '0', number_to_mask is 14, and `reverse_order` is false, then
-   * 1234-5678-9012-3456 -> 00000000000000-3456
-   * If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
-   * is true, then 12345 -> 12***
+   * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
+   * input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
+   * If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
+   * is `true`, then the string `12345` is masked as `12***`.
    * 
* * bool reverse_order = 3; @@ -228,9 +228,10 @@ public boolean getReverseOrder() { * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -242,9 +243,10 @@ public java.util.List getCharactersToIg * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -257,9 +259,10 @@ public java.util.List getCharactersToIg * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -271,9 +274,10 @@ public int getCharactersToIgnoreCount() { * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -285,9 +289,10 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index) * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -714,10 +719,10 @@ public Builder mergeFrom( * * *
-     * Character to mask the sensitive values&mdash;for example, "*" for an
-     * alphabetic string such as name, or "0" for a numeric string such as ZIP
-     * code or credit card number. String must have length 1. If not supplied, we
-     * will default to "*" for strings, 0 for digits.
+     * Character to use to mask the sensitive values&mdash;for example, `*` for an
+     * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+     * code or credit card number. This string must have a length of 1. If not
+     * supplied, this value defaults to `*` for strings, and `0` for digits.
      * 
* * string masking_character = 1; @@ -737,10 +742,10 @@ public java.lang.String getMaskingCharacter() { * * *
-     * Character to mask the sensitive values&mdash;for example, "*" for an
-     * alphabetic string such as name, or "0" for a numeric string such as ZIP
-     * code or credit card number. String must have length 1. If not supplied, we
-     * will default to "*" for strings, 0 for digits.
+     * Character to use to mask the sensitive values&mdash;for example, `*` for an
+     * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+     * code or credit card number. This string must have a length of 1. If not
+     * supplied, this value defaults to `*` for strings, and `0` for digits.
      * 
* * string masking_character = 1; @@ -760,10 +765,10 @@ public com.google.protobuf.ByteString getMaskingCharacterBytes() { * * *
-     * Character to mask the sensitive values&mdash;for example, "*" for an
-     * alphabetic string such as name, or "0" for a numeric string such as ZIP
-     * code or credit card number. String must have length 1. If not supplied, we
-     * will default to "*" for strings, 0 for digits.
+     * Character to use to mask the sensitive values&mdash;for example, `*` for an
+     * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+     * code or credit card number. This string must have a length of 1. If not
+     * supplied, this value defaults to `*` for strings, and `0` for digits.
      * 
* * string masking_character = 1; @@ -781,10 +786,10 @@ public Builder setMaskingCharacter(java.lang.String value) { * * *
-     * Character to mask the sensitive values&mdash;for example, "*" for an
-     * alphabetic string such as name, or "0" for a numeric string such as ZIP
-     * code or credit card number. String must have length 1. If not supplied, we
-     * will default to "*" for strings, 0 for digits.
+     * Character to use to mask the sensitive values&mdash;for example, `*` for an
+     * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+     * code or credit card number. This string must have a length of 1. If not
+     * supplied, this value defaults to `*` for strings, and `0` for digits.
      * 
* * string masking_character = 1; @@ -799,10 +804,10 @@ public Builder clearMaskingCharacter() { * * *
-     * Character to mask the sensitive values&mdash;for example, "*" for an
-     * alphabetic string such as name, or "0" for a numeric string such as ZIP
-     * code or credit card number. String must have length 1. If not supplied, we
-     * will default to "*" for strings, 0 for digits.
+     * Character to use to mask the sensitive values&mdash;for example, `*` for an
+     * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+     * code or credit card number. This string must have a length of 1. If not
+     * supplied, this value defaults to `*` for strings, and `0` for digits.
      * 
* * string masking_character = 1; @@ -871,10 +876,10 @@ public Builder clearNumberToMask() { * *
      * Mask characters in reverse order. For example, if `masking_character` is
-     * '0', number_to_mask is 14, and `reverse_order` is false, then
-     * 1234-5678-9012-3456 -> 00000000000000-3456
-     * If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
-     * is true, then 12345 -> 12***
+     * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
+     * input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
+     * If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
+     * is `true`, then the string `12345` is masked as `12***`.
      * 
* * bool reverse_order = 3; @@ -887,10 +892,10 @@ public boolean getReverseOrder() { * *
      * Mask characters in reverse order. For example, if `masking_character` is
-     * '0', number_to_mask is 14, and `reverse_order` is false, then
-     * 1234-5678-9012-3456 -> 00000000000000-3456
-     * If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
-     * is true, then 12345 -> 12***
+     * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
+     * input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
+     * If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
+     * is `true`, then the string `12345` is masked as `12***`.
      * 
* * bool reverse_order = 3; @@ -906,10 +911,10 @@ public Builder setReverseOrder(boolean value) { * *
      * Mask characters in reverse order. For example, if `masking_character` is
-     * '0', number_to_mask is 14, and `reverse_order` is false, then
-     * 1234-5678-9012-3456 -> 00000000000000-3456
-     * If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
-     * is true, then 12345 -> 12***
+     * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
+     * input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
+     * If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
+     * is `true`, then the string `12345` is masked as `12***`.
      * 
* * bool reverse_order = 3; @@ -942,9 +947,10 @@ private void ensureCharactersToIgnoreIsMutable() { * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -960,9 +966,10 @@ public java.util.List getCharactersToIg * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -978,9 +985,10 @@ public int getCharactersToIgnoreCount() { * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -996,9 +1004,10 @@ public com.google.privacy.dlp.v2.CharsToIgnore getCharactersToIgnore(int index) * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1020,9 +1029,10 @@ public Builder setCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsT * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1042,9 +1052,10 @@ public Builder setCharactersToIgnore( * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1066,9 +1077,10 @@ public Builder addCharactersToIgnore(com.google.privacy.dlp.v2.CharsToIgnore val * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1090,9 +1102,10 @@ public Builder addCharactersToIgnore(int index, com.google.privacy.dlp.v2.CharsT * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1112,9 +1125,10 @@ public Builder addCharactersToIgnore( * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1134,9 +1148,10 @@ public Builder addCharactersToIgnore( * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1156,9 +1171,10 @@ public Builder addAllCharactersToIgnore( * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1177,9 +1193,10 @@ public Builder clearCharactersToIgnore() { * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1198,9 +1215,10 @@ public Builder removeCharactersToIgnore(int index) { * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1212,9 +1230,10 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder getCharactersToIgnoreBuil * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1231,9 +1250,10 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1250,9 +1270,10 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1265,9 +1286,10 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -1280,9 +1302,10 @@ public com.google.privacy.dlp.v2.CharsToIgnore.Builder addCharactersToIgnoreBuil * * *
-     * When masking a string, items in this list will be skipped when replacing.
-     * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-     * mask 5 chars with * we would produce ***-*55-5555.
+     * When masking a string, items in this list will be skipped when replacing
+     * characters. For example, if the input string is `555-555-5555` and you
+     * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+     * returns `***-**5-5555`.
      * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java index c7df93f9..1f85c937 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharacterMaskConfigOrBuilder.java @@ -27,10 +27,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * Character to mask the sensitive values&mdash;for example, "*" for an
-   * alphabetic string such as name, or "0" for a numeric string such as ZIP
-   * code or credit card number. String must have length 1. If not supplied, we
-   * will default to "*" for strings, 0 for digits.
+   * Character to use to mask the sensitive values&mdash;for example, `*` for an
+   * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+   * code or credit card number. This string must have a length of 1. If not
+   * supplied, this value defaults to `*` for strings, and `0` for digits.
    * 
* * string masking_character = 1; @@ -40,10 +40,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * Character to mask the sensitive values&mdash;for example, "*" for an
-   * alphabetic string such as name, or "0" for a numeric string such as ZIP
-   * code or credit card number. String must have length 1. If not supplied, we
-   * will default to "*" for strings, 0 for digits.
+   * Character to use to mask the sensitive values&mdash;for example, `*` for an
+   * alphabetic string such as a name, or `0` for a numeric string such as ZIP
+   * code or credit card number. This string must have a length of 1. If not
+   * supplied, this value defaults to `*` for strings, and `0` for digits.
    * 
* * string masking_character = 1; @@ -67,10 +67,10 @@ public interface CharacterMaskConfigOrBuilder * *
    * Mask characters in reverse order. For example, if `masking_character` is
-   * '0', number_to_mask is 14, and `reverse_order` is false, then
-   * 1234-5678-9012-3456 -> 00000000000000-3456
-   * If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order`
-   * is true, then 12345 -> 12***
+   * `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
+   * input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
+   * If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
+   * is `true`, then the string `12345` is masked as `12***`.
    * 
* * bool reverse_order = 3; @@ -81,9 +81,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -93,9 +94,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -105,9 +107,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -117,9 +120,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; @@ -130,9 +134,10 @@ public interface CharacterMaskConfigOrBuilder * * *
-   * When masking a string, items in this list will be skipped when replacing.
-   * For example, if your string is 555-555-5555 and you ask us to skip `-` and
-   * mask 5 chars with * we would produce ***-*55-5555.
+   * When masking a string, items in this list will be skipped when replacing
+   * characters. For example, if the input string is `555-555-5555` and you
+   * instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
+   * returns `***-**5-5555`.
    * 
* * repeated .google.privacy.dlp.v2.CharsToIgnore characters_to_ignore = 4; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java index ff8cf5c2..74d4da6c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequest.java @@ -137,11 +137,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -158,11 +160,13 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -634,11 +638,13 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -655,11 +661,13 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -676,11 +684,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -695,11 +705,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -711,11 +723,13 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java index 5cd28b74..f6309ae6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDeidentifyTemplateRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface CreateDeidentifyTemplateRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java index 86916a49..c8f311cd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequest.java @@ -194,10 +194,12 @@ public JobCase getJobCase() { * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -214,10 +216,12 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -745,10 +749,12 @@ public Builder clearJob() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -765,10 +771,12 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -785,10 +793,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -803,10 +813,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -818,10 +830,12 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java index 468c2370..36d90283 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateDlpJobRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface CreateDlpJobRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java index c36710a4..89977330 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequest.java @@ -136,11 +136,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -157,11 +159,13 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -633,11 +637,13 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -654,11 +660,13 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -675,11 +683,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -694,11 +704,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -710,11 +722,13 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java index de7a03c0..5e062a8c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateInspectTemplateRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface CreateInspectTemplateRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java index bdd046f4..e7bd1644 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequest.java @@ -136,10 +136,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -156,10 +158,12 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -630,10 +634,12 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -650,10 +656,12 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -670,10 +678,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -688,10 +698,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -703,10 +715,12 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java index 632876d7..d6c16624 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateJobTriggerRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface CreateJobTriggerRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java index 94e753f7..0fa78398 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequest.java @@ -136,11 +136,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -157,11 +159,13 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -633,11 +637,13 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -654,11 +660,13 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -675,11 +683,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -694,11 +704,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -710,11 +722,13 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java index dc457326..5f6535c0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CreateStoredInfoTypeRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface CreateStoredInfoTypeRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java index 1b360c40..e3a14483 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfig.java @@ -203,6 +203,10 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -213,7 +217,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -236,6 +240,10 @@ public boolean hasSurrogateInfoType() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -246,7 +254,7 @@ public boolean hasSurrogateInfoType() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -271,6 +279,10 @@ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -281,7 +293,7 @@ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -958,6 +970,10 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -968,7 +984,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -991,6 +1007,10 @@ public boolean hasSurrogateInfoType() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1001,7 +1021,7 @@ public boolean hasSurrogateInfoType() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1030,6 +1050,10 @@ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1040,7 +1064,7 @@ public com.google.privacy.dlp.v2.InfoType getSurrogateInfoType() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1073,6 +1097,10 @@ public Builder setSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1083,7 +1111,7 @@ public Builder setSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1114,6 +1142,10 @@ public Builder setSurrogateInfoType( * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1124,7 +1156,7 @@ public Builder setSurrogateInfoType( * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1161,6 +1193,10 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1171,7 +1207,7 @@ public Builder mergeSurrogateInfoType(com.google.privacy.dlp.v2.InfoType value) * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1202,6 +1238,10 @@ public Builder clearSurrogateInfoType() { * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1212,7 +1252,7 @@ public Builder clearSurrogateInfoType() { * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1237,6 +1277,10 @@ public com.google.privacy.dlp.v2.InfoType.Builder getSurrogateInfoTypeBuilder() * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1247,7 +1291,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder getSurrogateInfoTypeBuilder() * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -1276,6 +1320,10 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -1286,7 +1334,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java index 4c5a145c..39086c8b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoDeterministicConfigOrBuilder.java @@ -69,6 +69,10 @@ public interface CryptoDeterministicConfigOrBuilder * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -79,7 +83,7 @@ public interface CryptoDeterministicConfigOrBuilder * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -100,6 +104,10 @@ public interface CryptoDeterministicConfigOrBuilder * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -110,7 +118,7 @@ public interface CryptoDeterministicConfigOrBuilder * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; @@ -131,6 +139,10 @@ public interface CryptoDeterministicConfigOrBuilder * This annotation identifies the surrogate when inspecting content using the * custom info type 'Surrogate'. This facilitates reversal of the * surrogate when it occurs in free text. + * Note: For record transformations where the entire cell in a table is being + * transformed, surrogates are optional to use. Surrogates are used to denote + * the location of the token and are necessary for re-identification in free + * form text. * In order for inspection to work properly, the name of this info type must * not occur naturally anywhere in your data; otherwise, inspection may either * - reverse a surrogate that does not correspond to an actual identifier @@ -141,7 +153,7 @@ public interface CryptoDeterministicConfigOrBuilder * that are highly improbable to exist in your data. * For example, assuming your data is entered from a regular ASCII keyboard, * the symbol with the hex code point 29DD might be used like so: - * ⧝MY_TOKEN_TYPE + * ⧝MY_TOKEN_TYPE. * * * .google.privacy.dlp.v2.InfoType surrogate_info_type = 2; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java index 0ec269bd..b71ca285 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java @@ -557,7 +557,7 @@ public int getCommonAlphabetValue() { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -588,7 +588,7 @@ public java.lang.String getCustomAlphabet() { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -617,7 +617,7 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() { * * *
-   * The native way to select the alphabet. Must be in the range [2, 62].
+   * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; @@ -1784,7 +1784,7 @@ public Builder clearCommonAlphabet() { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -1815,7 +1815,7 @@ public java.lang.String getCustomAlphabet() { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -1846,7 +1846,7 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -1870,7 +1870,7 @@ public Builder setCustomAlphabet(java.lang.String value) { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -1893,7 +1893,7 @@ public Builder clearCustomAlphabet() { * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -1915,7 +1915,7 @@ public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) { * * *
-     * The native way to select the alphabet. Must be in the range [2, 62].
+     * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; @@ -1930,7 +1930,7 @@ public int getRadix() { * * *
-     * The native way to select the alphabet. Must be in the range [2, 62].
+     * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; @@ -1945,7 +1945,7 @@ public Builder setRadix(int value) { * * *
-     * The native way to select the alphabet. Must be in the range [2, 62].
+     * The native way to select the alphabet. Must be in the range [2, 95].
      * 
* * int32 radix = 6; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java index d41bd930..6a049348 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfigOrBuilder.java @@ -145,7 +145,7 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -161,7 +161,7 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder * that the FFX mode natively supports. This happens before/after * encryption/decryption. * Each character listed must appear only once. - * Number of characters must be in the range [2, 62]. + * Number of characters must be in the range [2, 95]. * This must be encoded as ASCII. * The order of characters does not matter. * @@ -174,7 +174,7 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder * * *
-   * The native way to select the alphabet. Must be in the range [2, 62].
+   * The native way to select the alphabet. Must be in the range [2, 95].
    * 
* * int32 radix = 6; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java index 273bb297..4711db0a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequest.java @@ -179,7 +179,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -199,7 +199,7 @@ public java.lang.String getParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -890,7 +890,7 @@ public Builder mergeFrom( * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -910,7 +910,7 @@ public java.lang.String getParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getParentBytes() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -948,7 +948,7 @@ public Builder setParent(java.lang.String value) { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder clearParent() { @@ -963,7 +963,7 @@ public Builder clearParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java index 76a41f2d..1cfa5d2d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyContentRequestOrBuilder.java @@ -30,7 +30,7 @@ public interface DeidentifyContentRequestOrBuilder * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ java.lang.String getParent(); /** @@ -40,7 +40,7 @@ public interface DeidentifyContentRequestOrBuilder * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java index 40e3c2d7..47a223d6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequest.java @@ -113,12 +113,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the organization and deidentify template to be deleted,
+   * Required. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -135,12 +137,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the organization and deidentify template to be deleted,
+   * Required. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -478,12 +482,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the organization and deidentify template to be deleted,
+     * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -500,12 +506,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the organization and deidentify template to be deleted,
+     * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -522,12 +530,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the organization and deidentify template to be deleted,
+     * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -542,12 +552,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the organization and deidentify template to be deleted,
+     * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -559,12 +571,14 @@ public Builder clearName() { * * *
-     * Resource name of the organization and deidentify template to be deleted,
+     * Required. Resource name of the organization and deidentify template to be deleted,
      * for example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java index 3543e7bb..0bf50ec2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDeidentifyTemplateRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface DeleteDeidentifyTemplateRequestOrBuilder * * *
-   * Resource name of the organization and deidentify template to be deleted,
+   * Required. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the organization and deidentify template to be deleted,
+   * Required. Resource name of the organization and deidentify template to be deleted,
    * for example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java index 31e76529..83d3f785 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequest.java @@ -112,10 +112,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The name of the DlpJob resource to be deleted.
+   * Required. The name of the DlpJob resource to be deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -132,10 +134,12 @@ public java.lang.String getName() { * * *
-   * The name of the DlpJob resource to be deleted.
+   * Required. The name of the DlpJob resource to be deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -470,10 +474,12 @@ public Builder mergeFrom( * * *
-     * The name of the DlpJob resource to be deleted.
+     * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -490,10 +496,12 @@ public java.lang.String getName() { * * *
-     * The name of the DlpJob resource to be deleted.
+     * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -510,10 +518,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name of the DlpJob resource to be deleted.
+     * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -528,10 +538,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The name of the DlpJob resource to be deleted.
+     * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,10 +555,12 @@ public Builder clearName() { * * *
-     * The name of the DlpJob resource to be deleted.
+     * Required. The name of the DlpJob resource to be deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java index 482f6e99..b878e32d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteDlpJobRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface DeleteDlpJobRequestOrBuilder * * *
-   * The name of the DlpJob resource to be deleted.
+   * Required. The name of the DlpJob resource to be deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * The name of the DlpJob resource to be deleted.
+   * Required. The name of the DlpJob resource to be deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java index a8cff729..8cde316d 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequest.java @@ -112,12 +112,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the organization and inspectTemplate to be deleted, for
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -134,12 +136,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the organization and inspectTemplate to be deleted, for
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -477,12 +481,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the organization and inspectTemplate to be deleted, for
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -499,12 +505,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the organization and inspectTemplate to be deleted, for
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -521,12 +529,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the organization and inspectTemplate to be deleted, for
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -541,12 +551,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the organization and inspectTemplate to be deleted, for
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -558,12 +570,14 @@ public Builder clearName() { * * *
-     * Resource name of the organization and inspectTemplate to be deleted, for
+     * Required. Resource name of the organization and inspectTemplate to be deleted, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java index e844ab1d..b86755d1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteInspectTemplateRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface DeleteInspectTemplateRequestOrBuilder * * *
-   * Resource name of the organization and inspectTemplate to be deleted, for
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the organization and inspectTemplate to be deleted, for
+   * Required. Resource name of the organization and inspectTemplate to be deleted, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java index cf2b2102..6b47e47c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequest.java @@ -112,11 +112,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -133,11 +135,13 @@ public java.lang.String getName() { * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -474,11 +478,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -495,11 +501,13 @@ public java.lang.String getName() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -516,11 +524,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -535,11 +545,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -551,11 +563,13 @@ public Builder clearName() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java index 2772b37a..c1e58083 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteJobTriggerRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface DeleteJobTriggerRequestOrBuilder * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java index 89d59840..f40de9c9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequest.java @@ -112,12 +112,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the organization and storedInfoType to be deleted, for
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -134,12 +136,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the organization and storedInfoType to be deleted, for
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -477,12 +481,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the organization and storedInfoType to be deleted, for
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -499,12 +505,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the organization and storedInfoType to be deleted, for
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -521,12 +529,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the organization and storedInfoType to be deleted, for
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -541,12 +551,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the organization and storedInfoType to be deleted, for
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -558,12 +570,14 @@ public Builder clearName() { * * *
-     * Resource name of the organization and storedInfoType to be deleted, for
+     * Required. Resource name of the organization and storedInfoType to be deleted, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java index 6a9cd97e..50d92923 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeleteStoredInfoTypeRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface DeleteStoredInfoTypeRequestOrBuilder * * *
-   * Resource name of the organization and storedInfoType to be deleted, for
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the organization and storedInfoType to be deleted, for
+   * Required. Resource name of the organization and storedInfoType to be deleted, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java index 97d9a520..595a4af7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -495,6 +495,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r 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_Action_PublishToStackdriver_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -662,114 +666,118 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\037google/privacy/dlp/v2/dlp.proto\022\025googl" + "e.privacy.dlp.v2\032\034google/api/annotations" - + ".proto\032#google/privacy/dlp/v2/storage.pr" - + "oto\032\036google/protobuf/duration.proto\032\033goo" - + "gle/protobuf/empty.proto\032 google/protobu" - + "f/field_mask.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\032\026go" - + "ogle/type/date.proto\032\033google/type/dayofw" - + "eek.proto\032\033google/type/timeofday.proto\032\027" - + "google/api/client.proto\"G\n\020ExcludeInfoTy" - + "pes\0223\n\ninfo_types\030\001 \003(\0132\037.google.privacy" - + ".dlp.v2.InfoType\"\240\002\n\rExclusionRule\022F\n\ndi" - + "ctionary\030\001 \001(\01320.google.privacy.dlp.v2.C" - + "ustomInfoType.DictionaryH\000\022<\n\005regex\030\002 \001(" - + "\0132+.google.privacy.dlp.v2.CustomInfoType" - + ".RegexH\000\022E\n\022exclude_info_types\030\003 \001(\0132\'.g" - + "oogle.privacy.dlp.v2.ExcludeInfoTypesH\000\022" - + ":\n\rmatching_type\030\004 \001(\0162#.google.privacy." - + "dlp.v2.MatchingTypeB\006\n\004type\"\261\001\n\016Inspecti" - + "onRule\022W\n\014hotword_rule\030\001 \001(\0132?.google.pr" - + "ivacy.dlp.v2.CustomInfoType.DetectionRul" - + "e.HotwordRuleH\000\022>\n\016exclusion_rule\030\002 \001(\0132" - + "$.google.privacy.dlp.v2.ExclusionRuleH\000B" - + "\006\n\004type\"~\n\021InspectionRuleSet\0223\n\ninfo_typ" - + "es\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoTyp" - + "e\0224\n\005rules\030\002 \003(\0132%.google.privacy.dlp.v2" - + ".InspectionRule\"\307\005\n\rInspectConfig\0223\n\ninf" - + "o_types\030\001 \003(\0132\037.google.privacy.dlp.v2.In" - + "foType\0229\n\016min_likelihood\030\002 \001(\0162!.google." - + "privacy.dlp.v2.Likelihood\022B\n\006limits\030\003 \001(" - + "\01322.google.privacy.dlp.v2.InspectConfig." - + "FindingLimits\022\025\n\rinclude_quote\030\004 \001(\010\022\032\n\022" - + "exclude_info_types\030\005 \001(\010\022@\n\021custom_info_" - + "types\030\006 \003(\0132%.google.privacy.dlp.v2.Cust" - + "omInfoType\022=\n\017content_options\030\010 \003(\0162$.go" - + "ogle.privacy.dlp.v2.ContentOption\022:\n\010rul" - + "e_set\030\n \003(\0132(.google.privacy.dlp.v2.Insp" - + "ectionRuleSet\032\221\002\n\rFindingLimits\022\035\n\025max_f" - + "indings_per_item\030\001 \001(\005\022 \n\030max_findings_p" - + "er_request\030\002 \001(\005\022d\n\032max_findings_per_inf" - + "o_type\030\003 \003(\0132@.google.privacy.dlp.v2.Ins" - + "pectConfig.FindingLimits.InfoTypeLimit\032Y" - + "\n\rInfoTypeLimit\0222\n\tinfo_type\030\001 \001(\0132\037.goo" - + "gle.privacy.dlp.v2.InfoType\022\024\n\014max_findi" - + "ngs\030\002 \001(\005\"\352\001\n\017ByteContentItem\022>\n\004type\030\001 " - + "\001(\01620.google.privacy.dlp.v2.ByteContentI" - + "tem.BytesType\022\014\n\004data\030\002 \001(\014\"\210\001\n\tBytesTyp" - + "e\022\032\n\026BYTES_TYPE_UNSPECIFIED\020\000\022\t\n\005IMAGE\020\006" - + "\022\016\n\nIMAGE_JPEG\020\001\022\r\n\tIMAGE_BMP\020\002\022\r\n\tIMAGE" - + "_PNG\020\003\022\r\n\tIMAGE_SVG\020\004\022\r\n\tTEXT_UTF8\020\005\022\010\n\004" - + "AVRO\020\013\"\227\001\n\013ContentItem\022\017\n\005value\030\003 \001(\tH\000\022" - + "-\n\005table\030\004 \001(\0132\034.google.privacy.dlp.v2.T" - + "ableH\000\022;\n\tbyte_item\030\005 \001(\0132&.google.priva" - + "cy.dlp.v2.ByteContentItemH\000B\013\n\tdata_item" - + "\"\235\001\n\005Table\022/\n\007headers\030\001 \003(\0132\036.google.pri" - + "vacy.dlp.v2.FieldId\022.\n\004rows\030\002 \003(\0132 .goog" - + "le.privacy.dlp.v2.Table.Row\0323\n\003Row\022,\n\006va" - + "lues\030\001 \003(\0132\034.google.privacy.dlp.v2.Value" - + "\"]\n\rInspectResult\0220\n\010findings\030\001 \003(\0132\036.go" - + "ogle.privacy.dlp.v2.Finding\022\032\n\022findings_" - + "truncated\030\002 \001(\010\"\235\002\n\007Finding\022\r\n\005quote\030\001 \001" - + "(\t\0222\n\tinfo_type\030\002 \001(\0132\037.google.privacy.d" - + "lp.v2.InfoType\0225\n\nlikelihood\030\003 \001(\0162!.goo" - + "gle.privacy.dlp.v2.Likelihood\0221\n\010locatio" - + "n\030\004 \001(\0132\037.google.privacy.dlp.v2.Location" - + "\022/\n\013create_time\030\006 \001(\0132\032.google.protobuf." - + "Timestamp\0224\n\nquote_info\030\007 \001(\0132 .google.p" - + "rivacy.dlp.v2.QuoteInfo\"\266\001\n\010Location\0220\n\n" - + "byte_range\030\001 \001(\0132\034.google.privacy.dlp.v2" - + ".Range\0225\n\017codepoint_range\030\002 \001(\0132\034.google" - + ".privacy.dlp.v2.Range\022A\n\021content_locatio" - + "ns\030\007 \003(\0132&.google.privacy.dlp.v2.Content" - + "Location\"\321\002\n\017ContentLocation\022\026\n\016containe" - + "r_name\030\001 \001(\t\022@\n\017record_location\030\002 \001(\0132%." - + "google.privacy.dlp.v2.RecordLocationH\000\022>" - + "\n\016image_location\030\003 \001(\0132$.google.privacy." - + "dlp.v2.ImageLocationH\000\022D\n\021document_locat" - + "ion\030\005 \001(\0132\'.google.privacy.dlp.v2.Docume" - + "ntLocationH\000\0227\n\023container_timestamp\030\006 \001(" - + "\0132\032.google.protobuf.Timestamp\022\031\n\021contain" - + "er_version\030\007 \001(\tB\n\n\010location\"\'\n\020Document" - + "Location\022\023\n\013file_offset\030\001 \001(\003\"\266\001\n\016Record" - + "Location\0224\n\nrecord_key\030\001 \001(\0132 .google.pr" - + "ivacy.dlp.v2.RecordKey\0220\n\010field_id\030\002 \001(\013" - + "2\036.google.privacy.dlp.v2.FieldId\022<\n\016tabl" - + "e_location\030\003 \001(\0132$.google.privacy.dlp.v2" - + ".TableLocation\"\"\n\rTableLocation\022\021\n\trow_i" - + "ndex\030\001 \001(\003\"#\n\005Range\022\r\n\005start\030\001 \001(\003\022\013\n\003en" - + "d\030\002 \001(\003\"K\n\rImageLocation\022:\n\016bounding_box" - + "es\030\001 \003(\0132\".google.privacy.dlp.v2.Boundin" - + "gBox\"G\n\013BoundingBox\022\013\n\003top\030\001 \001(\005\022\014\n\004left" - + "\030\002 \001(\005\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\"\303\003" - + "\n\022RedactImageRequest\022\016\n\006parent\030\001 \001(\t\022<\n\016" - + "inspect_config\030\002 \001(\0132$.google.privacy.dl" - + "p.v2.InspectConfig\022_\n\027image_redaction_co" - + "nfigs\030\005 \003(\0132>.google.privacy.dlp.v2.Reda" - + "ctImageRequest.ImageRedactionConfig\022\030\n\020i" - + "nclude_findings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\013" - + "2&.google.privacy.dlp.v2.ByteContentItem" - + "\032\250\001\n\024ImageRedactionConfig\0224\n\tinfo_type\030\001" - + " \001(\0132\037.google.privacy.dlp.v2.InfoTypeH\000\022" - + "\031\n\017redact_all_text\030\002 \001(\010H\000\0225\n\017redaction_" - + "color\030\003 \001(\0132\034.google.privacy.dlp.v2.Colo" - + "rB\010\n\006target\"1\n\005Color\022\013\n\003red\030\001 \001(\002\022\r\n\005gre" - + "en\030\002 \001(\002\022\014\n\004blue\030\003 \001(\002\"\203\001\n\023RedactImageRe" - + "sponse\022\026\n\016redacted_image\030\001 \001(\014\022\026\n\016extrac" - + "ted_text\030\002 \001(\t\022<\n\016inspect_result\030\003 \001(\0132$" - + ".google.privacy.dlp.v2.InspectResult\"\237\002\n" - + "\030DeidentifyContentRequest\022\016\n\006parent\030\001 \001(" - + "\t\022B\n\021deidentify_config\030\002 \001(\0132\'.google.pr" + + ".proto\032\037google/api/field_behavior.proto\032" + + "\031google/api/resource.proto\032#google/priva" + + "cy/dlp/v2/storage.proto\032\036google/protobuf" + + "/duration.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\032\027google/" + + "rpc/status.proto\032\026google/type/date.proto" + + "\032\033google/type/dayofweek.proto\032\033google/ty" + + "pe/timeofday.proto\032\027google/api/client.pr" + + "oto\"G\n\020ExcludeInfoTypes\0223\n\ninfo_types\030\001 " + + "\003(\0132\037.google.privacy.dlp.v2.InfoType\"\240\002\n" + + "\rExclusionRule\022F\n\ndictionary\030\001 \001(\01320.goo" + + "gle.privacy.dlp.v2.CustomInfoType.Dictio" + + "naryH\000\022<\n\005regex\030\002 \001(\0132+.google.privacy.d" + + "lp.v2.CustomInfoType.RegexH\000\022E\n\022exclude_" + + "info_types\030\003 \001(\0132\'.google.privacy.dlp.v2" + + ".ExcludeInfoTypesH\000\022:\n\rmatching_type\030\004 \001" + + "(\0162#.google.privacy.dlp.v2.MatchingTypeB" + + "\006\n\004type\"\261\001\n\016InspectionRule\022W\n\014hotword_ru" + + "le\030\001 \001(\0132?.google.privacy.dlp.v2.CustomI" + + "nfoType.DetectionRule.HotwordRuleH\000\022>\n\016e" + + "xclusion_rule\030\002 \001(\0132$.google.privacy.dlp" + + ".v2.ExclusionRuleH\000B\006\n\004type\"~\n\021Inspectio" + + "nRuleSet\0223\n\ninfo_types\030\001 \003(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\0224\n\005rules\030\002 \003(\0132%.g" + + "oogle.privacy.dlp.v2.InspectionRule\"\307\005\n\r" + + "InspectConfig\0223\n\ninfo_types\030\001 \003(\0132\037.goog" + + "le.privacy.dlp.v2.InfoType\0229\n\016min_likeli" + + "hood\030\002 \001(\0162!.google.privacy.dlp.v2.Likel" + + "ihood\022B\n\006limits\030\003 \001(\01322.google.privacy.d" + + "lp.v2.InspectConfig.FindingLimits\022\025\n\rinc" + + "lude_quote\030\004 \001(\010\022\032\n\022exclude_info_types\030\005" + + " \001(\010\022@\n\021custom_info_types\030\006 \003(\0132%.google" + + ".privacy.dlp.v2.CustomInfoType\022=\n\017conten" + + "t_options\030\010 \003(\0162$.google.privacy.dlp.v2." + + "ContentOption\022:\n\010rule_set\030\n \003(\0132(.google" + + ".privacy.dlp.v2.InspectionRuleSet\032\221\002\n\rFi" + + "ndingLimits\022\035\n\025max_findings_per_item\030\001 \001" + + "(\005\022 \n\030max_findings_per_request\030\002 \001(\005\022d\n\032" + + "max_findings_per_info_type\030\003 \003(\0132@.googl" + + "e.privacy.dlp.v2.InspectConfig.FindingLi" + + "mits.InfoTypeLimit\032Y\n\rInfoTypeLimit\0222\n\ti" + + "nfo_type\030\001 \001(\0132\037.google.privacy.dlp.v2.I" + + "nfoType\022\024\n\014max_findings\030\002 \001(\005\"\352\001\n\017ByteCo" + + "ntentItem\022>\n\004type\030\001 \001(\01620.google.privacy" + + ".dlp.v2.ByteContentItem.BytesType\022\014\n\004dat" + + "a\030\002 \001(\014\"\210\001\n\tBytesType\022\032\n\026BYTES_TYPE_UNSP" + + "ECIFIED\020\000\022\t\n\005IMAGE\020\006\022\016\n\nIMAGE_JPEG\020\001\022\r\n\t" + + "IMAGE_BMP\020\002\022\r\n\tIMAGE_PNG\020\003\022\r\n\tIMAGE_SVG\020" + + "\004\022\r\n\tTEXT_UTF8\020\005\022\010\n\004AVRO\020\013\"\227\001\n\013ContentIt" + + "em\022\017\n\005value\030\003 \001(\tH\000\022-\n\005table\030\004 \001(\0132\034.goo" + + "gle.privacy.dlp.v2.TableH\000\022;\n\tbyte_item\030" + + "\005 \001(\0132&.google.privacy.dlp.v2.ByteConten" + + "tItemH\000B\013\n\tdata_item\"\235\001\n\005Table\022/\n\007header" + + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022" + + ".\n\004rows\030\002 \003(\0132 .google.privacy.dlp.v2.Ta" + + "ble.Row\0323\n\003Row\022,\n\006values\030\001 \003(\0132\034.google." + + "privacy.dlp.v2.Value\"]\n\rInspectResult\0220\n" + + "\010findings\030\001 \003(\0132\036.google.privacy.dlp.v2." + + "Finding\022\032\n\022findings_truncated\030\002 \001(\010\"\235\002\n\007" + + "Finding\022\r\n\005quote\030\001 \001(\t\0222\n\tinfo_type\030\002 \001(" + + "\0132\037.google.privacy.dlp.v2.InfoType\0225\n\nli" + + "kelihood\030\003 \001(\0162!.google.privacy.dlp.v2.L" + + "ikelihood\0221\n\010location\030\004 \001(\0132\037.google.pri" + + "vacy.dlp.v2.Location\022/\n\013create_time\030\006 \001(" + + "\0132\032.google.protobuf.Timestamp\0224\n\nquote_i" + + "nfo\030\007 \001(\0132 .google.privacy.dlp.v2.QuoteI" + + "nfo\"\266\001\n\010Location\0220\n\nbyte_range\030\001 \001(\0132\034.g" + + "oogle.privacy.dlp.v2.Range\0225\n\017codepoint_" + + "range\030\002 \001(\0132\034.google.privacy.dlp.v2.Rang" + + "e\022A\n\021content_locations\030\007 \003(\0132&.google.pr" + + "ivacy.dlp.v2.ContentLocation\"\321\002\n\017Content" + + "Location\022\026\n\016container_name\030\001 \001(\t\022@\n\017reco" + + "rd_location\030\002 \001(\0132%.google.privacy.dlp.v" + + "2.RecordLocationH\000\022>\n\016image_location\030\003 \001" + + "(\0132$.google.privacy.dlp.v2.ImageLocation" + + "H\000\022D\n\021document_location\030\005 \001(\0132\'.google.p" + + "rivacy.dlp.v2.DocumentLocationH\000\0227\n\023cont" + + "ainer_timestamp\030\006 \001(\0132\032.google.protobuf." + + "Timestamp\022\031\n\021container_version\030\007 \001(\tB\n\n\010" + + "location\"\'\n\020DocumentLocation\022\023\n\013file_off" + + "set\030\001 \001(\003\"\266\001\n\016RecordLocation\0224\n\nrecord_k" + + "ey\030\001 \001(\0132 .google.privacy.dlp.v2.RecordK" + + "ey\0220\n\010field_id\030\002 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\022<\n\016table_location\030\003 \001(\0132$.g" + + "oogle.privacy.dlp.v2.TableLocation\"\"\n\rTa" + + "bleLocation\022\021\n\trow_index\030\001 \001(\003\"#\n\005Range\022" + + "\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"K\n\rImageLoca" + + "tion\022:\n\016bounding_boxes\030\001 \003(\0132\".google.pr" + + "ivacy.dlp.v2.BoundingBox\"G\n\013BoundingBox\022" + + "\013\n\003top\030\001 \001(\005\022\014\n\004left\030\002 \001(\005\022\r\n\005width\030\003 \001(" + + "\005\022\016\n\006height\030\004 \001(\005\"\365\003\n\022RedactImageRequest" + + "\022@\n\006parent\030\001 \001(\tB0\372A-\n+cloudresourcemana" + + "ger.googleapis.com/Project\022<\n\016inspect_co" + + "nfig\030\002 \001(\0132$.google.privacy.dlp.v2.Inspe" + + "ctConfig\022_\n\027image_redaction_configs\030\005 \003(" + + "\0132>.google.privacy.dlp.v2.RedactImageReq" + + "uest.ImageRedactionConfig\022\030\n\020include_fin" + + "dings\030\006 \001(\010\0229\n\tbyte_item\030\007 \001(\0132&.google." + + "privacy.dlp.v2.ByteContentItem\032\250\001\n\024Image" + + "RedactionConfig\0224\n\tinfo_type\030\001 \001(\0132\037.goo" + + "gle.privacy.dlp.v2.InfoTypeH\000\022\031\n\017redact_" + + "all_text\030\002 \001(\010H\000\0225\n\017redaction_color\030\003 \001(" + + "\0132\034.google.privacy.dlp.v2.ColorB\010\n\006targe" + + "t\"1\n\005Color\022\013\n\003red\030\001 \001(\002\022\r\n\005green\030\002 \001(\002\022\014" + + "\n\004blue\030\003 \001(\002\"\203\001\n\023RedactImageResponse\022\026\n\016" + + "redacted_image\030\001 \001(\014\022\026\n\016extracted_text\030\002" + + " \001(\t\022<\n\016inspect_result\030\003 \001(\0132$.google.pr" + + "ivacy.dlp.v2.InspectResult\"\321\002\n\030Deidentif" + + "yContentRequest\022@\n\006parent\030\001 \001(\tB0\372A-\n+cl" + + "oudresourcemanager.googleapis.com/Projec" + + "t\022B\n\021deidentify_config\030\002 \001(\0132\'.google.pr" + "ivacy.dlp.v2.DeidentifyConfig\022<\n\016inspect" + "_config\030\003 \001(\0132$.google.privacy.dlp.v2.In" + "spectConfig\0220\n\004item\030\004 \001(\0132\".google.priva" @@ -778,716 +786,767 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\006 \001(\t\"\216\001\n\031DeidentifyContentResponse\0220\n\004" + "item\030\001 \001(\0132\".google.privacy.dlp.v2.Conte" + "ntItem\022?\n\010overview\030\002 \001(\0132-.google.privac" - + "y.dlp.v2.TransformationOverview\"\237\002\n\030Reid" - + "entifyContentRequest\022\016\n\006parent\030\001 \001(\t\022B\n\021" - + "reidentify_config\030\002 \001(\0132\'.google.privacy" - + ".dlp.v2.DeidentifyConfig\022<\n\016inspect_conf" - + "ig\030\003 \001(\0132$.google.privacy.dlp.v2.Inspect" - + "Config\0220\n\004item\030\004 \001(\0132\".google.privacy.dl" - + "p.v2.ContentItem\022\035\n\025inspect_template_nam" - + "e\030\005 \001(\t\022 \n\030reidentify_template_name\030\006 \001(" - + "\t\"\216\001\n\031ReidentifyContentResponse\0220\n\004item\030" - + "\001 \001(\0132\".google.privacy.dlp.v2.ContentIte" - + "m\022?\n\010overview\030\002 \001(\0132-.google.privacy.dlp" - + ".v2.TransformationOverview\"\266\001\n\025InspectCo" - + "ntentRequest\022\016\n\006parent\030\001 \001(\t\022<\n\016inspect_" - + "config\030\002 \001(\0132$.google.privacy.dlp.v2.Ins" - + "pectConfig\0220\n\004item\030\003 \001(\0132\".google.privac" - + "y.dlp.v2.ContentItem\022\035\n\025inspect_template" - + "_name\030\004 \001(\t\"N\n\026InspectContentResponse\0224\n" - + "\006result\030\001 \001(\0132$.google.privacy.dlp.v2.In" - + "spectResult\"\267\002\n\023OutputStorageConfig\0225\n\005t" - + "able\030\001 \001(\0132$.google.privacy.dlp.v2.BigQu" - + "eryTableH\000\022N\n\routput_schema\030\003 \001(\01627.goog" - + "le.privacy.dlp.v2.OutputStorageConfig.Ou" - + "tputSchema\"\220\001\n\014OutputSchema\022\035\n\031OUTPUT_SC" - + "HEMA_UNSPECIFIED\020\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n" - + "\013GCS_COLUMNS\020\002\022\025\n\021DATASTORE_COLUMNS\020\003\022\025\n" - + "\021BIG_QUERY_COLUMNS\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n" - + "\004type\"R\n\rInfoTypeStats\0222\n\tinfo_type\030\001 \001(" - + "\0132\037.google.privacy.dlp.v2.InfoType\022\r\n\005co" - + "unt\030\002 \001(\003\"\335\003\n\030InspectDataSourceDetails\022[" - + "\n\021requested_options\030\002 \001(\0132@.google.priva" - + "cy.dlp.v2.InspectDataSourceDetails.Reque" - + "stedOptions\022F\n\006result\030\003 \001(\01326.google.pri" - + "vacy.dlp.v2.InspectDataSourceDetails.Res" - + "ult\032\232\001\n\020RequestedOptions\022I\n\031snapshot_ins" - + "pect_template\030\001 \001(\0132&.google.privacy.dlp" - + ".v2.InspectTemplate\022;\n\njob_config\030\003 \001(\0132" - + "\'.google.privacy.dlp.v2.InspectJobConfig" - + "\032\177\n\006Result\022\027\n\017processed_bytes\030\001 \001(\003\022\035\n\025t" - + "otal_estimated_bytes\030\002 \001(\003\022=\n\017info_type_" - + "stats\030\003 \003(\0132$.google.privacy.dlp.v2.Info" - + "TypeStats\"\220\001\n\023InfoTypeDescription\022\014\n\004nam" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022@\n\014support" - + "ed_by\030\003 \003(\0162*.google.privacy.dlp.v2.Info" - + "TypeSupportedBy\022\023\n\013description\030\004 \001(\t\"=\n\024" - + "ListInfoTypesRequest\022\025\n\rlanguage_code\030\001 " - + "\001(\t\022\016\n\006filter\030\002 \001(\t\"W\n\025ListInfoTypesResp" - + "onse\022>\n\ninfo_types\030\001 \003(\0132*.google.privac" - + "y.dlp.v2.InfoTypeDescription\"\301\001\n\025RiskAna" - + "lysisJobConfig\022<\n\016privacy_metric\030\001 \001(\0132$" - + ".google.privacy.dlp.v2.PrivacyMetric\022:\n\014" - + "source_table\030\002 \001(\0132$.google.privacy.dlp." - + "v2.BigQueryTable\022.\n\007actions\030\003 \003(\0132\035.goog" - + "le.privacy.dlp.v2.Action\"\267\001\n\007QuasiId\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\"\257\002\n\020StatisticalTable\0223\n\005table" - + "\030\003 \001(\0132$.google.privacy.dlp.v2.BigQueryT" - + "able\022O\n\tquasi_ids\030\001 \003(\0132<.google.privacy" - + ".dlp.v2.StatisticalTable.QuasiIdentifier" - + "Field\022:\n\022relative_frequency\030\002 \001(\0132\036.goog" - + "le.privacy.dlp.v2.FieldId\032Y\n\024QuasiIdenti" - + "fierField\022-\n\005field\030\001 \001(\0132\036.google.privac" - + "y.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\365\016\n" - + "\rPrivacyMetric\022[\n\026numerical_stats_config" - + "\030\001 \001(\01329.google.privacy.dlp.v2.PrivacyMe" - + "tric.NumericalStatsConfigH\000\022_\n\030categoric" - + "al_stats_config\030\002 \001(\0132;.google.privacy.d" - + "lp.v2.PrivacyMetric.CategoricalStatsConf" - + "igH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.googl" - + "e.privacy.dlp.v2.PrivacyMetric.KAnonymit" - + "yConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325." - + "google.privacy.dlp.v2.PrivacyMetric.LDiv" - + "ersityConfigH\000\022\\\n\027k_map_estimation_confi" - + "g\030\005 \001(\01329.google.privacy.dlp.v2.PrivacyM" - + "etric.KMapEstimationConfigH\000\022n\n delta_pr" - + "esence_estimation_config\030\006 \001(\0132B.google." - + "privacy.dlp.v2.PrivacyMetric.DeltaPresen" - + "ceEstimationConfigH\000\032E\n\024NumericalStatsCo" - + "nfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp" - + ".v2.FieldId\032G\n\026CategoricalStatsConfig\022-\n" - + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie" - + "ldId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001 " - + "\003(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\te" - + "ntity_id\030\002 \001(\0132\037.google.privacy.dlp.v2.E" - + "ntityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_id" - + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022" - + ";\n\023sensitive_attribute\030\002 \001(\0132\036.google.pr" - + "ivacy.dlp.v2.FieldId\032\350\005\n\024KMapEstimationC" - + "onfig\022X\n\tquasi_ids\030\001 \003(\0132E.google.privac" - + "y.dlp.v2.PrivacyMetric.KMapEstimationCon" - + "fig.TaggedField\022\023\n\013region_code\030\002 \001(\t\022b\n\020" - + "auxiliary_tables\030\003 \003(\0132H.google.privacy." - + "dlp.v2.PrivacyMetric.KMapEstimationConfi" - + "g.AuxiliaryTable\032\273\001\n\013TaggedField\022-\n\005fiel" + + "y.dlp.v2.TransformationOverview\"\324\002\n\030Reid" + + "entifyContentRequest\022C\n\006parent\030\001 \001(\tB3\340A" + + "\002\372A-\n+cloudresourcemanager.googleapis.co" + + "m/Project\022B\n\021reidentify_config\030\002 \001(\0132\'.g" + + "oogle.privacy.dlp.v2.DeidentifyConfig\022<\n" + + "\016inspect_config\030\003 \001(\0132$.google.privacy.d" + + "lp.v2.InspectConfig\0220\n\004item\030\004 \001(\0132\".goog" + + "le.privacy.dlp.v2.ContentItem\022\035\n\025inspect" + + "_template_name\030\005 \001(\t\022 \n\030reidentify_templ" + + "ate_name\030\006 \001(\t\"\216\001\n\031ReidentifyContentResp" + + "onse\0220\n\004item\030\001 \001(\0132\".google.privacy.dlp." + + "v2.ContentItem\022?\n\010overview\030\002 \001(\0132-.googl" + + "e.privacy.dlp.v2.TransformationOverview\"" + + "\350\001\n\025InspectContentRequest\022@\n\006parent\030\001 \001(" + + "\tB0\372A-\n+cloudresourcemanager.googleapis." + + "com/Project\022<\n\016inspect_config\030\002 \001(\0132$.go" + + "ogle.privacy.dlp.v2.InspectConfig\0220\n\004ite" + + "m\030\003 \001(\0132\".google.privacy.dlp.v2.ContentI" + + "tem\022\035\n\025inspect_template_name\030\004 \001(\t\"N\n\026In" + + "spectContentResponse\0224\n\006result\030\001 \001(\0132$.g" + + "oogle.privacy.dlp.v2.InspectResult\"\267\002\n\023O" + + "utputStorageConfig\0225\n\005table\030\001 \001(\0132$.goog" + + "le.privacy.dlp.v2.BigQueryTableH\000\022N\n\rout" + + "put_schema\030\003 \001(\01627.google.privacy.dlp.v2" + + ".OutputStorageConfig.OutputSchema\"\220\001\n\014Ou" + + "tputSchema\022\035\n\031OUTPUT_SCHEMA_UNSPECIFIED\020" + + "\000\022\021\n\rBASIC_COLUMNS\020\001\022\017\n\013GCS_COLUMNS\020\002\022\025\n" + + "\021DATASTORE_COLUMNS\020\003\022\025\n\021BIG_QUERY_COLUMN" + + "S\020\004\022\017\n\013ALL_COLUMNS\020\005B\006\n\004type\"R\n\rInfoType" + + "Stats\0222\n\tinfo_type\030\001 \001(\0132\037.google.privac" + + "y.dlp.v2.InfoType\022\r\n\005count\030\002 \001(\003\"\335\003\n\030Ins" + + "pectDataSourceDetails\022[\n\021requested_optio" + + "ns\030\002 \001(\0132@.google.privacy.dlp.v2.Inspect" + + "DataSourceDetails.RequestedOptions\022F\n\006re" + + "sult\030\003 \001(\01326.google.privacy.dlp.v2.Inspe" + + "ctDataSourceDetails.Result\032\232\001\n\020Requested" + + "Options\022I\n\031snapshot_inspect_template\030\001 \001" + + "(\0132&.google.privacy.dlp.v2.InspectTempla" + + "te\022;\n\njob_config\030\003 \001(\0132\'.google.privacy." + + "dlp.v2.InspectJobConfig\032\177\n\006Result\022\027\n\017pro" + + "cessed_bytes\030\001 \001(\003\022\035\n\025total_estimated_by" + + "tes\030\002 \001(\003\022=\n\017info_type_stats\030\003 \003(\0132$.goo" + + "gle.privacy.dlp.v2.InfoTypeStats\"\220\001\n\023Inf" + + "oTypeDescription\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" + + "y_name\030\002 \001(\t\022@\n\014supported_by\030\003 \003(\0162*.goo" + + "gle.privacy.dlp.v2.InfoTypeSupportedBy\022\023" + + "\n\013description\030\004 \001(\t\"=\n\024ListInfoTypesRequ" + + "est\022\025\n\rlanguage_code\030\001 \001(\t\022\016\n\006filter\030\002 \001" + + "(\t\"W\n\025ListInfoTypesResponse\022>\n\ninfo_type" + + "s\030\001 \003(\0132*.google.privacy.dlp.v2.InfoType" + + "Description\"\301\001\n\025RiskAnalysisJobConfig\022<\n" + + "\016privacy_metric\030\001 \001(\0132$.google.privacy.d" + + "lp.v2.PrivacyMetric\022:\n\014source_table\030\002 \001(" + + "\0132$.google.privacy.dlp.v2.BigQueryTable\022" + + ".\n\007actions\030\003 \003(\0132\035.google.privacy.dlp.v2" + + ".Action\"\267\001\n\007QuasiId\022-\n\005field\030\001 \001(\0132\036.goo" + + "gle.privacy.dlp.v2.FieldId\0224\n\tinfo_type\030" + + "\002 \001(\0132\037.google.privacy.dlp.v2.InfoTypeH\000" + + "\022\024\n\ncustom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\013" + + "2\026.google.protobuf.EmptyH\000B\005\n\003tag\"\257\002\n\020St" + + "atisticalTable\0223\n\005table\030\003 \001(\0132$.google.p" + + "rivacy.dlp.v2.BigQueryTable\022O\n\tquasi_ids" + + "\030\001 \003(\0132<.google.privacy.dlp.v2.Statistic" + + "alTable.QuasiIdentifierField\022:\n\022relative" + + "_frequency\030\002 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldId\032Y\n\024QuasiIdentifierField\022-\n\005fiel" + "d\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId\022" - + "4\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\010i" - + "nferred\030\004 \001(\0132\026.google.protobuf.EmptyH\000B" - + "\005\n\003tag\032\276\002\n\016AuxiliaryTable\0223\n\005table\030\003 \001(\013" - + "2$.google.privacy.dlp.v2.BigQueryTable\022h" - + "\n\tquasi_ids\030\001 \003(\0132U.google.privacy.dlp.v" - + "2.PrivacyMetric.KMapEstimationConfig.Aux" - + "iliaryTable.QuasiIdField\022:\n\022relative_fre" - + "quency\030\002 \001(\0132\036.google.privacy.dlp.v2.Fie" - + "ldId\032Q\n\014QuasiIdField\022-\n\005field\030\001 \001(\0132\036.go" - + "ogle.privacy.dlp.v2.FieldId\022\022\n\ncustom_ta" - + "g\030\002 \001(\t\032\252\001\n\035DeltaPresenceEstimationConfi" - + "g\0221\n\tquasi_ids\030\001 \003(\0132\036.google.privacy.dl" - + "p.v2.QuasiId\022\023\n\013region_code\030\002 \001(\t\022A\n\020aux" - + "iliary_tables\030\003 \003(\0132\'.google.privacy.dlp" - + ".v2.StatisticalTableB\006\n\004type\"\362\035\n\034Analyze" - + "DataSourceRiskDetails\022F\n\030requested_priva" - + "cy_metric\030\001 \001(\0132$.google.privacy.dlp.v2." - + "PrivacyMetric\022D\n\026requested_source_table\030" - + "\002 \001(\0132$.google.privacy.dlp.v2.BigQueryTa" - + "ble\022j\n\026numerical_stats_result\030\003 \001(\0132H.go" - + "ogle.privacy.dlp.v2.AnalyzeDataSourceRis" - + "kDetails.NumericalStatsResultH\000\022n\n\030categ" - + "orical_stats_result\030\004 \001(\0132J.google.priva" - + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.C" - + "ategoricalStatsResultH\000\022b\n\022k_anonymity_r" - + "esult\030\005 \001(\0132D.google.privacy.dlp.v2.Anal" - + "yzeDataSourceRiskDetails.KAnonymityResul" - + "tH\000\022b\n\022l_diversity_result\030\006 \001(\0132D.google" - + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" - + "ails.LDiversityResultH\000\022k\n\027k_map_estimat" - + "ion_result\030\007 \001(\0132H.google.privacy.dlp.v2" - + ".AnalyzeDataSourceRiskDetails.KMapEstima" - + "tionResultH\000\022}\n delta_presence_estimatio" - + "n_result\030\t \001(\0132Q.google.privacy.dlp.v2.A" - + "nalyzeDataSourceRiskDetails.DeltaPresenc" - + "eEstimationResultH\000\032\257\001\n\024NumericalStatsRe" - + "sult\022/\n\tmin_value\030\001 \001(\0132\034.google.privacy" - + ".dlp.v2.Value\022/\n\tmax_value\030\002 \001(\0132\034.googl" - + "e.privacy.dlp.v2.Value\0225\n\017quantile_value" - + "s\030\004 \003(\0132\034.google.privacy.dlp.v2.Value\032\215\003" - + "\n\026CategoricalStatsResult\022\225\001\n!value_frequ" - + "ency_histogram_buckets\030\005 \003(\0132j.google.pr" - + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" - + "s.CategoricalStatsResult.CategoricalStat" - + "sHistogramBucket\032\332\001\n\037CategoricalStatsHis" - + "togramBucket\022#\n\033value_frequency_lower_bo" - + "und\030\001 \001(\003\022#\n\033value_frequency_upper_bound" - + "\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022<\n\rbucket_va" - + "lues\030\004 \003(\0132%.google.privacy.dlp.v2.Value" - + "Frequency\022\032\n\022bucket_value_count\030\005 \001(\003\032\265\004" - + "\n\020KAnonymityResult\022\213\001\n#equivalence_class" - + "_histogram_buckets\030\005 \003(\0132^.google.privac" - + "y.dlp.v2.AnalyzeDataSourceRiskDetails.KA" - + "nonymityResult.KAnonymityHistogramBucket" - + "\032t\n\032KAnonymityEquivalenceClass\0226\n\020quasi_" + + "\022\n\ncustom_tag\030\002 \001(\t\"\365\016\n\rPrivacyMetric\022[\n" + + "\026numerical_stats_config\030\001 \001(\01329.google.p" + + "rivacy.dlp.v2.PrivacyMetric.NumericalSta" + + "tsConfigH\000\022_\n\030categorical_stats_config\030\002" + + " \001(\0132;.google.privacy.dlp.v2.PrivacyMetr" + + "ic.CategoricalStatsConfigH\000\022S\n\022k_anonymi" + + "ty_config\030\003 \001(\01325.google.privacy.dlp.v2." + + "PrivacyMetric.KAnonymityConfigH\000\022S\n\022l_di" + + "versity_config\030\004 \001(\01325.google.privacy.dl" + + "p.v2.PrivacyMetric.LDiversityConfigH\000\022\\\n" + + "\027k_map_estimation_config\030\005 \001(\01329.google." + + "privacy.dlp.v2.PrivacyMetric.KMapEstimat" + + "ionConfigH\000\022n\n delta_presence_estimation" + + "_config\030\006 \001(\0132B.google.privacy.dlp.v2.Pr" + + "ivacyMetric.DeltaPresenceEstimationConfi" + + "gH\000\032E\n\024NumericalStatsConfig\022-\n\005field\030\001 \001" + + "(\0132\036.google.privacy.dlp.v2.FieldId\032G\n\026Ca" + + "tegoricalStatsConfig\022-\n\005field\030\001 \001(\0132\036.go" + + "ogle.privacy.dlp.v2.FieldId\032y\n\020KAnonymit" + + "yConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google.priv" + + "acy.dlp.v2.FieldId\0222\n\tentity_id\030\002 \001(\0132\037." + + "google.privacy.dlp.v2.EntityId\032\202\001\n\020LDive" + + "rsityConfig\0221\n\tquasi_ids\030\001 \003(\0132\036.google." + + "privacy.dlp.v2.FieldId\022;\n\023sensitive_attr" + + "ibute\030\002 \001(\0132\036.google.privacy.dlp.v2.Fiel" + + "dId\032\350\005\n\024KMapEstimationConfig\022X\n\tquasi_id" + + "s\030\001 \003(\0132E.google.privacy.dlp.v2.PrivacyM" + + "etric.KMapEstimationConfig.TaggedField\022\023" + + "\n\013region_code\030\002 \001(\t\022b\n\020auxiliary_tables\030" + + "\003 \003(\0132H.google.privacy.dlp.v2.PrivacyMet" + + "ric.KMapEstimationConfig.AuxiliaryTable\032" + + "\273\001\n\013TaggedField\022-\n\005field\030\001 \001(\0132\036.google." + + "privacy.dlp.v2.FieldId\0224\n\tinfo_type\030\002 \001(" + + "\0132\037.google.privacy.dlp.v2.InfoTypeH\000\022\024\n\n" + + "custom_tag\030\003 \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.g" + + "oogle.protobuf.EmptyH\000B\005\n\003tag\032\276\002\n\016Auxili" + + "aryTable\0223\n\005table\030\003 \001(\0132$.google.privacy" + + ".dlp.v2.BigQueryTable\022h\n\tquasi_ids\030\001 \003(\013" + + "2U.google.privacy.dlp.v2.PrivacyMetric.K" + + "MapEstimationConfig.AuxiliaryTable.Quasi" + + "IdField\022:\n\022relative_frequency\030\002 \001(\0132\036.go" + + "ogle.privacy.dlp.v2.FieldId\032Q\n\014QuasiIdFi" + + "eld\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp." + + "v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\252\001\n\035Delta" + + "PresenceEstimationConfig\0221\n\tquasi_ids\030\001 " + + "\003(\0132\036.google.privacy.dlp.v2.QuasiId\022\023\n\013r" + + "egion_code\030\002 \001(\t\022A\n\020auxiliary_tables\030\003 \003" + + "(\0132\'.google.privacy.dlp.v2.StatisticalTa" + + "bleB\006\n\004type\"\362\035\n\034AnalyzeDataSourceRiskDet" + + "ails\022F\n\030requested_privacy_metric\030\001 \001(\0132$" + + ".google.privacy.dlp.v2.PrivacyMetric\022D\n\026" + + "requested_source_table\030\002 \001(\0132$.google.pr" + + "ivacy.dlp.v2.BigQueryTable\022j\n\026numerical_" + + "stats_result\030\003 \001(\0132H.google.privacy.dlp." + + "v2.AnalyzeDataSourceRiskDetails.Numerica" + + "lStatsResultH\000\022n\n\030categorical_stats_resu" + + "lt\030\004 \001(\0132J.google.privacy.dlp.v2.Analyze" + + "DataSourceRiskDetails.CategoricalStatsRe" + + "sultH\000\022b\n\022k_anonymity_result\030\005 \001(\0132D.goo" + + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" + + "Details.KAnonymityResultH\000\022b\n\022l_diversit" + + "y_result\030\006 \001(\0132D.google.privacy.dlp.v2.A" + + "nalyzeDataSourceRiskDetails.LDiversityRe" + + "sultH\000\022k\n\027k_map_estimation_result\030\007 \001(\0132" + + "H.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.KMapEstimationResultH\000\022}\n d" + + "elta_presence_estimation_result\030\t \001(\0132Q." + + "google.privacy.dlp.v2.AnalyzeDataSourceR" + + "iskDetails.DeltaPresenceEstimationResult" + + "H\000\032\257\001\n\024NumericalStatsResult\022/\n\tmin_value" + + "\030\001 \001(\0132\034.google.privacy.dlp.v2.Value\022/\n\t" + + "max_value\030\002 \001(\0132\034.google.privacy.dlp.v2." + + "Value\0225\n\017quantile_values\030\004 \003(\0132\034.google." + + "privacy.dlp.v2.Value\032\215\003\n\026CategoricalStat" + + "sResult\022\225\001\n!value_frequency_histogram_bu" + + "ckets\030\005 \003(\0132j.google.privacy.dlp.v2.Anal" + + "yzeDataSourceRiskDetails.CategoricalStat" + + "sResult.CategoricalStatsHistogramBucket\032" + + "\332\001\n\037CategoricalStatsHistogramBucket\022#\n\033v" + + "alue_frequency_lower_bound\030\001 \001(\003\022#\n\033valu" + + "e_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_" + + "size\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.goog" + + "le.privacy.dlp.v2.ValueFrequency\022\032\n\022buck" + + "et_value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResul" + + "t\022\213\001\n#equivalence_class_histogram_bucket" + + "s\030\005 \003(\0132^.google.privacy.dlp.v2.AnalyzeD" + + "ataSourceRiskDetails.KAnonymityResult.KA" + + "nonymityHistogramBucket\032t\n\032KAnonymityEqu" + + "ivalenceClass\0226\n\020quasi_ids_values\030\001 \003(\0132" + + "\034.google.privacy.dlp.v2.Value\022\036\n\026equival" + + "ence_class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHist" + + "ogramBucket\022*\n\"equivalence_class_size_lo" + + "wer_bound\030\001 \001(\003\022*\n\"equivalence_class_siz" + + "e_upper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003" + + "\022v\n\rbucket_values\030\004 \003(\0132_.google.privacy" + + ".dlp.v2.AnalyzeDataSourceRiskDetails.KAn" + + "onymityResult.KAnonymityEquivalenceClass" + + "\022\032\n\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDivers" + + "ityResult\022\223\001\n+sensitive_value_frequency_" + + "histogram_buckets\030\005 \003(\0132^.google.privacy" + + ".dlp.v2.AnalyzeDataSourceRiskDetails.LDi" + + "versityResult.LDiversityHistogramBucket\032" + + "\340\001\n\032LDiversityEquivalenceClass\0226\n\020quasi_" + "ids_values\030\001 \003(\0132\034.google.privacy.dlp.v2" - + ".Value\022\036\n\026equivalence_class_size\030\002 \001(\003\032\234" - + "\002\n\031KAnonymityHistogramBucket\022*\n\"equivale" - + "nce_class_size_lower_bound\030\001 \001(\003\022*\n\"equi" - + "valence_class_size_upper_bound\030\002 \001(\003\022\023\n\013" - + "bucket_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\013" - + "2_.google.privacy.dlp.v2.AnalyzeDataSour" - + "ceRiskDetails.KAnonymityResult.KAnonymit" - + "yEquivalenceClass\022\032\n\022bucket_value_count\030" - + "\005 \001(\003\032\260\005\n\020LDiversityResult\022\223\001\n+sensitive" - + "_value_frequency_histogram_buckets\030\005 \003(\013" - + "2^.google.privacy.dlp.v2.AnalyzeDataSour" - + "ceRiskDetails.LDiversityResult.LDiversit" - + "yHistogramBucket\032\340\001\n\032LDiversityEquivalen" - + "ceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.goog" - + "le.privacy.dlp.v2.Value\022\036\n\026equivalence_c" - + "lass_size\030\002 \001(\003\022%\n\035num_distinct_sensitiv" - + "e_values\030\003 \001(\003\022C\n\024top_sensitive_values\030\004" - + " \003(\0132%.google.privacy.dlp.v2.ValueFreque" - + "ncy\032\242\002\n\031LDiversityHistogramBucket\022-\n%sen" - + "sitive_value_frequency_lower_bound\030\001 \001(\003" - + "\022-\n%sensitive_value_frequency_upper_boun" - + "d\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\rbucket_v" - + "alues\030\004 \003(\0132_.google.privacy.dlp.v2.Anal" - + "yzeDataSourceRiskDetails.LDiversityResul" - + "t.LDiversityEquivalenceClass\022\032\n\022bucket_v" - + "alue_count\030\005 \001(\003\032\225\004\n\024KMapEstimationResul" - + "t\022\212\001\n\032k_map_estimation_histogram\030\001 \003(\0132f" - + ".google.privacy.dlp.v2.AnalyzeDataSource" - + "RiskDetails.KMapEstimationResult.KMapEst" - + "imationHistogramBucket\032r\n\033KMapEstimation" - + "QuasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\0132" - + "\034.google.privacy.dlp.v2.Value\022\033\n\023estimat" - + "ed_anonymity\030\002 \001(\003\032\373\001\n\035KMapEstimationHis" - + "togramBucket\022\025\n\rmin_anonymity\030\001 \001(\003\022\025\n\rm" - + "ax_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.AnalyzeDataSourceRiskDetails.KMap" - + "EstimationResult.KMapEstimationQuasiIdVa" - + "lues\022\032\n\022bucket_value_count\030\007 \001(\003\032\344\004\n\035Del" - + "taPresenceEstimationResult\022\245\001\n#delta_pre" - + "sence_estimation_histogram\030\001 \003(\0132x.googl" - + "e.privacy.dlp.v2.AnalyzeDataSourceRiskDe" - + "tails.DeltaPresenceEstimationResult.Delt" - + "aPresenceEstimationHistogramBucket\032}\n$De" - + "ltaPresenceEstimationQuasiIdValues\0226\n\020qu" - + "asi_ids_values\030\001 \003(\0132\034.google.privacy.dl" - + "p.v2.Value\022\035\n\025estimated_probability\030\002 \001(" - + "\001\032\233\002\n&DeltaPresenceEstimationHistogramBu" - + "cket\022\027\n\017min_probability\030\001 \001(\001\022\027\n\017max_pro" - + "bability\030\002 \001(\001\022\023\n\013bucket_size\030\005 \001(\003\022\215\001\n\r" - + "bucket_values\030\006 \003(\0132v.google.privacy.dlp" - + ".v2.AnalyzeDataSourceRiskDetails.DeltaPr" - + "esenceEstimationResult.DeltaPresenceEsti" - + "mationQuasiIdValues\022\032\n\022bucket_value_coun" - + "t\030\007 \001(\003B\010\n\006result\"L\n\016ValueFrequency\022+\n\005v" - + "alue\030\001 \001(\0132\034.google.privacy.dlp.v2.Value" - + "\022\r\n\005count\030\002 \001(\003\"\263\002\n\005Value\022\027\n\rinteger_val" - + "ue\030\001 \001(\003H\000\022\025\n\013float_value\030\002 \001(\001H\000\022\026\n\014str" - + "ing_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010" - + "H\000\0225\n\017timestamp_value\030\005 \001(\0132\032.google.pro" - + "tobuf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026." - + "google.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 " - + "\001(\0132\021.google.type.DateH\000\0223\n\021day_of_week_" - + "value\030\010 \001(\0162\026.google.type.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\014pars" - + "ed_quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.go" - + "ogle.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.go" - + "ogle.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.goog" - + "le.type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.g" - + "oogle.privacy.dlp.v2.DateTime.TimeZone\032\"" - + "\n\010TimeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\311\001\n\020D" - + "eidentifyConfig\022S\n\031info_type_transformat" - + "ions\030\001 \001(\0132..google.privacy.dlp.v2.InfoT" - + "ypeTransformationsH\000\022N\n\026record_transform" - + "ations\030\002 \001(\0132,.google.privacy.dlp.v2.Rec" - + "ordTransformationsH\000B\020\n\016transformation\"\365" - + "\006\n\027PrimitiveTransformation\022C\n\016replace_co" - + "nfig\030\001 \001(\0132).google.privacy.dlp.v2.Repla" - + "ceValueConfigH\000\022<\n\rredact_config\030\002 \001(\0132#" - + ".google.privacy.dlp.v2.RedactConfigH\000\022K\n" - + "\025character_mask_config\030\003 \001(\0132*.google.pr" - + "ivacy.dlp.v2.CharacterMaskConfigH\000\022Y\n\035cr" - + "ypto_replace_ffx_fpe_config\030\004 \001(\01320.goog" - + "le.privacy.dlp.v2.CryptoReplaceFfxFpeCon" - + "figH\000\022V\n\033fixed_size_bucketing_config\030\005 \001" - + "(\0132/.google.privacy.dlp.v2.FixedSizeBuck" - + "etingConfigH\000\022B\n\020bucketing_config\030\006 \001(\0132" - + "&.google.privacy.dlp.v2.BucketingConfigH" - + "\000\022Y\n\035replace_with_info_type_config\030\007 \001(\013" - + "20.google.privacy.dlp.v2.ReplaceWithInfo" - + "TypeConfigH\000\022A\n\020time_part_config\030\010 \001(\0132%" - + ".google.privacy.dlp.v2.TimePartConfigH\000\022" - + "E\n\022crypto_hash_config\030\t \001(\0132\'.google.pri" - + "vacy.dlp.v2.CryptoHashConfigH\000\022C\n\021date_s" - + "hift_config\030\013 \001(\0132&.google.privacy.dlp.v" - + "2.DateShiftConfigH\000\022W\n\033crypto_determinis" - + "tic_config\030\014 \001(\01320.google.privacy.dlp.v2" - + ".CryptoDeterministicConfigH\000B\020\n\016transfor" - + "mation\"\334\001\n\016TimePartConfig\022G\n\017part_to_ext" - + "ract\030\001 \001(\0162..google.privacy.dlp.v2.TimeP" - + "artConfig.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\014DAY_OF_MONTH\020\003\022\017\n\013DAY_OF_WEEK\020\004\022\020\n\014WE" - + "EK_OF_YEAR\020\005\022\017\n\013HOUR_OF_DAY\020\006\"H\n\020CryptoH" - + "ashConfig\0224\n\ncrypto_key\030\001 \001(\0132 .google.p" - + "rivacy.dlp.v2.CryptoKey\"\300\001\n\031CryptoDeterm" - + "inisticConfig\0224\n\ncrypto_key\030\001 \001(\0132 .goog" - + "le.privacy.dlp.v2.CryptoKey\022<\n\023surrogate" - + "_info_type\030\002 \001(\0132\037.google.privacy.dlp.v2" - + ".InfoType\022/\n\007context\030\003 \001(\0132\036.google.priv" - + "acy.dlp.v2.FieldId\"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(" + + ".Value\022\036\n\026equivalence_class_size\030\002 \001(\003\022%" + + "\n\035num_distinct_sensitive_values\030\003 \001(\003\022C\n" + + "\024top_sensitive_values\030\004 \003(\0132%.google.pri" + + "vacy.dlp.v2.ValueFrequency\032\242\002\n\031LDiversit" + + "yHistogramBucket\022-\n%sensitive_value_freq" + + "uency_lower_bound\030\001 \001(\003\022-\n%sensitive_val" + + "ue_frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket" + + "_size\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.goo" + + "gle.privacy.dlp.v2.AnalyzeDataSourceRisk" + + "Details.LDiversityResult.LDiversityEquiv" + + "alenceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032" + + "\225\004\n\024KMapEstimationResult\022\212\001\n\032k_map_estim" + + "ation_histogram\030\001 \003(\0132f.google.privacy.d" + + "lp.v2.AnalyzeDataSourceRiskDetails.KMapE" + + "stimationResult.KMapEstimationHistogramB" + + "ucket\032r\n\033KMapEstimationQuasiIdValues\0226\n\020" + + "quasi_ids_values\030\001 \003(\0132\034.google.privacy." + + "dlp.v2.Value\022\033\n\023estimated_anonymity\030\002 \001(" + + "\003\032\373\001\n\035KMapEstimationHistogramBucket\022\025\n\rm" + + "in_anonymity\030\001 \001(\003\022\025\n\rmax_anonymity\030\002 \001(" + + "\003\022\023\n\013bucket_size\030\005 \001(\003\022{\n\rbucket_values\030" + + "\006 \003(\0132d.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetails.KMapEstimationResult." + + "KMapEstimationQuasiIdValues\022\032\n\022bucket_va" + + "lue_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimat" + + "ionResult\022\245\001\n#delta_presence_estimation_" + + "histogram\030\001 \003(\0132x.google.privacy.dlp.v2." + + "AnalyzeDataSourceRiskDetails.DeltaPresen" + + "ceEstimationResult.DeltaPresenceEstimati" + + "onHistogramBucket\032}\n$DeltaPresenceEstima" + + "tionQuasiIdValues\0226\n\020quasi_ids_values\030\001 " + + "\003(\0132\034.google.privacy.dlp.v2.Value\022\035\n\025est" + + "imated_probability\030\002 \001(\001\032\233\002\n&DeltaPresen" + + "ceEstimationHistogramBucket\022\027\n\017min_proba" + + "bility\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n" + + "\013bucket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003" + + "(\0132v.google.privacy.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.DeltaPresenceEstimationR" + + "esult.DeltaPresenceEstimationQuasiIdValu" + + "es\022\032\n\022bucket_value_count\030\007 \001(\003B\010\n\006result" + + "\"L\n\016ValueFrequency\022+\n\005value\030\001 \001(\0132\034.goog" + + "le.privacy.dlp.v2.Value\022\r\n\005count\030\002 \001(\003\"\263" + + "\002\n\005Value\022\027\n\rinteger_value\030\001 \001(\003H\000\022\025\n\013flo" + + "at_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000" + + "\022\027\n\rboolean_value\030\004 \001(\010H\000\0225\n\017timestamp_v" + + "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" + + "\022,\n\ntime_value\030\006 \001(\0132\026.google.type.TimeO" + + "fDayH\000\022\'\n\ndate_value\030\007 \001(\0132\021.google.type" + + ".DateH\000\0223\n\021day_of_week_value\030\010 \001(\0162\026.goo" + + "gle.type.DayOfWeekH\000B\006\n\004type\"Q\n\tQuoteInf" + + "o\0224\n\tdate_time\030\002 \001(\0132\037.google.privacy.dl" + + "p.v2.DateTimeH\000B\016\n\014parsed_quote\"\337\001\n\010Date" + + "Time\022\037\n\004date\030\001 \001(\0132\021.google.type.Date\022+\n" + + "\013day_of_week\030\002 \001(\0162\026.google.type.DayOfWe" + + "ek\022$\n\004time\030\003 \001(\0132\026.google.type.TimeOfDay" + + "\022;\n\ttime_zone\030\004 \001(\0132(.google.privacy.dlp" + + ".v2.DateTime.TimeZone\032\"\n\010TimeZone\022\026\n\016off" + + "set_minutes\030\001 \001(\005\"\311\001\n\020DeidentifyConfig\022S" + + "\n\031info_type_transformations\030\001 \001(\0132..goog" + + "le.privacy.dlp.v2.InfoTypeTransformation" + + "sH\000\022N\n\026record_transformations\030\002 \001(\0132,.go" + + "ogle.privacy.dlp.v2.RecordTransformation" + + "sH\000B\020\n\016transformation\"\365\006\n\027PrimitiveTrans" + + "formation\022C\n\016replace_config\030\001 \001(\0132).goog" + + "le.privacy.dlp.v2.ReplaceValueConfigH\000\022<" + + "\n\rredact_config\030\002 \001(\0132#.google.privacy.d" + + "lp.v2.RedactConfigH\000\022K\n\025character_mask_c" + + "onfig\030\003 \001(\0132*.google.privacy.dlp.v2.Char" + + "acterMaskConfigH\000\022Y\n\035crypto_replace_ffx_" + + "fpe_config\030\004 \001(\01320.google.privacy.dlp.v2" + + ".CryptoReplaceFfxFpeConfigH\000\022V\n\033fixed_si" + + "ze_bucketing_config\030\005 \001(\0132/.google.priva" + + "cy.dlp.v2.FixedSizeBucketingConfigH\000\022B\n\020" + + "bucketing_config\030\006 \001(\0132&.google.privacy." + + "dlp.v2.BucketingConfigH\000\022Y\n\035replace_with" + + "_info_type_config\030\007 \001(\01320.google.privacy" + + ".dlp.v2.ReplaceWithInfoTypeConfigH\000\022A\n\020t" + + "ime_part_config\030\010 \001(\0132%.google.privacy.d" + + "lp.v2.TimePartConfigH\000\022E\n\022crypto_hash_co" + + "nfig\030\t \001(\0132\'.google.privacy.dlp.v2.Crypt" + + "oHashConfigH\000\022C\n\021date_shift_config\030\013 \001(\013" + + "2&.google.privacy.dlp.v2.DateShiftConfig" + + "H\000\022W\n\033crypto_deterministic_config\030\014 \001(\0132" + + "0.google.privacy.dlp.v2.CryptoDeterminis" + + "ticConfigH\000B\020\n\016transformation\"\334\001\n\016TimePa" + + "rtConfig\022G\n\017part_to_extract\030\001 \001(\0162..goog" + + "le.privacy.dlp.v2.TimePartConfig.TimePar" + + "t\"\200\001\n\010TimePart\022\031\n\025TIME_PART_UNSPECIFIED\020" + + "\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014DAY_OF_MONTH\020\003" + + "\022\017\n\013DAY_OF_WEEK\020\004\022\020\n\014WEEK_OF_YEAR\020\005\022\017\n\013H" + + "OUR_OF_DAY\020\006\"H\n\020CryptoHashConfig\0224\n\ncryp" + + "to_key\030\001 \001(\0132 .google.privacy.dlp.v2.Cry" + + "ptoKey\"\300\001\n\031CryptoDeterministicConfig\0224\n\n" + + "crypto_key\030\001 \001(\0132 .google.privacy.dlp.v2" + + ".CryptoKey\022<\n\023surrogate_info_type\030\002 \001(\0132" + + "\037.google.privacy.dlp.v2.InfoType\022/\n\007cont" + + "ext\030\003 \001(\0132\036.google.privacy.dlp.v2.FieldI" + + "d\"E\n\022ReplaceValueConfig\022/\n\tnew_value\030\001 \001" + + "(\0132\034.google.privacy.dlp.v2.Value\"\033\n\031Repl" + + "aceWithInfoTypeConfig\"\016\n\014RedactConfig\"\266\002" + + "\n\rCharsToIgnore\022\034\n\022characters_to_skip\030\001 " + + "\001(\tH\000\022_\n\033common_characters_to_ignore\030\002 \001" + + "(\01628.google.privacy.dlp.v2.CharsToIgnore" + + ".CommonCharsToIgnoreH\000\"\227\001\n\023CommonCharsTo" + + "Ignore\022&\n\"COMMON_CHARS_TO_IGNORE_UNSPECI" + + "FIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UPPER_CASE\020" + + "\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNCTUATION\020\004", + "\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\"\243\001\n\023Chara" + + "cterMaskConfig\022\031\n\021masking_character\030\001 \001(" + + "\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rreverse_ord" + + "er\030\003 \001(\010\022B\n\024characters_to_ignore\030\004 \003(\0132$" + + ".google.privacy.dlp.v2.CharsToIgnore\"\225\001\n" + + "\030FixedSizeBucketingConfig\0221\n\013lower_bound" + + "\030\001 \001(\0132\034.google.privacy.dlp.v2.Value\0221\n\013" + + "upper_bound\030\002 \001(\0132\034.google.privacy.dlp.v" + + "2.Value\022\023\n\013bucket_size\030\003 \001(\001\"\353\001\n\017Bucketi" + + "ngConfig\022>\n\007buckets\030\001 \003(\0132-.google.priva" + + "cy.dlp.v2.BucketingConfig.Bucket\032\227\001\n\006Buc" + + "ket\022)\n\003min\030\001 \001(\0132\034.google.privacy.dlp.v2" + + ".Value\022)\n\003max\030\002 \001(\0132\034.google.privacy.dlp" + + ".v2.Value\0227\n\021replacement_value\030\003 \001(\0132\034.g" + + "oogle.privacy.dlp.v2.Value\"\364\003\n\031CryptoRep" + + "laceFfxFpeConfig\0224\n\ncrypto_key\030\001 \001(\0132 .g" + + "oogle.privacy.dlp.v2.CryptoKey\022/\n\007contex" + + "t\030\002 \001(\0132\036.google.privacy.dlp.v2.FieldId\022" + + "c\n\017common_alphabet\030\004 \001(\0162H.google.privac" + + "y.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCo" + + "mmonNativeAlphabetH\000\022\031\n\017custom_alphabet\030" + + "\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_in" + + "fo_type\030\010 \001(\0132\037.google.privacy.dlp.v2.In" + + "foType\"\224\001\n\027FfxCommonNativeAlphabet\022*\n&FF" + + "X_COMMON_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013" + + "\n\007NUMERIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CA" + + "SE_ALPHA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n" + + "\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001" + + "(\0132).google.privacy.dlp.v2.TransientCryp" + + "toKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).google.priv" + + "acy.dlp.v2.UnwrappedCryptoKeyH\000\022A\n\013kms_w" + + "rapped\030\003 \001(\0132*.google.privacy.dlp.v2.Kms" + + "WrappedCryptoKeyH\000B\010\n\006source\"\"\n\022Transien" + + "tCryptoKey\022\014\n\004name\030\001 \001(\t\"!\n\022UnwrappedCry" + + "ptoKey\022\013\n\003key\030\001 \001(\014\"C\n\023KmsWrappedCryptoK" + + "ey\022\023\n\013wrapped_key\030\001 \001(\014\022\027\n\017crypto_key_na" + + "me\030\002 \001(\t\"\270\001\n\017DateShiftConfig\022\030\n\020upper_bo" + + "und_days\030\001 \001(\005\022\030\n\020lower_bound_days\030\002 \001(\005" + + "\022/\n\007context\030\003 \001(\0132\036.google.privacy.dlp.v" + + "2.FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.p" + + "rivacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\233\002\n\027" + + "InfoTypeTransformations\022^\n\017transformatio" + + "ns\030\001 \003(\0132E.google.privacy.dlp.v2.InfoTyp" + + "eTransformations.InfoTypeTransformation\032" + + "\237\001\n\026InfoTypeTransformation\0223\n\ninfo_types" + + "\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoType\022" + + "P\n\030primitive_transformation\030\002 \001(\0132..goog" + + "le.privacy.dlp.v2.PrimitiveTransformatio" + + "n\"\273\002\n\023FieldTransformation\022.\n\006fields\030\001 \003(" + + "\0132\036.google.privacy.dlp.v2.FieldId\0229\n\tcon" + + "dition\030\003 \001(\0132&.google.privacy.dlp.v2.Rec" + + "ordCondition\022R\n\030primitive_transformation" + + "\030\004 \001(\0132..google.privacy.dlp.v2.Primitive" + + "TransformationH\000\022S\n\031info_type_transforma" + + "tions\030\005 \001(\0132..google.privacy.dlp.v2.Info" + + "TypeTransformationsH\000B\020\n\016transformation\"" + + "\251\001\n\025RecordTransformations\022I\n\025field_trans" + + "formations\030\001 \003(\0132*.google.privacy.dlp.v2" + + ".FieldTransformation\022E\n\023record_suppressi" + + "ons\030\002 \003(\0132(.google.privacy.dlp.v2.Record" + + "Suppression\"N\n\021RecordSuppression\0229\n\tcond" + + "ition\030\001 \001(\0132&.google.privacy.dlp.v2.Reco" + + "rdCondition\"\322\004\n\017RecordCondition\022G\n\013expre" + + "ssions\030\003 \001(\01322.google.privacy.dlp.v2.Rec" + + "ordCondition.Expressions\032\244\001\n\tCondition\022-" + + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldId\022;\n\010operator\030\003 \001(\0162).google.privacy" + + ".dlp.v2.RelationalOperator\022+\n\005value\030\004 \001(" + + "\0132\034.google.privacy.dlp.v2.Value\032R\n\nCondi" + + "tions\022D\n\nconditions\030\001 \003(\01320.google.priva" + + "cy.dlp.v2.RecordCondition.Condition\032\372\001\n\013" + + "Expressions\022\\\n\020logical_operator\030\001 \001(\0162B." + + "google.privacy.dlp.v2.RecordCondition.Ex" + + "pressions.LogicalOperator\022G\n\nconditions\030" + + "\003 \001(\01321.google.privacy.dlp.v2.RecordCond" + + "ition.ConditionsH\000\"<\n\017LogicalOperator\022 \n" + + "\034LOGICAL_OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001" + + "B\006\n\004type\"\203\001\n\026TransformationOverview\022\031\n\021t" + + "ransformed_bytes\030\002 \001(\003\022N\n\030transformation" + + "_summaries\030\003 \003(\0132,.google.privacy.dlp.v2" + + ".TransformationSummary\"\237\005\n\025Transformatio" + + "nSummary\0222\n\tinfo_type\030\001 \001(\0132\037.google.pri" + + "vacy.dlp.v2.InfoType\022-\n\005field\030\002 \001(\0132\036.go" + + "ogle.privacy.dlp.v2.FieldId\022F\n\016transform" + + "ation\030\003 \001(\0132..google.privacy.dlp.v2.Prim" + + "itiveTransformation\022I\n\025field_transformat" + + "ions\030\005 \003(\0132*.google.privacy.dlp.v2.Field" + + "Transformation\022A\n\017record_suppress\030\006 \001(\0132" + + "(.google.privacy.dlp.v2.RecordSuppressio" + + "n\022K\n\007results\030\004 \003(\0132:.google.privacy.dlp." + + "v2.TransformationSummary.SummaryResult\022\031" + + "\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rSummaryRes" + + "ult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(\0162E.googl" + + "e.privacy.dlp.v2.TransformationSummary.T" + + "ransformationResultCode\022\017\n\007details\030\003 \001(\t" + + "\"^\n\030TransformationResultCode\022*\n&TRANSFOR" + + "MATION_RESULT_CODE_UNSPECIFIED\020\000\022\013\n\007SUCC" + + "ESS\020\001\022\t\n\005ERROR\020\002\"U\n\010Schedule\022?\n\032recurren" + + "ce_period_duration\030\001 \001(\0132\031.google.protob" + + "uf.DurationH\000B\010\n\006option\"\217\003\n\017InspectTempl" + + "ate\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022" + + "\023\n\013description\030\003 \001(\t\022/\n\013create_time\030\004 \001(" + "\0132\032.google.protobuf.Timestamp\022/\n\013update_" - + "time\030\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\"\206\005\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\022q\n&publish_findings_to_" - + "cloud_data_catalog\030\005 \001(\0132?.google.privac" - + "y.dlp.v2.Action.PublishFindingsToCloudDa" - + "taCatalogH\000\022V\n\027job_notification_emails\030\010" - + " \001(\01323.google.privacy.dlp.v2.Action.JobN" - + "otificationEmailsH\000\032Q\n\014SaveFindings\022A\n\ro" - + "utput_config\030\001 \001(\0132*.google.privacy.dlp." - + "v2.OutputStorageConfig\032 \n\017PublishToPubSu" - + "b\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummaryToCscc" - + "\032#\n!PublishFindingsToCloudDataCatalog\032\027\n" - + "\025JobNotificationEmailsB\010\n\006action\"\205\001\n\034Cre" - + "ateInspectTemplateRequest\022\016\n\006parent\030\001 \001(" - + "\t\022@\n\020inspect_template\030\002 \001(\0132&.google.pri" - + "vacy.dlp.v2.InspectTemplate\022\023\n\013template_" - + "id\030\003 \001(\t\"\237\001\n\034UpdateInspectTemplateReques" - + "t\022\014\n\004name\030\001 \001(\t\022@\n\020inspect_template\030\002 \001(" - + "\0132&.google.privacy.dlp.v2.InspectTemplat" - + "e\022/\n\013update_mask\030\003 \001(\0132\032.google.protobuf" - + ".FieldMask\")\n\031GetInspectTemplateRequest\022" - + "\014\n\004name\030\001 \001(\t\"f\n\033ListInspectTemplatesReq" - + "uest\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\"z\n" - + "\034ListInspectTemplatesResponse\022A\n\021inspect" - + "_templates\030\001 \003(\0132&.google.privacy.dlp.v2" - + ".InspectTemplate\022\027\n\017next_page_token\030\002 \001(" - + "\t\",\n\034DeleteInspectTemplateRequest\022\014\n\004nam" - + "e\030\001 \001(\t\"u\n\027CreateJobTriggerRequest\022\016\n\006pa" - + "rent\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.google" - + ".privacy.dlp.v2.JobTrigger\022\022\n\ntrigger_id" - + "\030\003 \001(\t\")\n\031ActivateJobTriggerRequest\022\014\n\004n" - + "ame\030\001 \001(\t\"\220\001\n\027UpdateJobTriggerRequest\022\014\n" - + "\004name\030\001 \001(\t\0226\n\013job_trigger\030\002 \001(\0132!.googl" - + "e.privacy.dlp.v2.JobTrigger\022/\n\013update_ma" - + "sk\030\003 \001(\0132\032.google.protobuf.FieldMask\"$\n\024" - + "GetJobTriggerRequest\022\014\n\004name\030\001 \001(\t\"\276\001\n\023C" - + "reateDlpJobRequest\022\016\n\006parent\030\001 \001(\t\022>\n\013in" - + "spect_job\030\002 \001(\0132\'.google.privacy.dlp.v2." - + "InspectJobConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.g" - + "oogle.privacy.dlp.v2.RiskAnalysisJobConf" - + "igH\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"q\n\026ListJobTr" - + "iggersRequest\022\016\n\006parent\030\001 \001(\t\022\022\n\npage_to" - + "ken\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010order_by" - + "\030\004 \001(\t\022\016\n\006filter\030\005 \001(\t\"k\n\027ListJobTrigger" - + "sResponse\0227\n\014job_triggers\030\001 \003(\0132!.google" - + ".privacy.dlp.v2.JobTrigger\022\027\n\017next_page_" - + "token\030\002 \001(\t\"\'\n\027DeleteJobTriggerRequest\022\014" - + "\n\004name\030\001 \001(\t\"\335\001\n\020InspectJobConfig\022<\n\016sto" - + "rage_config\030\001 \001(\0132$.google.privacy.dlp.v" - + "2.StorageConfig\022<\n\016inspect_config\030\002 \001(\0132" - + "$.google.privacy.dlp.v2.InspectConfig\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\004type\030\002 \001(\0162!.go" - + "ogle.privacy.dlp.v2.DlpJobType\0225\n\005state\030" - + "\003 \001(\0162&.google.privacy.dlp.v2.DlpJob.Job" - + "State\022K\n\014risk_details\030\004 \001(\01323.google.pri" - + "vacy.dlp.v2.AnalyzeDataSourceRiskDetails" - + "H\000\022J\n\017inspect_details\030\005 \001(\0132/.google.pri" - + "vacy.dlp.v2.InspectDataSourceDetailsH\000\022/" - + "\n\013create_time\030\006 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022.\n\nstart_time\030\007 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022\030\n\020job_trigger_nam" - + "e\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_U" - + "NSPECIFIED\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\006FAILED\020\005B\t\n\007de" - + "tails\" \n\020GetDlpJobRequest\022\014\n\004name\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\npag" - + "e_token\030\003 \001(\t\022/\n\004type\030\005 \001(\0162!.google.pri" - + "vacy.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\017next_pag" - + "e_token\030\002 \001(\t\"#\n\023CancelDlpJobRequest\022\014\n\004" - + "name\030\001 \001(\t\"#\n\023DeleteDlpJobRequest\022\014\n\004nam" - + "e\030\001 \001(\t\"\216\001\n\037CreateDeidentifyTemplateRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022F\n\023deidentify_templa" - + "te\030\002 \001(\0132).google.privacy.dlp.v2.Deident" - + "ifyTemplate\022\023\n\013template_id\030\003 \001(\t\"\250\001\n\037Upd" - + "ateDeidentifyTemplateRequest\022\014\n\004name\030\001 \001" - + "(\t\022F\n\023deidentify_template\030\002 \001(\0132).google" - + ".privacy.dlp.v2.DeidentifyTemplate\022/\n\013up" - + "date_mask\030\003 \001(\0132\032.google.protobuf.FieldM" - + "ask\",\n\034GetDeidentifyTemplateRequest\022\014\n\004n" - + "ame\030\001 \001(\t\"i\n\036ListDeidentifyTemplatesRequ" - + "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\"\203\001\n" - + "\037ListDeidentifyTemplatesResponse\022G\n\024deid" - + "entify_templates\030\001 \003(\0132).google.privacy." - + "dlp.v2.DeidentifyTemplate\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"/\n\037DeleteDeidentifyTemplateRe" - + "quest\022\014\n\004name\030\001 \001(\t\"\364\001\n\033LargeCustomDicti" - + "onaryConfig\022<\n\013output_path\030\001 \001(\0132\'.googl" - + "e.privacy.dlp.v2.CloudStoragePath\022L\n\026clo" - + "ud_storage_file_set\030\002 \001(\0132*.google.priva" - + "cy.dlp.v2.CloudStorageFileSetH\000\022?\n\017big_q" - + "uery_field\030\003 \001(\0132$.google.privacy.dlp.v2" - + ".BigQueryFieldH\000B\010\n\006source\"8\n\032LargeCusto" - + "mDictionaryStats\022\032\n\022approx_num_phrases\030\001" - + " \001(\003\"\240\001\n\024StoredInfoTypeConfig\022\024\n\014display" - + "_name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027larg" - + "e_custom_dictionary\030\003 \001(\01322.google.priva" - + "cy.dlp.v2.LargeCustomDictionaryConfigH\000B" - + "\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027large_" - + "custom_dictionary\030\001 \001(\01321.google.privacy" - + ".dlp.v2.LargeCustomDictionaryStatsH\000B\006\n\004" - + "type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006config" - + "\030\001 \001(\0132+.google.privacy.dlp.v2.StoredInf" - + "oTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.googl" - + "e.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*.go" - + "ogle.privacy.dlp.v2.StoredInfoTypeState\022" - + ",\n\006errors\030\004 \003(\0132\034.google.privacy.dlp.v2." - + "Error\0229\n\005stats\030\005 \001(\0132*.google.privacy.dl" - + "p.v2.StoredInfoTypeStats\"\255\001\n\016StoredInfoT" - + "ype\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030\002 \001" - + "(\0132,.google.privacy.dlp.v2.StoredInfoTyp" - + "eVersion\022F\n\020pending_versions\030\003 \003(\0132,.goo" - + "gle.privacy.dlp.v2.StoredInfoTypeVersion" - + "\"\207\001\n\033CreateStoredInfoTypeRequest\022\016\n\006pare" - + "nt\030\001 \001(\t\022;\n\006config\030\002 \001(\0132+.google.privac" - + "y.dlp.v2.StoredInfoTypeConfig\022\033\n\023stored_" - + "info_type_id\030\003 \001(\t\"\231\001\n\033UpdateStoredInfoT" - + "ypeRequest\022\014\n\004name\030\001 \001(\t\022;\n\006config\030\002 \001(\013" - + "2+.google.privacy.dlp.v2.StoredInfoTypeC" - + "onfig\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMask\"(\n\030GetStoredInfoTypeReque" - + "st\022\014\n\004name\030\001 \001(\t\"e\n\032ListStoredInfoTypesR" - + "equest\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\033ListStoredInfoTypesResponse\022@\n\021stored" - + "_info_types\030\001 \003(\0132%.google.privacy.dlp.v" - + "2.StoredInfoType\022\027\n\017next_page_token\030\002 \001(" - + "\t\"+\n\033DeleteStoredInfoTypeRequest\022\014\n\004name" - + "\030\001 \001(\t*M\n\rContentOption\022\027\n\023CONTENT_UNSPE" - + "CIFIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCONTENT_IM" - + "AGE\020\002*\215\001\n\014MatchingType\022\035\n\031MATCHING_TYPE_" - + "UNSPECIFIED\020\000\022\034\n\030MATCHING_TYPE_FULL_MATC" - + "H\020\001\022\037\n\033MATCHING_TYPE_PARTIAL_MATCH\020\002\022\037\n\033" - + "MATCHING_TYPE_INVERSE_MATCH\020\003*P\n\023InfoTyp" - + "eSupportedBy\022\031\n\025ENUM_TYPE_UNSPECIFIED\020\000\022" - + "\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002*\273\001\n\022Rela" - + "tionalOperator\022#\n\037RELATIONAL_OPERATOR_UN" - + "SPECIFIED\020\000\022\014\n\010EQUAL_TO\020\001\022\020\n\014NOT_EQUAL_T" - + "O\020\002\022\020\n\014GREATER_THAN\020\003\022\r\n\tLESS_THAN\020\004\022\032\n\026" - + "GREATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS_THAN_OR" - + "_EQUALS\020\006\022\n\n\006EXISTS\020\007*R\n\nDlpJobType\022\034\n\030D" - + "LP_JOB_TYPE_UNSPECIFIED\020\000\022\017\n\013INSPECT_JOB" - + "\020\001\022\025\n\021RISK_ANALYSIS_JOB\020\002*n\n\023StoredInfoT" - + "ypeState\022&\n\"STORED_INFO_TYPE_STATE_UNSPE" - + "CIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAIL" - + "ED\020\003\022\013\n\007INVALID\020\0042\222-\n\nDlpService\022\241\001\n\016Ins" - + "pectContent\022,.google.privacy.dlp.v2.Insp" - + "ectContentRequest\032-.google.privacy.dlp.v" - + "2.InspectContentResponse\"2\202\323\344\223\002,\"\'/v2/{p" - + "arent=projects/*}/content:inspect:\001*\022\225\001\n" - + "\013RedactImage\022).google.privacy.dlp.v2.Red" - + "actImageRequest\032*.google.privacy.dlp.v2." - + "RedactImageResponse\"/\202\323\344\223\002)\"$/v2/{parent" - + "=projects/*}/image:redact:\001*\022\255\001\n\021Deident" - + "ifyContent\022/.google.privacy.dlp.v2.Deide" - + "ntifyContentRequest\0320.google.privacy.dlp" - + ".v2.DeidentifyContentResponse\"5\202\323\344\223\002/\"*/" - + "v2/{parent=projects/*}/content:deidentif" - + "y:\001*\022\255\001\n\021ReidentifyContent\022/.google.priv" - + "acy.dlp.v2.ReidentifyContentRequest\0320.go" - + "ogle.privacy.dlp.v2.ReidentifyContentRes" - + "ponse\"5\202\323\344\223\002/\"*/v2/{parent=projects/*}/c" - + "ontent:reidentify:\001*\022\201\001\n\rListInfoTypes\022+" - + ".google.privacy.dlp.v2.ListInfoTypesRequ" - + "est\032,.google.privacy.dlp.v2.ListInfoType" - + "sResponse\"\025\202\323\344\223\002\017\022\r/v2/infoTypes\022\335\001\n\025Cre" - + "ateInspectTemplate\0223.google.privacy.dlp." - + "v2.CreateInspectTemplateRequest\032&.google" - + ".privacy.dlp.v2.InspectTemplate\"g\202\323\344\223\002a\"" - + "-/v2/{parent=organizations/*}/inspectTem" - + "plates:\001*Z-\"(/v2/{parent=projects/*}/ins" - + "pectTemplates:\001*\022\335\001\n\025UpdateInspectTempla" - + "te\0223.google.privacy.dlp.v2.UpdateInspect" - + "TemplateRequest\032&.google.privacy.dlp.v2." - + "InspectTemplate\"g\202\323\344\223\002a2-/v2/{name=organ" - + "izations/*/inspectTemplates/*}:\001*Z-2(/v2" - + "/{name=projects/*/inspectTemplates/*}:\001*" - + "\022\321\001\n\022GetInspectTemplate\0220.google.privacy" - + ".dlp.v2.GetInspectTemplateRequest\032&.goog" - + "le.privacy.dlp.v2.InspectTemplate\"a\202\323\344\223\002" - + "[\022-/v2/{name=organizations/*/inspectTemp" - + "lates/*}Z*\022(/v2/{name=projects/*/inspect" - + "Templates/*}\022\342\001\n\024ListInspectTemplates\0222." - + "google.privacy.dlp.v2.ListInspectTemplat" - + "esRequest\0323.google.privacy.dlp.v2.ListIn" - + "spectTemplatesResponse\"a\202\323\344\223\002[\022-/v2/{par" - + "ent=organizations/*}/inspectTemplatesZ*\022" - + "(/v2/{parent=projects/*}/inspectTemplate" - + "s\022\307\001\n\025DeleteInspectTemplate\0223.google.pri" - + "vacy.dlp.v2.DeleteInspectTemplateRequest" - + "\032\026.google.protobuf.Empty\"a\202\323\344\223\002[*-/v2/{n" - + "ame=organizations/*/inspectTemplates/*}Z" - + "**(/v2/{name=projects/*/inspectTemplates" - + "/*}\022\354\001\n\030CreateDeidentifyTemplate\0226.googl" - + "e.privacy.dlp.v2.CreateDeidentifyTemplat" - + "eRequest\032).google.privacy.dlp.v2.Deident" - + "ifyTemplate\"m\202\323\344\223\002g\"0/v2/{parent=organiz" - + "ations/*}/deidentifyTemplates:\001*Z0\"+/v2/" - + "{parent=projects/*}/deidentifyTemplates:" - + "\001*\022\354\001\n\030UpdateDeidentifyTemplate\0226.google" - + ".privacy.dlp.v2.UpdateDeidentifyTemplate" - + "Request\032).google.privacy.dlp.v2.Deidenti" - + "fyTemplate\"m\202\323\344\223\002g20/v2/{name=organizati" - + "ons/*/deidentifyTemplates/*}:\001*Z02+/v2/{" - + "name=projects/*/deidentifyTemplates/*}:\001" - + "*\022\340\001\n\025GetDeidentifyTemplate\0223.google.pri" - + "vacy.dlp.v2.GetDeidentifyTemplateRequest" - + "\032).google.privacy.dlp.v2.DeidentifyTempl" - + "ate\"g\202\323\344\223\002a\0220/v2/{name=organizations/*/d" - + "eidentifyTemplates/*}Z-\022+/v2/{name=proje" - + "cts/*/deidentifyTemplates/*}\022\361\001\n\027ListDei" - + "dentifyTemplates\0225.google.privacy.dlp.v2" - + ".ListDeidentifyTemplatesRequest\0326.google" - + ".privacy.dlp.v2.ListDeidentifyTemplatesR" - + "esponse\"g\202\323\344\223\002a\0220/v2/{parent=organizatio" - + "ns/*}/deidentifyTemplatesZ-\022+/v2/{parent" - + "=projects/*}/deidentifyTemplates\022\323\001\n\030Del" - + "eteDeidentifyTemplate\0226.google.privacy.d" - + "lp.v2.DeleteDeidentifyTemplateRequest\032\026." - + "google.protobuf.Empty\"g\202\323\344\223\002a*0/v2/{name" - + "=organizations/*/deidentifyTemplates/*}Z" - + "-*+/v2/{name=projects/*/deidentifyTempla" - + "tes/*}\022\225\001\n\020CreateJobTrigger\022..google.pri" - + "vacy.dlp.v2.CreateJobTriggerRequest\032!.go" - + "ogle.privacy.dlp.v2.JobTrigger\".\202\323\344\223\002(\"#" - + "/v2/{parent=projects/*}/jobTriggers:\001*\022\225" - + "\001\n\020UpdateJobTrigger\022..google.privacy.dlp" - + ".v2.UpdateJobTriggerRequest\032!.google.pri" - + "vacy.dlp.v2.JobTrigger\".\202\323\344\223\002(2#/v2/{nam" - + "e=projects/*/jobTriggers/*}:\001*\022\214\001\n\rGetJo" - + "bTrigger\022+.google.privacy.dlp.v2.GetJobT" - + "riggerRequest\032!.google.privacy.dlp.v2.Jo" - + "bTrigger\"+\202\323\344\223\002%\022#/v2/{name=projects/*/j" - + "obTriggers/*}\022\235\001\n\017ListJobTriggers\022-.goog" - + "le.privacy.dlp.v2.ListJobTriggersRequest" - + "\032..google.privacy.dlp.v2.ListJobTriggers" - + "Response\"+\202\323\344\223\002%\022#/v2/{parent=projects/*" - + "}/jobTriggers\022\207\001\n\020DeleteJobTrigger\022..goo" - + "gle.privacy.dlp.v2.DeleteJobTriggerReque" - + "st\032\026.google.protobuf.Empty\"+\202\323\344\223\002%*#/v2/" - + "{name=projects/*/jobTriggers/*}\022\236\001\n\022Acti" - + "vateJobTrigger\0220.google.privacy.dlp.v2.A" - + "ctivateJobTriggerRequest\032\035.google.privac" - + "y.dlp.v2.DlpJob\"7\202\323\344\223\0021\",/v2/{name=proje" - + "cts/*/jobTriggers/*}:activate:\001*\022\205\001\n\014Cre" - + "ateDlpJob\022*.google.privacy.dlp.v2.Create" - + "DlpJobRequest\032\035.google.privacy.dlp.v2.Dl" - + "pJob\"*\202\323\344\223\002$\"\037/v2/{parent=projects/*}/dl" - + "pJobs:\001*\022\215\001\n\013ListDlpJobs\022).google.privac" - + "y.dlp.v2.ListDlpJobsRequest\032*.google.pri" - + "vacy.dlp.v2.ListDlpJobsResponse\"\'\202\323\344\223\002!\022" - + "\037/v2/{parent=projects/*}/dlpJobs\022|\n\tGetD" - + "lpJob\022\'.google.privacy.dlp.v2.GetDlpJobR" - + "equest\032\035.google.privacy.dlp.v2.DlpJob\"\'\202" - + "\323\344\223\002!\022\037/v2/{name=projects/*/dlpJobs/*}\022{" - + "\n\014DeleteDlpJob\022*.google.privacy.dlp.v2.D" - + "eleteDlpJobRequest\032\026.google.protobuf.Emp" - + "ty\"\'\202\323\344\223\002!*\037/v2/{name=projects/*/dlpJobs" - + "/*}\022\205\001\n\014CancelDlpJob\022*.google.privacy.dl" - + "p.v2.CancelDlpJobRequest\032\026.google.protob" - + "uf.Empty\"1\202\323\344\223\002+\"&/v2/{name=projects/*/d" - + "lpJobs/*}:cancel:\001*\022\330\001\n\024CreateStoredInfo" - + "Type\0222.google.privacy.dlp.v2.CreateStore" - + "dInfoTypeRequest\032%.google.privacy.dlp.v2" - + ".StoredInfoType\"e\202\323\344\223\002_\",/v2/{parent=org" - + "anizations/*}/storedInfoTypes:\001*Z,\"\'/v2/", - "{parent=projects/*}/storedInfoTypes:\001*\022\330" - + "\001\n\024UpdateStoredInfoType\0222.google.privacy" - + ".dlp.v2.UpdateStoredInfoTypeRequest\032%.go" - + "ogle.privacy.dlp.v2.StoredInfoType\"e\202\323\344\223" - + "\002_2,/v2/{name=organizations/*/storedInfo" - + "Types/*}:\001*Z,2\'/v2/{name=projects/*/stor" - + "edInfoTypes/*}:\001*\022\314\001\n\021GetStoredInfoType\022" - + "/.google.privacy.dlp.v2.GetStoredInfoTyp" - + "eRequest\032%.google.privacy.dlp.v2.StoredI" - + "nfoType\"_\202\323\344\223\002Y\022,/v2/{name=organizations" - + "/*/storedInfoTypes/*}Z)\022\'/v2/{name=proje" - + "cts/*/storedInfoTypes/*}\022\335\001\n\023ListStoredI" - + "nfoTypes\0221.google.privacy.dlp.v2.ListSto" - + "redInfoTypesRequest\0322.google.privacy.dlp" - + ".v2.ListStoredInfoTypesResponse\"_\202\323\344\223\002Y\022" - + ",/v2/{parent=organizations/*}/storedInfo" - + "TypesZ)\022\'/v2/{parent=projects/*}/storedI" - + "nfoTypes\022\303\001\n\024DeleteStoredInfoType\0222.goog" - + "le.privacy.dlp.v2.DeleteStoredInfoTypeRe" - + "quest\032\026.google.protobuf.Empty\"_\202\323\344\223\002Y*,/" - + "v2/{name=organizations/*/storedInfoTypes" - + "/*}Z)*\'/v2/{name=projects/*/storedInfoTy" - + "pes/*}\032F\312A\022dlp.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\215" - + "\001\n\031com.google.privacy.dlp.v2B\010DlpProtoP\001" - + "Z8google.golang.org/genproto/googleapis/" - + "privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2" - + "\312\002\023Google\\Cloud\\Dlp\\V2b\006proto3" + + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022<" + + "\n\016inspect_config\030\006 \001(\0132$.google.privacy." + + "dlp.v2.InspectConfig:\242\001\352A\236\001\n\"dlp.googlea" + + "pis.com/InspectTemplate\022@organizations/{" + + "organization}/inspectTemplates/{inspect_" + + "template}\0226projects/{project}/inspectTem" + + "plates/{inspect_template}\"\247\003\n\022Deidentify" + + "Template\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" + + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" + + "date_time\030\005 \001(\0132\032.google.protobuf.Timest" + + "amp\022B\n\021deidentify_config\030\006 \001(\0132\'.google." + + "privacy.dlp.v2.DeidentifyConfig:\261\001\352A\255\001\n%" + + "dlp.googleapis.com/DeidentifyTemplate\022Fo" + + "rganizations/{organization}/deidentifyTe" + + "mplates/{deidentify_template}\022\n\013inspect_job\030\004 \001(\0132\'" + + ".google.privacy.dlp.v2.InspectJobConfigH" + + "\000\022;\n\010triggers\030\005 \003(\0132).google.privacy.dlp" + + ".v2.JobTrigger.Trigger\022,\n\006errors\030\006 \003(\0132\034" + + ".google.privacy.dlp.v2.Error\022/\n\013create_t" + + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\010 \001(\0132\032.google.protobuf.Tim" + + "estamp\0221\n\rlast_run_time\030\t \001(\0132\032.google.p" + + "rotobuf.Timestamp\0228\n\006status\030\n \001(\0162(.goog" + + "le.privacy.dlp.v2.JobTrigger.Status\032I\n\007T" + + "rigger\0223\n\010schedule\030\001 \001(\0132\037.google.privac" + + "y.dlp.v2.ScheduleH\000B\t\n\007trigger\"H\n\006Status" + + "\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n" + + "\006PAUSED\020\002\022\r\n\tCANCELLED\020\003:P\352AM\n\035dlp.googl" + + "eapis.com/JobTrigger\022,projects/{project}" + + "/jobTriggers/{job_trigger}B\005\n\003job\"\364\005\n\006Ac" + + "tion\022C\n\rsave_findings\030\001 \001(\0132*.google.pri" + + "vacy.dlp.v2.Action.SaveFindingsH\000\022@\n\007pub" + + "_sub\030\002 \001(\0132-.google.privacy.dlp.v2.Actio" + + "n.PublishToPubSubH\000\022U\n\027publish_summary_t" + + "o_cscc\030\003 \001(\01322.google.privacy.dlp.v2.Act" + + "ion.PublishSummaryToCsccH\000\022q\n&publish_fi" + + "ndings_to_cloud_data_catalog\030\005 \001(\0132?.goo" + + "gle.privacy.dlp.v2.Action.PublishFinding" + + "sToCloudDataCatalogH\000\022V\n\027job_notificatio" + + "n_emails\030\010 \001(\01323.google.privacy.dlp.v2.A" + + "ction.JobNotificationEmailsH\000\022T\n\026publish" + + "_to_stackdriver\030\t \001(\01322.google.privacy.d" + + "lp.v2.Action.PublishToStackdriverH\000\032Q\n\014S" + + "aveFindings\022A\n\routput_config\030\001 \001(\0132*.goo" + + "gle.privacy.dlp.v2.OutputStorageConfig\032 " + + "\n\017PublishToPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024Publ" + + "ishSummaryToCscc\032#\n!PublishFindingsToClo" + + "udDataCatalog\032\027\n\025JobNotificationEmails\032\026" + + "\n\024PublishToStackdriverB\010\n\006action\"\261\001\n\034Cre" + + "ateInspectTemplateRequest\022:\n\006parent\030\001 \001(" + + "\tB*\340A\002\372A$\022\"dlp.googleapis.com/InspectTem" + + "plate\022@\n\020inspect_template\030\002 \001(\0132&.google" + + ".privacy.dlp.v2.InspectTemplate\022\023\n\013templ" + + "ate_id\030\003 \001(\t\"\313\001\n\034UpdateInspectTemplateRe" + + "quest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googlea" + + "pis.com/InspectTemplate\022@\n\020inspect_templ" + + "ate\030\002 \001(\0132&.google.privacy.dlp.v2.Inspec" + + "tTemplate\022/\n\013update_mask\030\003 \001(\0132\032.google." + + "protobuf.FieldMask\"U\n\031GetInspectTemplate" + + "Request\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googl" + + "eapis.com/InspectTemplate\"\222\001\n\033ListInspec" + + "tTemplatesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A" + + "$\022\"dlp.googleapis.com/InspectTemplate\022\022\n" + + "\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010" + + "order_by\030\004 \001(\t\"z\n\034ListInspectTemplatesRe" + + "sponse\022A\n\021inspect_templates\030\001 \003(\0132&.goog" + + "le.privacy.dlp.v2.InspectTemplate\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"X\n\034DeleteInspectTempl" + + "ateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.go" + + "ogleapis.com/InspectTemplate\"\252\001\n\027CreateJ" + + "obTriggerRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + + "\n+cloudresourcemanager.googleapis.com/Pr" + + "oject\0226\n\013job_trigger\030\002 \001(\0132!.google.priv" + + "acy.dlp.v2.JobTrigger\022\022\n\ntrigger_id\030\003 \001(" + + "\t\"P\n\031ActivateJobTriggerRequest\0223\n\004name\030\001" + + " \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrig" + + "ger\"\267\001\n\027UpdateJobTriggerRequest\0223\n\004name\030" + + "\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTri" + + "gger\0226\n\013job_trigger\030\002 \001(\0132!.google.priva" + + "cy.dlp.v2.JobTrigger\022/\n\013update_mask\030\003 \001(" + + "\0132\032.google.protobuf.FieldMask\"K\n\024GetJobT" + + "riggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp" + + ".googleapis.com/JobTrigger\"\363\001\n\023CreateDlp" + + "JobRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+clou" + + "dresourcemanager.googleapis.com/Project\022" + + ">\n\013inspect_job\030\002 \001(\0132\'.google.privacy.dl" + + "p.v2.InspectJobConfigH\000\022@\n\010risk_job\030\003 \001(" + + "\0132,.google.privacy.dlp.v2.RiskAnalysisJo" + + "bConfigH\000\022\016\n\006job_id\030\004 \001(\tB\005\n\003job\"\246\001\n\026Lis" + + "tJobTriggersRequest\022C\n\006parent\030\001 \001(\tB3\340A\002" + + "\372A-\n+cloudresourcemanager.googleapis.com" + + "/Project\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_siz" + + "e\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\016\n\006filter\030\005 \001(" + + "\t\"k\n\027ListJobTriggersResponse\0227\n\014job_trig" + + "gers\030\001 \003(\0132!.google.privacy.dlp.v2.JobTr" + + "igger\022\027\n\017next_page_token\030\002 \001(\t\"N\n\027Delete" + + "JobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n" + + "\035dlp.googleapis.com/JobTrigger\"\335\001\n\020Inspe" + + "ctJobConfig\022<\n\016storage_config\030\001 \001(\0132$.go" + + "ogle.privacy.dlp.v2.StorageConfig\022<\n\016ins" + + "pect_config\030\002 \001(\0132$.google.privacy.dlp.v" + + "2.InspectConfig\022\035\n\025inspect_template_name" + + "\030\003 \001(\t\022.\n\007actions\030\004 \003(\0132\035.google.privacy" + + ".dlp.v2.Action\"\244\005\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022" + + "/\n\004type\030\002 \001(\0162!.google.privacy.dlp.v2.Dl" + + "pJobType\0225\n\005state\030\003 \001(\0162&.google.privacy" + + ".dlp.v2.DlpJob.JobState\022K\n\014risk_details\030" + + "\004 \001(\01323.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetailsH\000\022J\n\017inspect_details\030" + + "\005 \001(\0132/.google.privacy.dlp.v2.InspectDat" + + "aSourceDetailsH\000\022/\n\013create_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022.\n\nstart_time\030" + + "\007 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + + "_time\030\010 \001(\0132\032.google.protobuf.Timestamp\022" + + "\030\n\020job_trigger_name\030\n \001(\t\022,\n\006errors\030\013 \003(" + + "\0132\034.google.privacy.dlp.v2.Error\"c\n\010JobSt" + + "ate\022\031\n\025JOB_STATE_UNSPECIFIED\020\000\022\013\n\007PENDIN" + + "G\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010CANCELED\020\004" + + "\022\n\n\006FAILED\020\005:D\352AA\n\031dlp.googleapis.com/Dl" + + "pJob\022$projects/{project}/dlpJobs/{dlp_jo" + + "b}B\t\n\007details\"C\n\020GetDlpJobRequest\022/\n\004nam" + + "e\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/DlpJ" + + "ob\"\323\001\n\022ListDlpJobsRequest\022C\n\006parent\030\004 \001(" + + "\tB3\340A\002\372A-\n+cloudresourcemanager.googleap" + + "is.com/Project\022\016\n\006filter\030\001 \001(\t\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/\n\004type\030\005 " + + "\001(\0162!.google.privacy.dlp.v2.DlpJobType\022\020" + + "\n\010order_by\030\006 \001(\t\"[\n\023ListDlpJobsResponse\022" + + "+\n\004jobs\030\001 \003(\0132\035.google.privacy.dlp.v2.Dl" + + "pJob\022\027\n\017next_page_token\030\002 \001(\t\"F\n\023CancelD" + + "lpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp." + + "googleapis.com/DlpJob\"F\n\023DeleteDlpJobReq" + + "uest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleap" + + "is.com/DlpJob\"\275\001\n\037CreateDeidentifyTempla" + + "teRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.g" + + "oogleapis.com/DeidentifyTemplate\022F\n\023deid" + + "entify_template\030\002 \001(\0132).google.privacy.d" + + "lp.v2.DeidentifyTemplate\022\023\n\013template_id\030" + + "\003 \001(\t\"\327\001\n\037UpdateDeidentifyTemplateReques" + + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis." + + "com/DeidentifyTemplate\022F\n\023deidentify_tem" + + "plate\030\002 \001(\0132).google.privacy.dlp.v2.Deid" + + "entifyTemplate\022/\n\013update_mask\030\003 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"[\n\034GetDeidentify" + + "TemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%d" + + "lp.googleapis.com/DeidentifyTemplate\"\230\001\n" + + "\036ListDeidentifyTemplatesRequest\022=\n\006paren" + + "t\030\001 \001(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deid" + + "entifyTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpa" + + "ge_size\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\"\203\001\n\037List" + + "DeidentifyTemplatesResponse\022G\n\024deidentif" + + "y_templates\030\001 \003(\0132).google.privacy.dlp.v" + + "2.DeidentifyTemplate\022\027\n\017next_page_token\030" + + "\002 \001(\t\"^\n\037DeleteDeidentifyTemplateRequest" + + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.c" + + "om/DeidentifyTemplate\"\364\001\n\033LargeCustomDic" + + "tionaryConfig\022<\n\013output_path\030\001 \001(\0132\'.goo" + + "gle.privacy.dlp.v2.CloudStoragePath\022L\n\026c" + + "loud_storage_file_set\030\002 \001(\0132*.google.pri" + + "vacy.dlp.v2.CloudStorageFileSetH\000\022?\n\017big" + + "_query_field\030\003 \001(\0132$.google.privacy.dlp." + + "v2.BigQueryFieldH\000B\010\n\006source\"8\n\032LargeCus" + + "tomDictionaryStats\022\032\n\022approx_num_phrases" + + "\030\001 \001(\003\"\240\001\n\024StoredInfoTypeConfig\022\024\n\014displ" + + "ay_name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U\n\027la" + + "rge_custom_dictionary\030\003 \001(\01322.google.pri" + + "vacy.dlp.v2.LargeCustomDictionaryConfigH" + + "\000B\006\n\004type\"s\n\023StoredInfoTypeStats\022T\n\027larg" + + "e_custom_dictionary\030\001 \001(\01321.google.priva" + + "cy.dlp.v2.LargeCustomDictionaryStatsH\000B\006" + + "\n\004type\"\251\002\n\025StoredInfoTypeVersion\022;\n\006conf" + + "ig\030\001 \001(\0132+.google.privacy.dlp.v2.StoredI" + + "nfoTypeConfig\022/\n\013create_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\0229\n\005state\030\003 \001(\0162*." + + "google.privacy.dlp.v2.StoredInfoTypeStat" + + "e\022,\n\006errors\030\004 \003(\0132\034.google.privacy.dlp.v" + + "2.Error\0229\n\005stats\030\005 \001(\0132*.google.privacy." + + "dlp.v2.StoredInfoTypeStats\"\317\002\n\016StoredInf" + + "oType\022\014\n\004name\030\001 \001(\t\022E\n\017current_version\030\002" + + " \001(\0132,.google.privacy.dlp.v2.StoredInfoT" + + "ypeVersion\022F\n\020pending_versions\030\003 \003(\0132,.g" + + "oogle.privacy.dlp.v2.StoredInfoTypeVersi" + + "on:\237\001\352A\233\001\n!dlp.googleapis.com/StoredInfo" + + "Type\022?organizations/{organization}/store" + + "dInfoTypes/{stored_info_type}\0225projects/" + + "{project}/storedInfoTypes/{stored_info_t" + + "ype}\"\262\001\n\033CreateStoredInfoTypeRequest\0229\n\006" + + "parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.com" + + "/StoredInfoType\022;\n\006config\030\002 \001(\0132+.google" + + ".privacy.dlp.v2.StoredInfoTypeConfig\022\033\n\023" + + "stored_info_type_id\030\003 \001(\t\"\304\001\n\033UpdateStor" + + "edInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n" + + "!dlp.googleapis.com/StoredInfoType\022;\n\006co" + + "nfig\030\002 \001(\0132+.google.privacy.dlp.v2.Store" + + "dInfoTypeConfig\022/\n\013update_mask\030\003 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"S\n\030GetStoredInf" + + "oTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp." + + "googleapis.com/StoredInfoType\"\220\001\n\032ListSt" + + "oredInfoTypesRequest\0229\n\006parent\030\001 \001(\tB)\340A" + + "\002\372A#\022!dlp.googleapis.com/StoredInfoType\022" + + "\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020" + + "\n\010order_by\030\004 \001(\t\"x\n\033ListStoredInfoTypesR" + + "esponse\022@\n\021stored_info_types\030\001 \003(\0132%.goo" + + "gle.privacy.dlp.v2.StoredInfoType\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"V\n\033DeleteStoredInfoTy" + + "peRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.goo" + + "gleapis.com/StoredInfoType*M\n\rContentOpt" + + "ion\022\027\n\023CONTENT_UNSPECIFIED\020\000\022\020\n\014CONTENT_" + + "TEXT\020\001\022\021\n\rCONTENT_IMAGE\020\002*\215\001\n\014MatchingTy" + + "pe\022\035\n\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MAT" + + "CHING_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE" + + "_PARTIAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERS" + + "E_MATCH\020\003*P\n\023InfoTypeSupportedBy\022\031\n\025ENUM" + + "_TYPE_UNSPECIFIED\020\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK" + + "_ANALYSIS\020\002*\273\001\n\022RelationalOperator\022#\n\037RE" + + "LATIONAL_OPERATOR_UNSPECIFIED\020\000\022\014\n\010EQUAL" + + "_TO\020\001\022\020\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREATER_THAN\020" + + "\003\022\r\n\tLESS_THAN\020\004\022\032\n\026GREATER_THAN_OR_EQUA" + + "LS\020\005\022\027\n\023LESS_THAN_OR_EQUALS\020\006\022\n\n\006EXISTS\020" + + "\007*R\n\nDlpJobType\022\034\n\030DLP_JOB_TYPE_UNSPECIF" + + "IED\020\000\022\017\n\013INSPECT_JOB\020\001\022\025\n\021RISK_ANALYSIS_" + + "JOB\020\002*n\n\023StoredInfoTypeState\022&\n\"STORED_I" + + "NFO_TYPE_STATE_UNSPECIFIED\020\000\022\013\n\007PENDING\020" + + "\001\022\t\n\005READY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\0042\222-" + + "\n\nDlpService\022\241\001\n\016InspectContent\022,.google" + + ".privacy.dlp.v2.InspectContentRequest\032-." + + "google.privacy.dlp.v2.InspectContentResp" + + "onse\"2\202\323\344\223\002,\"\'/v2/{parent=projects/*}/co" + + "ntent:inspect:\001*\022\225\001\n\013RedactImage\022).googl" + + "e.privacy.dlp.v2.RedactImageRequest\032*.go" + + "ogle.privacy.dlp.v2.RedactImageResponse\"" + + "/\202\323\344\223\002)\"$/v2/{parent=projects/*}/image:r" + + "edact:\001*\022\255\001\n\021DeidentifyContent\022/.google." + + "privacy.dlp.v2.DeidentifyContentRequest\032" + + "0.google.privacy.dlp.v2.DeidentifyConten" + + "tResponse\"5\202\323\344\223\002/\"*/v2/{parent=projects/" + + "*}/content:deidentify:\001*\022\255\001\n\021ReidentifyC" + + "ontent\022/.google.privacy.dlp.v2.Reidentif" + + "yContentRequest\0320.google.privacy.dlp.v2." + + "ReidentifyContentResponse\"5\202\323\344\223\002/\"*/v2/{" + + "parent=projects/*}/content:reidentify:\001*" + + "\022\201\001\n\rListInfoTypes\022+.google.privacy.dlp." + + "v2.ListInfoTypesRequest\032,.google.privacy" + + ".dlp.v2.ListInfoTypesResponse\"\025\202\323\344\223\002\017\022\r/" + + "v2/infoTypes\022\335\001\n\025CreateInspectTemplate\0223" + + ".google.privacy.dlp.v2.CreateInspectTemp" + + "lateRequest\032&.google.privacy.dlp.v2.Insp" + + "ectTemplate\"g\202\323\344\223\002a\"-/v2/{parent=organiz" + + "ations/*}/inspectTemplates:\001*Z-\"(/v2/{pa" + + "rent=projects/*}/inspectTemplates:\001*\022\335\001\n" + + "\025UpdateInspectTemplate\0223.google.privacy." + + "dlp.v2.UpdateInspectTemplateRequest\032&.go" + + "ogle.privacy.dlp.v2.InspectTemplate\"g\202\323\344" + + "\223\002a2-/v2/{name=organizations/*/inspectTe" + + "mplates/*}:\001*Z-2(/v2/{name=projects/*/in" + + "spectTemplates/*}:\001*\022\321\001\n\022GetInspectTempl" + + "ate\0220.google.privacy.dlp.v2.GetInspectTe" + + "mplateRequest\032&.google.privacy.dlp.v2.In" + + "spectTemplate\"a\202\323\344\223\002[\022-/v2/{name=organiz" + + "ations/*/inspectTemplates/*}Z*\022(/v2/{nam" + + "e=projects/*/inspectTemplates/*}\022\342\001\n\024Lis" + + "tInspectTemplates\0222.google.privacy.dlp.v" + + "2.ListInspectTemplatesRequest\0323.google.p" + + "rivacy.dlp.v2.ListInspectTemplatesRespon" + + "se\"a\202\323\344\223\002[\022-/v2/{parent=organizations/*}" + + "/inspectTemplatesZ*\022(/v2/{parent=project" + + "s/*}/inspectTemplates\022\307\001\n\025DeleteInspectT" + + "emplate\0223.google.privacy.dlp.v2.DeleteIn" + + "spectTemplateRequest\032\026.google.protobuf.E" + + "mpty\"a\202\323\344\223\002[*-/v2/{name=organizations/*/" + + "inspectTemplates/*}Z**(/v2/{name=project" + + "s/*/inspectTemplates/*}\022\354\001\n\030CreateDeiden" + + "tifyTemplate\0226.google.privacy.dlp.v2.Cre" + + "ateDeidentifyTemplateRequest\032).google.pr" + + "ivacy.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g\"" + + "0/v2/{parent=organizations/*}/deidentify" + + "Templates:\001*Z0\"+/v2/{parent=projects/*}/" + + "deidentifyTemplates:\001*\022\354\001\n\030UpdateDeident" + + "ifyTemplate\0226.google.privacy.dlp.v2.Upda" + + "teDeidentifyTemplateRequest\032).google.pri" + + "vacy.dlp.v2.DeidentifyTemplate\"m\202\323\344\223\002g20" + + "/v2/{name=organizations/*/deidentifyTemp" + + "lates/*}:\001*Z02+/v2/{name=projects/*/deid" + + "entifyTemplates/*}:\001*\022\340\001\n\025GetDeidentifyT" + + "emplate\0223.google.privacy.dlp.v2.GetDeide" + + "ntifyTemplateRequest\032).google.privacy.dl" + + "p.v2.DeidentifyTemplate\"g\202\323\344\223\002a\0220/v2/{na" + + "me=organizations/*/deidentifyTemplates/*" + + "}Z-\022+/v2/{name=projects/*/deidentifyTemp" + + "lates/*}\022\361\001\n\027ListDeidentifyTemplates\0225.g", + "oogle.privacy.dlp.v2.ListDeidentifyTempl" + + "atesRequest\0326.google.privacy.dlp.v2.List" + + "DeidentifyTemplatesResponse\"g\202\323\344\223\002a\0220/v2" + + "/{parent=organizations/*}/deidentifyTemp" + + "latesZ-\022+/v2/{parent=projects/*}/deident" + + "ifyTemplates\022\323\001\n\030DeleteDeidentifyTemplat" + + "e\0226.google.privacy.dlp.v2.DeleteDeidenti" + + "fyTemplateRequest\032\026.google.protobuf.Empt" + + "y\"g\202\323\344\223\002a*0/v2/{name=organizations/*/dei" + + "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\236\001\n\022ActivateJobTrigger\0220.goo" + + "gle.privacy.dlp.v2.ActivateJobTriggerReq" + + "uest\032\035.google.privacy.dlp.v2.DlpJob\"7\202\323\344" + + "\223\0021\",/v2/{name=projects/*/jobTriggers/*}" + + ":activate:\001*\022\205\001\n\014CreateDlpJob\022*.google.p" + + "rivacy.dlp.v2.CreateDlpJobRequest\032\035.goog" + + "le.privacy.dlp.v2.DlpJob\"*\202\323\344\223\002$\"\037/v2/{p" + + "arent=projects/*}/dlpJobs:\001*\022\215\001\n\013ListDlp" + + "Jobs\022).google.privacy.dlp.v2.ListDlpJobs" + + "Request\032*.google.privacy.dlp.v2.ListDlpJ" + + "obsResponse\"\'\202\323\344\223\002!\022\037/v2/{parent=project" + + "s/*}/dlpJobs\022|\n\tGetDlpJob\022\'.google.priva" + + "cy.dlp.v2.GetDlpJobRequest\032\035.google.priv" + + "acy.dlp.v2.DlpJob\"\'\202\323\344\223\002!\022\037/v2/{name=pro" + + "jects/*/dlpJobs/*}\022{\n\014DeleteDlpJob\022*.goo" + + "gle.privacy.dlp.v2.DeleteDlpJobRequest\032\026" + + ".google.protobuf.Empty\"\'\202\323\344\223\002!*\037/v2/{nam" + + "e=projects/*/dlpJobs/*}\022\205\001\n\014CancelDlpJob" + + "\022*.google.privacy.dlp.v2.CancelDlpJobReq" + + "uest\032\026.google.protobuf.Empty\"1\202\323\344\223\002+\"&/v" + + "2/{name=projects/*/dlpJobs/*}:cancel:\001*\022" + + "\330\001\n\024CreateStoredInfoType\0222.google.privac" + + "y.dlp.v2.CreateStoredInfoTypeRequest\032%.g" + + "oogle.privacy.dlp.v2.StoredInfoType\"e\202\323\344" + + "\223\002_\",/v2/{parent=organizations/*}/stored" + + "InfoTypes:\001*Z,\"\'/v2/{parent=projects/*}/" + + "storedInfoTypes:\001*\022\330\001\n\024UpdateStoredInfoT" + + "ype\0222.google.privacy.dlp.v2.UpdateStored" + + "InfoTypeRequest\032%.google.privacy.dlp.v2." + + "StoredInfoType\"e\202\323\344\223\002_2,/v2/{name=organi" + + "zations/*/storedInfoTypes/*}:\001*Z,2\'/v2/{" + + "name=projects/*/storedInfoTypes/*}:\001*\022\314\001" + + "\n\021GetStoredInfoType\022/.google.privacy.dlp" + + ".v2.GetStoredInfoTypeRequest\032%.google.pr" + + "ivacy.dlp.v2.StoredInfoType\"_\202\323\344\223\002Y\022,/v2" + + "/{name=organizations/*/storedInfoTypes/*" + + "}Z)\022\'/v2/{name=projects/*/storedInfoType" + + "s/*}\022\335\001\n\023ListStoredInfoTypes\0221.google.pr" + + "ivacy.dlp.v2.ListStoredInfoTypesRequest\032" + + "2.google.privacy.dlp.v2.ListStoredInfoTy" + + "pesResponse\"_\202\323\344\223\002Y\022,/v2/{parent=organiz" + + "ations/*}/storedInfoTypesZ)\022\'/v2/{parent" + + "=projects/*}/storedInfoTypes\022\303\001\n\024DeleteS" + + "toredInfoType\0222.google.privacy.dlp.v2.De" + + "leteStoredInfoTypeRequest\032\026.google.proto" + + "buf.Empty\"_\202\323\344\223\002Y*,/v2/{name=organizatio" + + "ns/*/storedInfoTypes/*}Z)*\'/v2/{name=pro" + + "jects/*/storedInfoTypes/*}\032F\312A\022dlp.googl" + + "eapis.com\322A.https://www.googleapis.com/a" + + "uth/cloud-platformB\215\001\n\031com.google.privac" + + "y.dlp.v2B\010DlpProtoP\001Z8google.golang.org/" + + "genproto/googleapis/privacy/dlp/v2;dlp\252\002" + + "\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\" + + "V2b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -1501,6 +1560,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.privacy.dlp.v2.DlpStorage.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), @@ -2551,6 +2612,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "PublishSummaryToCscc", "PublishFindingsToCloudDataCatalog", "JobNotificationEmails", + "PublishToStackdriver", "Action", }); internal_static_google_privacy_dlp_v2_Action_SaveFindings_descriptor = @@ -2587,6 +2649,12 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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_Action_PublishToStackdriver_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_PublishToStackdriver_descriptor, + new java.lang.String[] {}); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = getDescriptor().getMessageTypes().get(73); internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_fieldAccessorTable = @@ -2912,11 +2980,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.privacy.dlp.v2.DlpStorage.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java index 07d5e97c..5b1f0bae 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -161,123 +161,123 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n#google/privacy/dlp/v2/storage.proto\022\025g" - + "oogle.privacy.dlp.v2\032\034google/api/annotat" - + "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\"\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" - + "ionary\030\002 \001(\01320.google.privacy.dlp.v2.Cus" - + "tomInfoType.DictionaryH\000\022<\n\005regex\030\003 \001(\0132" - + "+.google.privacy.dlp.v2.CustomInfoType.R" - + "egexH\000\022M\n\016surrogate_type\030\004 \001(\01323.google." - + "privacy.dlp.v2.CustomInfoType.SurrogateT" - + "ypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google.priv" - + "acy.dlp.v2.StoredTypeH\000\022L\n\017detection_rul" - + "es\030\007 \003(\01323.google.privacy.dlp.v2.CustomI" - + "nfoType.DetectionRule\022K\n\016exclusion_type\030" - + "\010 \001(\01623.google.privacy.dlp.v2.CustomInfo" - + "Type.ExclusionType\032\310\001\n\nDictionary\022N\n\twor" - + "d_list\030\001 \001(\01329.google.privacy.dlp.v2.Cus" - + "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/\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*" - + "Z\n\010FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017" - + "\n\013BINARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020" - + "\003\022\010\n\004AVRO\020\007B\217\001\n\031com.google.privacy.dlp.v" - + "2B\nDlpStorageP\001Z8google.golang.org/genpr" - + "oto/googleapis/privacy/dlp/v2;dlp\252\002\023Goog" - + "le.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006p" - + "roto3" + + "oogle.privacy.dlp.v2\032\031google/api/resourc" + + "e.proto\032\037google/protobuf/timestamp.proto" + + "\"\030\n\010InfoType\022\014\n\004name\030\001 \001(\t\"K\n\nStoredType" + + "\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\"\310\013\n\016CustomInfoTy" + + "pe\0222\n\tinfo_type\030\001 \001(\0132\037.google.privacy.d" + + "lp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162!.goo" + + "gle.privacy.dlp.v2.Likelihood\022F\n\ndiction" + + "ary\030\002 \001(\01320.google.privacy.dlp.v2.Custom" + + "InfoType.DictionaryH\000\022<\n\005regex\030\003 \001(\0132+.g" + + "oogle.privacy.dlp.v2.CustomInfoType.Rege" + + "xH\000\022M\n\016surrogate_type\030\004 \001(\01323.google.pri" + + "vacy.dlp.v2.CustomInfoType.SurrogateType" + + "H\000\0228\n\013stored_type\030\005 \001(\0132!.google.privacy" + + ".dlp.v2.StoredTypeH\000\022L\n\017detection_rules\030" + + "\007 \003(\01323.google.privacy.dlp.v2.CustomInfo" + + "Type.DetectionRule\022K\n\016exclusion_type\030\010 \001" + + "(\01623.google.privacy.dlp.v2.CustomInfoTyp" + + "e.ExclusionType\032\310\001\n\nDictionary\022N\n\tword_l" + + "ist\030\001 \001(\01329.google.privacy.dlp.v2.Custom" + + "InfoType.Dictionary.WordListH\000\022E\n\022cloud_" + + "storage_path\030\003 \001(\0132\'.google.privacy.dlp." + + "v2.CloudStoragePathH\000\032\031\n\010WordList\022\r\n\005wor" + + "ds\030\001 \003(\tB\010\n\006source\032/\n\005Regex\022\017\n\007pattern\030\001" + + " \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurrogate" + + "Type\032\276\004\n\rDetectionRule\022W\n\014hotword_rule\030\001" + + " \001(\0132?.google.privacy.dlp.v2.CustomInfoT" + + "ype.DetectionRule.HotwordRuleH\000\0328\n\tProxi" + + "mity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014window_af" + + "ter\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022=\n\020fi" + + "xed_likelihood\030\001 \001(\0162!.google.privacy.dl" + + "p.v2.LikelihoodH\000\022\035\n\023relative_likelihood" + + "\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordRule\022B" + + "\n\rhotword_regex\030\001 \001(\0132+.google.privacy.d" + + "lp.v2.CustomInfoType.Regex\022P\n\tproximity\030" + + "\002 \001(\0132=.google.privacy.dlp.v2.CustomInfo" + + "Type.DetectionRule.Proximity\022g\n\025likeliho" + + "od_adjustment\030\003 \001(\0132H.google.privacy.dlp" + + ".v2.CustomInfoType.DetectionRule.Likelih" + + "oodAdjustmentB\006\n\004type\"K\n\rExclusionType\022\036" + + "\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026EXCLUS" + + "ION_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\016KindExpr" + + "ession\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreOption" + + "s\0228\n\014partition_id\030\001 \001(\0132\".google.privacy" + + ".dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%.goog" + + "le.privacy.dlp.v2.KindExpression\"]\n\030Clou" + + "dStorageRegexFileSet\022\023\n\013bucket_name\030\001 \001(" + + "\t\022\025\n\rinclude_regex\030\002 \003(\t\022\025\n\rexclude_rege" + + "x\030\003 \003(\t\"\354\003\n\023CloudStorageOptions\022D\n\010file_" + + "set\030\001 \001(\01322.google.privacy.dlp.v2.CloudS" + + "torageOptions.FileSet\022\034\n\024bytes_limit_per" + + "_file\030\004 \001(\003\022$\n\034bytes_limit_per_file_perc" + + "ent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.google.p" + + "rivacy.dlp.v2.FileType\022N\n\rsample_method\030" + + "\006 \001(\01627.google.privacy.dlp.v2.CloudStora" + + "geOptions.SampleMethod\022\033\n\023files_limit_pe" + + "rcent\030\007 \001(\005\032_\n\007FileSet\022\013\n\003url\030\001 \001(\t\022G\n\016r" + + "egex_file_set\030\002 \001(\0132/.google.privacy.dlp" + + ".v2.CloudStorageRegexFileSet\"H\n\014SampleMe" + + "thod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003T" + + "OP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStorageFi" + + "leSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStoragePath\022\014" + + "\n\004path\030\001 \001(\t\"\213\003\n\017BigQueryOptions\022=\n\017tabl" + + "e_reference\030\001 \001(\0132$.google.privacy.dlp.v" + + "2.BigQueryTable\022:\n\022identifying_fields\030\002 " + + "\003(\0132\036.google.privacy.dlp.v2.FieldId\022\022\n\nr" + + "ows_limit\030\003 \001(\003\022\032\n\022rows_limit_percent\030\006 " + + "\001(\005\022J\n\rsample_method\030\004 \001(\01623.google.priv" + + "acy.dlp.v2.BigQueryOptions.SampleMethod\022" + + "7\n\017excluded_fields\030\005 \003(\0132\036.google.privac" + + "y.dlp.v2.FieldId\"H\n\014SampleMethod\022\035\n\031SAMP" + + "LE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RAND" + + "OM_START\020\002\"\232\004\n\rStorageConfig\022D\n\021datastor" + + "e_options\030\002 \001(\0132\'.google.privacy.dlp.v2." + + "DatastoreOptionsH\000\022K\n\025cloud_storage_opti" + + "ons\030\003 \001(\0132*.google.privacy.dlp.v2.CloudS" + + "torageOptionsH\000\022C\n\021big_query_options\030\004 \001" + + "(\0132&.google.privacy.dlp.v2.BigQueryOptio" + + "nsH\000\022L\n\017timespan_config\030\006 \001(\01323.google.p" + + "rivacy.dlp.v2.StorageConfig.TimespanConf" + + "ig\032\332\001\n\016TimespanConfig\022.\n\nstart_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\0227\n\017t" + + "imestamp_field\030\003 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\0221\n)enable_auto_population_o" + + "f_timespan_config\030\004 \001(\010B\006\n\004type\"`\n\013BigQu" + + "eryKey\022=\n\017table_reference\030\001 \001(\0132$.google" + + ".privacy.dlp.v2.BigQueryTable\022\022\n\nrow_num" + + "ber\030\002 \001(\003\">\n\014DatastoreKey\022.\n\nentity_key\030" + + "\001 \001(\0132\032.google.privacy.dlp.v2.Key\"\273\001\n\003Ke" + + "y\0228\n\014partition_id\030\001 \001(\0132\".google.privacy" + + ".dlp.v2.PartitionId\0224\n\004path\030\002 \003(\0132&.goog" + + "le.privacy.dlp.v2.Key.PathElement\032D\n\013Pat" + + "hElement\022\014\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004" + + "name\030\003 \001(\tH\000B\t\n\007id_type\"\241\001\n\tRecordKey\022<\n" + + "\rdatastore_key\030\002 \001(\0132#.google.privacy.dl" + + "p.v2.DatastoreKeyH\000\022;\n\rbig_query_key\030\003 \001" + + "(\0132\".google.privacy.dlp.v2.BigQueryKeyH\000" + + "\022\021\n\tid_values\030\005 \003(\tB\006\n\004type\"I\n\rBigQueryT" + + "able\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\022" + + "3\n\005table\030\001 \001(\0132$.google.privacy.dlp.v2.B" + + "igQueryTable\022-\n\005field\030\002 \001(\0132\036.google.pri" + + "vacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005field" + + "\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\010POS" + + "SIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*Z\n\010" + + "FileType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017\n\013B" + + "INARY_FILE\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010" + + "\n\004AVRO\020\007B\217\001\n\031com.google.privacy.dlp.v2B\n" + + "DlpStorageP\001Z8google.golang.org/genproto" + + "/googleapis/privacy/dlp/v2;dlp\252\002\023Google." + + "Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2b\006prot" + + "o3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -290,7 +290,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }, assigner); @@ -572,7 +572,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Field", }); - com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java index 954eaa8f..70ed6211 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequest.java @@ -112,12 +112,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the organization and deidentify template to be read, for
+   * Required. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -134,12 +136,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the organization and deidentify template to be read, for
+   * Required. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -477,12 +481,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the organization and deidentify template to be read, for
+     * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -499,12 +505,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the organization and deidentify template to be read, for
+     * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -521,12 +529,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the organization and deidentify template to be read, for
+     * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -541,12 +551,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the organization and deidentify template to be read, for
+     * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -558,12 +570,14 @@ public Builder clearName() { * * *
-     * Resource name of the organization and deidentify template to be read, for
+     * Required. Resource name of the organization and deidentify template to be read, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java index d7816d92..024ab9bd 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDeidentifyTemplateRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface GetDeidentifyTemplateRequestOrBuilder * * *
-   * Resource name of the organization and deidentify template to be read, for
+   * Required. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the organization and deidentify template to be read, for
+   * Required. Resource name of the organization and deidentify template to be read, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java index e4bbe650..7e3e665c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequest.java @@ -112,10 +112,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The name of the DlpJob resource.
+   * Required. The name of the DlpJob resource.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -132,10 +134,12 @@ public java.lang.String getName() { * * *
-   * The name of the DlpJob resource.
+   * Required. The name of the DlpJob resource.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -470,10 +474,12 @@ public Builder mergeFrom( * * *
-     * The name of the DlpJob resource.
+     * Required. The name of the DlpJob resource.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -490,10 +496,12 @@ public java.lang.String getName() { * * *
-     * The name of the DlpJob resource.
+     * Required. The name of the DlpJob resource.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -510,10 +518,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The name of the DlpJob resource.
+     * Required. The name of the DlpJob resource.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -528,10 +538,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The name of the DlpJob resource.
+     * Required. The name of the DlpJob resource.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -543,10 +555,12 @@ public Builder clearName() { * * *
-     * The name of the DlpJob resource.
+     * Required. The name of the DlpJob resource.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java index 32955cb0..f55ae516 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetDlpJobRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface GetDlpJobRequestOrBuilder * * *
-   * The name of the DlpJob resource.
+   * Required. The name of the DlpJob resource.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * The name of the DlpJob resource.
+   * Required. The name of the DlpJob resource.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java index ddffa981..50bbe01f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequest.java @@ -112,12 +112,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the organization and inspectTemplate to be read, for
+   * Required. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -134,12 +136,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the organization and inspectTemplate to be read, for
+   * Required. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -476,12 +480,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the organization and inspectTemplate to be read, for
+     * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -498,12 +504,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the organization and inspectTemplate to be read, for
+     * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -520,12 +528,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the organization and inspectTemplate to be read, for
+     * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -540,12 +550,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the organization and inspectTemplate to be read, for
+     * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -557,12 +569,14 @@ public Builder clearName() { * * *
-     * Resource name of the organization and inspectTemplate to be read, for
+     * Required. Resource name of the organization and inspectTemplate to be read, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java index a78366ef..001f2204 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetInspectTemplateRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface GetInspectTemplateRequestOrBuilder * * *
-   * Resource name of the organization and inspectTemplate to be read, for
+   * Required. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the organization and inspectTemplate to be read, for
+   * Required. Resource name of the organization and inspectTemplate to be read, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java index a7e08016..b93421b6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequest.java @@ -112,11 +112,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -133,11 +135,13 @@ public java.lang.String getName() { * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -472,11 +476,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -493,11 +499,13 @@ public java.lang.String getName() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -514,11 +522,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -533,11 +543,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -549,11 +561,13 @@ public Builder clearName() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java index 388590c9..2e362d1b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetJobTriggerRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface GetJobTriggerRequestOrBuilder * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java index 9aa78168..f540fd62 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequest.java @@ -112,12 +112,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the organization and storedInfoType to be read, for
+   * Required. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -134,12 +136,14 @@ public java.lang.String getName() { * * *
-   * Resource name of the organization and storedInfoType to be read, for
+   * Required. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -476,12 +480,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the organization and storedInfoType to be read, for
+     * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -498,12 +504,14 @@ public java.lang.String getName() { * * *
-     * Resource name of the organization and storedInfoType to be read, for
+     * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -520,12 +528,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the organization and storedInfoType to be read, for
+     * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -540,12 +550,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the organization and storedInfoType to be read, for
+     * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -557,12 +569,14 @@ public Builder clearName() { * * *
-     * Resource name of the organization and storedInfoType to be read, for
+     * Required. Resource name of the organization and storedInfoType to be read, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java index d7750604..49baf779 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/GetStoredInfoTypeRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface GetStoredInfoTypeRequestOrBuilder * * *
-   * Resource name of the organization and storedInfoType to be read, for
+   * Required. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the organization and storedInfoType to be read, for
+   * Required. Resource name of the organization and storedInfoType to be read, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java index 252c0d98..ddb9ced9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfig.java @@ -2395,10 +2395,9 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits getDefaultInstanceF * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -2416,10 +2415,9 @@ public java.util.List getInfoTypesList() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -2438,10 +2436,9 @@ public java.util.List getInfoTypesList() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -2459,10 +2456,9 @@ public int getInfoTypesCount() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -2480,10 +2476,9 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3412,10 +3407,9 @@ private void ensureInfoTypesIsMutable() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3437,10 +3431,9 @@ public java.util.List getInfoTypesList() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3462,10 +3455,9 @@ public int getInfoTypesCount() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3487,10 +3479,9 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3518,10 +3509,9 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3547,10 +3537,9 @@ public Builder setInfoTypes( * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3578,10 +3567,9 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3609,10 +3597,9 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3637,10 +3624,9 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderFo * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3666,10 +3652,9 @@ public Builder addInfoTypes( * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3695,10 +3680,9 @@ public Builder addAllInfoTypes( * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3723,10 +3707,9 @@ public Builder clearInfoTypes() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3751,10 +3734,9 @@ public Builder removeInfoTypes(int index) { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3772,10 +3754,9 @@ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder(int index) * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3797,10 +3778,9 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3823,10 +3803,9 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3845,10 +3824,9 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() { * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -3867,10 +3845,9 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder(int index) * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java index 031ddb44..31d9722b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectConfigOrBuilder.java @@ -33,10 +33,9 @@ public interface InspectConfigOrBuilder * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -52,10 +51,9 @@ public interface InspectConfigOrBuilder * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -71,10 +69,9 @@ public interface InspectConfigOrBuilder * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -90,10 +87,9 @@ public interface InspectConfigOrBuilder * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; @@ -109,10 +105,9 @@ public interface InspectConfigOrBuilder * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose what detectors to run. By default this may * be all types, but may change over time as detectors are updated. - * The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - * but may change over time as new InfoTypes are added. If you need precise - * control and predictability as to what detectors are run you should specify - * specific InfoTypes listed in the reference. + * If you need precise control and predictability as to what detectors are + * run you should specify specific InfoTypes listed in the reference, + * otherwise a default list will be used, which may change over time. * * * repeated .google.privacy.dlp.v2.InfoType info_types = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java index 33ab52a8..1e64c4ec 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequest.java @@ -155,7 +155,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -175,7 +175,7 @@ public java.lang.String getParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -720,7 +720,7 @@ public Builder mergeFrom( * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -740,7 +740,7 @@ public java.lang.String getParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -760,7 +760,7 @@ public com.google.protobuf.ByteString getParentBytes() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -778,7 +778,7 @@ public Builder setParent(java.lang.String value) { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder clearParent() { @@ -793,7 +793,7 @@ public Builder clearParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java index 1320c58d..b4709652 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectContentRequestOrBuilder.java @@ -30,7 +30,7 @@ public interface InspectContentRequestOrBuilder * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ java.lang.String getParent(); /** @@ -40,7 +40,7 @@ public interface InspectContentRequestOrBuilder * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java index 1a915b7a..65d0221e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTrigger.java @@ -1249,7 +1249,7 @@ public JobCase getJobCase() { *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
-   * `projects/dlp-test-project/triggeredJobs/53234423`.
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * string name = 1; @@ -1271,7 +1271,7 @@ public java.lang.String getName() { *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
-   * `projects/dlp-test-project/triggeredJobs/53234423`.
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * string name = 1; @@ -2319,7 +2319,7 @@ public Builder clearJob() { *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
-     * `projects/dlp-test-project/triggeredJobs/53234423`.
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * string name = 1; @@ -2341,7 +2341,7 @@ public java.lang.String getName() { *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
-     * `projects/dlp-test-project/triggeredJobs/53234423`.
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * string name = 1; @@ -2363,7 +2363,7 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
-     * `projects/dlp-test-project/triggeredJobs/53234423`.
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * string name = 1; @@ -2383,7 +2383,7 @@ public Builder setName(java.lang.String value) { *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
-     * `projects/dlp-test-project/triggeredJobs/53234423`.
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * string name = 1; @@ -2400,7 +2400,7 @@ public Builder clearName() { *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
-     * `projects/dlp-test-project/triggeredJobs/53234423`.
+     * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* * string name = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java index 8167e3e2..53bc1511 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/JobTriggerOrBuilder.java @@ -29,7 +29,7 @@ public interface JobTriggerOrBuilder *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
-   * `projects/dlp-test-project/triggeredJobs/53234423`.
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * string name = 1; @@ -41,7 +41,7 @@ public interface JobTriggerOrBuilder *
    * Unique resource name for the triggeredJob, assigned by the service when the
    * triggeredJob is created, for example
-   * `projects/dlp-test-project/triggeredJobs/53234423`.
+   * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* * string name = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java index df87749b..e3431517 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequest.java @@ -134,11 +134,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -155,11 +157,13 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -666,11 +670,13 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -687,11 +693,13 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -708,11 +716,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -727,11 +737,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -743,11 +755,13 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java index ed7b89c2..18f704d1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDeidentifyTemplatesRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface ListDeidentifyTemplatesRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java index 5878b2f5..aba11400 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequest.java @@ -149,10 +149,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -169,10 +171,12 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -821,10 +825,12 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -841,10 +847,12 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -861,10 +869,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -879,10 +889,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -894,10 +906,12 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id.
+     * Required. The parent resource name, for example projects/my-project-id.
      * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java index 74863164..133afbe3 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListDlpJobsRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface ListDlpJobsRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id.
+   * Required. The parent resource name, for example projects/my-project-id.
    * 
* - * string parent = 4; + * + * string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java index c3f54f98..36cf7f19 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequest.java @@ -133,11 +133,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -154,11 +156,13 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -665,11 +669,13 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -686,11 +692,13 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -707,11 +715,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -726,11 +736,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -742,11 +754,13 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java index d3d0d1ec..ad390aab 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListInspectTemplatesRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface ListInspectTemplatesRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java index 4873719e..e262878f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequest.java @@ -141,10 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example `projects/my-project-id`.
+   * Required. The parent resource name, for example `projects/my-project-id`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -161,10 +163,12 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example `projects/my-project-id`.
+   * Required. The parent resource name, for example `projects/my-project-id`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -769,10 +773,12 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example `projects/my-project-id`.
+     * Required. The parent resource name, for example `projects/my-project-id`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -789,10 +795,12 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example `projects/my-project-id`.
+     * Required. The parent resource name, for example `projects/my-project-id`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -809,10 +817,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example `projects/my-project-id`.
+     * Required. The parent resource name, for example `projects/my-project-id`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -827,10 +837,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example `projects/my-project-id`.
+     * Required. The parent resource name, for example `projects/my-project-id`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -842,10 +854,12 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example `projects/my-project-id`.
+     * Required. The parent resource name, for example `projects/my-project-id`.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java index 4e8dae11..43d7fc66 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListJobTriggersRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface ListJobTriggersRequestOrBuilder * * *
-   * The parent resource name, for example `projects/my-project-id`.
+   * Required. The parent resource name, for example `projects/my-project-id`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example `projects/my-project-id`.
+   * Required. The parent resource name, for example `projects/my-project-id`.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java index 975ed111..691ef256 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequest.java @@ -133,11 +133,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -154,11 +156,13 @@ public java.lang.String getParent() { * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -666,11 +670,13 @@ public Builder mergeFrom( * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -687,11 +693,13 @@ public java.lang.String getParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -708,11 +716,13 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -727,11 +737,13 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -743,11 +755,13 @@ public Builder clearParent() { * * *
-     * The parent resource name, for example projects/my-project-id or
+     * Required. The parent resource name, for example projects/my-project-id or
      * organizations/my-org-id.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java index 28a5812f..35982fe9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ListStoredInfoTypesRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface ListStoredInfoTypesRequestOrBuilder * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name, for example projects/my-project-id or
+   * Required. The parent resource name, for example projects/my-project-id or
    * organizations/my-org-id.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java index 68d11ca3..6fd0e2a6 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequest.java @@ -1484,7 +1484,7 @@ public com.google.protobuf.Parser getParserForType() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -1504,7 +1504,7 @@ public java.lang.String getParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -2153,7 +2153,7 @@ public Builder mergeFrom( * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -2173,7 +2173,7 @@ public java.lang.String getParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -2193,7 +2193,7 @@ public com.google.protobuf.ByteString getParentBytes() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -2211,7 +2211,7 @@ public Builder setParent(java.lang.String value) { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder clearParent() { @@ -2226,7 +2226,7 @@ public Builder clearParent() { * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java index cdfdc40b..18d1411c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RedactImageRequestOrBuilder.java @@ -30,7 +30,7 @@ public interface RedactImageRequestOrBuilder * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ java.lang.String getParent(); /** @@ -40,7 +40,7 @@ public interface RedactImageRequestOrBuilder * The parent resource name, for example projects/my-project-id. * * - * string parent = 1; + * string parent = 1 [(.google.api.resource_reference) = { ... } */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java index 373ea421..4a5176ea 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequest.java @@ -176,10 +176,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The parent resource name.
+   * Required. The parent resource name.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -196,10 +198,12 @@ public java.lang.String getParent() { * * *
-   * The parent resource name.
+   * Required. The parent resource name.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -226,6 +230,7 @@ public com.google.protobuf.ByteString getParentBytes() { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -245,6 +250,7 @@ public boolean hasReidentifyConfig() { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -266,6 +272,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -898,10 +905,12 @@ public Builder mergeFrom( * * *
-     * The parent resource name.
+     * Required. The parent resource name.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -918,10 +927,12 @@ public java.lang.String getParent() { * * *
-     * The parent resource name.
+     * Required. The parent resource name.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -938,10 +949,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The parent resource name.
+     * Required. The parent resource name.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -956,10 +969,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The parent resource name.
+     * Required. The parent resource name.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearParent() { @@ -971,10 +986,12 @@ public Builder clearParent() { * * *
-     * The parent resource name.
+     * Required. The parent resource name.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1004,6 +1021,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1023,6 +1041,7 @@ public boolean hasReidentifyConfig() { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1048,6 +1067,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig getReidentifyConfig() { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1077,6 +1097,7 @@ public Builder setReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1104,6 +1125,7 @@ public Builder setReidentifyConfig( * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1137,6 +1159,7 @@ public Builder mergeReidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1164,6 +1187,7 @@ public Builder clearReidentifyConfig() { * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1185,6 +1209,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfig.Builder getReidentifyConfigBui * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -1210,6 +1235,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getReidentifyConfigOr * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java index 8be5a281..f38c9b7b 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ReidentifyContentRequestOrBuilder.java @@ -27,20 +27,24 @@ public interface ReidentifyContentRequestOrBuilder * * *
-   * The parent resource name.
+   * Required. The parent resource name.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getParent(); /** * * *
-   * The parent resource name.
+   * Required. The parent resource name.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getParentBytes(); @@ -55,6 +59,7 @@ public interface ReidentifyContentRequestOrBuilder * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -72,6 +77,7 @@ public interface ReidentifyContentRequestOrBuilder * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * @@ -89,6 +95,7 @@ public interface ReidentifyContentRequestOrBuilder * the transformations used to de-identify the items and executing the * reverse. This requires that only reversible transformations * be provided here. The reversible transformations are: + * - `CryptoDeterministicConfig` * - `CryptoReplaceFfxFpeConfig` * * diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java index d85d9097..a565d3a2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StorageConfig.java @@ -237,14 +237,17 @@ public interface TimespanConfigOrBuilder * *
      * Specification of the field containing the timestamp of scanned items.
-     * Used for data sources like Datastore or BigQuery.
-     * If not specified for BigQuery, table last modification timestamp
-     * is checked against given time span.
-     * The valid data types of the timestamp field are:
-     * for BigQuery - timestamp, date, datetime;
-     * for Datastore - timestamp.
-     * Datastore entity will be scanned if the timestamp property does not exist
-     * or its value is empty or invalid.
+     * Used for data sources like Datastore and BigQuery.
+     * For BigQuery:
+     * Required to filter out rows based on the given start and
+     * end times. If not specified and the table was modified between the given
+     * start and end times, the entire table will be scanned.
+     * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+     * `TIMESTAMP`, or `DATETIME` BigQuery column.
+     * For Datastore.
+     * Valid data types of the timestamp field are: `TIMESTAMP`.
+     * Datastore entity will be scanned if the timestamp property does not
+     * exist or its value is empty or invalid.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -255,14 +258,17 @@ public interface TimespanConfigOrBuilder * *
      * Specification of the field containing the timestamp of scanned items.
-     * Used for data sources like Datastore or BigQuery.
-     * If not specified for BigQuery, table last modification timestamp
-     * is checked against given time span.
-     * The valid data types of the timestamp field are:
-     * for BigQuery - timestamp, date, datetime;
-     * for Datastore - timestamp.
-     * Datastore entity will be scanned if the timestamp property does not exist
-     * or its value is empty or invalid.
+     * Used for data sources like Datastore and BigQuery.
+     * For BigQuery:
+     * Required to filter out rows based on the given start and
+     * end times. If not specified and the table was modified between the given
+     * start and end times, the entire table will be scanned.
+     * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+     * `TIMESTAMP`, or `DATETIME` BigQuery column.
+     * For Datastore.
+     * Valid data types of the timestamp field are: `TIMESTAMP`.
+     * Datastore entity will be scanned if the timestamp property does not
+     * exist or its value is empty or invalid.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -273,14 +279,17 @@ public interface TimespanConfigOrBuilder * *
      * Specification of the field containing the timestamp of scanned items.
-     * Used for data sources like Datastore or BigQuery.
-     * If not specified for BigQuery, table last modification timestamp
-     * is checked against given time span.
-     * The valid data types of the timestamp field are:
-     * for BigQuery - timestamp, date, datetime;
-     * for Datastore - timestamp.
-     * Datastore entity will be scanned if the timestamp property does not exist
-     * or its value is empty or invalid.
+     * Used for data sources like Datastore and BigQuery.
+     * For BigQuery:
+     * Required to filter out rows based on the given start and
+     * end times. If not specified and the table was modified between the given
+     * start and end times, the entire table will be scanned.
+     * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+     * `TIMESTAMP`, or `DATETIME` BigQuery column.
+     * For Datastore.
+     * Valid data types of the timestamp field are: `TIMESTAMP`.
+     * Datastore entity will be scanned if the timestamp property does not
+     * exist or its value is empty or invalid.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -520,14 +529,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * *
      * Specification of the field containing the timestamp of scanned items.
-     * Used for data sources like Datastore or BigQuery.
-     * If not specified for BigQuery, table last modification timestamp
-     * is checked against given time span.
-     * The valid data types of the timestamp field are:
-     * for BigQuery - timestamp, date, datetime;
-     * for Datastore - timestamp.
-     * Datastore entity will be scanned if the timestamp property does not exist
-     * or its value is empty or invalid.
+     * Used for data sources like Datastore and BigQuery.
+     * For BigQuery:
+     * Required to filter out rows based on the given start and
+     * end times. If not specified and the table was modified between the given
+     * start and end times, the entire table will be scanned.
+     * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+     * `TIMESTAMP`, or `DATETIME` BigQuery column.
+     * For Datastore.
+     * Valid data types of the timestamp field are: `TIMESTAMP`.
+     * Datastore entity will be scanned if the timestamp property does not
+     * exist or its value is empty or invalid.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -540,14 +552,17 @@ public boolean hasTimestampField() { * *
      * Specification of the field containing the timestamp of scanned items.
-     * Used for data sources like Datastore or BigQuery.
-     * If not specified for BigQuery, table last modification timestamp
-     * is checked against given time span.
-     * The valid data types of the timestamp field are:
-     * for BigQuery - timestamp, date, datetime;
-     * for Datastore - timestamp.
-     * Datastore entity will be scanned if the timestamp property does not exist
-     * or its value is empty or invalid.
+     * Used for data sources like Datastore and BigQuery.
+     * For BigQuery:
+     * Required to filter out rows based on the given start and
+     * end times. If not specified and the table was modified between the given
+     * start and end times, the entire table will be scanned.
+     * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+     * `TIMESTAMP`, or `DATETIME` BigQuery column.
+     * For Datastore.
+     * Valid data types of the timestamp field are: `TIMESTAMP`.
+     * Datastore entity will be scanned if the timestamp property does not
+     * exist or its value is empty or invalid.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -562,14 +577,17 @@ public com.google.privacy.dlp.v2.FieldId getTimestampField() { * *
      * Specification of the field containing the timestamp of scanned items.
-     * Used for data sources like Datastore or BigQuery.
-     * If not specified for BigQuery, table last modification timestamp
-     * is checked against given time span.
-     * The valid data types of the timestamp field are:
-     * for BigQuery - timestamp, date, datetime;
-     * for Datastore - timestamp.
-     * Datastore entity will be scanned if the timestamp property does not exist
-     * or its value is empty or invalid.
+     * Used for data sources like Datastore and BigQuery.
+     * For BigQuery:
+     * Required to filter out rows based on the given start and
+     * end times. If not specified and the table was modified between the given
+     * start and end times, the entire table will be scanned.
+     * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+     * `TIMESTAMP`, or `DATETIME` BigQuery column.
+     * For Datastore.
+     * Valid data types of the timestamp field are: `TIMESTAMP`.
+     * Datastore entity will be scanned if the timestamp property does not
+     * exist or its value is empty or invalid.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1384,14 +1402,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1404,14 +1425,17 @@ public boolean hasTimestampField() { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1430,14 +1454,17 @@ public com.google.privacy.dlp.v2.FieldId getTimestampField() { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1460,14 +1487,17 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId value) { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1487,14 +1517,17 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId.Builder build * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1521,14 +1554,17 @@ public Builder mergeTimestampField(com.google.privacy.dlp.v2.FieldId value) { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1549,14 +1585,17 @@ public Builder clearTimestampField() { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1571,14 +1610,17 @@ public com.google.privacy.dlp.v2.FieldId.Builder getTimestampFieldBuilder() { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1597,14 +1639,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() { * *
        * Specification of the field containing the timestamp of scanned items.
-       * Used for data sources like Datastore or BigQuery.
-       * If not specified for BigQuery, table last modification timestamp
-       * is checked against given time span.
-       * The valid data types of the timestamp field are:
-       * for BigQuery - timestamp, date, datetime;
-       * for Datastore - timestamp.
-       * Datastore entity will be scanned if the timestamp property does not exist
-       * or its value is empty or invalid.
+       * Used for data sources like Datastore and BigQuery.
+       * For BigQuery:
+       * Required to filter out rows based on the given start and
+       * end times. If not specified and the table was modified between the given
+       * start and end times, the entire table will be scanned.
+       * The valid data types of the timestamp field are: `INTEGER`, `DATE`,
+       * `TIMESTAMP`, or `DATETIME` BigQuery column.
+       * For Datastore.
+       * Valid data types of the timestamp field are: `TIMESTAMP`.
+       * Datastore entity will be scanned if the timestamp property does not
+       * exist or its value is empty or invalid.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java index ec14fda2..0d6ede65 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TimePartConfig.java @@ -155,7 +155,7 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * [1-52]
+     * [1-53]
      * 
* * WEEK_OF_YEAR = 5; @@ -220,7 +220,7 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * [1-52]
+     * [1-53]
      * 
* * WEEK_OF_YEAR = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java index c6c3427f..251b93ce 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequest.java @@ -144,12 +144,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of organization and deidentify template to be updated, for
+   * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -166,12 +168,14 @@ public java.lang.String getName() { * * *
-   * Resource name of organization and deidentify template to be updated, for
+   * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -645,12 +649,14 @@ public Builder mergeFrom( * * *
-     * Resource name of organization and deidentify template to be updated, for
+     * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -667,12 +673,14 @@ public java.lang.String getName() { * * *
-     * Resource name of organization and deidentify template to be updated, for
+     * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -689,12 +697,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of organization and deidentify template to be updated, for
+     * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -709,12 +719,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of organization and deidentify template to be updated, for
+     * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -726,12 +738,14 @@ public Builder clearName() { * * *
-     * Resource name of organization and deidentify template to be updated, for
+     * Required. Resource name of organization and deidentify template to be updated, for
      * example `organizations/433245324/deidentifyTemplates/432452342` or
      * projects/project-id/deidentifyTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java index 594418e4..ab18fe75 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateDeidentifyTemplateRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface UpdateDeidentifyTemplateRequestOrBuilder * * *
-   * Resource name of organization and deidentify template to be updated, for
+   * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of organization and deidentify template to be updated, for
+   * Required. Resource name of organization and deidentify template to be updated, for
    * example `organizations/433245324/deidentifyTemplates/432452342` or
    * projects/project-id/deidentifyTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java index ca355be9..92ab2103 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequest.java @@ -143,12 +143,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of organization and inspectTemplate to be updated, for
+   * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -165,12 +167,14 @@ public java.lang.String getName() { * * *
-   * Resource name of organization and inspectTemplate to be updated, for
+   * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -644,12 +648,14 @@ public Builder mergeFrom( * * *
-     * Resource name of organization and inspectTemplate to be updated, for
+     * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -666,12 +672,14 @@ public java.lang.String getName() { * * *
-     * Resource name of organization and inspectTemplate to be updated, for
+     * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -688,12 +696,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of organization and inspectTemplate to be updated, for
+     * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -708,12 +718,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of organization and inspectTemplate to be updated, for
+     * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -725,12 +737,14 @@ public Builder clearName() { * * *
-     * Resource name of organization and inspectTemplate to be updated, for
+     * Required. Resource name of organization and inspectTemplate to be updated, for
      * example `organizations/433245324/inspectTemplates/432452342` or
      * projects/project-id/inspectTemplates/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java index eb618320..547d3af1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateInspectTemplateRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface UpdateInspectTemplateRequestOrBuilder * * *
-   * Resource name of organization and inspectTemplate to be updated, for
+   * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of organization and inspectTemplate to be updated, for
+   * Required. Resource name of organization and inspectTemplate to be updated, for
    * example `organizations/433245324/inspectTemplates/432452342` or
    * projects/project-id/inspectTemplates/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java index aca5e39a..670acadf 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequest.java @@ -143,11 +143,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -164,11 +166,13 @@ public java.lang.String getName() { * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -641,11 +645,13 @@ public Builder mergeFrom( * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -662,11 +668,13 @@ public java.lang.String getName() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -683,11 +691,13 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -702,11 +712,13 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -718,11 +730,13 @@ public Builder clearName() { * * *
-     * Resource name of the project and the triggeredJob, for example
+     * Required. Resource name of the project and the triggeredJob, for example
      * `projects/dlp-test-project/jobTriggers/53234423`.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java index 8b0333b0..72f93126 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateJobTriggerRequestOrBuilder.java @@ -27,22 +27,26 @@ public interface UpdateJobTriggerRequestOrBuilder * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of the project and the triggeredJob, for example
+   * Required. Resource name of the project and the triggeredJob, for example
    * `projects/dlp-test-project/jobTriggers/53234423`.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java index 81dd1849..8cfea812 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequest.java @@ -143,12 +143,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of organization and storedInfoType to be updated, for
+   * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -165,12 +167,14 @@ public java.lang.String getName() { * * *
-   * Resource name of organization and storedInfoType to be updated, for
+   * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -650,12 +654,14 @@ public Builder mergeFrom( * * *
-     * Resource name of organization and storedInfoType to be updated, for
+     * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -672,12 +678,14 @@ public java.lang.String getName() { * * *
-     * Resource name of organization and storedInfoType to be updated, for
+     * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -694,12 +702,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of organization and storedInfoType to be updated, for
+     * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setName(java.lang.String value) { if (value == null) { @@ -714,12 +724,14 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of organization and storedInfoType to be updated, for
+     * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder clearName() { @@ -731,12 +743,14 @@ public Builder clearName() { * * *
-     * Resource name of organization and storedInfoType to be updated, for
+     * Required. Resource name of organization and storedInfoType to be updated, for
      * example `organizations/433245324/storedInfoTypes/432452342` or
      * projects/project-id/storedInfoTypes/432452342.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java index ce7797b1..90da5a6c 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/UpdateStoredInfoTypeRequestOrBuilder.java @@ -27,24 +27,28 @@ public interface UpdateStoredInfoTypeRequestOrBuilder * * *
-   * Resource name of organization and storedInfoType to be updated, for
+   * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ java.lang.String getName(); /** * * *
-   * Resource name of organization and storedInfoType to be updated, for
+   * Required. Resource name of organization and storedInfoType to be updated, for
    * example `organizations/433245324/storedInfoTypes/432452342` or
    * projects/project-id/storedInfoTypes/432452342.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * */ com.google.protobuf.ByteString getNameBytes(); diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto index b138c3b5..dfc93548 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto +++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/dlp.proto @@ -18,6 +18,8 @@ syntax = "proto3"; package google.privacy.dlp.v2; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/privacy/dlp/v2/storage.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; @@ -426,18 +428,6 @@ message ExcludeInfoTypes { repeated InfoType info_types = 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; -} - // The rule that specifies conditions when findings of infoTypes specified in // `InspectionRuleSet` are removed from results. message ExclusionRule { @@ -456,6 +446,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 { @@ -519,10 +521,9 @@ message InspectConfig { // system may automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. // - // The special InfoType name "ALL_BASIC" can be used to trigger all detectors, - // but may change over time as new InfoTypes are added. If you need precise - // control and predictability as to what detectors are run you should specify - // specific InfoTypes listed in the reference. + // If you need precise control and predictability as to what detectors are + // run you should specify specific InfoTypes listed in the reference, + // otherwise a default list will be used, which may change over time. repeated InfoType info_types = 1; // Only returns findings equal or above this threshold. The default is @@ -816,7 +817,9 @@ message RedactImageRequest { } // The parent resource name, for example projects/my-project-id. - string parent = 1; + string parent = 1 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Configuration for the inspector. InspectConfig inspect_config = 2; @@ -861,7 +864,9 @@ message RedactImageResponse { // Request to de-identify a list of items. message DeidentifyContentRequest { // The parent resource name, for example projects/my-project-id. - string parent = 1; + string parent = 1 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Configuration for the de-identification of the content item. // Items specified here will override the template referenced by the @@ -902,8 +907,13 @@ message DeidentifyContentResponse { // Request to re-identify an item. message ReidentifyContentRequest { - // The parent resource name. - string parent = 1; + // Required. The parent resource name. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Configuration for the re-identification of the content item. // This field shares the same proto message type that is used for @@ -913,6 +923,7 @@ message ReidentifyContentRequest { // reverse. This requires that only reversible transformations // be provided here. The reversible transformations are: // + // - `CryptoDeterministicConfig` // - `CryptoReplaceFfxFpeConfig` DeidentifyConfig reidentify_config = 2; @@ -950,7 +961,9 @@ message ReidentifyContentResponse { // Request to search for potentially sensitive info in a ContentItem. message InspectContentRequest { // The parent resource name, for example projects/my-project-id. - string parent = 1; + string parent = 1 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Configuration for the inspector. What specified here will override // the template referenced by the inspect_template_name argument. @@ -1701,7 +1714,7 @@ message TimePartConfig { // [1-7] DAY_OF_WEEK = 4; - // [1-52] + // [1-53] WEEK_OF_YEAR = 5; // [0-23] @@ -1744,6 +1757,11 @@ message CryptoDeterministicConfig { // custom info type 'Surrogate'. This facilitates reversal of the // surrogate when it occurs in free text. // + // Note: For record transformations where the entire cell in a table is being + // transformed, surrogates are optional to use. Surrogates are used to denote + // the location of the token and are necessary for re-identification in free + // form text. + // // In order for inspection to work properly, the name of this info type must // not occur naturally anywhere in your data; otherwise, inspection may either // @@ -1756,7 +1774,7 @@ message CryptoDeterministicConfig { // that are highly improbable to exist in your data. // For example, assuming your data is entered from a regular ASCII keyboard, // the symbol with the hex code point 29DD might be used like so: - // ⧝MY_TOKEN_TYPE + // ⧝MY_TOKEN_TYPE. InfoType surrogate_info_type = 2; // Optional. A context may be used for higher security and maintaining @@ -1834,10 +1852,10 @@ message CharsToIgnore { // type. (This allows you to take a long like 123 and modify it to a string like // **3. message CharacterMaskConfig { - // Character to mask the sensitive values—for example, "*" for an - // alphabetic string such as name, or "0" for a numeric string such as ZIP - // code or credit card number. String must have length 1. If not supplied, we - // will default to "*" for strings, 0 for digits. + // Character to use to mask the sensitive values—for example, `*` for an + // alphabetic string such as a name, or `0` for a numeric string such as ZIP + // code or credit card number. This string must have a length of 1. If not + // supplied, this value defaults to `*` for strings, and `0` for digits. string masking_character = 1; // Number of characters to mask. If not set, all matching chars will be @@ -1845,15 +1863,16 @@ message CharacterMaskConfig { int32 number_to_mask = 2; // Mask characters in reverse order. For example, if `masking_character` is - // '0', number_to_mask is 14, and `reverse_order` is false, then - // 1234-5678-9012-3456 -> 00000000000000-3456 - // If `masking_character` is '*', `number_to_mask` is 3, and `reverse_order` - // is true, then 12345 -> 12*** + // `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the + // input string `1234-5678-9012-3456` is masked as `00000000000000-3456`. + // If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order` + // is `true`, then the string `12345` is masked as `12***`. bool reverse_order = 3; - // When masking a string, items in this list will be skipped when replacing. - // For example, if your string is 555-555-5555 and you ask us to skip `-` and - // mask 5 chars with * we would produce ***-*55-5555. + // When masking a string, items in this list will be skipped when replacing + // characters. For example, if the input string is `555-555-5555` and you + // instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP + // returns `***-**5-5555`. repeated CharsToIgnore characters_to_ignore = 4; } @@ -1985,12 +2004,12 @@ message CryptoReplaceFfxFpeConfig { // that the FFX mode natively supports. This happens before/after // encryption/decryption. // Each character listed must appear only once. - // Number of characters must be in the range [2, 62]. + // Number of characters must be in the range [2, 95]. // This must be encoded as ASCII. // The order of characters does not matter. string custom_alphabet = 5; - // The native way to select the alphabet. Must be in the range [2, 62]. + // The native way to select the alphabet. Must be in the range [2, 95]. int32 radix = 6; } @@ -2049,6 +2068,13 @@ message TransientCryptoKey { string name = 1; } +// Using raw keys is prone to security risks due to accidentally +// leaking the key. Choose another type of key if possible. +message UnwrappedCryptoKey { + // A 128/192/256 bit key. [required] + bytes key = 1; +} + // Parts of the APIs which use certain infoTypes. enum InfoTypeSupportedBy { ENUM_TYPE_UNSPECIFIED = 0; @@ -2060,13 +2086,6 @@ enum InfoTypeSupportedBy { RISK_ANALYSIS = 2; } -// Using raw keys is prone to security risks due to accidentally -// leaking the key. Choose another type of key if possible. -message UnwrappedCryptoKey { - // A 128/192/256 bit key. [required] - bytes key = 1; -} - // Include to use an existing data crypto key wrapped by KMS. // The wrapped key must be a 128/192/256 bit key. // Authorization requires the following IAM permissions when sending a request @@ -2314,6 +2333,12 @@ message Schedule { // InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates // to learn more. message InspectTemplate { + option (google.api.resource) = { + type: "dlp.googleapis.com/InspectTemplate" + pattern: "organizations/{organization}/inspectTemplates/{inspect_template}" + pattern: "projects/{project}/inspectTemplates/{inspect_template}" + }; + // The template name. Output only. // // The template will have one of the following formats: @@ -2340,6 +2365,12 @@ message InspectTemplate { // The DeidentifyTemplates contains instructions on how to deidentify content. // See https://cloud.google.com/dlp/docs/concepts-templates to learn more. message DeidentifyTemplate { + option (google.api.resource) = { + type: "dlp.googleapis.com/DeidentifyTemplate" + pattern: "organizations/{organization}/deidentifyTemplates/{deidentify_template}" + pattern: "projects/{project}/deidentifyTemplates/{deidentify_template}" + }; + // The template name. Output only. // // The template will have one of the following formats: @@ -2376,6 +2407,11 @@ message Error { // Contains a configuration to make dlp api calls on a repeating basis. // See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more. message JobTrigger { + option (google.api.resource) = { + type: "dlp.googleapis.com/JobTrigger" + pattern: "projects/{project}/jobTriggers/{job_trigger}" + }; + // What event needs to occur for a new job to be started. message Trigger { oneof trigger { @@ -2403,7 +2439,7 @@ message JobTrigger { // Unique resource name for the triggeredJob, assigned by the service when the // triggeredJob is created, for example - // `projects/dlp-test-project/triggeredJobs/53234423`. + // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1; // Display name (max 100 chars) @@ -2499,6 +2535,14 @@ message Action { } + // Enable Stackdriver metric dlp.googleapis.com/finding_count. This + // will publish a metric to stack driver on each infotype requested and + // how many findings were found for it. CustomDetectors will be bucketed + // as 'Custom' under the Stackdriver label 'info_type'. + message PublishToStackdriver { + + } + oneof action { // Save resulting findings in a provided location. SaveFindings save_findings = 1; @@ -2515,14 +2559,22 @@ message Action { // Enable email notification to project owners and editors on job's // completion/failure. JobNotificationEmails job_notification_emails = 8; + + // Enable Stackdriver metric dlp.googleapis.com/finding_count. + PublishToStackdriver publish_to_stackdriver = 9; } } // Request message for CreateInspectTemplate. message CreateInspectTemplateRequest { - // The parent resource name, for example projects/my-project-id or + // Required. The parent resource name, for example projects/my-project-id or // organizations/my-org-id. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/InspectTemplate" + } + ]; // The InspectTemplate to create. InspectTemplate inspect_template = 2; @@ -2536,10 +2588,15 @@ message CreateInspectTemplateRequest { // Request message for UpdateInspectTemplate. message UpdateInspectTemplateRequest { - // Resource name of organization and inspectTemplate to be updated, for + // Required. Resource name of organization and inspectTemplate to be updated, for // example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/InspectTemplate" + } + ]; // New InspectTemplate value. InspectTemplate inspect_template = 2; @@ -2550,17 +2607,27 @@ message UpdateInspectTemplateRequest { // Request message for GetInspectTemplate. message GetInspectTemplateRequest { - // Resource name of the organization and inspectTemplate to be read, for + // Required. Resource name of the organization and inspectTemplate to be read, for // example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/InspectTemplate" + } + ]; } // Request message for ListInspectTemplates. message ListInspectTemplatesRequest { - // The parent resource name, for example projects/my-project-id or + // Required. The parent resource name, for example projects/my-project-id or // organizations/my-org-id. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/InspectTemplate" + } + ]; // Optional page token to continue retrieval. Comes from previous call // to `ListInspectTemplates`. @@ -2598,16 +2665,26 @@ message ListInspectTemplatesResponse { // Request message for DeleteInspectTemplate. message DeleteInspectTemplateRequest { - // Resource name of the organization and inspectTemplate to be deleted, for + // Required. Resource name of the organization and inspectTemplate to be deleted, for // example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/InspectTemplate" + } + ]; } // Request message for CreateJobTrigger. message CreateJobTriggerRequest { - // The parent resource name, for example projects/my-project-id. - string parent = 1; + // Required. The parent resource name, for example projects/my-project-id. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // The JobTrigger to create. JobTrigger job_trigger = 2; @@ -2621,16 +2698,26 @@ message CreateJobTriggerRequest { // Request message for ActivateJobTrigger. message ActivateJobTriggerRequest { - // Resource name of the trigger to activate, for example + // Required. Resource name of the trigger to activate, for example // `projects/dlp-test-project/jobTriggers/53234423`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } + ]; } // Request message for UpdateJobTrigger. message UpdateJobTriggerRequest { - // Resource name of the project and the triggeredJob, for example + // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } + ]; // New JobTrigger value. JobTrigger job_trigger = 2; @@ -2641,17 +2728,27 @@ message UpdateJobTriggerRequest { // Request message for GetJobTrigger. message GetJobTriggerRequest { - // Resource name of the project and the triggeredJob, for example + // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } + ]; } // Request message for CreateDlpJobRequest. Used to initiate long running // jobs such as calculating risk metrics or inspecting Google Cloud // Storage. message CreateDlpJobRequest { - // The parent resource name, for example projects/my-project-id. - string parent = 1; + // Required. The parent resource name, for example projects/my-project-id. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // The configuration details for the specific type of job to run. oneof job { @@ -2669,8 +2766,13 @@ message CreateDlpJobRequest { // Request message for ListJobTriggers. message ListJobTriggersRequest { - // The parent resource name, for example `projects/my-project-id`. - string parent = 1; + // Required. The parent resource name, for example `projects/my-project-id`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Optional page token to continue retrieval. Comes from previous call // to ListJobTriggers. `order_by` field must not @@ -2736,9 +2838,14 @@ message ListJobTriggersResponse { // Request message for DeleteJobTrigger. message DeleteJobTriggerRequest { - // Resource name of the project and the triggeredJob, for example + // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + } + ]; } message InspectJobConfig { @@ -2759,6 +2866,11 @@ message InspectJobConfig { // Combines all of the information about a DLP job. message DlpJob { + option (google.api.resource) = { + type: "dlp.googleapis.com/DlpJob" + pattern: "projects/{project}/dlpJobs/{dlp_job}" + }; + enum JobState { JOB_STATE_UNSPECIFIED = 0; @@ -2812,6 +2924,17 @@ message DlpJob { repeated Error errors = 11; } +// The request message for [DlpJobs.GetDlpJob][]. +message GetDlpJobRequest { + // Required. The name of the DlpJob resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } + ]; +} + // Operators available for comparing the value of fields. enum RelationalOperator { RELATIONAL_OPERATOR_UNSPECIFIED = 0; @@ -2838,16 +2961,15 @@ enum RelationalOperator { EXISTS = 7; } -// The request message for [DlpJobs.GetDlpJob][]. -message GetDlpJobRequest { - // The name of the DlpJob resource. - string name = 1; -} - // The request message for listing DLP jobs. message ListDlpJobsRequest { - // The parent resource name, for example projects/my-project-id. - string parent = 4; + // Required. The parent resource name, for example projects/my-project-id. + string parent = 4 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Optional. Allows filtering. // @@ -2915,21 +3037,36 @@ message ListDlpJobsResponse { // The request message for canceling a DLP job. message CancelDlpJobRequest { - // The name of the DlpJob resource to be cancelled. - string name = 1; + // Required. The name of the DlpJob resource to be cancelled. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } + ]; } // The request message for deleting a DLP job. message DeleteDlpJobRequest { - // The name of the DlpJob resource to be deleted. - string name = 1; + // Required. The name of the DlpJob resource to be deleted. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + } + ]; } // Request message for CreateDeidentifyTemplate. message CreateDeidentifyTemplateRequest { - // The parent resource name, for example projects/my-project-id or + // Required. The parent resource name, for example projects/my-project-id or // organizations/my-org-id. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/DeidentifyTemplate" + } + ]; // The DeidentifyTemplate to create. DeidentifyTemplate deidentify_template = 2; @@ -2943,10 +3080,15 @@ message CreateDeidentifyTemplateRequest { // Request message for UpdateDeidentifyTemplate. message UpdateDeidentifyTemplateRequest { - // Resource name of organization and deidentify template to be updated, for + // Required. Resource name of organization and deidentify template to be updated, for // example `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DeidentifyTemplate" + } + ]; // New DeidentifyTemplate value. DeidentifyTemplate deidentify_template = 2; @@ -2957,17 +3099,27 @@ message UpdateDeidentifyTemplateRequest { // Request message for GetDeidentifyTemplate. message GetDeidentifyTemplateRequest { - // Resource name of the organization and deidentify template to be read, for + // Required. Resource name of the organization and deidentify template to be read, for // example `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DeidentifyTemplate" + } + ]; } // Request message for ListDeidentifyTemplates. message ListDeidentifyTemplatesRequest { - // The parent resource name, for example projects/my-project-id or + // Required. The parent resource name, for example projects/my-project-id or // organizations/my-org-id. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/DeidentifyTemplate" + } + ]; // Optional page token to continue retrieval. Comes from previous call // to `ListDeidentifyTemplates`. @@ -3006,10 +3158,15 @@ message ListDeidentifyTemplatesResponse { // Request message for DeleteDeidentifyTemplate. message DeleteDeidentifyTemplateRequest { - // Resource name of the organization and deidentify template to be deleted, + // Required. Resource name of the organization and deidentify template to be deleted, // for example `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DeidentifyTemplate" + } + ]; } // Configuration for a custom dictionary created from a data source of any size @@ -3096,6 +3253,12 @@ message StoredInfoTypeVersion { // StoredInfoType resource message that contains information about the current // version and any pending updates. message StoredInfoType { + option (google.api.resource) = { + type: "dlp.googleapis.com/StoredInfoType" + pattern: "organizations/{organization}/storedInfoTypes/{stored_info_type}" + pattern: "projects/{project}/storedInfoTypes/{stored_info_type}" + }; + // Resource name. string name = 1; @@ -3109,9 +3272,14 @@ message StoredInfoType { // Request message for CreateStoredInfoType. message CreateStoredInfoTypeRequest { - // The parent resource name, for example projects/my-project-id or + // Required. The parent resource name, for example projects/my-project-id or // organizations/my-org-id. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/StoredInfoType" + } + ]; // Configuration of the storedInfoType to create. StoredInfoTypeConfig config = 2; @@ -3125,10 +3293,15 @@ message CreateStoredInfoTypeRequest { // Request message for UpdateStoredInfoType. message UpdateStoredInfoTypeRequest { - // Resource name of organization and storedInfoType to be updated, for + // Required. Resource name of organization and storedInfoType to be updated, for // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/StoredInfoType" + } + ]; // Updated configuration for the storedInfoType. If not provided, a new // version of the storedInfoType will be created with the existing @@ -3141,17 +3314,27 @@ message UpdateStoredInfoTypeRequest { // Request message for GetStoredInfoType. message GetStoredInfoTypeRequest { - // Resource name of the organization and storedInfoType to be read, for + // Required. Resource name of the organization and storedInfoType to be read, for // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/StoredInfoType" + } + ]; } // Request message for ListStoredInfoTypes. message ListStoredInfoTypesRequest { - // The parent resource name, for example projects/my-project-id or + // Required. The parent resource name, for example projects/my-project-id or // organizations/my-org-id. - string parent = 1; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/StoredInfoType" + } + ]; // Optional page token to continue retrieval. Comes from previous call // to `ListStoredInfoTypes`. @@ -3190,10 +3373,15 @@ message ListStoredInfoTypesResponse { // Request message for DeleteStoredInfoType. message DeleteStoredInfoTypeRequest { - // Resource name of the organization and storedInfoType to be deleted, for + // Required. Resource name of the organization and storedInfoType to be deleted, for // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/StoredInfoType" + } + ]; } // An enum to represent the various type of DLP jobs. diff --git a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto index c2f38a61..aebc873a 100644 --- a/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto +++ b/proto-google-cloud-dlp-v2/src/main/proto/google/privacy/dlp/v2/storage.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.privacy.dlp.v2; -import "google/api/annotations.proto"; +import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; @@ -472,14 +472,19 @@ message StorageConfig { google.protobuf.Timestamp end_time = 2; // Specification of the field containing the timestamp of scanned items. - // Used for data sources like Datastore or BigQuery. - // If not specified for BigQuery, table last modification timestamp - // is checked against given time span. - // The valid data types of the timestamp field are: - // for BigQuery - timestamp, date, datetime; - // for Datastore - timestamp. - // Datastore entity will be scanned if the timestamp property does not exist - // or its value is empty or invalid. + // Used for data sources like Datastore and BigQuery. + // + // For BigQuery: + // Required to filter out rows based on the given start and + // end times. If not specified and the table was modified between the given + // start and end times, the entire table will be scanned. + // The valid data types of the timestamp field are: `INTEGER`, `DATE`, + // `TIMESTAMP`, or `DATETIME` BigQuery column. + // + // For Datastore. + // Valid data types of the timestamp field are: `TIMESTAMP`. + // Datastore entity will be scanned if the timestamp property does not + // exist or its value is empty or invalid. FieldId timestamp_field = 3; // When the job is started by a JobTrigger we will automatically figure out diff --git a/synth.metadata b/synth.metadata index 223dc66a..11a35074 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-10-26T07:54:26.875065Z", + "updateTime": "2019-11-11T21:16:32.987075Z", "sources": [ { "generator": { "name": "artman", - "version": "0.40.3", - "dockerImage": "googleapis/artman@sha256:c805f50525f5f557886c94ab76f56eaa09cb1da58c3ee95111fd34259376621a" + "version": "0.41.1", + "dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d27a44798506d28e8e6d874bd128da43f45f74c4", - "internalRef": "276716410" + "sha": "f69562be0608904932bdcfbc5ad8b9a22d9dceb8", + "internalRef": "279774957" } }, {