Reference documentation and code samples for the gapic-common class Gapic::Operation::RetryPolicy.
The policy for retrying operation reloads using an incremental backoff. A new object instance should be used for every Operation invocation.
Inherits
- Object
Methods
#call
def call()
#initial_delay
def initial_delay()
#initialize
def initialize(initial_delay: nil, multiplier: nil, max_delay: nil, timeout: nil) -> RetryPolicy
Create new Operation RetryPolicy.
Parameters
- initial_delay (Numeric) (defaults to: nil) — client-side timeout
- multiplier (Numeric) (defaults to: nil) — client-side timeout
- max_delay (Numeric) (defaults to: nil) — client-side timeout
- timeout (Numeric) (defaults to: nil) — client-side timeout
Returns
- (RetryPolicy) — a new instance of RetryPolicy
#max_delay
def max_delay()
#multiplier
def multiplier()
#timeout
def timeout()