Skip to content

Commit ff64c8e

Browse files
feat: [dlp] ExcludeByHotword added as an ExclusionRule type, NEW_ZEALAND added as a LocationCategory value (#8766)
* feat: ExcludeByHotword added as an ExclusionRule type, NEW_ZEALAND added as a LocationCategory value PiperOrigin-RevId: 487581128 Source-Link: googleapis/googleapis@9140e55 Source-Link: https://github.com/googleapis/googleapis-gen/commit/502b50e61710bca3d774cb918314cb1ef39e6fe9 Copy-Tag: eyJwIjoiamF2YS1kbHAvLk93bEJvdC55YW1sIiwiaCI6IjUwMmI1MGU2MTcxMGJjYTNkNzc0Y2I5MTgzMTRjYjFlZjM5ZTZmZTkifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 16cf573 commit ff64c8e

20 files changed

+3144
-1508
lines changed

java-dlp/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>google-cloud-dlp</artifactId>
22-
<version>3.9.0</version>
22+
<version>3.10.0</version>
2323
</dependency>
2424
```
2525

2626
If you are using Gradle without BOM, add this to your dependencies:
2727

2828
```Groovy
29-
implementation 'com.google.cloud:google-cloud-dlp:3.9.0'
29+
implementation 'com.google.cloud:google-cloud-dlp:3.10.0'
3030
```
3131

3232
If you are using SBT, add this to your dependencies:
3333

3434
```Scala
35-
libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.9.0"
35+
libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.10.0"
3636
```
3737

3838
## Authentication
@@ -159,16 +159,16 @@ Java is a registered trademark of Oracle and/or its affiliates.
159159

160160
[product-docs]: https://cloud.google.com/dlp/docs/
161161
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dlp/latest/overview
162-
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java7.svg
163-
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java7.html
164-
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8.svg
165-
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8.html
166-
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-osx.svg
167-
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-osx.html
168-
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-win.svg
169-
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-win.html
170-
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java11.svg
171-
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java11.html
162+
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.svg
163+
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.html
164+
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.svg
165+
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.html
166+
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.svg
167+
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.html
168+
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.svg
169+
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.html
170+
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.svg
171+
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
172172
[stability-image]: https://img.shields.io/badge/stability-stable-green
173173
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dlp.svg
174174
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-dlp&core=gav
@@ -180,9 +180,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
180180
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
181181
[cloud-sdk]: https://cloud.google.com/sdk/
182182
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
183-
[contributing]: https://github.com/googleapis/java-dlp/blob/main/CONTRIBUTING.md
184-
[code-of-conduct]: https://github.com/googleapis/java-dlp/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
185-
[license]: https://github.com/googleapis/java-dlp/blob/main/LICENSE
183+
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
184+
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
185+
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
186186
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
187187
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=dlp.googleapis.com
188188
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM

java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5774,8 +5774,9 @@ public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuild
57745774
*
57755775
*
57765776
* <pre>
5777-
* Enable email notification for project owners and editors on job's
5778-
* completion/failure.
5777+
* Sends an email when the job completes. The email goes to IAM project
5778+
* owners and technical [Essential
5779+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
57795780
* </pre>
57805781
*
57815782
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -5790,8 +5791,9 @@ public boolean hasJobNotificationEmails() {
57905791
*
57915792
*
57925793
* <pre>
5793-
* Enable email notification for project owners and editors on job's
5794-
* completion/failure.
5794+
* Sends an email when the job completes. The email goes to IAM project
5795+
* owners and technical [Essential
5796+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
57955797
* </pre>
57965798
*
57975799
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -5809,8 +5811,9 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
58095811
*
58105812
*
58115813
* <pre>
5812-
* Enable email notification for project owners and editors on job's
5813-
* completion/failure.
5814+
* Sends an email when the job completes. The email goes to IAM project
5815+
* owners and technical [Essential
5816+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
58145817
* </pre>
58155818
*
58165819
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7567,8 +7570,9 @@ public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuild
75677570
*
75687571
*
75697572
* <pre>
7570-
* Enable email notification for project owners and editors on job's
7571-
* completion/failure.
7573+
* Sends an email when the job completes. The email goes to IAM project
7574+
* owners and technical [Essential
7575+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
75727576
* </pre>
75737577
*
75747578
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7583,8 +7587,9 @@ public boolean hasJobNotificationEmails() {
75837587
*
75847588
*
75857589
* <pre>
7586-
* Enable email notification for project owners and editors on job's
7587-
* completion/failure.
7590+
* Sends an email when the job completes. The email goes to IAM project
7591+
* owners and technical [Essential
7592+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
75887593
* </pre>
75897594
*
75907595
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7609,8 +7614,9 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
76097614
*
76107615
*
76117616
* <pre>
7612-
* Enable email notification for project owners and editors on job's
7613-
* completion/failure.
7617+
* Sends an email when the job completes. The email goes to IAM project
7618+
* owners and technical [Essential
7619+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
76147620
* </pre>
76157621
*
76167622
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7633,8 +7639,9 @@ public Builder setJobNotificationEmails(
76337639
*
76347640
*
76357641
* <pre>
7636-
* Enable email notification for project owners and editors on job's
7637-
* completion/failure.
7642+
* Sends an email when the job completes. The email goes to IAM project
7643+
* owners and technical [Essential
7644+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
76387645
* </pre>
76397646
*
76407647
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7654,8 +7661,9 @@ public Builder setJobNotificationEmails(
76547661
*
76557662
*
76567663
* <pre>
7657-
* Enable email notification for project owners and editors on job's
7658-
* completion/failure.
7664+
* Sends an email when the job completes. The email goes to IAM project
7665+
* owners and technical [Essential
7666+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
76597667
* </pre>
76607668
*
76617669
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7689,8 +7697,9 @@ public Builder mergeJobNotificationEmails(
76897697
*
76907698
*
76917699
* <pre>
7692-
* Enable email notification for project owners and editors on job's
7693-
* completion/failure.
7700+
* Sends an email when the job completes. The email goes to IAM project
7701+
* owners and technical [Essential
7702+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
76947703
* </pre>
76957704
*
76967705
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7715,8 +7724,9 @@ public Builder clearJobNotificationEmails() {
77157724
*
77167725
*
77177726
* <pre>
7718-
* Enable email notification for project owners and editors on job's
7719-
* completion/failure.
7727+
* Sends an email when the job completes. The email goes to IAM project
7728+
* owners and technical [Essential
7729+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
77207730
* </pre>
77217731
*
77227732
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7729,8 +7739,9 @@ public Builder clearJobNotificationEmails() {
77297739
*
77307740
*
77317741
* <pre>
7732-
* Enable email notification for project owners and editors on job's
7733-
* completion/failure.
7742+
* Sends an email when the job completes. The email goes to IAM project
7743+
* owners and technical [Essential
7744+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
77347745
* </pre>
77357746
*
77367747
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -7751,8 +7762,9 @@ public Builder clearJobNotificationEmails() {
77517762
*
77527763
*
77537764
* <pre>
7754-
* Enable email notification for project owners and editors on job's
7755-
* completion/failure.
7765+
* Sends an email when the job completes. The email goes to IAM project
7766+
* owners and technical [Essential
7767+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
77567768
* </pre>
77577769
*
77587770
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>

java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ActionOrBuilder.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ public interface ActionOrBuilder
210210
*
211211
*
212212
* <pre>
213-
* Enable email notification for project owners and editors on job's
214-
* completion/failure.
213+
* Sends an email when the job completes. The email goes to IAM project
214+
* owners and technical [Essential
215+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
215216
* </pre>
216217
*
217218
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -223,8 +224,9 @@ public interface ActionOrBuilder
223224
*
224225
*
225226
* <pre>
226-
* Enable email notification for project owners and editors on job's
227-
* completion/failure.
227+
* Sends an email when the job completes. The email goes to IAM project
228+
* owners and technical [Essential
229+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
228230
* </pre>
229231
*
230232
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
@@ -236,8 +238,9 @@ public interface ActionOrBuilder
236238
*
237239
*
238240
* <pre>
239-
* Enable email notification for project owners and editors on job's
240-
* completion/failure.
241+
* Sends an email when the job completes. The email goes to IAM project
242+
* owners and technical [Essential
243+
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
241244
* </pre>
242245
*
243246
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>

java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,7 @@
1818

1919
package com.google.privacy.dlp.v2;
2020

21-
/**
22-
*
23-
*
24-
* <pre>
25-
* Container structure for the content to inspect.
26-
* </pre>
27-
*
28-
* Protobuf type {@code google.privacy.dlp.v2.ContentItem}
29-
*/
21+
/** Protobuf type {@code google.privacy.dlp.v2.ContentItem} */
3022
public final class ContentItem extends com.google.protobuf.GeneratedMessageV3
3123
implements
3224
// @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ContentItem)
@@ -493,15 +485,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
493485
Builder builder = new Builder(parent);
494486
return builder;
495487
}
496-
/**
497-
*
498-
*
499-
* <pre>
500-
* Container structure for the content to inspect.
501-
* </pre>
502-
*
503-
* Protobuf type {@code google.privacy.dlp.v2.ContentItem}
504-
*/
488+
/** Protobuf type {@code google.privacy.dlp.v2.ContentItem} */
505489
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
506490
implements
507491
// @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ContentItem)

0 commit comments

Comments
 (0)