Google Cloud Build V1 Client - Class FileHashes (0.11.0)

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

Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ file_hash array<Google\Cloud\Build\V1\Hash>

Collection of file hashes.

getFileHash

Collection of file hashes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFileHash

Collection of file hashes.

Parameter
NameDescription
var array<Google\Cloud\Build\V1\Hash>
Returns
TypeDescription
$this