Google Cloud Build V1 Client - Class FileHashes (0.16.1)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setFileHash

Collection of file hashes.

Parameter
Name Description
var array<Google\Cloud\Build\V1\Hash>
Returns
Type Description
$this