Skip to content

Commit

Permalink
feat: [dlp] ExcludeByHotword added as an ExclusionRule type, NEW_ZEAL…
Browse files Browse the repository at this point in the history
…AND 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: googleapis/googleapis-gen@502b50e
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>
  • Loading branch information
2 people authored and alicejli committed Nov 17, 2022
1 parent ec884be commit ecf1256
Show file tree
Hide file tree
Showing 20 changed files with 3,144 additions and 1,508 deletions.
32 changes: 16 additions & 16 deletions java-dlp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dlp</artifactId>
<version>3.9.0</version>
<version>3.10.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-dlp:3.9.0'
implementation 'com.google.cloud:google-cloud-dlp:3.10.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.9.0"
libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.10.0"
```

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

[product-docs]: https://cloud.google.com/dlp/docs/
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dlp/latest/overview
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-dlp/java11.html
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dlp.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-dlp&core=gav
Expand All @@ -180,9 +180,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
[cloud-sdk]: https://cloud.google.com/sdk/
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
[contributing]: https://github.com/googleapis/java-dlp/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/java-dlp/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-dlp/blob/main/LICENSE
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=dlp.googleapis.com
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5774,8 +5774,9 @@ public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuild
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -5790,8 +5791,9 @@ public boolean hasJobNotificationEmails() {
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -5809,8 +5811,9 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand Down Expand Up @@ -7567,8 +7570,9 @@ public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuild
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7583,8 +7587,9 @@ public boolean hasJobNotificationEmails() {
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7609,8 +7614,9 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7633,8 +7639,9 @@ public Builder setJobNotificationEmails(
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7654,8 +7661,9 @@ public Builder setJobNotificationEmails(
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand Down Expand Up @@ -7689,8 +7697,9 @@ public Builder mergeJobNotificationEmails(
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7715,8 +7724,9 @@ public Builder clearJobNotificationEmails() {
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7729,8 +7739,9 @@ public Builder clearJobNotificationEmails() {
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -7751,8 +7762,9 @@ public Builder clearJobNotificationEmails() {
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ public interface ActionOrBuilder
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -223,8 +224,9 @@ public interface ActionOrBuilder
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand All @@ -236,8 +238,9 @@ public interface ActionOrBuilder
*
*
* <pre>
* Enable email notification for project owners and editors on job's
* completion/failure.
* Sends an email when the job completes. The email goes to IAM project
* owners and technical [Essential
* Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
* </pre>
*
* <code>.google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@

package com.google.privacy.dlp.v2;

/**
*
*
* <pre>
* Container structure for the content to inspect.
* </pre>
*
* Protobuf type {@code google.privacy.dlp.v2.ContentItem}
*/
/** Protobuf type {@code google.privacy.dlp.v2.ContentItem} */
public final class ContentItem extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ContentItem)
Expand Down Expand Up @@ -493,15 +485,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
* <pre>
* Container structure for the content to inspect.
* </pre>
*
* Protobuf type {@code google.privacy.dlp.v2.ContentItem}
*/
/** Protobuf type {@code google.privacy.dlp.v2.ContentItem} */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ContentItem)
Expand Down
Loading

0 comments on commit ecf1256

Please sign in to comment.