Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy_blob: Allow setting object metadata #1359

Open
remko opened this issue Oct 4, 2024 · 1 comment
Open

copy_blob: Allow setting object metadata #1359

remko opened this issue Oct 4, 2024 · 1 comment
Assignees
Labels
api: storage Issues related to the googleapis/python-storage API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@remko
Copy link

remko commented Oct 4, 2024

The JSON API copy operation allows providing object metadata on copy. This avoids having to do multiple operations on an object to set metadata such as content-type, cache-control, ... on a copied object.

This is currently not exposed in the Python SDK on copy_blob (copy_blob never sends a body in its request). Could this be exposed?

@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/python-storage API. label Oct 4, 2024
@cojenco cojenco added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Oct 4, 2024
@cojenco
Copy link
Contributor

cojenco commented Oct 4, 2024

Thanks for the feature request. I will work with the team to have this prioritized.

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/python-storage API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants