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
* 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* 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* 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* 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* 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* 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.Mapmap<string, string> labels = 5;
@@ -396,12 +398,13 @@ public java.util.Mapmap<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.Mapmap<string, string> labels = 5;
@@ -1483,12 +1489,13 @@ public java.util.Mapmap<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.Mapmap<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* 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* 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* 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* 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* 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* 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"environment" : "production"
- // Example: "pipeline" : "etl"
+ // Examples:
+ // * `"environment" : "production"`
+ // * `"pipeline" : "etl"`
map"environment" : "production"
- // Example: "pipeline" : "etl"
+ // Examples:
+ // * `"environment" : "production"`
+ // * `"pipeline" : "etl"`
map