5.0.0 (latest) 4.16.0 4.15.0 4.14.0 4.13.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.7.0 3.6.0 3.5.0 3.4.0

    public enum DownloadValidationMode

Reference documentation and code samples for the Google Cloud Storage v1 API enum DownloadValidationMode.

Describes the circumstances under which the hash of an object is validated when downloading.

## Namespace

[Google.Cloud.Storage.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.V1/latest/Google.Cloud.Storage.V1)

## Assembly

Google.Cloud.Storage.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Always` | The hash is always validated. |
| `Automatic` | 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. |