Class: Google::Api::MethodSettings::LongRunning
- Inherits:
-
Object
- Object
- Google::Api::MethodSettings::LongRunning
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/client.rb
Overview
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).
Instance Attribute Summary collapse
-
#initial_poll_delay ⇒ ::Google::Protobuf::Duration
Initial delay after which the first poll request will be made.
-
#max_poll_delay ⇒ ::Google::Protobuf::Duration
Maximum time between two subsequent poll requests.
-
#poll_delay_multiplier ⇒ ::Float
Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay.
-
#total_poll_timeout ⇒ ::Google::Protobuf::Duration
Total polling timeout.
Instance Attribute Details
#initial_poll_delay ⇒ ::Google::Protobuf::Duration
Returns Initial delay after which the first poll request will be made. Default value: 5 seconds.
333 334 335 336 |
# File 'proto_docs/google/api/client.rb', line 333 class LongRunning include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#max_poll_delay ⇒ ::Google::Protobuf::Duration
Returns Maximum time between two subsequent poll requests. Default value: 45 seconds.
333 334 335 336 |
# File 'proto_docs/google/api/client.rb', line 333 class LongRunning include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#poll_delay_multiplier ⇒ ::Float
Returns Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5.
333 334 335 336 |
# File 'proto_docs/google/api/client.rb', line 333 class LongRunning include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#total_poll_timeout ⇒ ::Google::Protobuf::Duration
Returns Total polling timeout. Default value: 5 minutes.
333 334 335 336 |
# File 'proto_docs/google/api/client.rb', line 333 class LongRunning include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |