diff --git a/.kokoro/common.sh b/.kokoro/common.sh index a3bbc5f6..8f09de5d 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -13,18 +13,28 @@ # See the License for the specific language governing permissions and # limitations under the License. -# set -eo pipefail - function retry_with_backoff { attempts_left=$1 sleep_seconds=$2 shift 2 command=$@ + + # store current flag state + flags=$- + + # allow a failures to continue + set +e echo "${command}" ${command} exit_code=$? + # restore "e" flag + if [[ ${flags} =~ e ]] + then set -e + else set +e + fi + if [[ $exit_code == 0 ]] then return 0 diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 8bf59c02..ca027480 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -6,11 +6,26 @@ env_vars: { value: "gcr.io/cloud-devrel-kokoro-resources/java8" } +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + before_action { fetch_keystore { keystore_resource { diff --git a/CHANGELOG.md b/CHANGELOG.md index 59250c92..27fecbd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.2](https://www.github.com/googleapis/java-dlp/compare/v1.1.1...v1.1.2) (2020-04-10) + + +### Documentation + +* **v2:** regenerate documentation from protos ([#129](https://www.github.com/googleapis/java-dlp/issues/129)) ([69517fc](https://www.github.com/googleapis/java-dlp/commit/69517fc9587b91ba970d49c6afd620aabf6ce2c7)), closes [#123](https://www.github.com/googleapis/java-dlp/issues/123) [#123](https://www.github.com/googleapis/java-dlp/issues/123) [#94](https://www.github.com/googleapis/java-dlp/issues/94) [#105](https://www.github.com/googleapis/java-dlp/issues/105) [#475](https://www.github.com/googleapis/java-dlp/issues/475) [#475](https://www.github.com/googleapis/java-dlp/issues/475) [#465](https://www.github.com/googleapis/java-dlp/issues/465) [#465](https://www.github.com/googleapis/java-dlp/issues/465) [#476](https://www.github.com/googleapis/java-dlp/issues/476) [#476](https://www.github.com/googleapis/java-dlp/issues/476) + ### [1.1.1](https://www.github.com/googleapis/java-dlp/compare/v1.1.0...v1.1.1) (2020-04-07) diff --git a/README.md b/README.md index 16908442..7e942e3a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 4.3.0 + 4.4.1 pom import @@ -32,8 +32,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file ``` -[//]: # ({x-version-update-start:google-cloud-dlp:released}) - If you are using Maven without BOM, add this to your dependencies: ```xml @@ -45,13 +43,15 @@ If you are using Maven without BOM, add this to your dependencies: ``` +[//]: # ({x-version-update-start:google-cloud-dlp:released}) + If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dlp:1.1.1' +compile 'com.google.cloud:google-cloud-dlp:1.1.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "1.1.1" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "1.1.2" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-dlp-bom/pom.xml b/google-cloud-dlp-bom/pom.xml index e858d186..a57184cf 100644 --- a/google-cloud-dlp-bom/pom.xml +++ b/google-cloud-dlp-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-dlp-bom - 1.1.1 + 1.1.2 pom com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 Google Cloud dlp BOM @@ -64,17 +64,17 @@ com.google.api.grpc grpc-google-cloud-dlp-v2 - 1.1.1 + 1.1.2 com.google.cloud google-cloud-dlp - 1.1.1 + 1.1.2 com.google.api.grpc proto-google-cloud-dlp-v2 - 1.1.1 + 1.1.2 diff --git a/google-cloud-dlp/pom.xml b/google-cloud-dlp/pom.xml index 20db0786..f78a86d5 100644 --- a/google-cloud-dlp/pom.xml +++ b/google-cloud-dlp/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dlp - 1.1.1 + 1.1.2 jar Google Cloud DLP https://github.com/googleapis/java-dlp @@ -11,7 +11,7 @@ com.google.cloud google-cloud-dlp-parent - 1.1.1 + 1.1.2 google-cloud-dlp diff --git a/grpc-google-cloud-dlp-v2/pom.xml b/grpc-google-cloud-dlp-v2/pom.xml index bc49cd2a..148d2644 100644 --- a/grpc-google-cloud-dlp-v2/pom.xml +++ b/grpc-google-cloud-dlp-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 1.1.1 + 1.1.2 grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.cloud google-cloud-dlp-parent - 1.1.1 + 1.1.2 diff --git a/pom.xml b/pom.xml index 76f7ac6e..10779dd4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dlp-parent pom - 1.1.1 + 1.1.2 Google Cloud DLP Parent https://github.com/googleapis/java-dlp @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 @@ -81,17 +81,17 @@ com.google.api.grpc proto-google-cloud-dlp-v2 - 1.1.1 + 1.1.2 com.google.api.grpc grpc-google-cloud-dlp-v2 - 1.1.1 + 1.1.2 com.google.cloud google-cloud-dlp - 1.1.1 + 1.1.2 diff --git a/proto-google-cloud-dlp-v2/pom.xml b/proto-google-cloud-dlp-v2/pom.xml index 24cc4420..1eb7f23f 100644 --- a/proto-google-cloud-dlp-v2/pom.xml +++ b/proto-google-cloud-dlp-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 1.1.1 + 1.1.2 proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.cloud google-cloud-dlp-parent - 1.1.1 + 1.1.2 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 fee8fcff..1219699b 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 @@ -1785,13 +1785,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/{name=projects/*/locations/*/dlpJobs/*}" + ":finish:\001*\032F\312A\022dlp.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\354\001\n\031com.google.privacy.dlp.v2B\010DlpPro" + + "rmB\205\002\n\031com.google.privacy.dlp.v2B\010DlpPro" + "toP\001Z8google.golang.org/genproto/googlea" + "pis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dl" - + "p.V2\312\002\023Google\\Cloud\\Dlp\\V2\352A\\\n\'dlp.googl" - + "eapis.com/OrganizationLocation\0221organiza" - + "tions/{organization}/locations/{location" - + "}b\006proto3" + + "p.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Clo" + + "ud::Dlp::V2\352A\\\n\'dlp.googleapis.com/Organ" + + "izationLocation\0221organizations/{organiza" + + "tion}/locations/{location}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 cc4ccc16..9375f11c 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 @@ -294,11 +294,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "LIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006" + "LIKELY\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" + + "\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004AVRO\020\007B\250\001" + "\n\031com.google.privacy.dlp.v2B\nDlpStorageP" + "\001Z8google.golang.org/genproto/googleapis" + "/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V" - + "2\312\002\023Google\\Cloud\\Dlp\\V2b\006proto3" + + "2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Cloud:" + + ":Dlp::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java index c937310b..e48c293e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Finding.java @@ -708,12 +708,13 @@ public int getLabelsCount() { *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -735,12 +736,13 @@ public java.util.Map getLabels() { *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -754,12 +756,13 @@ public java.util.Map getLabelsMap() { *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -777,12 +780,13 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -2832,12 +2836,13 @@ public int getLabelsCount() { *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; @@ -2859,12 +2864,13 @@ public java.util.Map getLabels() { *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; @@ -2878,12 +2884,13 @@ public java.util.Map getLabelsMap() { *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; @@ -2902,12 +2909,13 @@ public java.lang.String getLabelsOrDefault( *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; @@ -2933,12 +2941,13 @@ public Builder clearLabels() { *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; @@ -2961,12 +2970,13 @@ public java.util.Map getMutableLabels() { *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; @@ -2987,12 +2997,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { *
      * The labels associated with this `InspectFinding`.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 10; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java index 8d1405d6..209bf2c1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/FindingOrBuilder.java @@ -323,12 +323,13 @@ public interface FindingOrBuilder *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -340,12 +341,13 @@ public interface FindingOrBuilder *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -360,12 +362,13 @@ public interface FindingOrBuilder *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -377,12 +380,13 @@ public interface FindingOrBuilder *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; @@ -394,12 +398,13 @@ public interface FindingOrBuilder *
    * The labels associated with this `InspectFinding`.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 10; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java index 5ef2a7df..8982dae8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetails.java @@ -344,12 +344,13 @@ public int getLabelsCount() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -374,12 +375,13 @@ public java.util.Map getLabels() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -396,12 +398,13 @@ public java.util.Map getLabelsMap() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -422,12 +425,13 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1431,12 +1435,13 @@ public int getLabelsCount() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1461,12 +1466,13 @@ public java.util.Map getLabels() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1483,12 +1489,13 @@ public java.util.Map getLabelsMap() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1510,12 +1517,13 @@ public java.lang.String getLabelsOrDefault( * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1544,12 +1552,13 @@ public Builder clearLabels() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1575,12 +1584,13 @@ public java.util.Map getMutableLabels() { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -1604,12 +1614,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java index e3430ff6..4598cda8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridFindingDetailsOrBuilder.java @@ -145,12 +145,13 @@ public interface HybridFindingDetailsOrBuilder * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -165,12 +166,13 @@ public interface HybridFindingDetailsOrBuilder * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -188,12 +190,13 @@ public interface HybridFindingDetailsOrBuilder * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -208,12 +211,13 @@ public interface HybridFindingDetailsOrBuilder * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; @@ -228,12 +232,13 @@ public interface HybridFindingDetailsOrBuilder * The labels associated with `Finding`'s produced by hybrid * inspection. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long and must conform - * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. * No more than 10 labels can be associated with a given finding. - * Example: <code>"environment" : "production"</code> - * Example: <code>"pipeline" : "etl"</code> + * Examples: + * * `"environment" : "production"` + * * `"pipeline" : "etl"` * * * map<string, string> labels = 5; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java index 843a4b39..873bbed0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptions.java @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -245,7 +245,7 @@ public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList() * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -264,7 +264,7 @@ public int getRequiredFindingLabelKeysCount() { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -284,7 +284,7 @@ public java.lang.String getRequiredFindingLabelKeys(int index) { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -328,12 +328,13 @@ public int getLabelsCount() { *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -355,12 +356,13 @@ public java.util.Map getLabels() { *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -374,12 +376,13 @@ public java.util.Map getLabelsMap() { *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -397,12 +400,13 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -1018,7 +1022,7 @@ private void ensureRequiredFindingLabelKeysIsMutable() { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1037,7 +1041,7 @@ public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList() * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1056,7 +1060,7 @@ public int getRequiredFindingLabelKeysCount() { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1076,7 +1080,7 @@ public java.lang.String getRequiredFindingLabelKeys(int index) { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1096,7 +1100,7 @@ public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1123,7 +1127,7 @@ public Builder setRequiredFindingLabelKeys(int index, java.lang.String value) { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1149,7 +1153,7 @@ public Builder addRequiredFindingLabelKeys(java.lang.String value) { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1172,7 +1176,7 @@ public Builder addAllRequiredFindingLabelKeys(java.lang.Iterable * @@ -1194,7 +1198,7 @@ public Builder clearRequiredFindingLabelKeys() { * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -1245,12 +1249,13 @@ public int getLabelsCount() { *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; @@ -1272,12 +1277,13 @@ public java.util.Map getLabels() { *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; @@ -1291,12 +1297,13 @@ public java.util.Map getLabelsMap() { *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; @@ -1315,12 +1322,13 @@ public java.lang.String getLabelsOrDefault( *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; @@ -1346,12 +1354,13 @@ public Builder clearLabels() { *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; @@ -1374,12 +1383,13 @@ public java.util.Map getMutableLabels() { *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; @@ -1400,12 +1410,13 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { *
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
-     * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+     * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      * Label values must be between 0 and 63 characters long and must conform
-     * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+     * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      * No more than 10 labels can be associated with a given finding.
-     * Example: <code>"environment" : "production"</code>
-     * Example: <code>"pipeline" : "etl"</code>
+     * Examples:
+     * * `"environment" : "production"`
+     * * `"pipeline" : "etl"`
      * 
* * map<string, string> labels = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java index 2c27b6b8..a2942c01 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/HybridOptionsOrBuilder.java @@ -58,7 +58,7 @@ public interface HybridOptionsOrBuilder * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -75,7 +75,7 @@ public interface HybridOptionsOrBuilder * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -92,7 +92,7 @@ public interface HybridOptionsOrBuilder * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -110,7 +110,7 @@ public interface HybridOptionsOrBuilder * 'finding_labels' map. Request may contain others, but any missing one of * these will be rejected. * Label keys must be between 1 and 63 characters long and must conform - * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. * No more than 10 keys can be required. * * @@ -127,12 +127,13 @@ public interface HybridOptionsOrBuilder *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -144,12 +145,13 @@ public interface HybridOptionsOrBuilder *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -164,12 +166,13 @@ public interface HybridOptionsOrBuilder *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -181,12 +184,13 @@ public interface HybridOptionsOrBuilder *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; @@ -198,12 +202,13 @@ public interface HybridOptionsOrBuilder *
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
-   * to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
+   * to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
    * Label values must be between 0 and 63 characters long and must conform
-   * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
+   * to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
    * No more than 10 labels can be associated with a given finding.
-   * Example: <code>"environment" : "production"</code>
-   * Example: <code>"pipeline" : "etl"</code>
+   * Examples:
+   * * `"environment" : "production"`
+   * * `"pipeline" : "etl"`
    * 
* * map<string, string> labels = 3; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java index 08a4ffe5..8354615a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoType.java @@ -121,7 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -147,7 +147,7 @@ public java.lang.String getName() { * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -488,7 +488,7 @@ public Builder mergeFrom( * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -514,7 +514,7 @@ public java.lang.String getName() { * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -540,7 +540,7 @@ public com.google.protobuf.ByteString getNameBytes() { * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -565,7 +565,7 @@ public Builder setName(java.lang.String value) { * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -586,7 +586,7 @@ public Builder clearName() { * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java index 3b8cd8cc..0e36b1a8 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeOrBuilder.java @@ -31,7 +31,7 @@ public interface InfoTypeOrBuilder * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; @@ -47,7 +47,7 @@ public interface InfoTypeOrBuilder * creating a CustomInfoType, or one of the names listed * at https://cloud.google.com/dlp/docs/infotypes-reference when specifying * a built-in type. InfoType names should conform to the pattern - * [a-zA-Z0-9_]{1,64}. + * `[a-zA-Z0-9_]{1,64}`. * * * string name = 1; 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 cc077d6d..d0ab08df 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 @@ -36,6 +36,7 @@ option java_multiple_files = true; option java_outer_classname = "DlpProto"; option java_package = "com.google.privacy.dlp.v2"; option php_namespace = "Google\\Cloud\\Dlp\\V2"; +option ruby_package = "Google::Cloud::Dlp::V2"; option (google.api.resource_definition) = { type: "dlp.googleapis.com/OrganizationLocation" pattern: "organizations/{organization}/locations/{location}" @@ -920,15 +921,16 @@ message Finding { // The labels associated with this `InspectFinding`. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform - // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // - // Example: "environment" : "production" - // Example: "pipeline" : "etl" + // Examples: + // * `"environment" : "production"` + // * `"pipeline" : "etl"` map labels = 10; // Time the job started that produced this finding. @@ -3957,15 +3959,16 @@ message HybridFindingDetails { // inspection. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform - // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // - // Example: "environment" : "production" - // Example: "pipeline" : "etl" + // Examples: + // * `"environment" : "production"` + // * `"pipeline" : "etl"` map labels = 5; } 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 585d777d..f0348501 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 @@ -25,6 +25,7 @@ option java_multiple_files = true; option java_outer_classname = "DlpStorage"; option java_package = "com.google.privacy.dlp.v2"; option php_namespace = "Google\\Cloud\\Dlp\\V2"; +option ruby_package = "Google::Cloud::Dlp::V2"; // Type of information detected by the API. message InfoType { @@ -32,7 +33,7 @@ message InfoType { // creating a CustomInfoType, or one of the names listed // at https://cloud.google.com/dlp/docs/infotypes-reference when specifying // a built-in type. InfoType names should conform to the pattern - // [a-zA-Z0-9_]{1,64}. + // `[a-zA-Z0-9_]{1,64}`. string name = 1; } @@ -552,7 +553,7 @@ message HybridOptions { // these will be rejected. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // No more than 10 keys can be required. repeated string required_finding_label_keys = 2; @@ -560,15 +561,16 @@ message HybridOptions { // To organize findings, these labels will be added to each finding. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform - // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // - // Example: "environment" : "production" - // Example: "pipeline" : "etl" + // Examples: + // * `"environment" : "production"` + // * `"pipeline" : "etl"` map labels = 3; // If the container is a table, additional information to make findings diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index bb35a640..b186c0de 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-dlp - 1.1.0 + 1.1.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 76ee934c..ddcf2ac6 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-dlp - 1.1.0 + 1.1.1 diff --git a/synth.metadata b/synth.metadata index 254904ca..0c1e9232 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,12 +1,25 @@ { - "updateTime": "2020-04-03T21:45:30.394733Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-dlp.git", + "sha": "69517fc9587b91ba970d49c6afd620aabf6ce2c7" + } + }, + { + "git": { + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "d741cd976975c745d0199987aff0e908b8352992", + "internalRef": "305561906" + } + }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "99820243d348191bc9c634f2b48ddf65096285ed", - "log": "99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\na003d8655d3ebec2bbbd5fc3898e91e152265c67\ndocs: remove \"install stable\" instructions (#461)\n\nThe package hasn't been released to PyPI in some time\nf5e8c88d9870d8aa4eb43fa0b39f07e02bfbe4df\nchore(python): add license headers to config files; make small tweaks to templates (#458)\n\n\n" + "sha": "7f8e62aa3edd225f76347a16f92e400661fdfb52" } } ], diff --git a/versions.txt b/versions.txt index cf52d8dc..f4ebc95a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-dlp-v2:1.1.1:1.1.1 -grpc-google-cloud-dlp-v2:1.1.1:1.1.1 -google-cloud-dlp:1.1.1:1.1.1 +proto-google-cloud-dlp-v2:1.1.2:1.1.2 +grpc-google-cloud-dlp-v2:1.1.2:1.1.2 +google-cloud-dlp:1.1.2:1.1.2