Class: Google::Cloud::ArtifactRegistry::V1::Hash

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/file.rb

Overview

A hash of file content.

Defined Under Namespace

Modules: HashType

Instance Attribute Summary collapse

Instance Attribute Details

#type::Google::Cloud::ArtifactRegistry::V1::Hash::HashType

Returns The algorithm used to compute the hash value.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'proto_docs/google/devtools/artifactregistry/v1/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.

Returns:

  • (::String)

    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/v1/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