Cloud Optimization v1 API - Class ShipmentModel.Types.DurationDistanceMatrix.Types.Row (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class Row : IMessage<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IEquatable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IDeepCloneable<ShipmentModel.Types.DurationDistanceMatrix.Types.Row>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Optimization v1 API class ShipmentModel.Types.DurationDistanceMatrix.Types.Row.

Specifies a row of the duration and distance matrix.

Inheritance

Object > ShipmentModel.Types.DurationDistanceMatrix.Types.Row

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

Row()

public Row()

Row(ShipmentModel.Types.DurationDistanceMatrix.Types.Row)

public Row(ShipmentModel.Types.DurationDistanceMatrix.Types.Row other)
Parameter
NameDescription
otherShipmentModel.Types.DurationDistanceMatrix.Types.Row

Properties

Durations

public RepeatedField<Duration> Durations { get; }

Duration values for a given row. It must have as many elements as [ShipmentModel.duration_distance_matrix_dst_tags][google.cloud.optimization.v1.ShipmentModel.duration_distance_matrix_dst_tags].

Property Value
TypeDescription
RepeatedField<Duration>

Meters

public RepeatedField<double> Meters { get; }

Distance values for a given row. If no costs or constraints refer to distances in the model, this can be left empty; otherwise it must have as many elements as durations.

Property Value
TypeDescription
RepeatedField<Double>