Package @googlemaps/routing (1.4.0)

Classes

protos.google.api.ClientLibrarySettings

Represents a ClientLibrarySettings.

protos.google.api.CommonLanguageSettings

Represents a CommonLanguageSettings.

protos.google.api.CppSettings

Represents a CppSettings.

protos.google.api.CustomHttpPattern

Represents a CustomHttpPattern.

protos.google.api.DotnetSettings

Represents a DotnetSettings.

protos.google.api.GoSettings

Represents a GoSettings.

protos.google.api.Http

Represents a Http.

protos.google.api.HttpRule

Represents a HttpRule.

protos.google.api.JavaSettings

Represents a JavaSettings.

protos.google.api.MethodSettings

Represents a MethodSettings.

protos.google.api.MethodSettings.LongRunning

Represents a LongRunning.

protos.google.api.NodeSettings

Represents a NodeSettings.

protos.google.api.PhpSettings

Represents a PhpSettings.

protos.google.api.Publishing

Represents a Publishing.

protos.google.api.PythonSettings

Represents a PythonSettings.

protos.google.api.RubySettings

Represents a RubySettings.

protos.google.geo.type.Viewport

Represents a Viewport.

protos.google.maps.routing.v2.ComputeRouteMatrixRequest

Represents a ComputeRouteMatrixRequest.

protos.google.maps.routing.v2.ComputeRoutesRequest

Represents a ComputeRoutesRequest.

protos.google.maps.routing.v2.ComputeRoutesResponse

Represents a ComputeRoutesResponse.

protos.google.maps.routing.v2.FallbackInfo

Represents a FallbackInfo.

protos.google.maps.routing.v2.GeocodedWaypoint

Represents a GeocodedWaypoint.

protos.google.maps.routing.v2.GeocodingResults

Represents a GeocodingResults.

protos.google.maps.routing.v2.LocalizedTime

Represents a LocalizedTime.

protos.google.maps.routing.v2.Location

Represents a Location.

protos.google.maps.routing.v2.NavigationInstruction

Represents a NavigationInstruction.

protos.google.maps.routing.v2.Polyline

Represents a Polyline.

protos.google.maps.routing.v2.PolylineDetails

Represents a PolylineDetails.

protos.google.maps.routing.v2.PolylineDetails.FlyoverInfo

Represents a FlyoverInfo.

protos.google.maps.routing.v2.PolylineDetails.NarrowRoadInfo

Represents a NarrowRoadInfo.

protos.google.maps.routing.v2.PolylineDetails.PolylinePointIndex

Represents a PolylinePointIndex.

protos.google.maps.routing.v2.Route

Represents a Route.

protos.google.maps.routing.v2.Route.RouteLocalizedValues

Represents a RouteLocalizedValues.

protos.google.maps.routing.v2.RouteLeg

Represents a RouteLeg.

protos.google.maps.routing.v2.RouteLeg.RouteLegLocalizedValues

Represents a RouteLegLocalizedValues.

protos.google.maps.routing.v2.RouteLeg.StepsOverview

Represents a StepsOverview.

protos.google.maps.routing.v2.RouteLeg.StepsOverview.MultiModalSegment

Represents a MultiModalSegment.

protos.google.maps.routing.v2.RouteLegStep

Represents a RouteLegStep.

protos.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues

Represents a RouteLegStepLocalizedValues.

protos.google.maps.routing.v2.RouteLegStepTransitDetails

Represents a RouteLegStepTransitDetails.

protos.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues

Represents a TransitDetailsLocalizedValues.

protos.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails

Represents a TransitStopDetails.

protos.google.maps.routing.v2.RouteLegStepTravelAdvisory

Represents a RouteLegStepTravelAdvisory.

protos.google.maps.routing.v2.RouteLegTravelAdvisory

Represents a RouteLegTravelAdvisory.

protos.google.maps.routing.v2.RouteMatrixDestination

Represents a RouteMatrixDestination.

protos.google.maps.routing.v2.RouteMatrixElement

Represents a RouteMatrixElement.

protos.google.maps.routing.v2.RouteMatrixElement.LocalizedValues

Represents a LocalizedValues.

protos.google.maps.routing.v2.RouteMatrixOrigin

Represents a RouteMatrixOrigin.

protos.google.maps.routing.v2.RouteModifiers

Represents a RouteModifiers.

protos.google.maps.routing.v2.Routes

Represents a Routes

protos.google.maps.routing.v2.RouteTravelAdvisory

Represents a RouteTravelAdvisory.

protos.google.maps.routing.v2.SpeedReadingInterval

Represents a SpeedReadingInterval.

protos.google.maps.routing.v2.TollInfo

Represents a TollInfo.

protos.google.maps.routing.v2.TransitAgency

Represents a TransitAgency.

protos.google.maps.routing.v2.TransitLine

Represents a TransitLine.

protos.google.maps.routing.v2.TransitPreferences

Represents a TransitPreferences.

protos.google.maps.routing.v2.TransitStop

Represents a TransitStop.

protos.google.maps.routing.v2.TransitVehicle

Represents a TransitVehicle.

protos.google.maps.routing.v2.VehicleInfo

Represents a VehicleInfo.

protos.google.maps.routing.v2.Waypoint

Represents a Waypoint.

protos.google.protobuf.Any

Represents an Any.

protos.google.protobuf.BoolValue

Represents a BoolValue.

protos.google.protobuf.BytesValue

Represents a BytesValue.

protos.google.protobuf.DescriptorProto

Represents a DescriptorProto.

protos.google.protobuf.DescriptorProto.ExtensionRange

Represents an ExtensionRange.

protos.google.protobuf.DescriptorProto.ReservedRange

Represents a ReservedRange.

protos.google.protobuf.DoubleValue

Represents a DoubleValue.

protos.google.protobuf.Duration

Represents a Duration.

protos.google.protobuf.EnumDescriptorProto

Represents an EnumDescriptorProto.

protos.google.protobuf.EnumDescriptorProto.EnumReservedRange

Represents an EnumReservedRange.

protos.google.protobuf.EnumOptions

Represents an EnumOptions.

protos.google.protobuf.EnumValueDescriptorProto

Represents an EnumValueDescriptorProto.

protos.google.protobuf.EnumValueOptions

Represents an EnumValueOptions.

protos.google.protobuf.ExtensionRangeOptions

Represents an ExtensionRangeOptions.

protos.google.protobuf.ExtensionRangeOptions.Declaration

Represents a Declaration.

protos.google.protobuf.FeatureSet

Represents a FeatureSet.

protos.google.protobuf.FeatureSetDefaults

Represents a FeatureSetDefaults.

protos.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault

Represents a FeatureSetEditionDefault.

protos.google.protobuf.FieldDescriptorProto

Represents a FieldDescriptorProto.

protos.google.protobuf.FieldOptions

Represents a FieldOptions.

protos.google.protobuf.FieldOptions.EditionDefault

Represents an EditionDefault.

protos.google.protobuf.FileDescriptorProto

Represents a FileDescriptorProto.

protos.google.protobuf.FileDescriptorSet

Represents a FileDescriptorSet.

protos.google.protobuf.FileOptions

Represents a FileOptions.

protos.google.protobuf.FloatValue

Represents a FloatValue.

protos.google.protobuf.GeneratedCodeInfo

Represents a GeneratedCodeInfo.

protos.google.protobuf.GeneratedCodeInfo.Annotation

Represents an Annotation.

protos.google.protobuf.Int32Value

Represents an Int32Value.

protos.google.protobuf.Int64Value

Represents an Int64Value.

protos.google.protobuf.ListValue

Represents a ListValue.

protos.google.protobuf.MessageOptions

Represents a MessageOptions.

protos.google.protobuf.MethodDescriptorProto

Represents a MethodDescriptorProto.

protos.google.protobuf.MethodOptions

Represents a MethodOptions.

protos.google.protobuf.OneofDescriptorProto

Represents an OneofDescriptorProto.

protos.google.protobuf.OneofOptions

Represents an OneofOptions.

protos.google.protobuf.ServiceDescriptorProto

Represents a ServiceDescriptorProto.

protos.google.protobuf.ServiceOptions

Represents a ServiceOptions.

protos.google.protobuf.SourceCodeInfo

Represents a SourceCodeInfo.

protos.google.protobuf.SourceCodeInfo.Location

Represents a Location.

protos.google.protobuf.StringValue

Represents a StringValue.

protos.google.protobuf.Struct

Represents a Struct.

protos.google.protobuf.Timestamp

Represents a Timestamp.

protos.google.protobuf.UInt32Value

Represents a UInt32Value.

protos.google.protobuf.UInt64Value

Represents a UInt64Value.

protos.google.protobuf.UninterpretedOption

Represents an UninterpretedOption.

protos.google.protobuf.UninterpretedOption.NamePart

Represents a NamePart.

protos.google.protobuf.Value

Represents a Value.

protos.google.rpc.Status

Represents a Status.

protos.google.type.LatLng

Represents a LatLng.

protos.google.type.LocalizedText

Represents a LocalizedText.

protos.google.type.Money

Represents a Money.

v2.RoutesClient

The Routes API. v2

Interfaces

protos.google.api.IClientLibrarySettings

Properties of a ClientLibrarySettings.

protos.google.api.ICommonLanguageSettings

Properties of a CommonLanguageSettings.

protos.google.api.ICppSettings

Properties of a CppSettings.

protos.google.api.ICustomHttpPattern

Properties of a CustomHttpPattern.

protos.google.api.IDotnetSettings

Properties of a DotnetSettings.

protos.google.api.IGoSettings

Properties of a GoSettings.

protos.google.api.IHttp

Properties of a Http.

protos.google.api.IHttpRule

Properties of a HttpRule.

protos.google.api.IJavaSettings

Properties of a JavaSettings.

protos.google.api.IMethodSettings

Properties of a MethodSettings.

protos.google.api.INodeSettings

Properties of a NodeSettings.

protos.google.api.IPhpSettings

Properties of a PhpSettings.

protos.google.api.IPublishing

Properties of a Publishing.

protos.google.api.IPythonSettings

Properties of a PythonSettings.

protos.google.api.IRubySettings

Properties of a RubySettings.

protos.google.api.MethodSettings.ILongRunning

Properties of a LongRunning.

protos.google.geo.type.IViewport

Properties of a Viewport.

protos.google.maps.routing.v2.IComputeRouteMatrixRequest

Properties of a ComputeRouteMatrixRequest.

protos.google.maps.routing.v2.IComputeRoutesRequest

Properties of a ComputeRoutesRequest.

protos.google.maps.routing.v2.IComputeRoutesResponse

Properties of a ComputeRoutesResponse.

protos.google.maps.routing.v2.IFallbackInfo

Properties of a FallbackInfo.

protos.google.maps.routing.v2.IGeocodedWaypoint

Properties of a GeocodedWaypoint.

protos.google.maps.routing.v2.IGeocodingResults

Properties of a GeocodingResults.

protos.google.maps.routing.v2.ILocalizedTime

Properties of a LocalizedTime.

protos.google.maps.routing.v2.ILocation

Properties of a Location.

protos.google.maps.routing.v2.INavigationInstruction

Properties of a NavigationInstruction.

protos.google.maps.routing.v2.IPolyline

Properties of a Polyline.

protos.google.maps.routing.v2.IPolylineDetails

Properties of a PolylineDetails.

protos.google.maps.routing.v2.IRoute

Properties of a Route.

protos.google.maps.routing.v2.IRouteLeg

Properties of a RouteLeg.

protos.google.maps.routing.v2.IRouteLegStep

Properties of a RouteLegStep.

protos.google.maps.routing.v2.IRouteLegStepTransitDetails

Properties of a RouteLegStepTransitDetails.

protos.google.maps.routing.v2.IRouteLegStepTravelAdvisory

Properties of a RouteLegStepTravelAdvisory.

protos.google.maps.routing.v2.IRouteLegTravelAdvisory

Properties of a RouteLegTravelAdvisory.

protos.google.maps.routing.v2.IRouteMatrixDestination

Properties of a RouteMatrixDestination.

protos.google.maps.routing.v2.IRouteMatrixElement

Properties of a RouteMatrixElement.

protos.google.maps.routing.v2.IRouteMatrixOrigin

Properties of a RouteMatrixOrigin.

protos.google.maps.routing.v2.IRouteModifiers

Properties of a RouteModifiers.

protos.google.maps.routing.v2.IRouteTravelAdvisory

Properties of a RouteTravelAdvisory.

protos.google.maps.routing.v2.ISpeedReadingInterval

Properties of a SpeedReadingInterval.

protos.google.maps.routing.v2.ITollInfo

Properties of a TollInfo.

protos.google.maps.routing.v2.ITransitAgency

Properties of a TransitAgency.

protos.google.maps.routing.v2.ITransitLine

Properties of a TransitLine.

protos.google.maps.routing.v2.ITransitPreferences

Properties of a TransitPreferences.

protos.google.maps.routing.v2.ITransitStop

Properties of a TransitStop.

protos.google.maps.routing.v2.ITransitVehicle

Properties of a TransitVehicle.

protos.google.maps.routing.v2.IVehicleInfo

Properties of a VehicleInfo.

protos.google.maps.routing.v2.IWaypoint

Properties of a Waypoint.

protos.google.maps.routing.v2.PolylineDetails.IFlyoverInfo

Properties of a FlyoverInfo.

protos.google.maps.routing.v2.PolylineDetails.INarrowRoadInfo

Properties of a NarrowRoadInfo.

protos.google.maps.routing.v2.PolylineDetails.IPolylinePointIndex

Properties of a PolylinePointIndex.

protos.google.maps.routing.v2.Route.IRouteLocalizedValues

Properties of a RouteLocalizedValues.

protos.google.maps.routing.v2.RouteLeg.IRouteLegLocalizedValues

Properties of a RouteLegLocalizedValues.

protos.google.maps.routing.v2.RouteLeg.IStepsOverview

Properties of a StepsOverview.

protos.google.maps.routing.v2.RouteLeg.StepsOverview.IMultiModalSegment

Properties of a MultiModalSegment.

protos.google.maps.routing.v2.RouteLegStep.IRouteLegStepLocalizedValues

Properties of a RouteLegStepLocalizedValues.

protos.google.maps.routing.v2.RouteLegStepTransitDetails.ITransitDetailsLocalizedValues

Properties of a TransitDetailsLocalizedValues.

protos.google.maps.routing.v2.RouteLegStepTransitDetails.ITransitStopDetails

Properties of a TransitStopDetails.

protos.google.maps.routing.v2.RouteMatrixElement.ILocalizedValues

Properties of a LocalizedValues.

protos.google.protobuf.DescriptorProto.IExtensionRange

Properties of an ExtensionRange.

protos.google.protobuf.DescriptorProto.IReservedRange

Properties of a ReservedRange.

protos.google.protobuf.EnumDescriptorProto.IEnumReservedRange

Properties of an EnumReservedRange.

protos.google.protobuf.ExtensionRangeOptions.IDeclaration

Properties of a Declaration.

protos.google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault

Properties of a FeatureSetEditionDefault.

protos.google.protobuf.FieldOptions.IEditionDefault

Properties of an EditionDefault.

protos.google.protobuf.GeneratedCodeInfo.IAnnotation

Properties of an Annotation.

protos.google.protobuf.IAny

Properties of an Any.

protos.google.protobuf.IBoolValue

Properties of a BoolValue.

