GoogleCloudEventarcV1PipelineRetryPolicy class

The retry policy configuration for the Pipeline.

The pipeline exponentially backs off in case the destination is non responsive or returns a retryable error code. The default semantics are as follows: The backoff starts with a 5 second delay and doubles the delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). The delay is capped at 60 seconds by default. Please note that if you set the min_retry_delay and max_retry_delay fields to the same value this will make the duration between retries constant.

Constructors

GoogleCloudEventarcV1PipelineRetryPolicy.new({int? maxAttempts, String? maxRetryDelay, String? minRetryDelay})
GoogleCloudEventarcV1PipelineRetryPolicy.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxAttempts int?
The maximum number of delivery attempts for any message.
getter/setter pair
maxRetryDelay String?
The maximum amount of seconds to wait between retry attempts.
getter/setter pair
minRetryDelay String?
The minimum amount of seconds to wait between retry attempts.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited