Moving rename() from Blob to Bucket. by dhermes · Pull Request #1052 · googleapis/google-cloud-python
This is to fit the pattern already in place for Bucket.copy_blob. The philosophy being to treat copy and rename as operations associated with the container (Bucket) rather than with the object itself (Blob). Fixes googleapis#1007.
label
Aug 11, 2015dhermes added a commit that referenced this pull request
Aug 12, 2015gcf-owl-bot bot added a commit that referenced this pull request
Jun 4, 2025Source-Link: googleapis/googleapis@79d04b7 Source-Link: googleapis/googleapis-gen@08507bd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjA4NTA3YmRiN2I4OTAyMWZmYTBjYjVlNzJhNzgxZjE2NWQ1N2MxZjcifQ== feat: Update Compute Engine v1 API to revision 20250511 (#1047) Note that this contains an intended breaking change to MachineType.scratchDisks. Googlers: see cl/751378213 and b/416655944 Source-Link: googleapis/googleapis@a9f7da0 Source-Link: googleapis/googleapis-gen@5acff2f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjVhY2ZmMmZmNDU1YTVlNjhiZjE3YjdlMDFjZGE0ZDcxNmNiZTAyMWYifQ==
gcf-owl-bot bot added a commit that referenced this pull request
Jun 5, 2025Source-Link: googleapis/googleapis@79d04b7 Source-Link: googleapis/googleapis-gen@08507bd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjA4NTA3YmRiN2I4OTAyMWZmYTBjYjVlNzJhNzgxZjE2NWQ1N2MxZjcifQ== feat: Update Compute Engine v1 API to revision 20250511 (#1047) Note that this contains an intended breaking change to MachineType.scratchDisks. Googlers: see cl/751378213 and b/416655944 Source-Link: googleapis/googleapis@a9f7da0 Source-Link: googleapis/googleapis-gen@5acff2f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjVhY2ZmMmZmNDU1YTVlNjhiZjE3YjdlMDFjZGE0ZDcxNmNiZTAyMWYifQ==
gcf-owl-bot bot added a commit that referenced this pull request
Jun 5, 2025Source-Link: googleapis/googleapis@79d04b7 Source-Link: googleapis/googleapis-gen@08507bd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjA4NTA3YmRiN2I4OTAyMWZmYTBjYjVlNzJhNzgxZjE2NWQ1N2MxZjcifQ== feat: Update Compute Engine v1 API to revision 20250511 (#1047) Note that this contains an intended breaking change to MachineType.scratchDisks. Googlers: see cl/751378213 and b/416655944 Source-Link: googleapis/googleapis@a9f7da0 Source-Link: googleapis/googleapis-gen@5acff2f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjVhY2ZmMmZmNDU1YTVlNjhiZjE3YjdlMDFjZGE0ZDcxNmNiZTAyMWYifQ==
gcf-owl-bot bot added a commit that referenced this pull request
Jun 5, 2025Source-Link: googleapis/googleapis@79d04b7 Source-Link: googleapis/googleapis-gen@08507bd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjA4NTA3YmRiN2I4OTAyMWZmYTBjYjVlNzJhNzgxZjE2NWQ1N2MxZjcifQ== feat: Update Compute Engine v1 API to revision 20250511 (#1047) Note that this contains an intended breaking change to MachineType.scratchDisks. Googlers: see cl/751378213 and b/416655944 Source-Link: googleapis/googleapis@a9f7da0 Source-Link: googleapis/googleapis-gen@5acff2f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjVhY2ZmMmZmNDU1YTVlNjhiZjE3YjdlMDFjZGE0ZDcxNmNiZTAyMWYifQ==
parthea pushed a commit that referenced this pull request
Nov 22, 2025Source-Link: googleapis/synthtool@e808c98 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8e3e7e18255c22d1489258d0374c901c01f9c4fd77a12088670cd73d580aa737 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request
Nov 24, 2025parthea pushed a commit that referenced this pull request
Nov 26, 2025parthea pushed a commit that referenced this pull request
Mar 2, 2026Source-Link: googleapis/synthtool@e808c98 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8e3e7e18255c22d1489258d0374c901c01f9c4fd77a12088670cd73d580aa737 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request
Mar 2, 2026* samples: schema evolution * Add command-line commands * Fix tag for rollback * Make formatting fixes * Formatting fixes * Fix exceptions * fix: Set x-goog-request-params for streaming pull request * Set blunderbuss config to auto-assign issues and PRs * fix: Swap writer and reader schema to correct places in sample
parthea pushed a commit that referenced this pull request
Mar 9, 2026* Chore: refactor client.download_blob_to_file (#1052) * Refactor client.download_blob_to_file * Chore: clean up code * refactor blob and client unit tests * lint reformat * Rename _prep_and_do_download * Chore: refactor blob.upload_from_file (#1063) * Refactor client.download_blob_to_file * Chore: clean up code * refactor blob and client unit tests * lint reformat * Rename _prep_and_do_download * Refactor blob.upload_from_file * Lint reformat * feature: add 'command' argument to private upload/download interface (#1082) * Refactor client.download_blob_to_file * Chore: clean up code * refactor blob and client unit tests * lint reformat * Rename _prep_and_do_download * Refactor blob.upload_from_file * Lint reformat * feature: add 'command' argument to private upload/download interface * lint reformat * reduce duplication and edit docstring * feat: add support for custom headers starting with metadata op * add custom headers to downloads in client blob modules * add custom headers to uploads with tests * update mocks and tests * test custom headers support tm mpu uploads * update tm test * update test --------- Co-authored-by: MiaCY <97990237+MiaCY@users.noreply.github.com>
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