Class RoutesSettings
Settings for RoutesClient instances.
Inherited Members
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class RoutesSettings : ServiceSettingsBase
Constructors
RoutesSettings()
Constructs a new RoutesSettings object with default settings.
Declaration
public RoutesSettings()
Properties
ComputeRouteMatrixSettings
CallSettings for synchronous and asynchronous calls to
RoutesClient.ComputeRouteMatrix
and RoutesClient.ComputeRouteMatrixAsync
.
Declaration
public CallSettings ComputeRouteMatrixSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- This call will not be retried.
- No timeout is applied.
ComputeRoutesSettings
CallSettings for synchronous and asynchronous calls to RoutesClient.ComputeRoutes
and RoutesClient.ComputeRoutesAsync
.
Declaration
public CallSettings ComputeRoutesSettings { 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 RoutesSettings Clone()
Returns
Type | Description |
---|---|
RoutesSettings | A deep clone of this RoutesSettings object. |
GetDefault()
Get a new instance of the default RoutesSettings.
Declaration
public static RoutesSettings GetDefault()
Returns
Type | Description |
---|---|
RoutesSettings | A new instance of the default RoutesSettings. |