Skip to content

Commit 72b183d

Browse files
Sita04release-please[bot]renovate-botgcf-owl-bot[bot]alicejli
authored
migrate code from googleapis/java-dlp (#7664)
* chore(master): release 2.2.9-SNAPSHOT (#442) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.111.4 (#443) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.111.3` -> `1.111.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.111.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.111.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.111.4/compatibility-slim/1.111.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.111.4/confidence-slim/1.111.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-pubsub</summary> ### [`v1.111.4`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#&#8203;11114-httpswwwgithubcomgoogleapisjava-pubsubcomparev11113v11114-2021-02-26) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.111.3...v1.111.4) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(master): release 2.2.9 (#445) :robot: I have created a release \*beep\* \*boop\* --- ### [2.2.9](https://www.github.com/googleapis/java-dlp/compare/v2.2.8...v2.2.9) (2021-02-26) ### Dependencies * update dependency com.google.cloud:google-cloud-pubsub to v1.111.4 ([#443](https://www.github.com/googleapis/java-dlp/issues/443)) ([053fb97](https://www.github.com/googleapis/java-dlp/commit/053fb9727276d95ffc31ed7da257ab0a432c7cc7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(master): release 2.2.10-SNAPSHOT (#447) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(deps): update dependency com.google.cloud:libraries-bom to v18.1.0 (#452) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.0.0` -> `18.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/compatibility-slim/18.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/18.1.0/confidence-slim/18.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:google-cloud-dlp to v2.2.9 (#444) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dlp](https://togithub.com/googleapis/java-dlp) | `2.2.7` -> `2.2.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.2.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.2.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.2.9/compatibility-slim/2.2.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.2.9/confidence-slim/2.2.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-dlp</summary> ### [`v2.2.9`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;229-httpswwwgithubcomgoogleapisjava-dlpcomparev228v229-2021-02-26) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.2.8...v2.2.9) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:libraries-bom to v19 (#455) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `18.1.0` -> `19.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/compatibility-slim/18.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.0.0/confidence-slim/18.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore: release 2.3.0 (#449) :robot: I have created a release \*beep\* \*boop\* --- ## [2.3.0](https://www.github.com/googleapis/java-dlp/compare/v2.2.9...v2.3.0) (2021-03-11) ### Features * **generator:** update protoc to v3.15.3 ([#448](https://www.github.com/googleapis/java-dlp/issues/448)) ([a1364b3](https://www.github.com/googleapis/java-dlp/commit/a1364b34da45d59212fd00c6c8fc17ba0f17ee8d)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#461](https://www.github.com/googleapis/java-dlp/issues/461)) ([91384fd](https://www.github.com/googleapis/java-dlp/commit/91384fd97a4dc7d40839d5580e8f7dc1ae3f371b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: release 2.3.1-SNAPSHOT (#463) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(deps): update dependency com.google.cloud:libraries-bom to v19.1.0 (#468) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.0.0` -> `19.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/compatibility-slim/19.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/confidence-slim/19.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:libraries-bom to v19.2.1 (#470) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.1.0` -> `19.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/compatibility-slim/19.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/confidence-slim/19.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:google-cloud-dlp to v2.3.0 (#464) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dlp](https://togithub.com/googleapis/java-dlp) | `2.2.9` -> `2.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.0/compatibility-slim/2.2.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.0/confidence-slim/2.2.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-dlp</summary> ### [`v2.3.0`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;230-httpswwwgithubcomgoogleapisjava-dlpcomparev229v230-2021-03-11) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.2.9...v2.3.0) ##### Features - **generator:** update protoc to v3.15.3 ([#&#8203;448](https://www.github.com/googleapis/java-dlp/issues/448)) ([a1364b3](https://www.github.com/googleapis/java-dlp/commit/a1364b34da45d59212fd00c6c8fc17ba0f17ee8d)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#&#8203;461](https://www.github.com/googleapis/java-dlp/issues/461)) ([91384fd](https://www.github.com/googleapis/java-dlp/commit/91384fd97a4dc7d40839d5580e8f7dc1ae3f371b)) ##### [2.2.9](https://www.github.com/googleapis/java-dlp/compare/v2.2.8...v2.2.9) (2021-02-26) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.111.4 ([#&#8203;443](https://www.github.com/googleapis/java-dlp/issues/443)) ([053fb97](https://www.github.com/googleapis/java-dlp/commit/053fb9727276d95ffc31ed7da257ab0a432c7cc7)) ##### [2.2.8](https://www.github.com/googleapis/java-dlp/compare/v2.2.7...v2.2.8) (2021-02-26) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.111.3 ([#&#8203;439](https://www.github.com/googleapis/java-dlp/issues/439)) ([80909a7](https://www.github.com/googleapis/java-dlp/commit/80909a7d01995598c775b358bc34cc69720c87b1)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#&#8203;440](https://www.github.com/googleapis/java-dlp/issues/440)) ([ac3bcd3](https://www.github.com/googleapis/java-dlp/commit/ac3bcd376f62cd51184accc3a2ac60981815e6ee)) ##### [2.2.7](https://www.github.com/googleapis/java-dlp/compare/v2.2.6...v2.2.7) (2021-02-22) ##### Documentation - generate sample code in the Java microgenerator ([#&#8203;419](https://www.github.com/googleapis/java-dlp/issues/419)) ([f65322c](https://www.github.com/googleapis/java-dlp/commit/f65322cf1fd0572bf08b00097e354fbcae5e7c1b)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#&#8203;430](https://www.github.com/googleapis/java-dlp/issues/430)) ([54a5ffc](https://www.github.com/googleapis/java-dlp/commit/54a5ffcdcd7220aecd8a791376e823b45208ec56)) ##### [2.2.6](https://www.github.com/googleapis/java-dlp/compare/v2.2.5...v2.2.6) (2021-01-14) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#&#8203;399](https://www.github.com/googleapis/java-dlp/issues/399)) ([9761941](https://www.github.com/googleapis/java-dlp/commit/97619410a08a2b3cecc38f2aa650164ef6f4a696)) ##### [2.2.5](https://www.github.com/googleapis/java-dlp/compare/v2.2.4...v2.2.5) (2021-01-06) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.110.3 ([#&#8203;390](https://www.github.com/googleapis/java-dlp/issues/390)) ([76b67ec](https://www.github.com/googleapis/java-dlp/commit/76b67ecdb1a95979399a496a536f10f91a1aebc3)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 ([#&#8203;381](https://www.github.com/googleapis/java-dlp/issues/381)) ([e064751](https://www.github.com/googleapis/java-dlp/commit/e0647511d3cc143936d5f33df2b254c93d039540)) ##### [2.2.4](https://www.github.com/googleapis/java-dlp/compare/v2.2.3...v2.2.4) (2020-12-14) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 ([#&#8203;376](https://www.github.com/googleapis/java-dlp/issues/376)) ([163bb4e](https://www.github.com/googleapis/java-dlp/commit/163bb4e6447513aa6d3df681fa074b7ac3c05e6f)) ##### [2.2.3](https://www.github.com/googleapis/java-dlp/compare/v2.2.2...v2.2.3) (2020-12-08) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#&#8203;365](https://www.github.com/googleapis/java-dlp/issues/365)) ([1156bc7](https://www.github.com/googleapis/java-dlp/commit/1156bc7d0a203f6110d007727834358b1a48a8ea)) ##### [2.2.2](https://www.github.com/googleapis/java-dlp/compare/v2.2.1...v2.2.2) (2020-11-17) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.15.0 ([#&#8203;346](https://www.github.com/googleapis/java-dlp/issues/346)) ([3acd318](https://www.github.com/googleapis/java-dlp/commit/3acd318e84ac13a44a2c53d171e129857c4ea51b)) ##### [2.2.1](https://www.github.com/googleapis/java-dlp/compare/v2.2.0...v2.2.1) (2020-10-31) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#&#8203;332](https://www.github.com/googleapis/java-dlp/issues/332)) ([7dd78c4](https://www.github.com/googleapis/java-dlp/commit/7dd78c4b65b8948a9a9e3158c44c44f3617d5f25)) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#479) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.cloud.samples:shared-configuration | `1.0.21` -> `1.0.22` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.22/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.22/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.22/compatibility-slim/1.0.21)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud.samples:shared-configuration/1.0.22/confidence-slim/1.0.21)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.112.0 (#467) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.111.4` -> `1.112.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.0/compatibility-slim/1.111.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.0/confidence-slim/1.111.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-pubsub</summary> ### [`v1.112.0`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#&#8203;11120-httpswwwgithubcomgoogleapisjava-pubsubcomparev11114v11120-2021-03-16) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.111.4...v1.112.0) ##### Features - expose default client configs ([#&#8203;541](https://www.github.com/googleapis/java-pubsub/issues/541)) ([01e6daf](https://www.github.com/googleapis/java-pubsub/commit/01e6dafb569a37c661463b79f5afbfba4f6d188d)) ##### Bug Fixes - properly shutdown subscriber stub on permanent streaming pull failure ([#&#8203;539](https://www.github.com/googleapis/java-pubsub/issues/539)) ([adbcc0c](https://www.github.com/googleapis/java-pubsub/commit/adbcc0c6777e35eae24b538e6c48f9ef7485a786)) - update MessageDispatcher to not extend deadlines of messages which arrive early to 60s ([#&#8203;570](https://www.github.com/googleapis/java-pubsub/issues/570)) ([e174e20](https://www.github.com/googleapis/java-pubsub/commit/e174e2043f64563f4d2868537aeb90d948233166)) ##### Dependencies - update dependency com.google.cloud:google-cloud-core to v1.94.3 ([#&#8203;566](https://www.github.com/googleapis/java-pubsub/issues/566)) ([3f23ac6](https://www.github.com/googleapis/java-pubsub/commit/3f23ac6cda00814f74f2c435dd8a05b70ac69d27)) - update dependency com.google.cloud:google-cloud-core to v1.94.4 ([#&#8203;568](https://www.github.com/googleapis/java-pubsub/issues/568)) ([21886d3](https://www.github.com/googleapis/java-pubsub/commit/21886d39cdc2a33275c2061578c877b0fa6aee98)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#&#8203;564](https://www.github.com/googleapis/java-pubsub/issues/564)) ([0aa4521](https://www.github.com/googleapis/java-pubsub/commit/0aa452121b2fa769221b41c8c1323f3b31b599d1)) - update dependency com.google.protobuf:protobuf-java-util to v3.15.5 ([#&#8203;559](https://www.github.com/googleapis/java-pubsub/issues/559)) ([74e6a92](https://www.github.com/googleapis/java-pubsub/commit/74e6a92ca88f006e0fe1a68144ba0cb30a1d140c)) - update dependency com.google.protobuf:protobuf-java-util to v3.15.6 ([#&#8203;569](https://www.github.com/googleapis/java-pubsub/issues/569)) ([b6e299f](https://www.github.com/googleapis/java-pubsub/commit/b6e299f6d13dab7d5b2e8c575021371485878bb2)) ##### Documentation - Remove experimental note for schema APIs ([#&#8203;560](https://www.github.com/googleapis/java-pubsub/issues/560)) ([4b98556](https://www.github.com/googleapis/java-pubsub/commit/4b98556e550802135cfb87d8984f0deec57e8c2e)) ##### [1.111.4](https://www.github.com/googleapis/java-pubsub/compare/v1.111.3...v1.111.4) (2021-02-26) ##### Dependencies - update dependency com.google.protobuf:protobuf-java-util to v3.15.3 ([#&#8203;546](https://www.github.com/googleapis/java-pubsub/issues/546)) ([3c10d2c](https://www.github.com/googleapis/java-pubsub/commit/3c10d2cf7cb8fab1c2dad8e80ea8ad7723e4e899)) ##### [1.111.3](https://www.github.com/googleapis/java-pubsub/compare/v1.111.2...v1.111.3) (2021-02-25) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#&#8203;542](https://www.github.com/googleapis/java-pubsub/issues/542)) ([ff9dc0d](https://www.github.com/googleapis/java-pubsub/commit/ff9dc0d5becf281aea855eeb0d246e938ed5e09c)) ##### [1.111.2](https://www.github.com/googleapis/java-pubsub/compare/v1.111.1...v1.111.2) (2021-02-24) ##### Dependencies - update dependency com.google.protobuf:protobuf-java-util to v3.15.2 ([#&#8203;524](https://www.github.com/googleapis/java-pubsub/issues/524)) ([b5e07a8](https://www.github.com/googleapis/java-pubsub/commit/b5e07a866f096744feafc6187bcb022669f5fa26)) ##### [1.111.1](https://www.github.com/googleapis/java-pubsub/compare/v1.111.0...v1.111.1) (2021-02-23) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#&#8203;515](https://www.github.com/googleapis/java-pubsub/issues/515)) ([073c3b8](https://www.github.com/googleapis/java-pubsub/commit/073c3b84965a4225d735743d5f4e540330cf26b7)) </details> --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#486) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.2.1` -> `20.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/compatibility-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/confidence-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore: release 2.3.1 (#473) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.1](https://www.github.com/googleapis/java-dlp/compare/v2.3.0...v2.3.1) (2021-04-12) ### Documentation * version update ([#472](https://www.github.com/googleapis/java-dlp/issues/472)) ([f3186cd](https://www.github.com/googleapis/java-dlp/commit/f3186cdb10f191985bca4dcc2c3176537c3b2aa0)) ### Dependencies * update dependency com.google.cloud:google-cloud-pubsub to v1.112.0 ([#467](https://www.github.com/googleapis/java-dlp/issues/467)) ([39636a5](https://www.github.com/googleapis/java-dlp/commit/39636a574c585b145cc509b2f93fb1187a218941)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#483](https://www.github.com/googleapis/java-dlp/issues/483)) ([ed17f67](https://www.github.com/googleapis/java-dlp/commit/ed17f67e0b20dcdbefd99dcfc0241b0a3a84bcc0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: release 2.3.2-SNAPSHOT (#488) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.112.1 (#490) * chore(deps): update dependency com.google.cloud:libraries-bom to v20.1.0 (#495) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.0.0` -> `20.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/compatibility-slim/20.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.1.0/confidence-slim/20.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.112.3 (#501) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.112.1` -> `1.112.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.3/compatibility-slim/1.112.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.3/confidence-slim/1.112.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-pubsub</summary> ### [`v1.112.3`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#&#8203;11123-httpswwwgithubcomgoogleapisjava-pubsubcomparev11122v11123-2021-04-26) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.112.2...v1.112.3) ### [`v1.112.2`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#&#8203;11122-httpswwwgithubcomgoogleapisjava-pubsubcomparev11121v11122-2021-04-24) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.112.1...v1.112.2) </details> --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore: release 2.3.2 (#491) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.2](https://www.github.com/googleapis/java-dlp/compare/v2.3.1...v2.3.2) (2021-04-26) ### Bug Fixes * release scripts from issuing overlapping phases ([#494](https://www.github.com/googleapis/java-dlp/issues/494)) ([5675143](https://www.github.com/googleapis/java-dlp/commit/5675143b2710756e2802d26685c51796c0a86085)) ### Dependencies * update dependency com.google.cloud:google-cloud-pubsub to v1.112.1 ([#490](https://www.github.com/googleapis/java-dlp/issues/490)) ([5924f7a](https://www.github.com/googleapis/java-dlp/commit/5924f7a10860aa46443b0da5988a45440e547cfb)) * update dependency com.google.cloud:google-cloud-pubsub to v1.112.3 ([#501](https://www.github.com/googleapis/java-dlp/issues/501)) ([1047216](https://www.github.com/googleapis/java-dlp/commit/10472167f1a7f573e967dffe7ca183c14ab92e9b)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#497](https://www.github.com/googleapis/java-dlp/issues/497)) ([a6bbefa](https://www.github.com/googleapis/java-dlp/commit/a6bbefa7b06898bc2fee697172300f4b034d0fff)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#500](https://www.github.com/googleapis/java-dlp/issues/500)) ([c317dfd](https://www.github.com/googleapis/java-dlp/commit/c317dfd4a55febc6e9877d948e2d996a4e47b776)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: release 2.3.3-SNAPSHOT (#502) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(deps): update dependency com.google.cloud:libraries-bom to v20.2.0 (#505) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.1.0` -> `20.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/compatibility-slim/20.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.2.0/confidence-slim/20.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:google-cloud-dlp to v2.3.2 (#489) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dlp](https://togithub.com/googleapis/java-dlp) | `2.3.0` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.2/compatibility-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.2/confidence-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-dlp</summary> ### [`v2.3.2`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;232-httpswwwgithubcomgoogleapisjava-dlpcomparev231v232-2021-04-26) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.3.1...v2.3.2) ### [`v2.3.1`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;231-httpswwwgithubcomgoogleapisjava-dlpcomparev230v231-2021-04-12) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.3.0...v2.3.1) </details> --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore: release 2.3.3 (#515) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.3](https://www.github.com/googleapis/java-dlp/compare/v2.3.2...v2.3.3) (2021-05-11) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#514](https://www.github.com/googleapis/java-dlp/issues/514)) ([b5143f5](https://www.github.com/googleapis/java-dlp/commit/b5143f5e12b6ad4910f49188589e3f49842bc9a8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: release 2.3.4-SNAPSHOT (#516) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(deps): update dependency com.google.cloud:libraries-bom to v20.3.0 (#512) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.2.0` -> `20.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/compatibility-slim/20.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.3.0/confidence-slim/20.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:google-cloud-dlp to v2.3.3 (#517) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dlp](https://togithub.com/googleapis/java-dlp) | `2.3.2` -> `2.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.3/compatibility-slim/2.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.3/confidence-slim/2.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-dlp</summary> ### [`v2.3.3`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;233-httpswwwgithubcomgoogleapisjava-dlpcomparev232v233-2021-05-11) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.3.2...v2.3.3) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.112.5 (#522) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.112.3` -> `1.112.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.5/compatibility-slim/1.112.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.112.5/confidence-slim/1.112.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-pubsub</summary> ### [`v1.112.5`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#&#8203;11125-httpswwwgithubcomgoogleapisjava-pubsubcomparev11124v11125-2021-05-14) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.112.4...v1.112.5) ### [`v1.112.4`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#&#8203;11124-httpswwwgithubcomgoogleapisjava-pubsubcomparev11123v11124-2021-05-12) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.112.3...v1.112.4) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore: release 2.3.4 (#523) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.4](https://www.github.com/googleapis/java-dlp/compare/v2.3.3...v2.3.4) (2021-05-14) ### Dependencies * update dependency com.google.cloud:google-cloud-pubsub to v1.112.5 ([#522](https://www.github.com/googleapis/java-dlp/issues/522)) ([bf33cd2](https://www.github.com/googleapis/java-dlp/commit/bf33cd208ec34501d915b69ad6976efc6437fc8d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: release 2.3.5-SNAPSHOT (#524) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(deps): update dependency com.google.cloud:libraries-bom to v20.4.0 (#527) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.3.0` -> `20.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/compatibility-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/confidence-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * test(deps): update dependency com.google.truth:truth to v1.1.3 (#538) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.truth:truth | `1.1.2` -> `1.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/compatibility-slim/1.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/confidence-slim/1.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:google-cloud-dlp to v2.3.4 (#525) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dlp](https://togithub.com/googleapis/java-dlp) | `2.3.3` -> `2.3.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.4/compatibility-slim/2.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.3.4/confidence-slim/2.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-dlp</summary> ### [`v2.3.4`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;234-httpswwwgithubcomgoogleapisjava-dlpcomparev233v234-2021-05-14) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.3.3...v2.3.4) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore(deps): update dependency com.google.cloud:libraries-bom to v20.5.0 (#537) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.4.0` -> `20.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.5.0/compatibility-slim/20.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.5.0/confidence-slim/20.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * chore: release 2.4.0 (#533) :robot: I have created a release \*beep\* \*boop\* --- ## [2.4.0](https://www.github.com/googleapis/java-dlp/compare/v2.3.4...v2.4.0) (2021-05-31) ### Features * add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#531](https://www.github.com/googleapis/java-dlp/issues/531)) ([5bc1ab9](https://www.github.com/googleapis/java-dlp/commit/5bc1ab99c9f145d6f1becb05869b8be682821afa)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#532](https://www.github.com/googleapis/java-dlp/issues/532)) ([2a82b38](https://www.github.com/googleapis/java-dlp/commit/2a82b38d4b46f6145f8d1dc298dc52b819360afd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore: release 2.4.1-SNAPSHOT (#542) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). * chore(deps): update dependency com.google.cloud:google-cloud-dlp to v2.4.0 (#543) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dlp](https://togithub.com/googleapis/java-dlp) | `2.3.4` -> `2.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.4.0/compatibility-slim/2.3.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dlp/2.4.0/confidence-slim/2.3.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-dlp</summary> ### [`v2.4.0`](https://togithub.com/googleapis/java-dlp/blob/master/CHANGELOG.md#&#8203;240-httpswwwgithubcomgoogleapisjava-dlpcomparev234v240-2021-05-31) [Compare Source](https://togithub.com/googleapis/java-dlp/compare/v2.3.4...v2.4.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#&#8203;531](https://www.github.com/googleapis/java-dlp/issues/531)) ([5bc1ab9](https://www.github.com/googleapis/java-dlp/commit/5bc1ab99c9f145d6f1becb05869b8be682821afa)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#&#8203;532](https://www.github.com/googleapis/java-dlp/issues/532)) ([2a82b38](https://www.github.com/googleapis/java-dlp/commit/2a82b38d4b46f6145f8d1dc298dc52b819360afd)) ##### [2.3.4](https://www.github.com/googleapis/java-dlp/compare/v2.3.3...v2.3.4) (2021-05-14) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.112.5 ([#&#8203;522](https://www.github.com/googleapis/java-dlp/issues/522)) ([bf33cd2](https://www.github.com/googleapis/java-dlp/commit/bf33cd208ec34501d915b69ad6976efc6437fc8d)) ##### [2.3.3](https://www.github.com/googleapis/java-dlp/compare/v2.3.2...v2.3.3) (2021-05-11) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#&#8203;514](https://www.github.com/googleapis/java-dlp/issues/514)) ([b5143f5](https://www.github.com/googleapis/java-dlp/commit/b5143f5e12b6ad4910f49188589e3f49842bc9a8)) ##### [2.3.2](https://www.github.com/googleapis/java-dlp/compare/v2.3.1...v2.3.2) (2021-04-26) ##### Bug Fixes - release scripts from issuing overlapping phases ([#&#8203;494](https://www.github.com/googleapis/java-dlp/issues/494)) ([5675143](https://www.github.com/googleapis/java-dlp/commit/5675143b2710756e2802d26685c51796c0a86085)) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.112.1 ([#&#8203;490](https://www.github.com/googleapis/java-dlp/issues/490)) ([5924f7a](https://www.github.com/googleapis/java-dlp/commit/5924f7a10860aa46443b0da5988a45440e547cfb)) - update dependency com.google.cloud:google-cloud-pubsub to v1.112.3 ([#&#8203;501](https://www.github.com/googleapis/java-dlp/issues/501)) ([1047216](https://www.github.com/googleapis/java-dlp/commit/10472167f1a7f573e967dffe7ca183c14ab92e9b)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#&#8203;497](https://www.github.com/googleapis/java-dlp/issues/497)) ([a6bbefa](https://www.github.com/googleapis/java-dlp/commit/a6bbefa7b06898bc2fee697172300f4b034d0fff)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#&#8203;500](https://www.github.com/googleapis/java-dlp/issues/500)) ([c317dfd](https://www.github.com/googleapis/java-dlp/commit/c317dfd4a55febc6e9877d948e2d996a4e47b776)) ##### [2.3.1](https://www.github.com/googleapis/java-dlp/compare/v2.3.0...v2.3.1) (2021-04-12) ##### Documentation - version update ([#&#8203;472](https://www.github.com/googleapis/java-dlp/issues/472)) ([f3186cd](https://www.github.com/googleapis/java-dlp/commit/f3186cdb10f191985bca4dcc2c3176537c3b2aa0)) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.112.0 ([#&#8203;467](https://www.github.com/googleapis/java-dlp/issues/467)) ([39636a5](https://www.github.com/googleapis/java-dlp/commit/39636a574c585b145cc509b2f93fb1187a218941)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#&#8203;483](https://www.github.com/googleapis/java-dlp/issues/483)) ([ed17f67](https://www.github.com/googleapis/java-dlp/commit/ed17f67e0b20dcdbefd99dcfc0241b0a3a84bcc0)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dlp). * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.113.0 (#544) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.112.5` -> `1.113.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.113.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.113.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google…
1 parent adc5f5a commit 72b183d

File tree

80 files changed

+9292
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+9292
-0
lines changed

dlp/snippets/README.md

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Cloud Data Loss Prevention (DLP) API Samples
2+
3+
<a href="https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/java-docs-samples&page=editor&open_in_editor=dlp/samples/snippets/README.md">
4+
<img alt="Open in Cloud Shell" src ="http://gstatic.com/cloudssh/images/open-btn.png"></a>
5+
6+
The [Data Loss Prevention API](https://cloud.google.com/dlp/docs/) provides programmatic access to
7+
a powerful detection engine for personally identifiable information and other privacy-sensitive data
8+
in unstructured data streams.
9+
10+
## Setup
11+
- A Google Cloud project with billing enabled
12+
- [Enable](https://console.cloud.google.com/launcher/details/google/dlp.googleapis.com) the DLP API.
13+
- [Create a service account](https://cloud.google.com/docs/authentication/getting-started)
14+
and set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable pointing to the downloaded credentials file.
15+
16+
## Running
17+
18+
To run a specific sample, edit any variables under the `TODO(developer):` in the
19+
function at the top of each sample, and then execute the function as convenient.
20+
21+
For example, if using the command line you might use the following (replacing
22+
`<CLASS_NAME>` with the name of the sample):
23+
```bash
24+
mvn exec:java -Dexec.mainClass="dlp.snippets.<CLASS_NAME>"
25+
```
26+
27+
28+
## Testing
29+
30+
### Setup
31+
- Ensure that `GOOGLE_APPLICATION_CREDENTIALS` points to authorized service account credentials file.
32+
- Set the `DLP_DEID_WRAPPED_KEY` environment variable to an AES-256 key encrypted ('wrapped') [with a Cloud Key Management Service (KMS) key](https://cloud.google.com/kms/docs/encrypt-decrypt).
33+
- Set the `DLP_DEID_KEY_NAME` environment variable to the path-name of the Cloud KMS key you wrapped `DLP_DEID_WRAPPED_KEY` with.
34+
- [Create a Google Cloud Storage bucket](https://console.cloud.google.com/storage) and upload [test.txt](src/test/resources/test.txt).
35+
- Set the `GCS_PATH` environment variable to point to the path for the bucket.
36+
- Copy and paste the data below into a CSV file and [create a BigQuery table](https://cloud.google.com/bigquery/docs/loading-data-local) from the file:
37+
```$xslt
38+
Name,TelephoneNumber,Mystery,Age,Gender
39+
James,(567) 890-1234,8291 3627 8250 1234,19,Male
40+
Gandalf,(223) 456-7890,4231 5555 6781 9876,27,Male
41+
Dumbledore,(313) 337-1337,6291 8765 1095 7629,27,Male
42+
Joe,(452) 223-1234,3782 2288 1166 3030,35,Male
43+
Marie,(452) 223-1234,8291 3627 8250 1234,35,Female
44+
Carrie,(567) 890-1234,2253 5218 4251 4526,35,Female
45+
```
46+
- Set the `BIGQUERY_DATASET` and `BIGQUERY_TABLE` environment values.
47+
- [Create a Google Cloud Pub/Sub](https://console.cloud.google.com/datastore) topic and and a subscription that is subscribed to the topic.
48+
- Set the `PUB_SUB_TOPIC` and `PUB_SUB_SUBSCRIPTION` environment variables to the corresponding values.
49+
- [Create a Google Cloud Datastore](https://console.cloud.google.com/datastore) kind and add an entity with properties:
50+
- `property1` : [email protected]
51+
- `property2` : 343-343-3435
52+
- Update the Datastore kind in [InspectTests.java](src/test/java/dlp/snippets/InspectTests.java).
53+
54+
55+
### Run
56+
Run all tests:
57+
```
58+
mvn clean verify
59+
```

dlp/snippets/pom.xml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.example.dlp</groupId>
5+
<artifactId>dlp-snippets</artifactId>
6+
<packaging>jar</packaging>
7+
<name>Google Cloud Data Loss Prevention Snippets</name>
8+
<url>https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/dlp</url>
9+
10+
<!--
11+
The parent pom defines common style checks and testing strategies for our samples.
12+
Removing or replacing it should not affect the execution of the samples in anyway.
13+
-->
14+
<parent>
15+
<groupId>com.google.cloud.samples</groupId>
16+
<artifactId>shared-configuration</artifactId>
17+
<version>1.2.0</version>
18+
</parent>
19+
20+
<properties>
21+
<maven.compiler.target>1.8</maven.compiler.target>
22+
<maven.compiler.source>1.8</maven.compiler.source>
23+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24+
</properties>
25+
26+
<!-- [START dlp_install_with_bom] -->
27+
<dependencies>
28+
<dependency>
29+
<groupId>com.google.cloud</groupId>
30+
<artifactId>google-cloud-dlp</artifactId>
31+
<version>3.12.0</version>
32+
</dependency>
33+
<!-- [START_EXCLUDE] -->
34+
<dependency>
35+
<groupId>com.google.cloud</groupId>
36+
<artifactId>google-cloud-pubsub</artifactId>
37+
<version>1.120.24</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>junit</groupId>
41+
<artifactId>junit</artifactId>
42+
<version>4.13.2</version>
43+
<scope>test</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.google.truth</groupId>
47+
<artifactId>truth</artifactId>
48+
<version>1.1.3</version>
49+
<scope>test</scope>
50+
</dependency>
51+
<!-- [END_EXCLUDE] -->
52+
</dependencies>
53+
<!-- [END dlp_install_with_bom] -->
54+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
/*
2+
* Copyright 2020 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package dlp.snippets;
18+
19+
// [START dlp_deidentify_table_bucketing]
20+
21+
import com.google.cloud.dlp.v2.DlpServiceClient;
22+
import com.google.privacy.dlp.v2.ContentItem;
23+
import com.google.privacy.dlp.v2.DeidentifyConfig;
24+
import com.google.privacy.dlp.v2.DeidentifyContentRequest;
25+
import com.google.privacy.dlp.v2.DeidentifyContentResponse;
26+
import com.google.privacy.dlp.v2.FieldId;
27+
import com.google.privacy.dlp.v2.FieldTransformation;
28+
import com.google.privacy.dlp.v2.FixedSizeBucketingConfig;
29+
import com.google.privacy.dlp.v2.LocationName;
30+
import com.google.privacy.dlp.v2.PrimitiveTransformation;
31+
import com.google.privacy.dlp.v2.RecordTransformations;
32+
import com.google.privacy.dlp.v2.Table;
33+
import com.google.privacy.dlp.v2.Table.Row;
34+
import com.google.privacy.dlp.v2.Value;
35+
import java.io.IOException;
36+
37+
public class DeIdentifyTableBucketing {
38+
39+
public static void deIdentifyTableBucketing() throws IOException {
40+
// TODO(developer): Replace these variables before running the sample.
41+
String projectId = "your-project-id";
42+
Table tableToDeIdentify =
43+
Table.newBuilder()
44+
.addHeaders(FieldId.newBuilder().setName("AGE").build())
45+
.addHeaders(FieldId.newBuilder().setName("PATIENT").build())
46+
.addHeaders(FieldId.newBuilder().setName("HAPPINESS SCORE").build())
47+
.addRows(
48+
Row.newBuilder()
49+
.addValues(Value.newBuilder().setStringValue("101").build())
50+
.addValues(Value.newBuilder().setStringValue("Charles Dickens").build())
51+
.addValues(Value.newBuilder().setStringValue("95").build())
52+
.build())
53+
.addRows(
54+
Row.newBuilder()
55+
.addValues(Value.newBuilder().setStringValue("22").build())
56+
.addValues(Value.newBuilder().setStringValue("Jane Austen").build())
57+
.addValues(Value.newBuilder().setStringValue("21").build())
58+
.build())
59+
.addRows(
60+
Row.newBuilder()
61+
.addValues(Value.newBuilder().setStringValue("55").build())
62+
.addValues(Value.newBuilder().setStringValue("Mark Twain").build())
63+
.addValues(Value.newBuilder().setStringValue("75").build())
64+
.build())
65+
.build();
66+
67+
deIdentifyTableBucketing(projectId, tableToDeIdentify);
68+
}
69+
70+
public static Table deIdentifyTableBucketing(String projectId, Table tableToDeIdentify)
71+
throws IOException {
72+
// Initialize client that will be used to send requests. This client only needs to be created
73+
// once, and can be reused for multiple requests. After completing all of your requests, call
74+
// the "close" method on the client to safely clean up any remaining background resources.
75+
try (DlpServiceClient dlp = DlpServiceClient.create()) {
76+
// Specify what content you want the service to de-identify.
77+
ContentItem contentItem = ContentItem.newBuilder().setTable(tableToDeIdentify).build();
78+
79+
// Specify how the content should be de-identified.
80+
FixedSizeBucketingConfig fixedSizeBucketingConfig =
81+
FixedSizeBucketingConfig.newBuilder()
82+
.setBucketSize(10)
83+
.setLowerBound(Value.newBuilder().setIntegerValue(0).build())
84+
.setUpperBound(Value.newBuilder().setIntegerValue(100).build())
85+
.build();
86+
PrimitiveTransformation primitiveTransformation =
87+
PrimitiveTransformation.newBuilder()
88+
.setFixedSizeBucketingConfig(fixedSizeBucketingConfig)
89+
.build();
90+
91+
// Specify field to be encrypted.
92+
FieldId fieldId = FieldId.newBuilder().setName("HAPPINESS SCORE").build();
93+
94+
// Associate the encryption with the specified field.
95+
FieldTransformation fieldTransformation =
96+
FieldTransformation.newBuilder()
97+
.setPrimitiveTransformation(primitiveTransformation)
98+
.addFields(fieldId)
99+
.build();
100+
RecordTransformations transformations =
101+
RecordTransformations.newBuilder().addFieldTransformations(fieldTransformation).build();
102+
103+
DeidentifyConfig deidentifyConfig =
104+
DeidentifyConfig.newBuilder().setRecordTransformations(transformations).build();
105+
106+
// Combine configurations into a request for the service.
107+
DeidentifyContentRequest request =
108+
DeidentifyContentRequest.newBuilder()
109+
.setParent(LocationName.of(projectId, "global").toString())
110+
.setItem(contentItem)
111+
.setDeidentifyConfig(deidentifyConfig)
112+
.build();
113+
114+
// Send the request and receive response from the service.
115+
DeidentifyContentResponse response = dlp.deidentifyContent(request);
116+
117+
// Print the results.
118+
System.out.println("Table after de-identification: " + response.getItem().getTable());
119+
120+
return response.getItem().getTable();
121+
}
122+
}
123+
}
124+
// [END dlp_deidentify_table_bucketing]

0 commit comments

Comments
 (0)