diff --git a/google/privacy/dlp/v2/dlp.proto b/google/privacy/dlp/v2/dlp.proto index 6ece5d9c..d0ab08df 100644 --- a/google/privacy/dlp/v2/dlp.proto +++ b/google/privacy/dlp/v2/dlp.proto @@ -921,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. @@ -3958,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/google/privacy/dlp/v2/storage.proto b/google/privacy/dlp/v2/storage.proto index d14754ec..f0348501 100644 --- a/google/privacy/dlp/v2/storage.proto +++ b/google/privacy/dlp/v2/storage.proto @@ -33,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; } @@ -553,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; @@ -561,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