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
Name Description
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
Type Description
Google\Cloud\Build\V1\BuildStatus|null

hasStatus

clearStatus

setStatus

Final status of the build.

Parameter
Name Description
var Google\Cloud\Build\V1\BuildStatus
Returns
Type Description
$this

getDetails

Additional details about the Build.

Returns
Type Description
Google\Protobuf\Any|null

hasDetails

clearDetails

setDetails

Additional details about the Build.

Parameter
Name Description
var Google\Protobuf\Any
Returns
Type Description
$this