Google Cloud Deploy V1 Client - Class Rollback (0.18.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ destination_phase string

Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.

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