Class Hash (2.0.0)

public sealed class Hash : IMessage<Hash>, IEquatable<Hash>, IDeepCloneable<Hash>, IBufferMessage, IMessage

A hash of file content.

Inheritance

Object > Hash

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

Hash()

public Hash()

Hash(Hash)

public Hash(Hash other)
Parameter
NameDescription
otherHash

Properties

Type

public Hash.Types.HashType Type { get; set; }

The algorithm used to compute the hash value.

Property Value
TypeDescription
Hash.Types.HashType

Value

public ByteString Value { get; set; }

The hash value.

Property Value
TypeDescription
ByteString