Class OperationsSettings
Settings for OperationsClient instances.
Inherited Members
Namespace: Google.LongRunning
Assembly: Google.LongRunning.dll
Syntax
public sealed class OperationsSettings : ServiceSettingsBase
Constructors
OperationsSettings()
Constructs a new OperationsSettings object with default settings.
Declaration
public OperationsSettings()
Properties
CancelOperationSettings
CallSettings for synchronous and asynchronous calls to
OperationsClient.CancelOperation and OperationsClient.CancelOperationAsync.
Declaration
public CallSettings CancelOperationSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 500 milliseconds.
- Retry delay multiplier: 2
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Timeout: 10 seconds.
DefaultPollSettings
The poll settings used by default for repeated polling operations.
Declaration
public PollSettings DefaultPollSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| PollSettings |
DeleteOperationSettings
CallSettings for synchronous and asynchronous calls to
OperationsClient.DeleteOperation and OperationsClient.DeleteOperationAsync.
Declaration
public CallSettings DeleteOperationSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 500 milliseconds.
- Retry delay multiplier: 2
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Timeout: 10 seconds.
GetOperationSettings
CallSettings for synchronous and asynchronous calls to
OperationsClient.GetOperation and OperationsClient.GetOperationAsync.
Declaration
public CallSettings GetOperationSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 500 milliseconds.
- Retry delay multiplier: 2
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Timeout: 10 seconds.
ListOperationsSettings
CallSettings for synchronous and asynchronous calls to
OperationsClient.ListOperations and OperationsClient.ListOperationsAsync.
Declaration
public CallSettings ListOperationsSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 500 milliseconds.
- Retry delay multiplier: 2
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Timeout: 10 seconds.
WaitOperationSettings
CallSettings for synchronous and asynchronous calls to
OperationsClient.WaitOperation and OperationsClient.WaitOperationAsync.
Declaration
public CallSettings WaitOperationSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public OperationsSettings Clone()
Returns
| Type | Description |
|---|---|
| OperationsSettings | A deep clone of this OperationsSettings object. |
GetDefault()
Get a new instance of the default OperationsSettings.
Declaration
public static OperationsSettings GetDefault()
Returns
| Type | Description |
|---|---|
| OperationsSettings | A new instance of the default OperationsSettings. |