Class ShipmentTypeRequirement (1.0.0-beta01)

public sealed class ShipmentTypeRequirement : IMessage<ShipmentTypeRequirement>, IEquatable<ShipmentTypeRequirement>, IDeepCloneable<ShipmentTypeRequirement>, IBufferMessage, IMessage

Specifies requirements between shipments based on their shipment_type. The specifics of the requirement are defined by the requirement mode.

Inheritance

Object > ShipmentTypeRequirement

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

ShipmentTypeRequirement()

public ShipmentTypeRequirement()

ShipmentTypeRequirement(ShipmentTypeRequirement)

public ShipmentTypeRequirement(ShipmentTypeRequirement other)
Parameter
NameDescription
otherShipmentTypeRequirement

Properties

DependentShipmentTypes

public RepeatedField<string> DependentShipmentTypes { get; }

All shipments with a type in the dependent_shipment_types field require at least one shipment of type required_shipment_type_alternatives to be visited on the same route.

NOTE: Chains of requirements such that a shipment_type depends on itself are not allowed.

Property Value
TypeDescription
RepeatedField<String>

RequiredShipmentTypeAlternatives

public RepeatedField<string> RequiredShipmentTypeAlternatives { get; }

List of alternative shipment types required by the dependent_shipment_types.

Property Value
TypeDescription
RepeatedField<String>

RequirementMode

public ShipmentTypeRequirement.Types.RequirementMode RequirementMode { get; set; }

Mode applied to the requirement.

Property Value
TypeDescription
ShipmentTypeRequirement.Types.RequirementMode