Google Cloud Storage v1 API - Enum DownloadValidationMode (4.2.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

Assembly

Google.Cloud.Storage.V1.dll

Fields

NameDescription
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.