Google Cloud Build V1 Client - Class Warning (0.5.1)

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

A non-fatal problem encountered during the execution of the build.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ text string

Explanation of the warning generated.

↳ priority int

The priority for this warning.

getText

Explanation of the warning generated.

Returns
TypeDescription
string

setText

Explanation of the warning generated.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPriority

The priority for this warning.

Returns
TypeDescription
int

setPriority

The priority for this warning.

Parameter
NameDescription
var int
Returns
TypeDescription
$this