class Google::Apis::CloudkmsV1::Digest
A Digest
holds a cryptographic message digest.
Attributes
sha256[RW]
A message digest produced with the SHA-256 algorithm. Corresponds to the JSON property `sha256` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
sha384[RW]
A message digest produced with the SHA-384 algorithm. Corresponds to the JSON property `sha384` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
sha512[RW]
A message digest produced with the SHA-512 algorithm. Corresponds to the JSON property `sha512` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudkms_v1/classes.rb, line 777 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudkms_v1/classes.rb, line 782 def update!(**args) @sha256 = args[:sha256] if args.key?(:sha256) @sha384 = args[:sha384] if args.key?(:sha384) @sha512 = args[:sha512] if args.key?(:sha512) end