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
Name
Description
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
Type
Description
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
Name
Description
var
int|string
Returns
Type
Description
$this

getDetails

Arbitrary details about the invocation attempt.

Returns
Type
Description

hasDetails

clearDetails

setDetails

Arbitrary details about the invocation attempt.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: