Class: Google::Cloud::Build::V1::Hash
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::Hash
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Container message for hash values.
Defined Under Namespace
Modules: HashType
Instance Attribute Summary collapse
-
#type ⇒ ::Google::Cloud::Build::V1::Hash::HashType
The type of hash that was performed.
-
#value ⇒ ::String
The hash value.
Instance Attribute Details
#type ⇒ ::Google::Cloud::Build::V1::Hash::HashType
Returns The type of hash that was performed.
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1233 class Hash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the hash algorithm, if any. module HashType # No hash requested. NONE = 0 # Use a sha256 hash. SHA256 = 1 # Use a md5 hash. MD5 = 2 # Dirhash of a Go module's source code which is then hex-encoded. GO_MODULE_H1 = 3 # Use a sha512 hash. SHA512 = 4 end end |
#value ⇒ ::String
Returns The hash value.
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1233 class Hash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the hash algorithm, if any. module HashType # No hash requested. NONE = 0 # Use a sha256 hash. SHA256 = 1 # Use a md5 hash. MD5 = 2 # Dirhash of a Go module's source code which is then hex-encoded. GO_MODULE_H1 = 3 # Use a sha512 hash. SHA512 = 4 end end |