LongRunning class

Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. Java).

Constructors

LongRunning({Input<String>? initialPollDelay, Input<String>? maxPollDelay, Input<double>? pollDelayMultiplier, Input<String>? totalPollTimeout})
Creates a new LongRunning. initialPollDelay Initial delay after which the first poll request will be made. Default value: 5 seconds. maxPollDelay Maximum time between two subsequent poll requests. Default value: 45 seconds. pollDelayMultiplier Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. totalPollTimeout Total polling timeout. Default value: 5 minutes.
const
LongRunning.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
initialPollDelay → Input<String>?
Initial delay after which the first poll request will be made. Default value: 5 seconds.
final
maxPollDelay → Input<String>?
Maximum time between two subsequent poll requests. Default value: 45 seconds.
final
pollDelayMultiplier → Input<double>?
Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalPollTimeout → Input<String>?
Total polling timeout. Default value: 5 minutes.
final

Methods

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

Operators

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