From 69517fc9587b91ba970d49c6afd620aabf6ce2c7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Apr 2020 20:49:36 -0700 Subject: [PATCH] docs(v2): regenerate documentation from protos (#129) * Change triggered by none of the following: This git repo (https://github.com/googleapis/java-dlp.git) Git repo https://github.com/googleapis/synthtool.git * chore: release 1.1.1 (#123) https://github.com/googleapis/java-dlp/commit/6efb4a4d3b21f92a68ec86ba543f87915d3ff0d3 commit 6efb4a4d3b21f92a68ec86ba543f87915d3ff0d3 Author: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Date: Tue Apr 7 18:02:22 2020 +0000 chore: release 1.1.1 (#123) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.1](https://www.github.com/googleapis/java-dlp/compare/v1.1.0...v1.1.1) (2020-04-07) ### Dependencies * update core dependencies ([#94](https://www.github.com/googleapis/java-dlp/issues/94)) ([88d8307](https://www.github.com/googleapis/java-dlp/commit/88d83071de1ce2251af5c69691221e26c9526618)) * update dependency org.threeten:threetenbp to v1.4.3 ([#105](https://www.github.com/googleapis/java-dlp/issues/105)) ([b636547](https://www.github.com/googleapis/java-dlp/commit/b63654725c1e22a3c1e0ee46b33bfbd71a65c99c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). * build(java): fix retry_with_backoff when -e option set (#475) https://github.com/googleapis/synthtool/commit/bd69a2aa7b70875f3c988e269706b22fefbef40e commit bd69a2aa7b70875f3c988e269706b22fefbef40e Author: Jeff Ching Date: Wed Apr 8 14:01:08 2020 -0700 build(java): fix retry_with_backoff when -e option set (#475) * build(java): fix nightly integration test config to run integrations (#465) https://github.com/googleapis/synthtool/commit/c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25 commit c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25 Author: Jeff Ching Date: Wed Apr 8 14:06:04 2020 -0700 build(java): fix nightly integration test config to run integrations (#465) This was only running the units. * chore(java): release-please only updates non maven versions in README (#476) https://github.com/googleapis/synthtool/commit/7f8e62aa3edd225f76347a16f92e400661fdfb52 commit 7f8e62aa3edd225f76347a16f92e400661fdfb52 Author: Jeff Ching Date: Wed Apr 8 14:14:25 2020 -0700 chore(java): release-please only updates non maven versions in README (#476) Prevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release. --- .kokoro/common.sh | 14 +- .kokoro/nightly/integration.cfg | 15 +++ README.md | 8 +- .../com/google/privacy/dlp/v2/DlpProto.java | 10 +- .../com/google/privacy/dlp/v2/DlpStorage.java | 5 +- .../com/google/privacy/dlp/v2/Finding.java | 99 ++++++++------ .../privacy/dlp/v2/FindingOrBuilder.java | 45 ++++--- .../privacy/dlp/v2/HybridFindingDetails.java | 99 ++++++++------ .../dlp/v2/HybridFindingDetailsOrBuilder.java | 45 ++++--- .../google/privacy/dlp/v2/HybridOptions.java | 125 ++++++++++-------- .../dlp/v2/HybridOptionsOrBuilder.java | 53 ++++---- .../com/google/privacy/dlp/v2/InfoType.java | 14 +- .../privacy/dlp/v2/InfoTypeOrBuilder.java | 4 +- .../proto/google/privacy/dlp/v2/dlp.proto | 19 +-- .../proto/google/privacy/dlp/v2/storage.proto | 14 +- synth.metadata | 21 ++- 16 files changed, 342 insertions(+), 248 deletions(-) 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/README.md b/README.md index 16908442..957ea43b 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,19 +32,19 @@ 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 com.google.cloud google-cloud-dlp - 1.1.1 + 1.1.0 ``` +[//]: # ({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' 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/synth.metadata b/synth.metadata index 254904ca..70ae2bfb 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,12 +1,27 @@ { - "updateTime": "2020-04-03T21:45:30.394733Z", + "updateTime": "2020-04-09T00:15:55.607491Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-dlp.git", + "sha": "a77fe01e0b20744c51b866e9345900f7cf7c2732" + } + }, + { + "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", + "log": "7f8e62aa3edd225f76347a16f92e400661fdfb52\nchore(java): release-please only updates non maven versions in README (#476)\n\nPrevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release.\nc7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n" } } ],