Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class RolloutStrategy.
RolloutStrategy defines different ways to rollout a resource bundle across a set of clusters.
Generated from protobuf message google.cloud.configdelivery.v1.RolloutStrategy
Namespace
Google \ Cloud \ ConfigDelivery \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ all_at_once |
AllAtOnceStrategy
AllAtOnceStrategy causes all clusters to be updated concurrently. |
↳ rolling |
RollingStrategy
RollingStrategy causes a specified number of clusters to be updated concurrently until all clusters are updated. |
getAllAtOnce
AllAtOnceStrategy causes all clusters to be updated concurrently.
| Returns | |
|---|---|
| Type | Description |
AllAtOnceStrategy|null |
|
hasAllAtOnce
setAllAtOnce
AllAtOnceStrategy causes all clusters to be updated concurrently.
| Parameter | |
|---|---|
| Name | Description |
var |
AllAtOnceStrategy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRolling
RollingStrategy causes a specified number of clusters to be updated concurrently until all clusters are updated.
| Returns | |
|---|---|
| Type | Description |
RollingStrategy|null |
|
hasRolling
setRolling
RollingStrategy causes a specified number of clusters to be updated concurrently until all clusters are updated.
| Parameter | |
|---|---|
| Name | Description |
var |
RollingStrategy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStrategy
| Returns | |
|---|---|
| Type | Description |
string |
|