Class GoogleMapsPlacesV1RouteModifiers
Encapsulates a set of optional conditions to satisfy when calculating the routes.
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1RouteModifiers : IDirectResponseSchema
Properties
AvoidFerries
Optional. When set to true, avoids ferries where reasonable, giving preference to routes not containing
ferries. Applies only to the DRIVE
and TWO_WHEELER
TravelMode
.
Declaration
[JsonProperty("avoidFerries")]
public virtual bool? AvoidFerries { get; set; }
Property Value
Type | Description |
---|---|
bool? |
AvoidHighways
Optional. When set to true, avoids highways where reasonable, giving preference to routes not containing
highways. Applies only to the DRIVE
and TWO_WHEELER
TravelMode
.
Declaration
[JsonProperty("avoidHighways")]
public virtual bool? AvoidHighways { get; set; }
Property Value
Type | Description |
---|---|
bool? |
AvoidIndoor
Optional. When set to true, avoids navigating indoors where reasonable, giving preference to routes not
containing indoor navigation. Applies only to the WALK
TravelMode
.
Declaration
[JsonProperty("avoidIndoor")]
public virtual bool? AvoidIndoor { get; set; }
Property Value
Type | Description |
---|---|
bool? |
AvoidTolls
Optional. When set to true, avoids toll roads where reasonable, giving preference to routes not containing
toll roads. Applies only to the DRIVE
and TWO_WHEELER
TravelMode
.
Declaration
[JsonProperty("avoidTolls")]
public virtual bool? AvoidTolls { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |