Google Cloud Deploy V1 Client - Class RepairPhase (1.0.0)

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

RepairPhase tracks the repair attempts that have been made for each RepairMode specified in the Automation resource.

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

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ retry Google\Cloud\Deploy\V1\RetryPhase

Output only. Records of the retry attempts for retry repair mode.

↳ rollback Google\Cloud\Deploy\V1\RollbackAttempt

Output only. Rollback attempt for rollback repair mode .

getRetry

Output only. Records of the retry attempts for retry repair mode.

Returns
Type Description
Google\Cloud\Deploy\V1\RetryPhase|null

hasRetry

setRetry

Output only. Records of the retry attempts for retry repair mode.

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

getRollback

Output only. Rollback attempt for rollback repair mode .

Returns
Type Description
Google\Cloud\Deploy\V1\RollbackAttempt|null

hasRollback

setRollback

Output only. Rollback attempt for rollback repair mode .

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

getRepairPhase

Returns
Type Description
string