protos.google.protobuf.IBytesValue

Properties of a BytesValue.

protos.google.protobuf.IDescriptorProto

Properties of a DescriptorProto.

protos.google.protobuf.IDoubleValue

Properties of a DoubleValue.

protos.google.protobuf.IDuration

Properties of a Duration.

protos.google.protobuf.IEnumDescriptorProto

Properties of an EnumDescriptorProto.

protos.google.protobuf.IEnumOptions

Properties of an EnumOptions.

protos.google.protobuf.IEnumValueDescriptorProto

Properties of an EnumValueDescriptorProto.

protos.google.protobuf.IEnumValueOptions

Properties of an EnumValueOptions.

protos.google.protobuf.IExtensionRangeOptions

Properties of an ExtensionRangeOptions.

protos.google.protobuf.IFeatureSet

Properties of a FeatureSet.

protos.google.protobuf.IFeatureSetDefaults

Properties of a FeatureSetDefaults.

protos.google.protobuf.IFieldDescriptorProto

Properties of a FieldDescriptorProto.

protos.google.protobuf.IFieldOptions

Properties of a FieldOptions.

protos.google.protobuf.IFileDescriptorProto

Properties of a FileDescriptorProto.

protos.google.protobuf.IFileDescriptorSet

Properties of a FileDescriptorSet.

protos.google.protobuf.IFileOptions

Properties of a FileOptions.

protos.google.protobuf.IFloatValue

Properties of a FloatValue.

protos.google.protobuf.IGeneratedCodeInfo

Properties of a GeneratedCodeInfo.

protos.google.protobuf.IInt32Value

Properties of an Int32Value.

protos.google.protobuf.IInt64Value

Properties of an Int64Value.

protos.google.protobuf.IListValue

Properties of a ListValue.

protos.google.protobuf.IMessageOptions

Properties of a MessageOptions.

protos.google.protobuf.IMethodDescriptorProto

Properties of a MethodDescriptorProto.

protos.google.protobuf.IMethodOptions

Properties of a MethodOptions.

protos.google.protobuf.IOneofDescriptorProto

Properties of an OneofDescriptorProto.

protos.google.protobuf.IOneofOptions

Properties of an OneofOptions.

protos.google.protobuf.IServiceDescriptorProto

Properties of a ServiceDescriptorProto.

protos.google.protobuf.IServiceOptions

Properties of a ServiceOptions.

protos.google.protobuf.ISourceCodeInfo

Properties of a SourceCodeInfo.

protos.google.protobuf.IStringValue

Properties of a StringValue.

protos.google.protobuf.IStruct

Properties of a Struct.

protos.google.protobuf.ITimestamp

Properties of a Timestamp.

protos.google.protobuf.IUInt32Value

Properties of a UInt32Value.

protos.google.protobuf.IUInt64Value

Properties of a UInt64Value.

protos.google.protobuf.IUninterpretedOption

Properties of an UninterpretedOption.

protos.google.protobuf.IValue

Properties of a Value.

protos.google.protobuf.SourceCodeInfo.ILocation

Properties of a Location.

protos.google.protobuf.UninterpretedOption.INamePart

Properties of a NamePart.

protos.google.rpc.IStatus

Properties of a Status.

protos.google.type.ILatLng

Properties of a LatLng.

protos.google.type.ILocalizedText

Properties of a LocalizedText.

protos.google.type.IMoney

Properties of a Money.

Enums

protos.google.api.ClientLibraryDestination

ClientLibraryDestination enum.

protos.google.api.ClientLibraryOrganization

ClientLibraryOrganization enum.

protos.google.api.FieldBehavior

FieldBehavior enum.

protos.google.api.LaunchStage

LaunchStage enum.

protos.google.maps.routing.v2.ComputeRouteMatrixRequest.ExtraComputation

ExtraComputation enum.

protos.google.maps.routing.v2.ComputeRoutesRequest.ExtraComputation

ExtraComputation enum.

