Class: Google::Cloud::Tasks::V2::RetryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Tasks::V2::RetryConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/tasks/v2/queue.rb
Overview
Retry config.
These settings determine when a failed task attempt is retried.
Instance Attribute Summary collapse
-
#max_attempts ⇒ ::Integer
Number of attempts per task.
-
#max_backoff ⇒ ::Google::Protobuf::Duration
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
-
#max_doublings ⇒ ::Integer
The time between retries will double
max_doublingstimes. -
#max_retry_duration ⇒ ::Google::Protobuf::Duration
If positive,
max_retry_durationspecifies the time limit for retrying a failed task, measured from when the task was first attempted. -
#min_backoff ⇒ ::Google::Protobuf::Duration
A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
Instance Attribute Details
#max_attempts ⇒ ::Integer
356 357 358 359 |
# File 'proto_docs/google/cloud/tasks/v2/queue.rb', line 356 class RetryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#max_backoff ⇒ ::Google::Protobuf::Duration
356 357 358 359 |
# File 'proto_docs/google/cloud/tasks/v2/queue.rb', line 356 class RetryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#max_doublings ⇒ ::Integer
356 357 358 359 |
# File 'proto_docs/google/cloud/tasks/v2/queue.rb', line 356 class RetryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#max_retry_duration ⇒ ::Google::Protobuf::Duration
356 357 358 359 |
# File 'proto_docs/google/cloud/tasks/v2/queue.rb', line 356 class RetryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_backoff ⇒ ::Google::Protobuf::Duration
356 357 358 359 |
# File 'proto_docs/google/cloud/tasks/v2/queue.rb', line 356 class RetryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |