Google Cloud Deploy V1 Client - Class PipelineReadyCondition (1.5.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
Name Description
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
Type Description
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
Name Description
var bool
Returns
Type Description
$this

getUpdateTime

Last time the condition was updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Last time the condition was updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this