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).
Generated from protobuf message google.api.MethodSettings.LongRunning
Methods |
public __construct( $data = NULL) Constructor.
|
public clearInitialPollDelay() |
public clearMaxPollDelay() |
public clearTotalPollTimeout() |
public getInitialPollDelay() Initial delay after which the first poll request will be made. Default value: 5 seconds. Generated from protobuf field .google.protobuf.Duration initial_poll_delay = 1;
|
public getMaxPollDelay() Maximum time between two subsequent poll requests. Default value: 45 seconds. Generated from protobuf field .google.protobuf.Duration max_poll_delay = 3;
|
public getPollDelayMultiplier() Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. Generated from protobuf field float poll_delay_multiplier = 2;
|
public getTotalPollTimeout() Total polling timeout. Default value: 5 minutes. Generated from protobuf field .google.protobuf.Duration total_poll_timeout = 4;
|
public hasInitialPollDelay() |
public hasMaxPollDelay() |
public hasTotalPollTimeout() |
public setInitialPollDelay( $var) Initial delay after which the first poll request will be made. Default value: 5 seconds. Generated from protobuf field .google.protobuf.Duration initial_poll_delay = 1;
|
public setMaxPollDelay( $var) Maximum time between two subsequent poll requests. Default value: 45 seconds. Generated from protobuf field .google.protobuf.Duration max_poll_delay = 3;
|
public setPollDelayMultiplier( $var) Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. Generated from protobuf field float poll_delay_multiplier = 2;
|
public setTotalPollTimeout( $var) Total polling timeout. Default value: 5 minutes. Generated from protobuf field .google.protobuf.Duration total_poll_timeout = 4;
|
Properties |
protected $initial_poll_delay = NULL Initial delay after which the first poll request will be made. Default value: 5 seconds. Generated from protobuf field .google.protobuf.Duration initial_poll_delay = 1; |
protected $max_poll_delay = NULL Maximum time between two subsequent poll requests. Default value: 45 seconds. Generated from protobuf field .google.protobuf.Duration max_poll_delay = 3; |
protected $poll_delay_multiplier = 0 Multiplier to gradually increase delay between subsequent polls until it reaches max_poll_delay. Default value: 1.5. Generated from protobuf field float poll_delay_multiplier = 2; |
protected $total_poll_timeout = NULL Total polling timeout. Default value: 5 minutes. Generated from protobuf field .google.protobuf.Duration total_poll_timeout = 4; |
Methods |