Package
@google-cloud/storageProperties
crc32c
crc32c
:
boolean
;
Enables CRC32C calculation. To validate a provided value use crc32cExpected
.
crc32cExpected
crc32cExpected
?:
string
;
Sets the expected CRC32C value to verify once all data has been consumed. Also sets the crc32c
option to true
crc32cGenerator
crc32cGenerator
:
CRC32CValidatorGenerator
;
Set a custom CRC32C generator. Used if crc32cInstance
has not been provided.
crc32cInstance
crc32cInstance
:
CRC32CValidator
;
A CRC32C instance for validation. To validate a provided value use crc32cExpected
.
md5
md5
:
boolean
;
Enables MD5 calculation. To validate a provided value use md5Expected
.
md5Expected
md5Expected
?:
string
;
Sets the expected MD5 value to verify once all data has been consumed. Also sets the md5
option to true
updateHashesOnly
updateHashesOnly
?:
boolean
;
Indicates whether or not to run a validation check or only update the hash values