Show / Hide Table of Contents

Class GoogleMapsPlacesV1RoutingSummary

The duration and distance from the routing origin to a place in the response, and a second leg from that place to the destination, if requested. Note: Adding routingSummaries in the field mask without also including either the routingParameters.origin parameter or the searchAlongRouteParameters.polyline.encodedPolyline parameter in the request causes an error.

Inheritance
object
GoogleMapsPlacesV1RoutingSummary
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1RoutingSummary : IDirectResponseSchema

Properties

DirectionsUri

A link to show directions on Google Maps using the waypoints from the given routing summary. The route generated by this link is not guaranteed to be the same as the route used to generate the routing summary. The link uses information provided in the request, from fields including routingParameters and searchAlongRouteParameters when applicable, to generate the directions link.

Declaration
[JsonProperty("directionsUri")]
public virtual string DirectionsUri { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Legs

The legs of the trip. When you calculate travel duration and distance from a set origin, legs contains a single leg containing the duration and distance from the origin to the destination. When you do a search along route, legs contains two legs: one from the origin to place, and one from the place to the destination.

Declaration
[JsonProperty("legs")]
public virtual IList<GoogleMapsPlacesV1RoutingSummaryLeg> Legs { get; set; }
Property Value
Type Description
IList<GoogleMapsPlacesV1RoutingSummaryLeg>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX