Class ShipmentTypeIncompatibility (1.1.2)

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

Specifies incompatibilties between shipments depending on their shipment_type. The appearance of incompatible shipments on the same route is restricted based on the incompatibility mode.

Attributes

NameDescription
types Sequence[str]
List of incompatible types. Two shipments having different ``shipment_types`` among those listed are "incompatible".
incompatibility_mode google.cloud.optimization_v1.types.ShipmentTypeIncompatibility.IncompatibilityMode
Mode applied to the incompatibility.

Inheritance

builtins.object > proto.message.Message > ShipmentTypeIncompatibility

Classes

IncompatibilityMode

IncompatibilityMode(value)

Modes defining how the appearance of incompatible shipments are restricted on the same route.