Cloud Optimization v1 API - Enum ShipmentTypeRequirement.Types.RequirementMode (2.5.0)

public enum ShipmentTypeRequirement.Types.RequirementMode

Reference documentation and code samples for the Cloud Optimization v1 API enum ShipmentTypeRequirement.Types.RequirementMode.

Modes defining the appearance of dependent shipments on a route.

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Fields

NameDescription
InSameVehicleAtDeliveryTime

Same as before, except the "dependent" shipments need to have a "required" shipment on their vehicle at the time of their delivery.

InSameVehicleAtPickupTime

With the IN_SAME_VEHICLE_AT_PICKUP_TIME mode, all "dependent" shipments need to have at least one "required" shipment on their vehicle at the time of their pickup.

A "dependent" shipment pickup must therefore have either:

  • A delivery-only "required" shipment delivered on the route after, or
  • A "required" shipment picked up on the route before it, and if the "required" shipment has a delivery, this delivery must be performed after the "dependent" shipment's pickup.
PerformedBySameVehicle

In this mode, all "dependent" shipments must share the same vehicle as at least one of their "required" shipments.

Unspecified

Unspecified requirement mode. This value should never be used.