Reference documentation and code samples for the Google Cloud Deploy V1 Client class AutomationRuleCondition.
AutomationRuleCondition contains conditions relevant to an
Automation rule.
Generated from protobuf message google.cloud.deploy.v1.AutomationRuleCondition
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targets_present_condition |
TargetsPresentCondition
Optional. Details around targets enumerated in the rule. |
↳ timed_promote_release_condition |
TimedPromoteReleaseCondition
Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined. |
getTargetsPresentCondition
Optional. Details around targets enumerated in the rule.
| Returns | |
|---|---|
| Type | Description |
TargetsPresentCondition|null |
|
hasTargetsPresentCondition
clearTargetsPresentCondition
setTargetsPresentCondition
Optional. Details around targets enumerated in the rule.
| Parameter | |
|---|---|
| Name | Description |
var |
TargetsPresentCondition
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimedPromoteReleaseCondition
Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined.
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition|null |
|
hasTimedPromoteReleaseCondition
setTimedPromoteReleaseCondition
Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined.
| Parameter | |
|---|---|
| Name | Description |
var |
TimedPromoteReleaseCondition
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRuleTypeCondition
| Returns | |
|---|---|
| Type | Description |
string |
|