Google Cloud Build V1 Client - Class BuildOperationMetadata (0.9.0)

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

Metadata for build operations.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ build Google\Cloud\Build\V1\Build

The build that the operation is tracking.

getBuild

The build that the operation is tracking.

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

hasBuild

clearBuild

setBuild

The build that the operation is tracking.

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