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, specifically for version 4.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDownloadValidationMode\u003c/code\u003e enum defines when to validate the hash of a downloaded object, offering options like \u003ccode\u003eAlways\u003c/code\u003e, \u003ccode\u003eAutomatic\u003c/code\u003e, and \u003ccode\u003eNever\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAlways\u003c/code\u003e field ensures hash validation for every download, while \u003ccode\u003eAutomatic\u003c/code\u003e validates when feasible and \u003ccode\u003eNever\u003c/code\u003e disables hash validation entirely.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists accessible versions for the \u003ccode\u003eDownloadValidationMode\u003c/code\u003e, ranging from version 3.4.0 up to the latest version 4.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe enum is located 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,[]]