Class: Google::Cloud::Build::V1::Hash

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

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

Returns The type of hash that was performed.

Returns:



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1149

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.

Returns:

  • (::String)

    The hash value.



1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1149

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