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

hasRetry

setRetry

Optional. Retries a failed job.

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

getRollback

Optional. Rolls back a Rollout.

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

hasRollback

setRollback

Optional. Rolls back a Rollout.

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

getMode

Returns
TypeDescription
string