Google Cloud Build V1 Client - Class Hash (0.4.0)

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

Container message for hash values.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

The type of hash that was performed.

↳ value string

The hash value.

getType

The type of hash that was performed.

Returns
TypeDescription
int

setType

The type of hash that was performed.

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