public sealed class BreakRequest : IMessage<BreakRule.Types.BreakRequest>, IEquatable<BreakRule.Types.BreakRequest>, IDeepCloneable<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 BreakRequest
s 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).
Implements
IMessage<BreakRule.Types.BreakRequest>, IEquatable<BreakRule.Types.BreakRequest>, IDeepCloneable<BreakRule.Types.BreakRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
BreakRequest()
public BreakRequest()
BreakRequest(BreakRule.Types.BreakRequest)
public BreakRequest(BreakRule.Types.BreakRequest other)
Parameter | |
---|---|
Name | Description |
other | BreakRule.Types.BreakRequest |
Properties
EarliestStartTime
public Timestamp EarliestStartTime { get; set; }
Required. Lower bound (inclusive) on the start of the break.
Property Value | |
---|---|
Type | Description |
Timestamp |
LatestStartTime
public Timestamp LatestStartTime { get; set; }
Required. Upper bound (inclusive) on the start of the break.
Property Value | |
---|---|
Type | Description |
Timestamp |
MinDuration
public Duration MinDuration { get; set; }
Required. Minimum duration of the break. Must be positive.
Property Value | |
---|---|
Type | Description |
Duration |