Reference documentation and code samples for the Google Cloud Deploy V1 Client class TimedPromoteReleaseCondition.
TimedPromoteReleaseCondition contains conditions specific to an Automation
with a Timed Promote Release rule defined.
Generated from protobuf message google.cloud.deploy.v1.TimedPromoteReleaseCondition
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ next_promotion_time |
Google\Protobuf\Timestamp
Output only. When the next scheduled promotion(s) will occur. |
↳ targets_list |
array<TimedPromoteReleaseCondition\Targets>
Output only. A list of targets involved in the upcoming timed promotion(s). |
getNextPromotionTime
Output only. When the next scheduled promotion(s) will occur.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasNextPromotionTime
clearNextPromotionTime
setNextPromotionTime
Output only. When the next scheduled promotion(s) will occur.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetsList
Output only. A list of targets involved in the upcoming timed promotion(s).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTargetsList
Output only. A list of targets involved in the upcoming timed promotion(s).
| Parameter | |
|---|---|
| Name | Description |
var |
array<TimedPromoteReleaseCondition\Targets>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|