Google Cloud Deploy V1 Client - Class RollbackTargetConfig (1.2.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
Name Description
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
Type Description
Google\Cloud\Deploy\V1\Rollout|null

hasRollout

clearRollout

setRollout

Optional. The rollback Rollout to create.

Parameter
Name Description
var Google\Cloud\Deploy\V1\Rollout
Returns
Type Description
$this

getStartingPhaseId

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

Returns
Type Description
string

setStartingPhaseId

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