Google Cloud Deploy V1 Client - Class Rollback (0.14.0)

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
NameDescription
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
TypeDescription
string

setDestinationPhase

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this