Class Row (1.8.4)

Row(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies a row of the duration and distance matrix.

Attributes

Name Description
durations MutableSequence[google.protobuf.duration_pb2.Duration]
Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
meters MutableSequence[float]
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.