Google Cloud Build V1 Client - Class FailureInfo (0.9.0)

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

A fatal problem encountered during the execution of the build.

Generated from protobuf message google.devtools.cloudbuild.v1.Build.FailureInfo

Namespace

Google \ Cloud \ Build \ V1 \ Build

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

The name of the failure.

↳ detail string

Explains the failure issue in more detail using hard-coded text.

getType

The name of the failure.

Returns
TypeDescription
int

setType

The name of the failure.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetail

Explains the failure issue in more detail using hard-coded text.

Returns
TypeDescription
string

setDetail

Explains the failure issue in more detail using hard-coded text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this