Google Cloud Build V1 Client - Class Results (0.3.8)

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

Artifacts created by the build pipeline.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ images array<Google\Cloud\Build\V1\BuiltImage>

Container images that were built as a part of the build.

↳ build_step_images string[]

List of build step digests, in the order corresponding to build step indices.

↳ artifact_manifest string

Path to the artifact manifest. Only populated when artifacts are uploaded.

↳ num_artifacts int|string

Number of artifacts uploaded. Only populated when artifacts are uploaded.

↳ build_step_outputs string[]

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

↳ artifact_timing Google\Cloud\Build\V1\TimeSpan

Time to push all non-container artifacts.

getImages

Container images that were built as a part of the build.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setImages

Container images that were built as a part of the build.

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

getBuildStepImages

List of build step digests, in the order corresponding to build step indices.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBuildStepImages

List of build step digests, in the order corresponding to build step indices.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getArtifactManifest

Path to the artifact manifest. Only populated when artifacts are uploaded.

Returns
TypeDescription
string

setArtifactManifest

Path to the artifact manifest. Only populated when artifacts are uploaded.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNumArtifacts

Number of artifacts uploaded. Only populated when artifacts are uploaded.

Returns
TypeDescription
int|string

setNumArtifacts

Number of artifacts uploaded. Only populated when artifacts are uploaded.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getBuildStepOutputs

List of build step outputs, produced by builder images, in the order corresponding to build step indices.

Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBuildStepOutputs

List of build step outputs, produced by builder images, in the order corresponding to build step indices.

Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getArtifactTiming

Time to push all non-container artifacts.

Returns
TypeDescription
Google\Cloud\Build\V1\TimeSpan|null

hasArtifactTiming

clearArtifactTiming

setArtifactTiming

Time to push all non-container artifacts.

Parameter
NameDescription
var Google\Cloud\Build\V1\TimeSpan
Returns
TypeDescription
$this