Skip to content

storage(feat): support bucket ip filter#34612

Draft
shubhangi-google wants to merge 9 commits into
googleapis:mainfrom
shubhangi-google:set_bucket_ip_filter_1
Draft

storage(feat): support bucket ip filter#34612
shubhangi-google wants to merge 9 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.

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