feat(storage): add bucket IP filtering samples and tests - #14594
feat(storage): add bucket IP filtering samples and tests#14594nidhiii-27 wants to merge 2 commits into
Conversation
Add Python code samples and tests demonstrating Cloud Storage Bucket IP filtering. Fixes: b/544985518 [Generated-by: AI]
There was a problem hiding this comment.
Code Review
This pull request introduces Python code snippets and tests demonstrating Google Cloud Storage bucket IP filtering features, including creating, enabling, disabling, retrieving, listing, and deleting IP filtering rules. The review feedback highlights several potential bugs and improvement opportunities: handling potential IndexError exceptions when executing the scripts from the command line without arguments, defensively checking for None values to avoid TypeError exceptions on list operations, and refactoring direct self-assignments to prevent linter warnings or accidental code removal that would break the SDK's change registration.
Address review feedback regarding self-assignment, defensive None checks, and CLI arg handling. [Generated-by: AI]
|
Here is the summary of changes. You are about to add 6 region tags.
This comment is generated by snippet-bot.
|
Add Python code samples and tests demonstrating Cloud Storage Bucket IP filtering.
Fixes: b/544985518
[Generated-by: AI]