Skip to content

storage(feat): support bucket ip filter#34612

Open
shubhangi-google wants to merge 11 commits into
googleapis:mainfrom
shubhangi-google:set_bucket_ip_filter_1
Open

storage(feat): support bucket ip filter#34612
shubhangi-google wants to merge 11 commits into
googleapis:mainfrom
shubhangi-google:set_bucket_ip_filter_1

Conversation

@shubhangi-google

Copy link
Copy Markdown
Contributor

This pull request introduces the capability to configure IP filters for Google Cloud Storage buckets directly through the Ruby client library. It extends existing bucket management functionalities to allow specifying IP filter settings during bucket creation and provides methods to update these settings on existing buckets. The changes also include new sample code to demonstrate the usage of this feature, although some debugging code is still present, suggesting it is a work-in-progress.

Highlights

  • IP Filter Support: Introduces functionality to manage IP filters for Google Cloud Storage buckets, allowing for network access control.
  • Bucket Class Extension: Adds ip_filter getter and setter methods to the Google::Cloud::Storage::Bucket class, enabling programmatic access and modification of IP filter settings.
  • Bucket Creation with IP Filter: Extends the create_bucket method in Google::Cloud::Storage::Project to accept an ip_filter parameter, allowing IP filter configuration during bucket creation.
  • New Sample Code: Adds new sample methods to demonstrate how to use the new IP filter features.

@shubhangi-google shubhangi-google marked this pull request as ready for review June 18, 2026 11:18
@shubhangi-google shubhangi-google requested review from a team and yoshi-approver as code owners June 18, 2026 11:18
@snippet-bot

snippet-bot Bot commented Jun 18, 2026

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 6 region tags.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant