Google Cloud Build V1 Client - Class Hash (0.16.3)

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setType

The type of hash that was performed.

Parameter
Name Description
var int
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