Skip to content

feat: add support for partial success in ListBuckets for json#3414

Merged
nidhiii-27 merged 12 commits intogoogleapis:list-bucketsfrom
nidhiii-27:list-buckets
Dec 5, 2025
Merged

feat: add support for partial success in ListBuckets for json#3414
nidhiii-27 merged 12 commits intogoogleapis:list-bucketsfrom
nidhiii-27:list-buckets

Conversation

@nidhiii-27
Copy link
Contributor

@nidhiii-27 nidhiii-27 commented Dec 5, 2025

BEGIN_COMMIT_OVERRIDE

BEGIN_NESTED_COMMIT
chore: add support for partial success in ListBuckets for json
END_NESTED_COMMIT

END_COMMIT_OVERRIDE

This PR adds support for the returnPartialSuccess parameter in ListBuckets calls for JSON.
A new Storage.BucketListOption.returnPartialSuccess(true) is introduced. When set, the list operation returns a set containing both reachable buckets and unreachable buckets. Unreachable buckets are distinguished by having the isUnreachable=true flag set.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels Dec 5, 2025
@nidhiii-27 nidhiii-27 changed the title List buckets feat: add support for partial success in ListBuckets for json Dec 5, 2025
@nidhiii-27 nidhiii-27 marked this pull request as ready for review December 5, 2025 11:19
@nidhiii-27 nidhiii-27 requested review from a team December 5, 2025 11:19
@nidhiii-27 nidhiii-27 merged commit 6d4b7f0 into googleapis:list-buckets Dec 5, 2025
34 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant