Class: Google::Cloud::ArtifactRegistry::V1beta2::Hash
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1beta2::Hash
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1beta2/file.rb
Overview
A hash of file content.
Defined Under Namespace
Modules: HashType
Instance Attribute Summary collapse
-
#type ⇒ ::Google::Cloud::ArtifactRegistry::V1beta2::Hash::HashType
The algorithm used to compute the hash value.
-
#value ⇒ ::String
The hash value.
Instance Attribute Details
#type ⇒ ::Google::Cloud::ArtifactRegistry::V1beta2::Hash::HashType
Returns The algorithm used to compute the hash value.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/file.rb', line 31 class Hash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The algorithm used to compute the hash. module HashType # Unspecified. HASH_TYPE_UNSPECIFIED = 0 # SHA256 hash. SHA256 = 1 # MD5 hash. MD5 = 2 end end |
#value ⇒ ::String
Returns The hash value.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/file.rb', line 31 class Hash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The algorithm used to compute the hash. module HashType # Unspecified. HASH_TYPE_UNSPECIFIED = 0 # SHA256 hash. SHA256 = 1 # MD5 hash. MD5 = 2 end end |