Class GoogleMapsPlacesV1RoutingParameters
Parameters to configure the routing calculations to the places in the response, both along a route (where result ranking will be influenced) and for calculating travel times on results.
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1RoutingParameters : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Origin
Optional. An explicit routing origin that overrides the origin defined in the polyline. By default, the polyline origin is used.
Declaration
[JsonProperty("origin")]
public virtual GoogleTypeLatLng Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleTypeLatLng |
RouteModifiers
Optional. The route modifiers.
Declaration
[JsonProperty("routeModifiers")]
public virtual GoogleMapsPlacesV1RouteModifiers RouteModifiers { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleMapsPlacesV1RouteModifiers |
RoutingPreference
Optional. Specifies how to compute the routing summaries. The server attempts to use the selected routing
preference to compute the route. The traffic aware routing preference is only available for the DRIVE or
TWO_WHEELER travelMode.
Declaration
[JsonProperty("routingPreference")]
public virtual string RoutingPreference { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TravelMode
Optional. The travel mode.
Declaration
[JsonProperty("travelMode")]
public virtual string TravelMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |