Google Cloud Build V1 Client - Class InvocationAttemptStarted (0.3.8)

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

Notification that the build system has attempted to run the build tool.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ attempt_number int|string

The number of the invocation attempt, starting at 1 and increasing by 1 for each new attempt. Can be used to determine if there is a later invocation attempt replacing the current one a client is processing.

↳ details Google\Protobuf\Any

Arbitrary details about the invocation attempt.

getAttemptNumber

The number of the invocation attempt, starting at 1 and increasing by 1 for each new attempt. Can be used to determine if there is a later invocation attempt replacing the current one a client is processing.

Returns
TypeDescription
int|string

setAttemptNumber

The number of the invocation attempt, starting at 1 and increasing by 1 for each new attempt. Can be used to determine if there is a later invocation attempt replacing the current one a client is processing.

Parameter
NameDescription
var int|string
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