GeezerVison is showing github.com — feat(storage): support optionsRequestedPolicyVersion by jkwlui · Pull Request #9989 · googleapis/google-cloud-python
Conversation
jkwlui
commented
Dec 17, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
jkwlui
changed the title
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-cloud-python/issues) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary)
feat(storage): support optionsRequestedPolicyVersion
Dec 17, 2019
Uh oh!
There was an error while loading. Please reload this page.
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.
Overall LGTM, I have one nit question.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maintain compatibility with defaultdict
remove in place
raise KeyError on delete
update deprecation for dict-key access and factory methods
clean up
maintain compatibility - removing duplicate in __setitems__
check for conditions for dict access
remove empty binding
fix test accessing private var _bindings
fix(tests): change version to make existing tests pass
tests: add tests for getitem, delitem, setitem on v3 and conditions
test policy.bindings property
fixlint
black
sort bindings by role when converting to api repr
add deprecation warning for iam factory methods
update deprecation message for role methods
make Policy#bindings.members a set
update policy docs
fix docs
make docs better
fix: Bigtable policy class to use Policy.bindings
add from_pb with conditions test
add to_pb condition test
blacken
fix policy __delitem__
add docs on dict access
do not modify binding in to_apr_repr
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
@crwilcox fixed the builds. Would you mind taking a look again?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jan 29, 2020
parthea
pushed a commit
that referenced
this pull request
Nov 24, 2025
* iam proposal #3
maintain compatibility with defaultdict
remove in place
raise KeyError on delete
update deprecation for dict-key access and factory methods
clean up
maintain compatibility - removing duplicate in __setitems__
check for conditions for dict access
remove empty binding
fix test accessing private var _bindings
fix(tests): change version to make existing tests pass
tests: add tests for getitem, delitem, setitem on v3 and conditions
test policy.bindings property
fixlint
black
sort bindings by role when converting to api repr
add deprecation warning for iam factory methods
update deprecation message for role methods
make Policy#bindings.members a set
update policy docs
fix docs
make docs better
fix: Bigtable policy class to use Policy.bindings
add from_pb with conditions test
add to_pb condition test
blacken
fix policy __delitem__
add docs on dict access
do not modify binding in to_apr_repr
* feat(storage): support requested_policy_version for get_iam_policy
* add system-test
* add ref doc sample to get_iam_policy
* add requested_policy_version to blob
* fix tests
* nit: typo
* blacken
* fix docs build
* format docs
* remove unused variables
parthea
pushed a commit
that referenced
this pull request
Mar 9, 2026
* iam proposal #3
maintain compatibility with defaultdict
remove in place
raise KeyError on delete
update deprecation for dict-key access and factory methods
clean up
maintain compatibility - removing duplicate in __setitems__
check for conditions for dict access
remove empty binding
fix test accessing private var _bindings
fix(tests): change version to make existing tests pass
tests: add tests for getitem, delitem, setitem on v3 and conditions
test policy.bindings property
fixlint
black
sort bindings by role when converting to api repr
add deprecation warning for iam factory methods
update deprecation message for role methods
make Policy#bindings.members a set
update policy docs
fix docs
make docs better
fix: Bigtable policy class to use Policy.bindings
add from_pb with conditions test
add to_pb condition test
blacken
fix policy __delitem__
add docs on dict access
do not modify binding in to_apr_repr
* feat(storage): support requested_policy_version for get_iam_policy
* add system-test
* add ref doc sample to get_iam_policy
* add requested_policy_version to blob
* fix tests
* nit: typo
* blacken
* fix docs build
* format docs
* remove unused variables
Reviewers
frankyn
Awaiting requested review from frankyn
1 more reviewer
crwilcox
crwilcox approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
do not merge
Indicates a pull request not ready for merge, due to either quality or timing.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|