Class VehicleServiceSettings
Settings for VehicleServiceClient instances.
Inherited Members
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class VehicleServiceSettings : ServiceSettingsBase
Constructors
VehicleServiceSettings()
Constructs a new VehicleServiceSettings object with default settings.
Declaration
public VehicleServiceSettings()
Properties
CreateVehicleSettings
CallSettings for synchronous and asynchronous calls to
VehicleServiceClient.CreateVehicle
and VehicleServiceClient.CreateVehicleAsync
.
Declaration
public CallSettings CreateVehicleSettings { 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: 15 seconds.
GetVehicleSettings
CallSettings for synchronous and asynchronous calls to
VehicleServiceClient.GetVehicle
and VehicleServiceClient.GetVehicleAsync
.
Declaration
public CallSettings GetVehicleSettings { 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: 15 seconds.
ListVehiclesSettings
CallSettings for synchronous and asynchronous calls to
VehicleServiceClient.ListVehicles
and VehicleServiceClient.ListVehiclesAsync
.
Declaration
public CallSettings ListVehiclesSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
SearchVehiclesSettings
CallSettings for synchronous and asynchronous calls to
VehicleServiceClient.SearchVehicles
and VehicleServiceClient.SearchVehiclesAsync
.
Declaration
public CallSettings SearchVehiclesSettings { 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: 15 seconds.
UpdateVehicleAttributesSettings
CallSettings for synchronous and asynchronous calls to
VehicleServiceClient.UpdateVehicleAttributes
and VehicleServiceClient.UpdateVehicleAttributesAsync
.
Declaration
public CallSettings UpdateVehicleAttributesSettings { 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: 15 seconds.
UpdateVehicleSettings
CallSettings for synchronous and asynchronous calls to
VehicleServiceClient.UpdateVehicle
and VehicleServiceClient.UpdateVehicleAsync
.
Declaration
public CallSettings UpdateVehicleSettings { 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: 15 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public VehicleServiceSettings Clone()
Returns
Type | Description |
---|---|
VehicleServiceSettings | A deep clone of this VehicleServiceSettings object. |
GetDefault()
Get a new instance of the default VehicleServiceSettings.
Declaration
public static VehicleServiceSettings GetDefault()
Returns
Type | Description |
---|---|
VehicleServiceSettings | A new instance of the default VehicleServiceSettings. |