Class ShipmentModel.Types.BreakRule.Types.BreakRequest (1.0.0-beta01)

public sealed class BreakRequest : IMessage<ShipmentModel.Types.BreakRule.Types.BreakRequest>, IEquatable<ShipmentModel.Types.BreakRule.Types.BreakRequest>, IDeepCloneable<ShipmentModel.Types.BreakRule.Types.BreakRequest>, IBufferMessage, IMessage

The sequence of breaks (i.e. their number and order) that apply to each vehicle must be known beforehand. The repeated BreakRequests define that sequence, in the order in which they must occur. Their time windows (earliest_start_time / latest_start_time) may overlap, but they must be compatible with the order (this is checked).

Inheritance

Object > ShipmentModel.Types.BreakRule.Types.BreakRequest

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

BreakRequest()

public BreakRequest()

BreakRequest(ShipmentModel.Types.BreakRule.Types.BreakRequest)

public BreakRequest(ShipmentModel.Types.BreakRule.Types.BreakRequest other)
Parameter
NameDescription
otherShipmentModel.Types.BreakRule.Types.BreakRequest

Properties

EarliestStartTime

public Timestamp EarliestStartTime { get; set; }

Required. Lower bound (inclusive) on the start of the break.

Property Value
TypeDescription
Timestamp

LatestStartTime

public Timestamp LatestStartTime { get; set; }

Required. Upper bound (inclusive) on the start of the break.

Property Value
TypeDescription
Timestamp

MinDuration

public Duration MinDuration { get; set; }

Required. Minimum duration of the break. Must be positive.

Property Value
TypeDescription
Duration