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:



984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 984

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

    # Use a sha512 hash.
    SHA512 = 4
  end
end

#value::String

Returns The hash value.

Returns:

  • (::String)

    The hash value.



984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 984

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

    # Use a sha512 hash.
    SHA512 = 4
  end
end