public sealed class Trigger.Types.RetryPolicy : IMessage<Trigger.Types.RetryPolicy>, IEquatable<Trigger.Types.RetryPolicy>, IDeepCloneable<Trigger.Types.RetryPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Eventarc v1 API class Trigger.Types.RetryPolicy.
The retry policy configuration for the Trigger.
Can only be set with Cloud Run destinations.
Implements
IMessageTriggerTypesRetryPolicy, IEquatableTriggerTypesRetryPolicy, IDeepCloneableTriggerTypesRetryPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
RetryPolicy()
public RetryPolicy()RetryPolicy(RetryPolicy)
public RetryPolicy(Trigger.Types.RetryPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
TriggerTypesRetryPolicy |
Properties
MaxAttempts
public int MaxAttempts { get; set; }Optional. The maximum number of delivery attempts for any message. The only valid value is 1.
| Property Value | |
|---|---|
| Type | Description |
int |
|