Google Cloud Deploy v1 API - Class Retry (2.16.0)

public sealed class Retry : IMessage<Retry>, IEquatable<Retry>, IDeepCloneable<Retry>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class Retry.

Retries the failed job.

Inheritance

object > Retry

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

Retry()

public Retry()

Retry(Retry)

public Retry(Retry other)
Parameter
Name Description
other Retry

Properties

Attempts

public long Attempts { get; set; }

Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.

Property Value
Type Description
long

BackoffMode

public BackoffMode BackoffMode { get; set; }

Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if wait is 0.

Property Value
Type Description
BackoffMode

Wait

public Duration Wait { get; set; }

Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.

Property Value
Type Description
Duration