class Google::Apis::ArtifactregistryV1beta1::HashProp
A hash of file content.
Attributes
type[RW]
The algorithm used to compute the hash value. Corresponds to the JSON property `type` @return [String]
value[RW]
The hash value. Corresponds to the JSON property `value` 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/artifactregistry_v1beta1/classes.rb, line 285 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/artifactregistry_v1beta1/classes.rb, line 290 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end