Google Cloud Build V1 Client - Class BuildFinished (0.3.8)

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

Notification that the build request has finished, and no further invocations will occur. Note that this applies to the entire Build.

Individual invocations trigger InvocationFinished when they finish.

Generated from protobuf message google.devtools.build.v1.BuildEvent.BuildFinished

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ status Google\Cloud\Build\V1\BuildStatus

Final status of the build.

↳ details Google\Protobuf\Any

Additional details about the Build.

getStatus

Final status of the build.

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

hasStatus

clearStatus

setStatus

Final status of the build.

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

getDetails

Additional details about the Build.

Returns
TypeDescription
Google\Protobuf\Any|null

hasDetails

clearDetails

setDetails

Additional details about the Build.

Parameter
NameDescription
var Google\Protobuf\Any
Returns
TypeDescription
$this