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