Skip to content

docs(storage): Update EnableParallelUpload documentation in writer.go#14328

Merged
cpriti-os merged 8 commits intogoogleapis:mainfrom
cpriti-os:pcu
Apr 2, 2026
Merged

docs(storage): Update EnableParallelUpload documentation in writer.go#14328
cpriti-os merged 8 commits intogoogleapis:mainfrom
cpriti-os:pcu

Conversation

@cpriti-os
Copy link
Copy Markdown
Contributor

No description provided.

google-labs-jules Bot and others added 3 commits April 2, 2026 04:55
Added documentation for `EnableParallelUpload` in `storage/writer.go` to explicitly mention billing considerations (Class A ops), required IAM permissions (`storage.objects.delete`), warning on failed uploads leaving resources, and stating it's not a one size fits all solution, matching the content present in the Java library's `ParallelCompositeUploadBlobWriteSessionConfig` class description.

Co-authored-by: cpriti-os <202586561+cpriti-os@users.noreply.github.com>
Added documentation for `EnableParallelUpload` in `storage/writer.go` to explicitly mention billing considerations (Class A ops), required IAM permissions (`storage.objects.delete`), warning on failed uploads leaving resources, and stating it's not a one size fits all solution, matching the content present in the Java library's `ParallelCompositeUploadBlobWriteSessionConfig` class description, but using generic terms for parallel uploads.

Co-authored-by: cpriti-os <202586561+cpriti-os@users.noreply.github.com>
…61984208

docs: Update `EnableParallelUpload` documentation in `writer.go`
@cpriti-os cpriti-os requested review from a team as code owners April 2, 2026 05:10
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Apr 2, 2026
Copy link
Copy Markdown
Contributor

@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 expands the documentation for parallel uploads in storage/writer.go, detailing cost implications, permission requirements, and performance considerations. The review feedback suggests using standard Google Cloud Storage terminology and improving the phrasing and punctuation of the performance warnings.

Comment thread storage/writer.go Outdated
Comment thread storage/writer.go Outdated
cpriti-os and others added 2 commits April 2, 2026 10:52
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Comment thread storage/writer.go Outdated
Comment thread storage/writer.go Outdated
google-labs-jules Bot and others added 3 commits April 2, 2026 06:27
- Simplify documentation for `Writer.EnableParallelUpload` in `storage/writer.go`.
- Move the detailed considerations and trade-offs of parallel uploads to a new `# Parallel Uploads` section in `storage/doc.go`.
- Link directly to the new section using `[Parallel Uploads]` in `writer.go`.
- Add defensive returns in `grpc_metrics_test.go` to prevent nil pointer panics on test failure.

Co-authored-by: cpriti-os <202586561+cpriti-os@users.noreply.github.com>
- Simplify documentation for `Writer.EnableParallelUpload` in `storage/writer.go`.
- Move the detailed considerations and trade-offs of parallel uploads to a new `# Parallel Uploads` section in `storage/doc.go`.
- Link directly to the new section using `[Parallel Uploads]` in `writer.go`.

Co-authored-by: cpriti-os <202586561+cpriti-os@users.noreply.github.com>
…3523507583222314297

refactor: move EnableParallelUpload documentation to doc.go
@cpriti-os cpriti-os requested a review from krishnamd-jkp April 2, 2026 06:41
@cpriti-os cpriti-os enabled auto-merge (squash) April 2, 2026 06:51
@cpriti-os cpriti-os merged commit 22d0749 into googleapis:main Apr 2, 2026
11 checks passed
@cpriti-os cpriti-os deleted the pcu branch April 21, 2026 13:52
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