Class: Google::Cloud::Storage::FileVerificationError
- Inherits:
-
Error
- Object
- Error
- Google::Cloud::Storage::FileVerificationError
- Defined in:
- lib/google/cloud/storage/errors.rb
Overview
FileVerificationError
Raised when a File download fails the verification.
Instance Attribute Summary collapse
-
#gcloud_digest ⇒ Object
The value of the digest on the google-cloud file.
-
#local_digest ⇒ Object
The value of the digest on the downloaded file.
-
#type ⇒ Object
The type of digest that failed verification, :md5 or :crc32c.
Instance Attribute Details
#gcloud_digest ⇒ Object
The value of the digest on the google-cloud file.
33 34 35 |
# File 'lib/google/cloud/storage/errors.rb', line 33 def gcloud_digest @gcloud_digest end |
#local_digest ⇒ Object
The value of the digest on the downloaded file.
37 38 39 |
# File 'lib/google/cloud/storage/errors.rb', line 37 def local_digest @local_digest end |
#type ⇒ Object
The type of digest that failed verification, :md5 or :crc32c.
29 30 31 |
# File 'lib/google/cloud/storage/errors.rb', line 29 def type @type end |