Class DeliveryServiceSettings
Settings for DeliveryServiceClient instances.
Inherited Members
Namespace: Google.Maps.FleetEngine.Delivery.V1
Assembly: Google.Maps.FleetEngine.Delivery.V1.dll
Syntax
public sealed class DeliveryServiceSettings : ServiceSettingsBase
Constructors
DeliveryServiceSettings()
Constructs a new DeliveryServiceSettings object with default settings.
Declaration
public DeliveryServiceSettings()
Properties
BatchCreateTasksSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.BatchCreateTasks and DeliveryServiceClient.BatchCreateTasksAsync.
Declaration
public CallSettings BatchCreateTasksSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
CreateDeliveryVehicleSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.CreateDeliveryVehicle and DeliveryServiceClient.CreateDeliveryVehicleAsync
.
Declaration
public CallSettings CreateDeliveryVehicleSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
CreateTaskSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.CreateTask and DeliveryServiceClient.CreateTaskAsync.
Declaration
public CallSettings CreateTaskSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
DeleteDeliveryVehicleSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.DeleteDeliveryVehicle and DeliveryServiceClient.DeleteDeliveryVehicleAsync
.
Declaration
public CallSettings DeleteDeliveryVehicleSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
DeleteTaskSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.DeleteTask and DeliveryServiceClient.DeleteTaskAsync.
Declaration
public CallSettings DeleteTaskSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
GetDeliveryVehicleSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.GetDeliveryVehicle and DeliveryServiceClient.GetDeliveryVehicleAsync.
Declaration
public CallSettings GetDeliveryVehicleSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetTaskSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.GetTask and DeliveryServiceClient.GetTaskAsync.
Declaration
public CallSettings GetTaskSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetTaskTrackingInfoSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.GetTaskTrackingInfo and DeliveryServiceClient.GetTaskTrackingInfoAsync.
Declaration
public CallSettings GetTaskTrackingInfoSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListDeliveryVehiclesSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.ListDeliveryVehicles and DeliveryServiceClient.ListDeliveryVehiclesAsync
.
Declaration
public CallSettings ListDeliveryVehiclesSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListTasksSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.ListTasks and DeliveryServiceClient.ListTasksAsync.
Declaration
public CallSettings ListTasksSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
UpdateDeliveryVehicleSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.UpdateDeliveryVehicle and DeliveryServiceClient.UpdateDeliveryVehicleAsync
.
Declaration
public CallSettings UpdateDeliveryVehicleSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
UpdateTaskSettings
CallSettings for synchronous and asynchronous calls to
DeliveryServiceClient.UpdateTask and DeliveryServiceClient.UpdateTaskAsync.
Declaration
public CallSettings UpdateTaskSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public DeliveryServiceSettings Clone()
Returns
| Type | Description |
|---|---|
| DeliveryServiceSettings | A deep clone of this DeliveryServiceSettings object. |
GetDefault()
Get a new instance of the default DeliveryServiceSettings.
Declaration
public static DeliveryServiceSettings GetDefault()
Returns
| Type | Description |
|---|---|
| DeliveryServiceSettings | A new instance of the default DeliveryServiceSettings. |