Google Cloud Build V1 Client - Class FailureInfo (0.16.3)

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
Name Description
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
Type Description
int

setType

The name of the failure.

Parameter
Name Description
var int
Returns
Type Description
$this

getDetail

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

Returns
Type Description
string

setDetail

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

Parameter
Name Description
var string
Returns
Type Description
$this