GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add support of public access prevention by athakor · Pull Request #636 · googleapis/java-storage

This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Conversation

@athakor

@athakor athakor commented Nov 26, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #616

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@athakor
feat: add support of public access prevention
57425e3
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/java-storage API. label Nov 26, 2020
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 26, 2020
@athakor
athakor requested review from JesseLovelace and frankyn November 26, 2020 12:11
@codecov

codecov Bot commented Nov 26, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #636 (37e19e3) into master (1dfcc02) will increase coverage by 0.11%.
The diff coverage is 88.00%.

❗ Current head 37e19e3 differs from pull request most recent head ec75bb2. Consider uploading reports for the commit ec75bb2 to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##             master     #636      +/-   ##
============================================
+ Coverage     64.62%   64.73%   +0.11%     
  Complexity      634      634              
============================================
  Files            32       32              
  Lines          5314     5337      +23     
  Branches        519      522       +3     
============================================
+ Hits           3434     3455      +21     
- Misses         1718     1719       +1     
- Partials        162      163       +1     
Impacted Files Coverage Δ
...main/java/com/google/cloud/storage/BucketInfo.java 84.24% <88.00%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fad4a31...ec75bb2. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@athakor

athakor commented Nov 26, 2020

Copy link
Copy Markdown
Contributor Author

@shaffeeullah @tritone

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@athakor athakor added kokoro:force-run Add this label to force Kokoro to re-run the tests. kokoro:run Add this label to force Kokoro to re-run the tests. labels Nov 27, 2020
@yoshi-kokoro yoshi-kokoro removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Nov 27, 2020
frankyn
frankyn suggested changes Nov 30, 2020
View reviewed changes
Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-storage/src/test/java/com/google/cloud/storage/BucketInfoTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

athakor added 2 commits December 3, 2020 12:05
@athakor
feat: add integration test and fix review changes
29b8e13
@athakor
fix: build
6292407
@elharo

elharo commented Dec 4, 2020

Copy link
Copy Markdown
Contributor
Dec 03, 2020 7:29:41 AM com.google.cloud.tools.dependencies.linkagemonitor.LinkageMonitor run
SEVERE: Newly introduced problems:
(com.google.apis:google-api-services-storage:v1-rev20200927-1.30.10) com.google.api.services.storage.model.Bucket$IamConfiguration's method setPublicAccessPrevention(String) is not found
  referenced from com.google.cloud.storage.BucketInfo (com.google.cloud:google-cloud-storage:1.113.5-SNAPSHOT)
(com.google.apis:google-api-services-storage:v1-rev20200927-1.30.10) com.google.api.services.storage.model.Bucket$IamConfiguration's method getPublicAccessPrevention() is not found
  referenced from com.google.cloud.storage.BucketInfo (com.google.cloud:google-cloud-storage:1.113.5-SNAPSHOT)

com.google.apis:google-api-services-storage:v1-rev20200927-1.30.10 is at:
  com.google.cloud:google-cloud-nio:0.122.1 (compile) / com.google.apis:google-api-services-storage:v1-rev20200927-1.30.10 (compile)
  and 2 other dependency paths.
com.google.cloud:google-cloud-storage:1.113.5-SNAPSHOT is at:
  com.google.cloud:google-cloud-storage:1.113.5-SNAPSHOT (compile)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn

frankyn commented Dec 4, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

