Google Cloud Build V1 Client - Class Results (0.15.0)

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
array

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

↳ artifact_manifest
string

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

↳ num_artifacts
int|string

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

↳ build_step_outputs
array

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 to Cloud Storage.

↳ python_packages
array< Google\Cloud\Build\V1\UploadedPythonPackage >

Python artifacts uploaded to Artifact Registry at the end of the build.

↳ maven_artifacts
array< Google\Cloud\Build\V1\UploadedMavenArtifact >

Maven artifacts uploaded to Artifact Registry at the end of the build.

↳ npm_packages
array< Google\Cloud\Build\V1\UploadedNpmPackage >

Npm packages uploaded to Artifact Registry at the end of the build.

getImages

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

Returns
Type
Description

setImages

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

Parameter
Name
Description
Returns
Type
Description
$this

getBuildStepImages

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

Returns
Type
Description

setBuildStepImages

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

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getArtifactManifest

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

Returns
Type
Description
string

setArtifactManifest

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getNumArtifacts

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

Returns
Type
Description
int|string

setNumArtifacts

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$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
Type
Description

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
Name
Description
var
string[]
Returns
Type
Description
$this

getArtifactTiming

Time to push all non-container artifacts to Cloud Storage.

Returns
Type
Description

hasArtifactTiming

clearArtifactTiming

setArtifactTiming

Time to push all non-container artifacts to Cloud Storage.

Parameter
Name
Description
Returns
Type
Description
$this

getPythonPackages

Python artifacts uploaded to Artifact Registry at the end of the build.

Returns
Type
Description

setPythonPackages

Python artifacts uploaded to Artifact Registry at the end of the build.

Parameter
Name
Description
Returns
Type
Description
$this

getMavenArtifacts

Maven artifacts uploaded to Artifact Registry at the end of the build.

Returns
Type
Description

setMavenArtifacts

Maven artifacts uploaded to Artifact Registry at the end of the build.

Parameter
Name
Description
Returns
Type
Description
$this

getNpmPackages

Npm packages uploaded to Artifact Registry at the end of the build.

Returns
Type
Description

setNpmPackages

Npm packages uploaded to Artifact Registry at the end of the build.

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