Google Cloud Storage C++ Client  1.31.1
A C++ Client Library for Google Cloud Storage
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::v1::DisableCrc32cChecksum Struct Reference

Disable CRC32C checksum computations. More...

#include <google/cloud/storage/hashing_options.h>

Public Member Functions

 DisableCrc32cChecksum ()=default
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Disable CRC32C checksum computations.

By default the GCS client library computes CRC32C checksums in all upload and download operations. The application can use this option to disable the checksum computation.

Warning
MD5 hashes are disabled by default, as they are computationally expensive, and CRC32C checksums provide enough data integrity protection for most applications. Disabling CRC32C checksums while MD5 hashes remain disabled exposes your application to data corruption. We recommend that all uploads to GCS and downloads from GCS use CRC32C checksums.

Definition at line 119 of file hashing_options.h.

Constructor & Destructor Documentation

◆ DisableCrc32cChecksum()

google::cloud::storage::v1::DisableCrc32cChecksum::DisableCrc32cChecksum ( )
default

Member Function Documentation

◆ name()

static char const* google::cloud::storage::v1::DisableCrc32cChecksum::name ( )
inlinestatic

Definition at line 125 of file hashing_options.h.