Google Cloud Deploy V1 Client - Class PipelineReadyCondition (0.10.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class PipelineReadyCondition.

PipelineReadyCondition contains information around the status of the Pipeline.

Generated from protobuf message google.cloud.deploy.v1.PipelineReadyCondition

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ status bool

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline.

↳ update_time Google\Protobuf\Timestamp

Last time the condition was updated.

getStatus

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline.

Returns
TypeDescription
bool

setStatus

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getUpdateTime

Last time the condition was updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Last time the condition was updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this