The hash is validated if the library can detect that validation should
be feasible. If response headers provide information to indicate that
hash validation will fail (even in the face of correct data), the hash
is not validated.
Never
The hash is never validated; data integrity errors may still be exposed
via other network layers, but there is a risk of data loss.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum in the Google Cloud Storage v1 API defines when object hash validation occurs during downloads.\u003c/p\u003e\n"],["\u003cp\u003eThere are three validation modes: \u003ccode\u003eAlways\u003c/code\u003e, where validation always happens; \u003ccode\u003eAutomatic\u003c/code\u003e, where validation occurs if feasible; and \u003ccode\u003eNever\u003c/code\u003e, where validation is skipped.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API documentation is 4.11.0, and it provides a full version history with links that go as far back as 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation is specific to the \u003ccode\u003eGoogle.Cloud.Storage.V1.DownloadValidationMode\u003c/code\u003e in the \u003ccode\u003eGoogle.Cloud.Storage.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Storage.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]