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 latest version of the Google Cloud Storage v1 API documentation available is 4.11.0, with a comprehensive list of prior versions from 4.10.0 to 3.4.0 accessible via links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum defines the conditions under which object hashes are validated during download operations.\u003c/p\u003e\n"],["\u003cp\u003eThere are three modes of hash validation: \u003ccode\u003eAlways\u003c/code\u003e, where the hash is consistently validated; \u003ccode\u003eAutomatic\u003c/code\u003e, where the hash is validated when feasible; and \u003ccode\u003eNever\u003c/code\u003e, where hash validation is skipped.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum is under the \u003ccode\u003eGoogle.Cloud.Storage.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGoogle.Cloud.Storage.V1.dll\u003c/code\u003e assembly contains the \u003ccode\u003eDownloadValidationMode\u003c/code\u003e code.\u003c/p\u003e\n"]]],[],null,[]]