FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(transfer-manager): add ParallelUploadConfig.Builder#setUploadBlobInfoFactory by BenWhitehead · Pull Request #2936 · googleapis/java-storage · GitHub

feat(transfer-manager): add ParallelUploadConfig.Builder#setUploadBlobInfoFactory - #2936

Merged
BenWhitehead merged 1 commit into
mainfrom
tm/01/upload-mapper
Feb 18, 2025
Merged

feat(transfer-manager): add ParallelUploadConfig.Builder#setUploadBlobInfoFactory#2936
BenWhitehead merged 1 commit into
mainfrom
tm/01/upload-mapper

Conversation

Copy link
Copy Markdown
Collaborator

When uploading a file from the files system, there are scenarios when a job would need to customize the actual BlobInfo used to upload to GCS.

Add the new UploadBlobInfoFactory which allows a user to produce their own BlobInfo instance given the bucketName and fileName. When producing the BlobInfo the application can also customize other metadata fields.

A few convenience adapter methods are available in UploadBlobInfoFactory to simplify common operations.

Fixes #2638

…bInfoFactory

When uploading a file from the files system, there are scenarios when a job would need to customize the actual BlobInfo used to upload to GCS.

Add the new UploadBlobInfoFactory which allows a user to produce their own BlobInfo instance given the bucketName and fileName. When producing the BlobInfo the application can also customize other metadata fields.

A few convenience adapter methods are available in UploadBlobInfoFactory to simplify common operations.

Fixes #2638
BenWhitehead requested a review from a team February 18, 2025 21:01
product-auto-label Bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels Feb 18, 2025

ddelgrosso1 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. I'm assuming that test failure is expected as I noticed it failing last week?

Copy link
Copy Markdown
Collaborator Author

Correct, ITKmsTest failure is being investigated separately

BenWhitehead merged commit 86e9ae8 into main Feb 18, 2025
BenWhitehead deleted the tm/01/upload-mapper branch February 18, 2025 22:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support renaming files on Transfer Manager Upload

2 participants


Back | FazBrowse Home | New Git URL