Reference documentation and code samples for the Google Cloud Deploy V1 Client class Rollback.
Rolls back a Rollout
.
Generated from protobuf message google.cloud.deploy.v1.Rollback
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination_phase |
string
Optional. The starting phase ID for the |
↳ disable_rollback_if_rollout_pending |
bool
Optional. If pending rollout exists on the target, the rollback operation will be aborted. |
getDestinationPhase
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
Returns | |
---|---|
Type | Description |
string |
setDestinationPhase
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisableRollbackIfRolloutPending
Optional. If pending rollout exists on the target, the rollback operation will be aborted.
Returns | |
---|---|
Type | Description |
bool |
setDisableRollbackIfRolloutPending
Optional. If pending rollout exists on the target, the rollback operation will be aborted.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |