Google Cloud Deploy V1 Client - Class RetryAttempt (1.3.0)

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

RetryAttempt represents an action of retrying the failed Cloud Deploy job.

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

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ attempt int|string

Output only. The index of this retry attempt.

↳ wait Google\Protobuf\Duration

Output only. How long the operation will be paused.

↳ state int

Output only. Valid state of this retry action.

↳ state_desc string

Output only. Description of the state of the Retry.

getAttempt

Output only. The index of this retry attempt.

Returns
Type Description
int|string

setAttempt

Output only. The index of this retry attempt.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getWait

Output only. How long the operation will be paused.

Returns
Type Description
Google\Protobuf\Duration|null

hasWait

clearWait

setWait

Output only. How long the operation will be paused.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getState

Output only. Valid state of this retry action.

Returns
Type Description
int

setState

Output only. Valid state of this retry action.

Parameter
Name Description
var int
Returns
Type Description
$this

getStateDesc

Output only. Description of the state of the Retry.

Returns
Type Description
string

setStateDesc

Output only. Description of the state of the Retry.

Parameter
Name Description
var string
Returns
Type Description
$this