For the linker issues, we need to cut a new release of storage with the updated Apiary client (#613) and a new release of libraries-bom as well.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tritone
tritone marked this pull request as ready for review December 11, 2020 00:45
@tritone
tritone requested a review from a team December 11, 2020 00:45
@tritone

tritone commented Dec 11, 2020

Copy link
Copy Markdown
Contributor

For the linker issues, we need to cut a new release of storage with the updated Apiary client (#613) and a new release of libraries-bom as well.

Looks like this has been completed. @athakor can you merge in master?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@athakor
Merge remote-tracking branch 'upstream/master' into storage-616
0aedfef
@athakor athakor added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 11, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 11, 2020
@athakor

athakor commented Dec 11, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

For the linker issues, we need to cut a new release of storage with the updated Apiary client (#613) and a new release of libraries-bom as well.

Looks like this has been completed. @athakor can you merge in master?

done.. Still linker issue

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn
frankyn self-requested a review December 11, 2020 16:54
frankyn
frankyn previously requested changes Dec 14, 2020
View reviewed changes
Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@frankyn frankyn mentioned this pull request Dec 14, 2020
feat(storage): public access prevention googleapis/google-cloud-java#7423
Merged
@athakor
feat: address review changes
6c06659
@athakor
athakor requested review from frankyn and tritone December 21, 2020 13:35
@athakor
athakor requested a review from a team December 31, 2020 08:27
Frank Natividad
address issue in test set up
c8df138
@frankyn
frankyn dismissed their stale review March 10, 2021 00:47

I'm now running point as co-author

@frankyn
frankyn removed their request for review March 10, 2021 00:48
frankyn
frankyn reviewed Mar 10, 2021
View reviewed changes

@frankyn frankyn left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BenWhitehead can you take a look when you have a moment?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
BenWhitehead
BenWhitehead suggested changes Mar 11, 2021
View reviewed changes

@BenWhitehead BenWhitehead left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple new nits, and the outstanding valueOf call

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

frankyn and others added 2 commits March 11, 2021 22:07
@frankyn @BenWhitehead
Apply suggestions from code review
125da9f
Co-authored-by: BenWhitehead <[email protected]>
Frank Natividad
fail valueOf gracefully
2da9fa4
@frankyn
frankyn requested a review from BenWhitehead March 22, 2021 16:44
BenWhitehead
BenWhitehead approved these changes Mar 22, 2021
View reviewed changes
@BenWhitehead
fix: add UNKNOWN enum value to PublicAccessPrevention
a042d43
@BenWhitehead BenWhitehead added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 6, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 6, 2021
tritone
tritone reviewed May 7, 2021
View reviewed changes

@tritone tritone left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for fixing this up Ben!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@BenWhitehead
fix: add comment to unknown
21b7659
tritone
tritone approved these changes May 7, 2021
View reviewed changes

@tritone tritone left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is a lint failure; otherwise LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@BenWhitehead
fix: add test to ensure publicAccessPrevention is absent from seriali…
37e19e3
…zed value when set to UNKNOWN
@shaffeeullah

shaffeeullah commented Jun 8, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

@BenWhitehead & @frankyn ,

We would like to merge and release this feature next Monday (06/14/21). Does that work for you? Do one of you have bandwidth this week to resolve the conflicts? Sorry, I know this PR has been open for a while.

frankyn reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Frank Natividad
Merge branch 'master' into storage-616
ec75bb2
@snippet-bot

snippet-bot Bot commented Jun 10, 2021

Copy link
Copy Markdown

No region tags are edited in this PR.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn frankyn added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 10, 2021
@shaffeeullah

shaffeeullah commented Jun 11, 2021

Copy link
Copy Markdown

Public access prevention rollout has been delayed due to a bug surfaced during Googler preview. I will keep this PR updated as I learn new release timeline details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn frankyn added the status: blocked Resolving the issue is dependent on other work. label Jun 11, 2021
@BenWhitehead BenWhitehead added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jun 14, 2021
@shaffeeullah

shaffeeullah commented Jun 28, 2021

Copy link
Copy Markdown

@BenWhitehead This feature can now be merged and released.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BenWhitehead BenWhitehead removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. status: blocked Resolving the issue is dependent on other work. labels Jun 28, 2021
@BenWhitehead
BenWhitehead merged commit 3d1e482 into googleapis:master Jun 28, 2021
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jun 28, 2021
@release-please
chore: release 1.117.0 (#880)
aadd049
🤖 I have created a release \*beep\* \*boop\*
---
## [1.117.0](https://www.github.com/googleapis/java-storage/compare/v1.116.0...v1.117.0) (2021-06-28)


### Features

* Add from and to storage url options for BlobId ([#888](https://www.github.com/googleapis/java-storage/issues/888)) ([1876a58](https://www.github.com/googleapis/java-storage/commit/1876a580f904d095ca6621c1e2f38c3a6e253276))
* add support of public access prevention ([#636](https://www.github.com/googleapis/java-storage/issues/636)) ([3d1e482](https://www.github.com/googleapis/java-storage/commit/3d1e48208c44c35c8e3761913bcd05c438e81069))


### Bug Fixes

* Add `shopt -s nullglob` to dependencies script ([#894](https://www.github.com/googleapis/java-storage/issues/894)) ([901fd33](https://www.github.com/googleapis/java-storage/commit/901fd335c8d2f2e49844dee2adfa318a98ed99ba))
* Update dependencies.sh to not break on mac ([#879](https://www.github.com/googleapis/java-storage/issues/879)) ([bc6d1d9](https://www.github.com/googleapis/java-storage/commit/bc6d1d9e211fbbb1accd1019c8eed4bc55ca421c))


### Documentation

* add notice about broken OLM experience ([#898](https://www.github.com/googleapis/java-storage/issues/898)) ([73e7cdf](https://www.github.com/googleapis/java-storage/commit/73e7cdf162be76a8438160f4c7f2070fb6fb5ea6))


### Dependencies

* update dependency com.google.apis:google-api-services-storage to v1-rev20210127-1.31.5 ([#889](https://www.github.com/googleapis/java-storage/issues/889)) ([99138a4](https://www.github.com/googleapis/java-storage/commit/99138a4cd3523cc634e3c5283a775a1c245b6201))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please release-please Bot mentioned this pull request Aug 10, 2022
chore(main): release 2.11.4 #1564
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@JesseLovelace JesseLovelace Awaiting requested review from JesseLovelace
@shaffeeullah shaffeeullah Awaiting requested review from shaffeeullah
3 more reviewers
@BenWhitehead BenWhitehead BenWhitehead approved these changes
@frankyn frankyn frankyn left review comments
@tritone tritone tritone approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@frankyn frankyn

Labels

api: storage Issues related to the googleapis/java-storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add support for PublicAccessPrevention

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@athakor @elharo @frankyn @tritone @shaffeeullah @BenWhitehead @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.