Google Cloud Build V1 Client - Class ArtifactResult (0.7.3)

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

An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ location
string

The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, gs://mybucket/path/to/output.jar#generation .

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

The file hash of the artifact.

getLocation

The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, gs://mybucket/path/to/output.jar#generation .

Returns
Type
Description
string

setLocation

The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, gs://mybucket/path/to/output.jar#generation .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFileHash

The file hash of the artifact.

Returns
Type
Description

setFileHash

The file hash of the artifact.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: