Google Cloud Build V1 Client - Class BuiltImage (0.13.2)

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

An image built by the pipeline.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name used to push the container image to Google Container Registry, as presented to docker push.

↳ digest string

Docker Registry 2.0 digest.

↳ push_timing Google\Cloud\Build\V1\TimeSpan

Output only. Stores timing information for pushing the specified image.

getName

Name used to push the container image to Google Container Registry, as presented to docker push.

Returns
TypeDescription
string

setName

Name used to push the container image to Google Container Registry, as presented to docker push.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDigest

Docker Registry 2.0 digest.

Returns
TypeDescription
string

setDigest

Docker Registry 2.0 digest.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPushTiming

Output only. Stores timing information for pushing the specified image.

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

hasPushTiming

clearPushTiming

setPushTiming

Output only. Stores timing information for pushing the specified image.

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