Google Cloud Deploy V1 Client - Class PipelineCondition (0.7.0)

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

PipelineCondition contains all conditions relevant to a Delivery Pipeline.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pipeline_ready_condition Google\Cloud\Deploy\V1\PipelineReadyCondition

Details around the Pipeline's overall status.

↳ targets_present_condition Google\Cloud\Deploy\V1\TargetsPresentCondition

Details around targets enumerated in the pipeline.

↳ targets_type_condition Google\Cloud\Deploy\V1\TargetsTypeCondition

Details on the whether the targets enumerated in the pipeline are of the same type.

getPipelineReadyCondition

Details around the Pipeline's overall status.

Returns
TypeDescription
Google\Cloud\Deploy\V1\PipelineReadyCondition|null

hasPipelineReadyCondition

clearPipelineReadyCondition

setPipelineReadyCondition

Details around the Pipeline's overall status.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\PipelineReadyCondition
Returns
TypeDescription
$this

getTargetsPresentCondition

Details around targets enumerated in the pipeline.

Returns
TypeDescription
Google\Cloud\Deploy\V1\TargetsPresentCondition|null

hasTargetsPresentCondition

clearTargetsPresentCondition

setTargetsPresentCondition

Details around targets enumerated in the pipeline.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\TargetsPresentCondition
Returns
TypeDescription
$this

getTargetsTypeCondition

Details on the whether the targets enumerated in the pipeline are of the same type.

Returns
TypeDescription
Google\Cloud\Deploy\V1\TargetsTypeCondition|null

hasTargetsTypeCondition

clearTargetsTypeCondition

setTargetsTypeCondition

Details on the whether the targets enumerated in the pipeline are of the same type.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\TargetsTypeCondition
Returns
TypeDescription
$this