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