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 | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setText
Explanation of the warning generated.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPriority
The priority for this warning.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPriority
The priority for this warning.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|