Google Cloud Deploy V1 Client - Class RepairMode (1.0.0)

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

Configuration of the repair action.

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

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\Retry

Optional. Retries a failed job.

↳ rollback Google\Cloud\Deploy\V1\Rollback

Optional. Rolls back a Rollout.

getRetry

Optional. Retries a failed job.

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

hasRetry

setRetry

Optional. Retries a failed job.

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

getRollback

Optional. Rolls back a Rollout.

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

hasRollback

setRollback

Optional. Rolls back a Rollout.

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

getMode

Returns
Type Description
string