Artifact Registry v1 API - Class Hash (2.2.0)

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

Reference documentation and code samples for the Artifact Registry v1 API class Hash.

A hash of file content.

Inheritance

object > Hash

Namespace

Google Cloud Google.Cloud.ArtifactRegistryV1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

Hash()

public Hash()

Hash(Hash)

public Hash(Hash other)
Parameter
Name Description
other Hash

Properties

Type

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

The algorithm used to compute the hash value.

Property Value
Type Description
Hash Types HashType

Value

public ByteString Value { get; set; }

The hash value.

Property Value
Type Description
ByteString

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.