Skip to content

feat(storage): Add delete object source field in ComposeObject API#16094

Merged
v-pratap merged 5 commits into
googleapis:mainfrom
v-pratap:delete-object-source
May 19, 2026
Merged

feat(storage): Add delete object source field in ComposeObject API#16094
v-pratap merged 5 commits into
googleapis:mainfrom
v-pratap:delete-object-source

Conversation

@v-pratap
Copy link
Copy Markdown
Contributor

No description provided.

@v-pratap v-pratap requested review from a team as code owners May 13, 2026 08:32
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label May 13, 2026
Copy link
Copy Markdown

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

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 the DeleteSourceObjects option for ComposeObject requests, implementing support in both gRPC and REST paths. It also includes integration tests to verify the behavior when the option is enabled or disabled. Feedback was provided to simplify the option retrieval logic using value_or(false) for better readability and to add a docstring to the new public-facing DeleteSourceObjects parameter.

Comment thread google/cloud/storage/internal/object_requests.cc Outdated
Comment thread google/cloud/storage/well_known_parameters.h
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.72%. Comparing base (1735f56) to head (7abd039).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16094   +/-   ##
=======================================
  Coverage   92.71%   92.72%           
=======================================
  Files        2353     2353           
  Lines      218692   218752   +60     
=======================================
+ Hits       202764   202827   +63     
+ Misses      15928    15925    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@v-pratap v-pratap force-pushed the delete-object-source branch from b5077ac to 53036f9 Compare May 18, 2026 08:26
Comment thread google/cloud/storage/internal/grpc/object_request_parser.cc
@v-pratap v-pratap force-pushed the delete-object-source branch from a305131 to 7abd039 Compare May 19, 2026 15:35
@v-pratap v-pratap merged commit dda3c4a into googleapis:main May 19, 2026
53 of 59 checks passed
elinorli pushed a commit to elinorli/google-cloud-cpp that referenced this pull request May 19, 2026
…oogleapis#16094)

* feat(storage): Add delete object source in compose object api

* add implementation of delete object source

* resolve ai comments

* resolve the review comments

* fix the format
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 Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants