Google Cloud Artifact Registry V1 Client - Class Hash (0.5.1)

Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class Hash.

A hash of file content.

Generated from protobuf message google.devtools.artifactregistry.v1.Hash

Namespace

Google \ Cloud \ ArtifactRegistry \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

The algorithm used to compute the hash value.

↳ value string

The hash value.

getType

The algorithm used to compute the hash value.

Returns
TypeDescription
int

setType

The algorithm used to compute the hash value.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getValue

The hash value.

Returns
TypeDescription
string

setValue

The hash value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this