Class ShipmentModel.Types.DurationDistanceMatrix
Specifies a duration and distance matrix from visit and vehicle start locations to visit and vehicle end locations.
Implements
Namespace: Google.Maps.RouteOptimization.V1
Assembly: Google.Maps.RouteOptimization.V1.dll
Syntax
public sealed class ShipmentModel.Types.DurationDistanceMatrix : IMessage<ShipmentModel.Types.DurationDistanceMatrix>, IEquatable<ShipmentModel.Types.DurationDistanceMatrix>, IDeepCloneable<ShipmentModel.Types.DurationDistanceMatrix>, IBufferMessage, IMessage
Constructors
DurationDistanceMatrix()
Declaration
public DurationDistanceMatrix()
DurationDistanceMatrix(DurationDistanceMatrix)
Declaration
public DurationDistanceMatrix(ShipmentModel.Types.DurationDistanceMatrix other)
Parameters
Type | Name | Description |
---|---|---|
ShipmentModel.Types.DurationDistanceMatrix | other |
Properties
Rows
Specifies the rows of the duration and distance matrix. It must have as many elements as [ShipmentModel.duration_distance_matrix_src_tags][google.maps.routeoptimization.v1.ShipmentModel.duration_distance_matrix_src_tags].
Declaration
public RepeatedField<ShipmentModel.Types.DurationDistanceMatrix.Types.Row> Rows { get; }
Property Value
Type | Description |
---|---|
RepeatedField<ShipmentModel.Types.DurationDistanceMatrix.Types.Row> |
VehicleStartTag
Tag defining to which vehicles this duration and distance matrix applies. If empty, this applies to all vehicles, and there can only be a single matrix.
Each vehicle start must match exactly one matrix, i.e. exactly one of
their start_tags
field must match the vehicle_start_tag
of a matrix
(and of that matrix only).
All matrices must have a different vehicle_start_tag
.
Declaration
public string VehicleStartTag { get; set; }
Property Value
Type | Description |
---|---|
string |