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 webpage provides reference documentation for the \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum within the Google Cloud Storage v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum defines how data integrity is handled during object downloads, with three available modes.\u003c/p\u003e\n"],["\u003cp\u003eThe three modes are \u003ccode\u003eAlways\u003c/code\u003e (always validate), \u003ccode\u003eAutomatic\u003c/code\u003e (validate if feasible), and \u003ccode\u003eNever\u003c/code\u003e (never validate, which may risk data loss).\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version available for documentation is 4.11.0, but this page is for version 4.7.0 of the Google Cloud Storage v1 API.\u003c/p\u003e\n"],["\u003cp\u003eIt is contained in the namespace \u003ccode\u003eGoogle.Cloud.Storage.V1\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.Storage.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]