Skip to content

feat(storage): add bucket IP filtering samples and tests - #14328

Open
nidhiii-27 wants to merge 1 commit into
mainfrom
samples-bucket-ip-filter-java
Open

feat(storage): add bucket IP filtering samples and tests#14328
nidhiii-27 wants to merge 1 commit into
mainfrom
samples-bucket-ip-filter-java

Conversation

@nidhiii-27

Copy link
Copy Markdown
Contributor

Add Java code samples and integration tests demonstrating Cloud Storage Bucket IP filtering:

  • Create bucket with initial IP filtering rules pre-configured (CreateBucketIpFilter.java)
  • Enable and update IP filtering configuration (EnableBucketIpFilter.java)
  • Get active IP filtering rules (GetBucketIpFilter.java)
  • Delete specific IP filter rules and VPC network sources (DeleteBucketIpFilter.java)
  • Disable IP filtering on a bucket (DisableBucketIpFilter.java)
  • List buckets with IP filtering status (ListBucketsIpFilter.java)
  • Integration test lifecycle suite (IpFilterTest.java)

Fixes: b/544985518

Add Java code samples and integration tests demonstrating Cloud Storage Bucket IP filtering.

Fixes: b/544985518

[Generated-by: AI]
@nidhiii-27 nidhiii-27 added ai-generated storage-sample-architect Generated by storage-sample-architect skill labels Sep 9, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several Java code snippets and an integration test demonstrating how to manage GCS bucket IP filtering configurations. Specifically, it adds functionality to create, enable, disable, retrieve, list, and delete IP filtering rules on a bucket. Since there are no review comments, I have no feedback to provide.

@nidhiii-27
nidhiii-27 marked this pull request as ready for review September 9, 2026 08:53
@nidhiii-27
nidhiii-27 requested review from a team as code owners September 9, 2026 08:53
@snippet-bot

snippet-bot Bot commented Sep 9, 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

ai-generated storage-sample-architect Generated by storage-sample-architect skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant