Google Cloud Deploy V1 Client - Class RepairPhase (0.17.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
NameDescription
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
TypeDescription
Google\Cloud\Deploy\V1\RetryPhase|null

hasRetry

setRetry

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

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

getRollback

Output only. Rollback attempt for rollback repair mode .

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

hasRollback

setRollback

Output only. Rollback attempt for rollback repair mode .

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

getRepairPhase

Returns
TypeDescription
string