protos.google.maps.routing.v2.ComputeRoutesRequest.ReferenceRoute

ReferenceRoute enum.

protos.google.maps.routing.v2.FallbackReason

FallbackReason enum.

protos.google.maps.routing.v2.FallbackRoutingMode

FallbackRoutingMode enum.

protos.google.maps.routing.v2.Maneuver

Maneuver enum.

protos.google.maps.routing.v2.PolylineDetails.RoadFeatureState

RoadFeatureState enum.

protos.google.maps.routing.v2.PolylineEncoding

PolylineEncoding enum.

protos.google.maps.routing.v2.PolylineQuality

PolylineQuality enum.

protos.google.maps.routing.v2.RouteLabel

RouteLabel enum.

protos.google.maps.routing.v2.RouteMatrixElementCondition

RouteMatrixElementCondition enum.

protos.google.maps.routing.v2.RouteTravelMode

RouteTravelMode enum.

protos.google.maps.routing.v2.RoutingPreference

RoutingPreference enum.

protos.google.maps.routing.v2.SpeedReadingInterval.Speed

Speed enum.

protos.google.maps.routing.v2.TollPass

TollPass enum.

protos.google.maps.routing.v2.TrafficModel

TrafficModel enum.

protos.google.maps.routing.v2.TransitPreferences.TransitRoutingPreference

TransitRoutingPreference enum.

protos.google.maps.routing.v2.TransitPreferences.TransitTravelMode

TransitTravelMode enum.

protos.google.maps.routing.v2.TransitVehicle.TransitVehicleType

TransitVehicleType enum.

protos.google.maps.routing.v2.Units

Units enum.

protos.google.maps.routing.v2.VehicleEmissionType

VehicleEmissionType enum.

protos.google.protobuf.Edition

Edition enum.

protos.google.protobuf.ExtensionRangeOptions.VerificationState

VerificationState enum.

protos.google.protobuf.FeatureSet.EnumType

EnumType enum.

protos.google.protobuf.FeatureSet.FieldPresence

FieldPresence enum.

protos.google.protobuf.FeatureSet.JsonFormat

JsonFormat enum.

protos.google.protobuf.FeatureSet.MessageEncoding

MessageEncoding enum.

protos.google.protobuf.FeatureSet.RepeatedFieldEncoding

RepeatedFieldEncoding enum.

protos.google.protobuf.FeatureSet.Utf8Validation

Utf8Validation enum.

protos.google.protobuf.FieldDescriptorProto.Label

Label enum.

protos.google.protobuf.FieldDescriptorProto.Type

Type enum.

protos.google.protobuf.FieldOptions.CType

CType enum.

protos.google.protobuf.FieldOptions.JSType

JSType enum.

protos.google.protobuf.FieldOptions.OptionRetention

OptionRetention enum.

protos.google.protobuf.FieldOptions.OptionTargetType

OptionTargetType enum.

protos.google.protobuf.FileOptions.OptimizeMode

OptimizeMode enum.

protos.google.protobuf.GeneratedCodeInfo.Annotation.Semantic

Semantic enum.

protos.google.protobuf.MethodOptions.IdempotencyLevel

IdempotencyLevel enum.

protos.google.protobuf.NullValue

NullValue enum.

Variables

_default

_default:{v2:typeofv2;RoutesClient:typeofv2.RoutesClient;}

RoutesClient

RoutesClient:typeofv2.RoutesClient

Type Aliases

protos.google.maps.routing.v2.Routes.ComputeRouteMatrixCallback

typeComputeRouteMatrixCallback=(error:(Error|null),response?:google.maps.routing.v2.RouteMatrixElement)=>void;

Callback as used by .

protos.google.maps.routing.v2.Routes.ComputeRoutesCallback

typeComputeRoutesCallback=(error:(Error|null),response?:google.maps.routing.v2.ComputeRoutesResponse)=>void;

Callback as used by .

RoutesClient

typeRoutesClient=v2.RoutesClient;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.