Class BreakRule.Types.BreakRequest (1.0.0-beta01)

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 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 > BreakRule.Types.BreakRequest

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

BreakRequest()

public BreakRequest()

BreakRequest(BreakRule.Types.BreakRequest)

public BreakRequest(BreakRule.Types.BreakRequest other)
Parameter
NameDescription
otherBreakRule.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