feat(storage): setting default checksum#32411
Closed
shubhangi-google wants to merge 427 commits intogoogleapis:mainfrom
Closed
feat(storage): setting default checksum#32411shubhangi-google wants to merge 427 commits intogoogleapis:mainfrom
shubhangi-google wants to merge 427 commits intogoogleapis:mainfrom
Conversation
3 tasks
894976e to
8a69368
Compare
cpriti-os
requested changes
Feb 5, 2026
cpriti-os
requested changes
Feb 5, 2026
google-cloud-storage/test/helper.rb
Outdated
| # If no checksum type or specific value is provided, the default will be set to crc32c. | ||
| # If the checksum is set to false, it will be disabled. | ||
| if [checksum, crc32c, md5].all?(&:nil?) || checksum == true | ||
| crc32c = Google::Cloud::Storage::File::Verifier.crc32c_for(StringIO.new("Hello world")) |
There was a problem hiding this comment.
Should the string "Hello world" also be passed as a parameter for robustness?
Contributor
Author
There was a problem hiding this comment.
changed this method to receive content
we are not removing the static content completely as many tests are still using it
cpriti-os
approved these changes
Feb 9, 2026
|
@shubhangi-google there are a whole lot of other changes in this PR now, could you check why we are making changes to html css js files in this PR |
Contributor
Author
I ran the yard doc to update the documentation, shall I remove the particular commit or we can leave it? |
710e160 to
ed5f31b
Compare
* chore(main): release google-cloud-org_policy 1.6.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…7.0 (googleapis#33204) * chore(main): release google-cloud-orchestration-airflow-service-v1 1.7.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…googleapis#33203) * chore(main): release google-cloud-orchestration-airflow-service 1.6.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…is#33202) * chore(main): release google-cloud-oracle_database-v1 0.12.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…3201) * chore(main): release google-cloud-oracle_database 0.3.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…33200) * chore(main): release google-cloud-optimization-v1 0.15.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-cloud-optimization 1.4.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-cloud-notebooks 3.1.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…33193) * chore(main): release google-cloud-network_services 2.1.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
) * chore(main): release google-cloud-api_gateway-v1 2.4.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-cloud-api_gateway 2.1.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…32932) * chore(main): release google-cloud-alloy_db-v1beta 0.21.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…#32931) * chore(main): release google-cloud-alloy_db-v1alpha 0.20.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-cloud-alloy_db-v1 1.8.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-cloud-alloy_db 2.2.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-cloud-ai_platform 2.3.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…oogleapis#32927) * chore(main): release google-cloud-advisory_notifications-v1 0.15.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…eapis#32926) * chore(main): release google-cloud-advisory_notifications 1.4.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…s#32925) * chore(main): release google-cloud-access_approval-v1 1.5.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…2924) * chore(main): release google-cloud-access_approval 1.7.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-apps-meet-v2beta 0.9.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-apps-meet-v2 0.7.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-apps-meet 1.2.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…oogleapis#32918) * chore(main): release google-apps-events-subscriptions-v1beta 0.4.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…eapis#32917) * chore(main): release google-apps-events-subscriptions-v1 0.7.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…is#32916) * chore(main): release google-apps-events-subscriptions 1.2.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-apps-chat-v1 0.20.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-apps-chat 1.2.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-analytics-data 0.8.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…s#32911) * chore(main): release google-analytics-admin-v1alpha 0.39.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-analytics-admin 0.7.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…eapis#32908) * chore(main): release google-ads-marketing_platform-admin 0.2.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-ads-data_manager 0.3.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-ads-ad_manager-v1 3.1.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
* chore(main): release google-ads-ad_manager 3.1.0 * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
…2827) * chore(main): release google-cloud-ai_platform-v1 1.38.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: combine duplicate Ruby 4.0 release notes --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>
Contributor
Author
|
created new PR #33331 |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a significant enhancement to the Google Cloud Storage Ruby client by establishing CRC32c as the default checksum for file uploads. This change ensures that data integrity is automatically verified for uploads where a checksum isn't explicitly specified, thereby improving the reliability of data handling.
Highlights
checksumparameter inbucket.rbhas been updated to clearly state thatcrc32cis now the default.Note: Opening this PR as older PR was getting corrupted