Skip to content

Commit f0198a5

Browse files
charlieyu1996Sita04gcf-owl-bot[bot]renovate-botalicejli
authored
migrate code from googleapis/java-iam (GoogleCloudPlatform#7419)
* docs(samples): add iam deny samples and test (#371) * docs(samples): init add iam deny samples and test * docs(samples): added comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs(samples): add pom.xml and removed jupiter dependency * minor lro update and refactoring * added comments and minor refactoring * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * added region tags * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * updated acc to review comments * 🦉 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> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220619-1.32.1 (#375) * chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#376) * deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.0 (#377) * deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.1 (#378) * chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#379) Co-authored-by: Alice <[email protected]> * deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.2 (#386) [![Mend 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.http-client:google-http-client-jackson2](https://github.com/googleapis/google-http-java-client) | `1.42.1` -> `1.42.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/compatibility-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/confidence-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-http-java-client</summary> ### [`v1.42.2`](https://github.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#&#8203;1422-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1421v1422-2022-07-13) [Compare Source](https://github.com/googleapis/google-http-java-client/compare/v1.42.1...v1.42.2) ##### Bug Fixes - enable longpaths support for windows test ([#&#8203;1485](https://github.com/googleapis/google-http-java-client/issues/1485)) ([#&#8203;1684](https://github.com/googleapis/google-http-java-client/issues/1684)) ([9d789f5](https://github.com/googleapis/google-http-java-client/commit/9d789f511b907c3970ed9845a4c092fe5458755d)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-1.32.1 (#383) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220619-1.32.1` -> `v3-rev20220710-1.32.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/compatibility-slim/v3-rev20220619-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/confidence-slim/v3-rev20220619-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). * deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 (#385) [![Mend 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.auth:google-auth-library-oauth2-http](https://github.com/googleapis/google-auth-library-java) | `1.8.0` -> `1.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/compatibility-slim/1.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/confidence-slim/1.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-auth-library-java</summary> ### [`v1.8.1`](https://github.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#&#8203;181-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev180v181-2022-07-13) [Compare Source](https://github.com/googleapis/google-auth-library-java/compare/v1.8.0...v1.8.1) ##### Bug Fixes - enable longpaths support for windows test ([#&#8203;1485](https://github.com/googleapis/google-auth-library-java/issues/1485)) ([#&#8203;943](https://github.com/googleapis/google-auth-library-java/issues/943)) ([c21ec6c](https://github.com/googleapis/google-auth-library-java/commit/c21ec6c952b8bb8fb8bc2e2f1b260beb330a3cd2)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). * deps: update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-1.32.1 (#390) [![Mend 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.apis:google-api-services-iam](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v2beta-rev20220526-1.32.1` -> `v2beta-rev20220713-1.32.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/compatibility-slim/v2beta-rev20220526-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/confidence-slim/v2beta-rev20220526-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMjAuMCIsInVwZGF0ZWRJblZlciI6IjMyLjEyMC4wIn0=--> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-2.0.0 (#396) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220710-1.32.1` -> `v3-rev20220710-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/compatibility-slim/v3-rev20220710-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/confidence-slim/v3-rev20220710-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzUuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEzNS4xIn0=--> * deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 (#400) [![Mend 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.auth:google-auth-library-oauth2-http](https://github.com/googleapis/google-auth-library-java) | `1.8.1` -> `1.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/compatibility-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/confidence-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-auth-library-java</summary> ### [`v1.9.0`](https://github.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#&#8203;190-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev181v190-2022-08-02) [Compare Source](https://github.com/googleapis/google-auth-library-java/compare/v1.8.1...v1.9.0) ##### Features - integration tests for pluggable auth ([#&#8203;939](https://github.com/googleapis/google-auth-library-java/issues/939)) ([22f37aa](https://github.com/googleapis/google-auth-library-java/commit/22f37aa687b7ffb4209a131860ccdd02f6fc4d42)) ##### Bug Fixes - expiration time of the ImpersonatedCredentials token depending on the current host's timezone ([#&#8203;932](https://github.com/googleapis/google-auth-library-java/issues/932)) ([73af08a](https://github.com/googleapis/google-auth-library-java/commit/73af08a1c5f14e18936e9dbd3d1ba29c2675961d)) ##### Documentation - update wif documentation with enable-imdsv2 flag ([#&#8203;940](https://github.com/googleapis/google-auth-library-java/issues/940)) ([acc1ce3](https://github.com/googleapis/google-auth-library-java/commit/acc1ce3603435f1c0cf23b8606af71b05e566f2f)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzUuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEzNS4xIn0=--> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220731-2.0.0 (#402) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220710-2.0.0` -> `v3-rev20220731-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/compatibility-slim/v3-rev20220710-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/confidence-slim/v3-rev20220710-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE0My4xIn0=--> * docs(samples): update param values (#401) * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220807-2.0.0 (#407) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220731-2.0.0` -> `v3-rev20220807-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/compatibility-slim/v3-rev20220731-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/confidence-slim/v3-rev20220731-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTQuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC40In0=--> * chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#409) [![Mend 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://cloud.google.com/java/docs/bom) ([source](https://github.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/compatibility-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/confidence-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTguMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1OC4wIn0=--> * deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 (#406) [![Mend 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.auth:google-auth-library-oauth2-http](https://github.com/googleapis/google-auth-library-java) | `1.9.0` -> `1.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/compatibility-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/confidence-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-auth-library-java</summary> ### [`v1.10.0`](https://github.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#&#8203;1100-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev190v1100-2022-08-05) [Compare Source](https://github.com/googleapis/google-auth-library-java/compare/v1.9.0...v1.10.0) ##### Features - workforce identity federation for pluggable auth ([#&#8203;959](https://github.com/googleapis/google-auth-library-java/issues/959)) ([7f2c535](https://github.com/googleapis/google-auth-library-java/commit/7f2c535ab7c842a672d6761f4cd80df88e1a37ed)) ##### Bug Fixes - updates executable response spec for executable-sourced credentials ([#&#8203;955](https://github.com/googleapis/google-auth-library-java/issues/955)) ([48ff83d](https://github.com/googleapis/google-auth-library-java/commit/48ff83dc68e29dcae07fdea963cbbe5525f86a89)) ##### Documentation - **samples:** added auth samples and tests ([#&#8203;927](https://github.com/googleapis/google-auth-library-java/issues/927)) ([32c717f](https://github.com/googleapis/google-auth-library-java/commit/32c717fdf1a721f3e7ca3d75f03fcc229923689c)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC40In0=--> * deps: update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-2.0.0 (#403) [![Mend 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.apis:google-api-services-iam](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v2beta-rev20220713-1.32.1` -> `v2beta-rev20220713-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/compatibility-slim/v2beta-rev20220713-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/confidence-slim/v2beta-rev20220713-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTAuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1MC40In0=--> * deps: update dependency com.google.apis:google-api-services-iamcredentials to v1-rev20211203-2.0.0 (#404) [![Mend 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.apis:google-api-services-iamcredentials](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v1-rev20211203-1.32.1` -> `v1-rev20211203-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/compatibility-slim/v1-rev20211203-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/confidence-slim/v1-rev20211203-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTAuNCIsInVwZGF0ZWRJblZlciI6IjMyLjE1MC40In0=--> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220828-2.0.0 (#417) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220807-2.0.0` -> `v3-rev20220828-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/compatibility-slim/v3-rev20220807-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/confidence-slim/v3-rev20220807-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xODQuMiIsInVwZGF0ZWRJblZlciI6IjMyLjE4NC4yIn0=--> * chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#416) [![Mend 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://cloud.google.com/java/docs/bom) ([source](https://github.com/googleapis/java-cloud-bom)) | `26.1.0` -> `26.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/compatibility-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/confidence-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xODQuMiIsInVwZGF0ZWRJblZlciI6IjMyLjE4NC4yIn0=--> * deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 (#419) [![Mend 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.auth:google-auth-library-oauth2-http](https://github.com/googleapis/google-auth-library-java) | `1.10.0` -> `1.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/compatibility-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/confidence-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/google-auth-library-java</summary> ### [`v1.11.0`](https://github.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#&#8203;1110-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1100v1110-2022-09-08) [Compare Source](https://github.com/googleapis/google-auth-library-java/compare/v1.10.0...v1.11.0) ##### Features - Adds configurable token lifetime support ([#&#8203;982](https://github.com/googleapis/google-auth-library-java/issues/982)) ([0198733](https://github.com/googleapis/google-auth-library-java/commit/0198733b9d294cbee95f1170f814fbfe94baa6fc)) ##### Bug Fixes - Add retries to public key fetch ([#&#8203;983](https://github.com/googleapis/google-auth-library-java/issues/983)) ([1200a39](https://github.com/googleapis/google-auth-library-java/commit/1200a39361e2a1767ef95306ba3ece1b749e82a8)) - Add Test to validate 0x20 in token ([#&#8203;971](https://github.com/googleapis/google-auth-library-java/issues/971)) ([612db0a](https://github.com/googleapis/google-auth-library-java/commit/612db0af3afa70b5400891ba3c7eab18ea5eb6bf)) - Change revoke request from get to post ([#&#8203;979](https://github.com/googleapis/google-auth-library-java/issues/979)) ([ead58b2](https://github.com/googleapis/google-auth-library-java/commit/ead58b22e04c00ece9f0ea55cbec20d2953f5460)) - Setting the retry count to default value and enabling ioexceptions to retry ([#&#8203;988](https://github.com/googleapis/google-auth-library-java/issues/988)) ([257071a](https://github.com/googleapis/google-auth-library-java/commit/257071aeb39c4441bd152813d727f83d433f346f)) - Updates IdTokenVerifier so that it does not cache a failed public key response ([#&#8203;967](https://github.com/googleapis/google-auth-library-java/issues/967)) ([1f4c9c7](https://github.com/googleapis/google-auth-library-java/commit/1f4c9c77a38fb6dfb751447361af9cf00964f96b)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTQuMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5NC4yIn0=--> * chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#429) [![Mend 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://cloud.google.com/java/docs/bom) ([source](https://github.com/googleapis/java-cloud-bom)) | `26.1.1` -> `26.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/compatibility-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/confidence-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=--> * docs(samples): update package names to match v2 (#424) * update package names to match v2 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update pom.xml Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 (#435) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220828-2.0.0` -> `v3-rev20220911-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/compatibility-slim/v3-rev20220828-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/confidence-slim/v3-rev20220828-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=--> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 (#439) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220911-2.0.0` -> `v3-rev20220925-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/compatibility-slim/v3-rev20220911-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/confidence-slim/v3-rev20220911-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDguMSIsInVwZGF0ZWRJblZlciI6IjMyLjIwOC4xIn0=--> * deps: update dependency com.google.cloud:google-iam-policy to v1.6.1 (#434) [![Mend 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-iam-policy](https://github.com/googleapis/java-eventarc) ([source](https://github.com/googleapis/java-iam)) | `1.6.0` -> `1.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-iam</summary> ### [`v1.6.1`](https://github.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#&#8203;161-httpsgithubcomgoogleapisjava-iamcomparev160v161-2022-09-21) [Compare Source](https://github.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) ##### Dependencies - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#&#8203;425](https://github.com/googleapis/java-iam/issues/425)) ([61cbdf4](https://github.com/googleapis/java-iam/commit/61cbdf4c4ad3c559670cc39c864dfd03f8303667)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=--> * deps: update dependency com.google.cloud:google-iam-policy to v1.6.2 (#467) [![Mend 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-iam-policy](https://github.com/googleapis/java-eventarc) ([source](https://github.com/googleapis/java-iam)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-iam</summary> ### [`v1.6.2`](https://github.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#&#8203;162-httpsgithubcomgoogleapisjava-iamcomparev161v162-2022-10-02) [Compare Source](https://github.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) ##### Documentation - **samples:** Update package names to match v2 ([#&#8203;424](https://github.com/googleapis/java-iam/issues/424)) ([7fda749](https://github.com/googleapis/java-iam/commit/7fda74962365073996bf1f0a6229bbf8984d1d09)) ##### Dependencies - Update dependency cachetools to v5 ([#&#8203;459](https://github.com/googleapis/java-iam/issues/459)) ([3984974](https://github.com/googleapis/java-iam/commit/3984974630ccd0921f12d276dbc22eb6798e74a9)) - Update dependency certifi to v2022.9.24 ([#&#8203;440](https://github.com/googleapis/java-iam/issues/440)) ([e0ebd9e](https://github.com/googleapis/java-iam/commit/e0ebd9e20a25e6edf7b913dea0943909ec28effb)) - Update dependency charset-normalizer to v2.1.1 ([#&#8203;444](https://github.com/googleapis/java-iam/issues/444)) ([4bac18b](https://github.com/googleapis/java-iam/commit/4bac18bd92702502730b878f10dcb12b39dfa1cf)) - Update dependency click to v8.1.3 ([#&#8203;445](https://github.com/googleapis/java-iam/issues/445)) ([e21bea2](https://github.com/googleapis/java-iam/commit/e21bea21af318e34220a649e9ec4bd9214f11feb)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#&#8203;435](https://github.com/googleapis/java-iam/issues/435)) ([63a136b](https://github.com/googleapis/java-iam/commit/63a136b56dff577ac1e630293c80bd10539c1930)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#&#8203;439](https://github.com/googleapis/java-iam/issues/439)) ([85b1d0f](https://github.com/googleapis/java-iam/commit/85b1d0f68950095c3ffd1ecda7eedc82ac5a92b1)) - Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#&#8203;434](https://github.com/googleapis/java-iam/issues/434)) ([b468d86](https://github.com/googleapis/java-iam/commit/b468d86fdeb55b3f463a5c03c61f37f467bfeef6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#&#8203;463](https://github.com/googleapis/java-iam/issues/463)) ([a58810f](https://github.com/googleapis/java-iam/commit/a58810f3f6fc641b74cb92d358f71f9461ad9664)) - Update dependency gcp-releasetool to v1.8.8 ([#&#8203;441](https://github.com/googleapis/java-iam/issues/441)) ([89469a8](https://github.com/googleapis/java-iam/commit/89469a845e62479ab0f34a219486020d398aaf70)) - Update dependency google-api-core to v2.10.1 ([#&#8203;446](https://github.com/googleapis/java-iam/issues/446)) ([69dbd0d](https://github.com/googleapis/java-iam/commit/69dbd0d656656943851a9f5b159b4de0f7665a5d)) - Update dependency google-auth to v2.12.0 ([#&#8203;447](https://github.com/googleapis/java-iam/issues/447)) ([10fed85](https://github.com/googleapis/java-iam/commit/10fed85610182533b695fe741fe8e158e7b3799a)) - Update dependency google-cloud-core to v2.3.2 ([#&#8203;442](https://github.com/googleapis/java-iam/issues/442)) ([709e0b4](https://github.com/googleapis/java-iam/commit/709e0b407610ee5fec6bb38b695504c245f5d003)) - Update dependency google-cloud-storage to v2.5.0 ([#&#8203;448](https://github.com/googleapis/java-iam/issues/448)) ([4ef1f8e](https://github.com/googleapis/java-iam/commit/4ef1f8e6f5317ba339b94613a120d540acd90f57)) - Update dependency google-crc32c to v1.5.0 ([#&#8203;449](https://github.com/googleapis/java-iam/issues/449)) ([e54b847](https://github.com/googleapis/java-iam/commit/e54b8479589cb2350356c78c2f2a44a841e8f904)) - Update dependency googleapis-common-protos to v1.56.4 ([#&#8203;443](https://github.com/googleapis/java-iam/issues/443)) ([d060a5b](https://github.com/googleapis/java-iam/commit/d060a5b90ba189f1118b4ad899c7a0e9ad39bf44)) - Update dependency importlib-metadata to v4.12.0 ([#&#8203;450](https://github.com/googleapis/java-iam/issues/450)) ([248b90a](https://github.com/googleapis/java-iam/commit/248b90a6f715d881856a50e55df45b19a695ff32)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#&#8203;464](https://github.com/googleapis/java-iam/issues/464)) ([406e890](https://github.com/googleapis/java-iam/commit/406e89048c62e264dcf93ef5c940734e7367a00f)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#&#8203;465](https://github.com/googleapis/java-iam/issues/465)) ([8735303](https://github.com/googleapis/java-iam/commit/8735303fc9eb7b1198ce2a2019e33ad5f63ec1cf)) - Update dependency jeepney to v0.8.0 ([#&#8203;451](https://github.com/googleapis/java-iam/issues/451)) ([0721ab8](https://github.com/googleapis/java-iam/commit/0721ab835c3a0588632916e70b2d92ff51824de6)) - Update dependency jinja2 to v3.1.2 ([#&#8203;452](https://github.com/googleapis/java-iam/issues/452)) ([514f80c](https://github.com/googleapis/java-iam/commit/514f80c8f051a8bb2f2fbf19d0e130c12b70ee9a)) - Update dependency markupsafe to v2.1.1 ([#&#8203;454](https://github.com/googleapis/java-iam/issues/454)) ([d6123a7](https://github.com/googleapis/java-iam/commit/d6123a709b01e1c40ce8423ebd70ed5a6c4ae4a0)) - Update dependency protobuf to v3.20.2 ([#&#8203;455](https://github.com/googleapis/java-iam/issues/455)) ([c9a631a](https://github.com/googleapis/java-iam/commit/c9a631ac0ba852fee31ddd458bb40bd78a081b75)) - Update dependency protobuf to v4 ([#&#8203;460](https://github.com/googleapis/java-iam/issues/460)) ([7738293](https://github.com/googleapis/java-iam/commit/773829323697e3c5785eb9b7bf7000fd296921b7)) - Update dependency pyjwt to v2.5.0 ([#&#8203;461](https://github.com/googleapis/java-iam/issues/461)) ([5f1659f](https://github.com/googleapis/java-iam/commit/5f1659f2cb1a20d9a034e1f6214ec793d2ef908c)) - Update dependency requests to v2.28.1 ([#&#8203;456](https://github.com/googleapis/java-iam/issues/456)) ([c390fee](https://github.com/googleapis/java-iam/commit/c390fee02a5545c567d45cc4375a5eb549d9765f)) - Update dependency typing-extensions to v4.3.0 ([#&#8203;457](https://github.com/googleapis/java-iam/issues/457)) ([913effd](https://github.com/googleapis/java-iam/commit/913effd62b170e96ebd74456b02692f462cedc40)) - Update dependency zipp to v3.8.1 ([#&#8203;458](https://github.com/googleapis/java-iam/issues/458)) ([5afe18a](https://github.com/googleapis/java-iam/commit/5afe18a7c6c0ef89b603455cea5569be71b27173)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIxMy4wIn0=--> * chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#470) [![Mend 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://cloud.google.com/java/docs/bom) ([source](https://github.com/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/compatibility-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/confidence-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxOS4xIn0=--> * deps: update dependency com.google.cloud:google-iam-policy to v1.6.3 (#472) [![Mend 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-iam-policy](https://github.com/googleapis/java-eventarc) ([source](https://github.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-iam</summary> ### [`v1.6.3`](https://github.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#&#8203;163-httpsgithubcomgoogleapisjava-iamcomparev162v163-2022-10-07) [Compare Source](https://github.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#&#8203;468](https://github.com/googleapis/java-iam/issues/468)) ([f6be604](https://github.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) - Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#&#8203;467](https://github.com/googleapis/java-iam/issues/467)) ([0af193b](https://github.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMjIuMyIsInVwZGF0ZWRJblZlciI6IjMyLjIyMi4zIn0=--> * deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 (#479) [![Mend 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.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220925-2.0.0` -> `v3-rev20221016-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/compatibility-slim/v3-rev20220925-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/confidence-slim/v3-rev20220925-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzguNCIsInVwZGF0ZWRJblZlciI6IjMyLjIzOC40In0=--> * deps: update dependency com.google.cloud:google-iam-policy to v1.6.4 (#475) [![Mend 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-iam-policy](https://github.com/googleapis/java-eventarc) ([source](https://github.com/googleapis/java-iam)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-iam</summary> ### [`v1.6.4`](https:…
1 parent 6a8be9e commit f0198a5

File tree

8 files changed

+784
-1
lines changed

8 files changed

+784
-1
lines changed

.kokoro/tests/run_tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then
7575
"java-dlp-samples-secrets.txt" \
7676
"java-functions-samples-secrets.txt" \
7777
"java-firestore-samples-secrets.txt" \
78+
"java-cts-v4-samples-secrets.txt" \
79+
"java-cloud-sql-samples-secrets.txt" \
80+
"java-iam-samples-secrets.txt" \
7881
"java-scc-samples-secrets.txt")
7982

8083
# create secret dir
@@ -96,7 +99,7 @@ if [[ "$SCRIPT_DEBUG" != "true" ]]; then
9699
export AZURE_STORAGE_ACCOUNT=`S="$STS_AZURE_SECRET" python3 -c 'import json,sys,os;obj=json.loads(os.getenv("S"));print (obj["StorageAccount"]);'`
97100
export AZURE_CONNECTION_STRING=`S="$STS_AZURE_SECRET" python3 -c 'import json,sys,os;obj=json.loads(os.getenv("S"));print (obj["ConnectionString"]);'`
98101
export AZURE_SAS_TOKEN=`S="$STS_AZURE_SECRET" python3 -c 'import json,sys,os;obj=json.loads(os.getenv("S"));print (obj["SAS"]);'`
99-
102+
100103
# Activate service account
101104
gcloud auth activate-service-account \
102105
--key-file="$GOOGLE_APPLICATION_CREDENTIALS" \

iam/snippets/pom.xml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Copyright 2022 Google LLC
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18+
xmlns="http://maven.apache.org/POM/4.0.0"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20+
<artifactId>iam-deny-samples</artifactId>
21+
<modelVersion>4.0.0</modelVersion>
22+
<version>1.0-SNAPSHOT</version>
23+
24+
<dependencies>
25+
26+
<dependency>
27+
<groupId>com.google.apis</groupId>
28+
<artifactId>google-api-services-cloudresourcemanager</artifactId>
29+
<version>v3-rev20221016-2.0.0</version>
30+
</dependency>
31+
<dependency>
32+
<groupId>com.google.auth</groupId>
33+
<artifactId>google-auth-library-oauth2-http</artifactId>
34+
<version>1.12.1</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>com.google.http-client</groupId>
38+
<artifactId>google-http-client-jackson2</artifactId>
39+
<version>1.42.3</version>
40+
</dependency>
41+
<dependency>
42+
<groupId>com.google.cloud</groupId>
43+
<artifactId>google-iam-policy</artifactId>
44+
<version>1.6.8</version>
45+
<scope>compile</scope>
46+
</dependency>
47+
<dependency>
48+
<groupId>com.google.apis</groupId>
49+
<artifactId>google-api-services-iamcredentials</artifactId>
50+
<version>v1-rev20211203-2.0.0</version>
51+
</dependency>
52+
53+
<!-- Test dependencies -->
54+
<dependency>
55+
<artifactId>truth</artifactId>
56+
<groupId>com.google.truth</groupId>
57+
<scope>test</scope>
58+
<version>1.1.3</version>
59+
</dependency>
60+
<dependency>
61+
<artifactId>junit</artifactId>
62+
<groupId>junit</groupId>
63+
<scope>test</scope>
64+
<version>4.13.2</version>
65+
</dependency>
66+
67+
</dependencies>
68+
69+
<dependencyManagement>
70+
<dependencies>
71+
<dependency>
72+
<artifactId>libraries-bom</artifactId>
73+
<groupId>com.google.cloud</groupId>
74+
<scope>import</scope>
75+
<type>pom</type>
76+
<version>26.1.4</version>
77+
</dependency>
78+
</dependencies>
79+
</dependencyManagement>
80+
81+
<!--
82+
The parent pom defines common style checks and testing strategies for our samples.
83+
Removing or replacing it should not affect the execution of the samples in anyway.
84+
-->
85+
<parent>
86+
<artifactId>shared-configuration</artifactId>
87+
<groupId>com.google.cloud.samples</groupId>
88+
<version>1.2.0</version>
89+
</parent>
90+
91+
<properties>
92+
<maven.compiler.source>11</maven.compiler.source>
93+
<maven.compiler.target>11</maven.compiler.target>
94+
</properties>
95+
96+
<groupId>gce-diregapic</groupId>
97+
98+
</project>
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
/*
2+
* Copyright 2022 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+
// [START iam_create_deny_policy]
18+
19+
import com.google.iam.v2.CreatePolicyRequest;
20+
import com.google.iam.v2.DenyRule;
21+
import com.google.iam.v2.PoliciesClient;
22+
import com.google.iam.v2.Policy;
23+
import com.google.iam.v2.PolicyRule;
24+
import com.google.longrunning.Operation;
25+
import com.google.type.Expr;
26+
import java.io.IOException;
27+
import java.net.URLEncoder;
28+
import java.nio.charset.StandardCharsets;
29+
import java.util.concurrent.ExecutionException;
30+
import java.util.concurrent.TimeUnit;
31+
import java.util.concurrent.TimeoutException;
32+
33+
public class CreateDenyPolicy {
34+
35+
public static void main(String[] args)
36+
throws IOException, ExecutionException, InterruptedException, TimeoutException {
37+
// TODO(developer): Replace these variables before running the sample.
38+
// ID or number of the Google Cloud project you want to use.
39+
String projectId = "your-google-cloud-project-id";
40+
41+
// Specify the id of the Deny policy you want to create.
42+
String policyId = "deny-policy-id";
43+
44+
createDenyPolicy(projectId, policyId);
45+
}
46+
47+
// Create a deny policy.
48+
// You can add deny policies to organizations, folders, and projects.
49+
// Each of these resources can have up to 5 deny policies.
50+
//
51+
// Deny policies contain deny rules, which specify the following:
52+
// 1. The permissions to deny and/or exempt.
53+
// 2. The principals that are denied, or exempted from denial.
54+
// 3. An optional condition on when to enforce the deny rules.
55+
public static void createDenyPolicy(String projectId, String policyId)
56+
throws IOException, ExecutionException, InterruptedException, TimeoutException {
57+
58+
try (PoliciesClient policiesClient = PoliciesClient.create()) {
59+
// Each deny policy is attached to an organization, folder, or project.
60+
// To work with deny policies, specify the attachment point.
61+
//
62+
// Its format can be one of the following:
63+
// 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID
64+
// 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID
65+
// 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID
66+
//
67+
// The attachment point is identified by its URL-encoded resource name.
68+
String urlEncodedResource =
69+
URLEncoder.encode(
70+
"cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8);
71+
String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId);
72+
73+
// Construct the full path of the resource to which the policy is attached.
74+
// Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}"
75+
String policyParent = String.format("policies/%s/denypolicies", attachmentPoint);
76+
77+
DenyRule denyRule =
78+
DenyRule.newBuilder()
79+
// Add one or more principals who should be denied the permissions specified in this
80+
// rule.
81+
// For more information on allowed values, see:
82+
// https://cloud.google.com/iam/docs/principal-identifiers
83+
.addDeniedPrincipals("principalSet://goog/public:all")
84+
85+
// Optionally, set the principals who should be exempted from the
86+
// list of denied principals. For example, if you want to deny certain permissions
87+
// to a group but exempt a few principals, then add those here.
88+
// .addExceptionPrincipals(
89+
// "principalSet://goog/group/[email protected]")
90+
91+
// Set the permissions to deny.
92+
// The permission value is of the format: service_fqdn/resource.action
93+
// For the list of supported permissions, see:
94+
// https://cloud.google.com/iam/help/deny/supported-permissions
95+
.addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete")
96+
97+
// Optionally, add the permissions to be exempted from this rule.
98+
// Meaning, the deny rule will not be applicable to these permissions.
99+
// .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.create")
100+
101+
// Set the condition which will enforce the deny rule. If this condition is true,
102+
// the deny rule will be applicable. Else, the rule will not be enforced.
103+
.setDenialCondition(
104+
Expr.newBuilder()
105+
// The expression uses Common Expression Language syntax (CEL).
106+
// Here we block access based on tags.
107+
//
108+
// A tag is a key-value pair that can be attached to an organization, folder,
109+
// or project. You can use deny policies to deny permissions based on tags
110+
// without adding an IAM Condition to every role grant.
111+
// For example, imagine that you tag all of your projects as dev, test, or
112+
// prod. You want only members of [email protected] to be able to
113+
// perform operations on projects that are tagged prod.
114+
// To solve this problem, you create a deny rule that denies the
115+
// cloudresourcemanager.googleapis.com/projects.delete permission to everyone
116+
// except [email protected] for resources that are tagged test.
117+
.setExpression("!resource.matchTag('12345678/env', 'test')")
118+
.setTitle("Only for test projects")
119+
.build())
120+
.build();
121+
122+
// Add the deny rule and a description for it.
123+
Policy policy =
124+
Policy.newBuilder()
125+
// Set the deny rule.
126+
.addRules(
127+
PolicyRule.newBuilder()
128+
// Set a description for the rule.
129+
.setDescription(
130+
"block all principals from deleting projects, unless the principal"
131+
+ " is a member of [email protected] and the project"
132+
+ " being deleted has a tag with the value test")
133+
.setDenyRule(denyRule)
134+
.build())
135+
.build();
136+
137+
// Set the policy resource path, policy rules and a unique ID for the policy.
138+
CreatePolicyRequest createPolicyRequest =
139+
CreatePolicyRequest.newBuilder()
140+
.setParent(policyParent)
141+
.setPolicy(policy)
142+
.setPolicyId(policyId)
143+
.build();
144+
145+
// Build the create policy request.
146+
Operation operation =
147+
policiesClient
148+
.createPolicyCallable()
149+
.futureCall(createPolicyRequest)
150+
.get(3, TimeUnit.MINUTES);
151+
152+
// Wait for the operation to complete.
153+
if (operation.hasError()) {
154+
System.out.println("Error in creating the policy " + operation.getError());
155+
return;
156+
}
157+
158+
// Retrieve the policy name.
159+
Policy response = policiesClient.getPolicy(String.format("%s/%s", policyParent, policyId));
160+
String policyName = response.getName();
161+
System.out.println(
162+
"Created the deny policy: " + policyName.substring(policyName.lastIndexOf("/") + 1));
163+
}
164+
}
165+
}
166+
// [END iam_create_deny_policy]
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
/*
2+
* Copyright 2022 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+
// [START iam_delete_deny_policy]
18+
19+
import com.google.iam.v2.DeletePolicyRequest;
20+
import com.google.iam.v2.PoliciesClient;
21+
import com.google.longrunning.Operation;
22+
import java.io.IOException;
23+
import java.net.URLEncoder;
24+
import java.nio.charset.StandardCharsets;
25+
import java.util.concurrent.ExecutionException;
26+
import java.util.concurrent.TimeUnit;
27+
import java.util.concurrent.TimeoutException;
28+
29+
public class DeleteDenyPolicy {
30+
31+
public static void main(String[] args)
32+
throws IOException, InterruptedException, ExecutionException, TimeoutException {
33+
// TODO(developer): Replace these variables before running the sample.
34+
35+
// ID or number of the Google Cloud project you want to use.
36+
String projectId = "your-google-cloud-project-id";
37+
38+
// Specify the ID of the deny policy you want to retrieve.
39+
String policyId = "deny-policy-id";
40+
41+
deleteDenyPolicy(projectId, policyId);
42+
}
43+
44+
// Delete the policy if you no longer want to enforce the rules in a deny policy.
45+
public static void deleteDenyPolicy(String projectId, String policyId)
46+
throws IOException, InterruptedException, ExecutionException, TimeoutException {
47+
try (PoliciesClient policiesClient = PoliciesClient.create()) {
48+
49+
// Each deny policy is attached to an organization, folder, or project.
50+
// To work with deny policies, specify the attachment point.
51+
//
52+
// Its format can be one of the following:
53+
// 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID
54+
// 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID
55+
// 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID
56+
//
57+
// The attachment point is identified by its URL-encoded resource name.
58+
String urlEncodedResource =
59+
URLEncoder.encode(
60+
"cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8);
61+
String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId);
62+
63+
// Construct the full path of the resource to which the policy is attached.
64+
// Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}"
65+
String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId);
66+
67+
// Create the DeletePolicy request.
68+
DeletePolicyRequest deletePolicyRequest =
69+
DeletePolicyRequest.newBuilder().setName(policyParent).build();
70+
71+
// Delete the policy and wait for the operation to complete.
72+
Operation operation =
73+
policiesClient
74+
.deletePolicyCallable()
75+
.futureCall(deletePolicyRequest)
76+
.get(3, TimeUnit.MINUTES);
77+
78+
if (operation.hasError()) {
79+
System.out.println("Error in deleting the policy " + operation.getError());
80+
return;
81+
}
82+
83+
System.out.println("Deleted the deny policy: " + policyId);
84+
}
85+
}
86+
}
87+
// [END iam_delete_deny_policy]

0 commit comments

Comments
 (0)