Google Cloud Deploy V1 Client - Class RollbackTargetConfig (0.17.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class RollbackTargetConfig.

Configs for the Rollback rollout.

Generated from protobuf message google.cloud.deploy.v1.RollbackTargetConfig

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ rollout Google\Cloud\Deploy\V1\Rollout

Optional. The rollback Rollout to create.

↳ starting_phase_id string

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

getRollout

Optional. The rollback Rollout to create.

Returns
TypeDescription
Google\Cloud\Deploy\V1\Rollout|null

hasRollout

clearRollout

setRollout

Optional. The rollback Rollout to create.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\Rollout
Returns
TypeDescription
$this

getStartingPhaseId

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

Returns
TypeDescription
string

setStartingPhaseId

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