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\u003eThis page provides reference documentation for the \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum within the Google Cloud Storage v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum controls when object hashes are validated during downloads, offering options for \u003ccode\u003eAlways\u003c/code\u003e, \u003ccode\u003eAutomatic\u003c/code\u003e, and \u003ccode\u003eNever\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is 4.11.0, with links to documentation for previous versions of the API from 4.10.0 all the way down to 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe enum is found in the \u003ccode\u003eGoogle.Cloud.Storage.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Storage.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eEach of the possible fields in the enum, \u003ccode\u003eAlways\u003c/code\u003e, \u003ccode\u003eAutomatic\u003c/code\u003e, and \u003ccode\u003eNever\u003c/code\u003e, have their own description which covers when the hash is validated, with \u003ccode\u003eAlways\u003c/code\u003e always being validated, \u003ccode\u003eAutomatic\u003c/code\u003e when the validation is feasible, and \u003ccode\u003eNever\u003c/code\u003e when it is not validated at all.\u003c/p\u003e\n"]]],[],null,[]]