Google Cloud Build V1 Client - Class InvocationAttemptFinished (0.3.8)

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

Notification that an invocation attempt has finished.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ invocation_status Google\Cloud\Build\V1\BuildStatus

Final status of the invocation.

↳ details Google\Protobuf\Any

Arbitrary details about the invocation attempt.

getInvocationStatus

Final status of the invocation.

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

hasInvocationStatus

clearInvocationStatus

setInvocationStatus

Final status of the invocation.

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

getDetails

Arbitrary details about the invocation attempt.

Returns
TypeDescription
Google\Protobuf\Any|null

hasDetails

clearDetails

setDetails

Arbitrary details about the invocation attempt.

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