Skip to content

feat: Resumable Media Upload functionality implementation - #72

Open
viacheslav-rostovtsev wants to merge 3 commits into
googleapis:mainfrom
viacheslav-rostovtsev:dev/virost/resumable-uploads
Open

viacheslav-rostovtsev wants to merge 3 commits into
googleapis:mainfrom
viacheslav-rostovtsev:dev/virost/resumable-uploads

Conversation

@viacheslav-rostovtsev

@viacheslav-rostovtsev viacheslav-rostovtsev commented Sep 15, 2026

Copy link
Copy Markdown
Member

Resumable Media Upload functionality

Public API

  • Gapic::Rest::ResumableUpload::Session is the entry point.
  • Session#start for initial upload, and
  • Session#resume for resuming after error.

Also public: Progress, ResumeHandle, HasResumeHandle module, and a typed error hierarchy.

Changes to existing files:

  • StubLogger#warn
  • request-payload abridging in ClientStub so that binary upload bodies don't land in logs
  • REST_ERROR_PREFIX constant extracted in Rest::Error

Integration testing

  • against Showcase, for manual confirmation (disabled in CI). CI integration tests are planned to land in the generator.

Public API
`Gapic::Rest::ResumableUpload::Session` is the entry point.
`Session#run` for initial upload, and `Session#resume` for resuming
after error.

Also public: `Progress`, `ResumeHandle`, `HasResumeHandle` module, and a typed error hierarchy.

Changes to existing files:
* `StubLogger#warn`
* request-payload abridging in `ClientStub` so that binary upload bodies don't land in logs
* `REST_ERROR_PREFIX` constant extracted in Rest::Error

Integration testing against Showcase, for manual confirmation (disabled in CI).
CI integration tests are planned to land in the generator.
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.

5 participants