Google Cloud Artifact Registry V1 Client - Class Hash (1.2.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
Name
Description
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
Type
Description
int
Enum of type HashType .

setType

The algorithm used to compute the hash value.

Parameter
Name
Description
var
int

Enum of type HashType .

Returns
Type
Description
$this

getValue

The hash value.

Returns
Type
Description
string

setValue

The hash value.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: